Thanks again.
Just tried it out and it works perfect.
ContainerFeedbackMessageFilter for my form-comp-panel's feedback panel
allowed it to show it's children messages.
Using a visitor in my invalid-css-class-behavior allowed me to enable the
behavior when one of the children has an error.
This i
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 Cont
give the panel containerfeedbackmessagefilter which will filter on the
specified component and any of its children.
-igor
On Wed, Jan 26, 2011 at 9:03 AM, Sam Zilverberg 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
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.
your form component panel should check if any of its children have
error messages as well. use a visitor.
-igor
On Wed, Jan 26, 2011 at 8:32 AM, Sam Zilverberg wrote:
> I have a FormComponentPanel that represents a Time object - not
> java.sql.Time but my own Time object.
> This Time object has
I have a FormComponentPanel that represents a Time object - not
java.sql.Time but my own Time object.
This Time object has 2 fields - hours and minutes.
The panel has textfields for the hours and minutes that are defined as class
type Integer.
I have a behavior on the panel that whenever it has er