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<cg...@i-rose.si> wrote:
> 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 one node.");
>
> i've also tried re-rendering it, but it also didn't work:
> feedback.renderComponent();
>
> What is the proper way to display the error message?
>
> Regards,
> Csaba
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to