Hi,
Yes, that's what I mean.
You can also change this, in order for the feedback panel to be re-rendered
even in case of error:
if (target != null) {
try {
target.add(searchResultPanel);
} catch (Exception exception) {
error(exception.getMessage());
error = true;
}
* target.add(searchFeedbackPanel);
}
Regards,
Sebastien.
On Sun, Jun 10, 2012 at 8:48 AM, kshitiz <[email protected]> wrote:
> Did u mean this:
>
>
> final SearchResultPanel searchResultPanel = new
> SearchResultPanel("searchResultPanel",
> searchDomain, error, searchContainer);
> * searchResultPanel.setOutputMarkupId(true);*
>
>
>
> AjaxFallbackButton ajaxSearchButton = new AjaxFallbackButton(
> "searchButton", searchForm) {
> /*
> *
> */
> private static final long serialVersionUID = 1L;
>
> @Override
> public void onSubmit(AjaxRequestTarget target,
> final Form<?> form) {
>
> /*
> * Populating postDomain instance for
> submitting post. This
> * instance is then passed to PostService
> class
> */
> if (target != null) {
>
> try {
> *
> target.add(searchFeedbackPanel);
>
> target.add(searchResultPanel);*
> } catch (Exception exception) {
>
> error(exception.getMessage());
> error = true;
> }
>
> }
> }
>
> };
>
> Actually the above change is also not working..:(
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Panel-not-getting-refreshed-tp4649807p4649810.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]
>
>