In fact i put this textField into a table with an id like this :
<table style="margin-left: 30px;" <b>wicket:id="commentZone"*>
<tr>
<td>Comment</td>
<td>
<textarea wicket:id="codeAgent"></textarea>
</td>
</tr>
</table>
On the same web page i have an AjaxButton, which allows to search, into a
list of object, the object with the codeAgent set at the value of the
textfield below and fill the others component of my table.
The java code looks like :
add (new AjaxButton("Search") {
@Override
protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
// research code and set to "comment" the object found
[...]
// update the commentZone
target.add(commentZone);
}
});
The research code works fine but passed the update of the commentZone, all
the component stays empty even if my object comment contains data...
sorry for my english :s
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Refresh-a-textField-tp4190022p4190930.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]