Leszek,

... or, probably the most "Wicket-way" of doing this is to make a TextField
subclass that overrides getConverter to return your special IConverter
implementation which performs the capitalisation in its convertToObject.

Regards - Cemal
http://jWeekend.com jWeekend 


Leszek Gawron-2 wrote:
> 
> Hello,
> 
> one of my customers has this weird requirement that all data should be 
> input/shown uppercase. I can easily add
> 
> input {
>    text-transform: uppercase;
> }
> 
> to my css rules, but this does not change the fact that data written 
> into database will still be case sensitive.
> 
> How can I create a behavior for TextField so that the dat is uppercased 
> before being written to the model?
> 
> my regards    
> 
> -- 
> Leszek Gawron
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Uppercasing-inputs-tp22332360p22335650.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to