Hi, 

Thomas Götz wrote
> 
> final TextField textField = new TextField("textField", new Model());
> textField.setVisible(false);
> add(textField);
> ...
> 

Because textField is initially invisible, Don't forget to
textField.setOutputMarkupPlaceholderTag(true);


-----
-- 
Regards, 
Hans 

http://cantaa.de 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Dynamically-choosing-component-to-add-tp3955869p4118782.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

Reply via email to