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]

Reply via email to