how to validate a Label?

2010-12-13 Thread rolandpeng
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

Re: how to validate a Label?

2010-12-13 Thread James Carman
.   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

Re: how to validate a Label?

2010-12-13 Thread rolandpeng
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

Re: how to validate a Label?

2010-12-13 Thread rolandpeng
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

Re: how to validate a Label?

2010-12-13 Thread James Carman
.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