Hi Sam, you can change the feedback panel to show not only messages registered for the panel, but also for the inner components. The Wicket feedback panel uses the IFeedbackMessageFilter to filter what messages to display. You can provide one that test if the reporter is an panel children. See ContainerFeedbackMessageFilter
On Wed, Jan 26, 2011 at 3:03 PM, Sam Zilverberg <[email protected]>wrote: > That is an excellent idea. > However I don't want to just set the panel to be invalid when one of it's > children is invalid. > I'd like to also "steal" its' feedback message. > I want this to happen because I have a feedback panel next to the form > component that shows feedback messages registered to it. > > Is there a simple way to achieve this? > > On Wed, Jan 26, 2011 at 6:39 PM, Igor Vaynberg <[email protected] > >wrote: > > > your form component panel should check if any of its children have > > error messages as well. use a visitor. > > > > -igor > > > > > -- Pedro Henrique Oliveira dos Santos
