Hi,

I have combo box with 3 items, String, Number, Date

If I select String, Maximum character label with one textbox should display.

some code :

Initially I have hide Maximum character label and textbox using 
setVisible(false);

In AjaxFormComponentUpdatingBehavior("onchange"), protected void
onUpdate(AjaxRequestTarget target)

inside this method, 
I wrote:

maxLength.setVisible(true);
target.addComponent(maxLength);
setOutputMarkupId(true);

But in onchange combo, that text box not displaying.... When I click the
same page tabs, that textbox is displaying. 

Please send your suggestions.

Thanking You,
Regards
Edi
-- 
View this message in context: 
http://www.nabble.com/How-to-Hide-View-Fields-at-run-time-combo-selection-tf4278782.html#a12178803
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to