Hi, You can do as Francois explained. See http://www.w3schools.com/cssref/pr_text_text-transform.asp Another way is to setup a IConverter (see textField#getConverter()) that converts to upper case in its #objectToString() method.
On Thu, Oct 11, 2012 at 9:56 AM, Francois Meillet <[email protected]> wrote: > You should modify the css (color) for the input for example, in place of > changing the value, with an AttributeModifier. > The value displayed in the text box comes from the model. > > François > > > Le 10 oct. 2012 à 19:50, weslowsk <[email protected]> a écrit : > >> Hi, >> >> I was wondering how I could manipulate some form input after validation. So, >> for example, if I have a text box that takes a value and I validate that >> that value is invalid, I'd like to upper case the entire value that was >> entered so that the value in the text box is updated but the model isn't >> updated. >> What's the proper way to do this in Wicket? >> >> Thanks... >> >> >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/Manipulate-Form-Input-After-Validation-tp4652855.html >> Sent from the Users forum mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
