RE: Dynamically show and edit a textarea in a table

2008-12-29 Thread Claudio Miranda
Thanks Heikki, it works! Heikki Uotinen wrote: if you put extra div around textarea and add it to the target it should work - Claudio Miranda http://weblogs.java.net/blog/claudio http://www.claudius.com.br/blog -- View this message in context:

Dynamically show and edit a textarea in a table

2008-12-28 Thread Claudio Miranda
I need to dynamically show a textarea in a row of a table. The textarea should only be displayed if the user wants to, as he needs to click at some link. I developed 2 tests using an AjaxEditableMultiLineLabel and a not visible textarea. See the runnable code below, to take a look at. The

Re: Dynamically show and edit a textarea in a table

2008-12-28 Thread Claudio Miranda
To let you know, the AjaxEditableMultiLineLabel.onEdit and AjaxFallbackLink.onClick are called and debug messages logged. Tried with wicket 1.3.5, same results, no textarea displayed. Claudio Miranda wrote: I need to dynamically show a textarea in a row of a table. The textarea should

RE: Dynamically show and edit a textarea in a table

2008-12-28 Thread Heikki Uotinen
Hi, if you put extra div around textarea and add it to the target it should work final TextArea rejectComment2 = new TextArea(rejectComment2, new Model(aaa)); rejectComment2.setEnabled(false); rejectComment2.setVisible(false); rejectComment2.setOutputMarkupId(true); final WebMarkupContainer