Hi,

setTrimValue flag would be great (maybe there should be settings for left/right trim ?).

Model might be also a working solution, but somehow I feel that
this kind of task belongs to upper layer.

   Ari S.

----- Original Message ----- From: "Igor Vaynberg" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, March 06, 2006 7:11 PM
Subject: Re: [Wicket-user] TextField and trimming blanks at end (and maybe at 
beginning)


this should be a flag on the textfield so you can call setTrimValue(boolean)
what do others think?

if not you can write a model that trims for you on setObject()

-Igor


On 3/6/06, Ari Suutari <[EMAIL PROTECTED]> wrote:

Hi,

What might be the simplest way to change behaviour of whole wicket
application
so that TextField have their input trimmed of blanks at end ?

I tried to do this via converters (I have my own converter factory),
but it didn't work because Converter.convert doesn't do anything
if String is being assigned to String field in model (it uses
isAssignableFrom
for this check).

    Ari S.




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to