On Fri, 2010-06-18 at 06:43 -0700, peer wrote: > Hi Wickets, > > My initial situation: > A ParentPage which contains a TabbedPanel with tabs. On the Parent Page is a > Feedbackpanel which works globally and displays every error message. > The tabs in the TabbedPanel don't know anything about the Feedbackpanel of > the parent and all request on the tab are done by ajax. > > Problem: > As fare as I know I always have to add the components to the target to get > them changed by the wicket engine. The problem is I can't add the > Feedbackpanel to the target because the tabs don't know about it. > > Approach: > I tried to add a listener to the AjaxRequestTaget, but the target was null > since there was no AjaxRequest. > > Question: > How can I add a Listener to every AjaxRequest done by the ParentPage or any > child of it to update my Feedbackpanel. The most simple solution: target.addChildren(getPage(), FeedbackPanel.class) > > Regards, > peer >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org