Re: textfield tag not allowing blanks

Lukasz Lenart <[email protected]> Mon, 24 Nov 2025 17:17:07 +0100
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAMopvkOpqTqNEhsbQzZz7Qef_o4pEKarOFUCeWPvBwpU_Zw4bw@mail.gmail.com>
wt., 18 lis 2025 o 16:30 Greg Huber <[email protected]> napisał(a):
>
> Is there some issue with not allowing blanks in the textfield tag?
>
> ...I have a search page I use to audit descriptions, eg, if I search for
> two spaces, after the submit the textfield is cleared.  I have to use
> standard html for it to reshow the spaces (ie the original search string).
>
> <input type="text" id="foo" name="bar" value="<s:property value="bar" />" />
> <s:textfield id="foo" name="bar"  />
>
> Just checking.  Not allowing the blanks mucks up my paging/validation.

Do you mean an empty field or with whitespace?


Cheers
Łukasz