Re: how to validate a Label?
That's the ticket! Good luck, On Mon, Dec 13, 2010 at 9:18 PM, rolandpeng wrote: > > oh, thank you for the hint. > I find a HiddenField in the form package. I'll try this component later. > Thank you again! > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/how-to-validate-a-Label-tp3086348p3086380.html > Sent from the Users forum 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 > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: how to validate a Label?
oh, thank you for the hint. I find a HiddenField in the form package. I'll try this component later. Thank you again! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-validate-a-Label-tp3086348p3086380.html Sent from the Users forum 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
Re: how to validate a Label?
I've tried a Label + TextField/setVisible(false)/setRequired(true) as well. But as the TextField is hidden,the required validation also disable ,either. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-validate-a-Label-tp3086348p3086378.html Sent from the Users forum 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
Re: how to validate a Label?
hidden field? On Mon, Dec 13, 2010 at 8:35 PM, rolandpeng wrote: > > Hi, > I need to validate a readonly Label with required which displays some > selection from a modalwindow. But a Label is not a formcomponent , so I > cannot use setRequired() to fulfill my requirement. > If I use a TextField/setEnable(false)/setRequired(true) for instead, the > validator also become disable. > > Do anyone give me some advice? Thank you! > > Roland. > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/how-to-validate-a-Label-tp3086348p3086348.html > Sent from the Users forum 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 > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
how to validate a Label?
Hi, I need to validate a readonly Label with required which displays some selection from a modalwindow. But a Label is not a formcomponent , so I cannot use setRequired() to fulfill my requirement. If I use a TextField/setEnable(false)/setRequired(true) for instead, the validator also become disable. Do anyone give me some advice? Thank you! Roland. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-validate-a-Label-tp3086348p3086348.html Sent from the Users forum 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