/**
* Adds a component to the list of components to be rendered
*
* @param component
*component to be rendered
*/
public void addComponent(Component component)
i suggest you get sources or javadoc into your IDE so you can see it.
it
Thanks Igor, that was exactly what I needed to do. Could you tell me
what does target.addComponent() do? It tells Wicket which component
should be refreshed by the ajax request?
Igor Vaynberg wrote:
feedback.rendercomponent()???
i assume this add button is an ajax button? in that case you ha
feedback.rendercomponent()???
i assume this add button is an ajax button? in that case you have to
add the feedback panel to the ajax target passed to you. there are
plenty of examples in wicket-examples.
-igor
On Sun, Aug 2, 2009 at 11:23 PM, Gajo Csaba wrote:
> Hello,
>
> I have a FeedbackPane
Hello,
I have a FeedbackPanel, a TreeTable and an Add button. When I click on
the Add button, I check if there are any selected nodes in the tree. If
there are none, I want to display an error message in the FeedbackPanel.
How to do this?
The following doesn't work:
feedback.error("Select on