Re: user interface design: if any error, textbox channge to red ... ...

2013-06-25 Thread always_rick
It works. Thank you very much -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/user-interface-design-if-any-error-textbox-channge-to-red-tp4659495p4659797.html Sent from the Users forum mailing list archive at Nabble.com

Re: user interface design: if any error, textbox channge to red ... ...

2013-06-16 Thread Martin Grigorov
Hi Joachim, On Sat, Jun 15, 2013 at 3:15 AM, Joachim Schrod wrote: > Bas Gooren wrote: > > > > To only update the attribute if the component has errors, override > > method isEnabled on the behavior, cast the component to a > > FormComponent and return !formComponent.isValid(). > > And remember

Re: user interface design: if any error, textbox channge to red ... ...

2013-06-15 Thread Andrey V. Panov
Also you can pass as second argument in AttributeModifier IModel object which return "error" on if there feedback message available. Similar to this: new AttributeModifier("class", new Model() { @Override public Serializable getObject() {

Re: user interface design: if any error, textbox channge to red ... ...

2013-06-15 Thread always_rick
Thanks a lot. I will try it on weekend. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/user-interface-design-if-any-error-textbox-channge-to-red-tp4659495p4659522.html Sent from the Users forum mailing list archive at Nabble.com

Re: user interface design: if any error, textbox channge to red ... ...

2013-06-14 Thread Joachim Schrod
Bas Gooren wrote: > > To only update the attribute if the component has errors, override > method isEnabled on the behavior, cast the component to a > FormComponent and return !formComponent.isValid(). And remember that you must not use isValid() in onComponentTag() to change tag attributes. You

Re: user interface design: if any error, textbox channge to red ... ...

2013-06-14 Thread Bas Gooren
e-wicket.1842946.n4.nabble.com/user-interface-design-if-any-error-textbox-channge-to-red-tp4659495.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wic

user interface design: if any error, textbox channge to red ... ...

2013-06-14 Thread always_rick
work? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/user-interface-design-if-any-error-textbox-channge-to-red-tp4659495.html Sent from the Users forum mailing list archive at Nabble.com.