Hi,

I have a question on implementing validation in a form that conatins a
TabbedPanel, where the Tabs themself contain FormComponents.

The wishtlist goes like this:
The Tabs ought to be able to validate themselve, like first validating
FormComponents and then the TabPanel as a whole.
On switching Tabs the visible TabPanel should validate itself and if its not
valid disalow switching.
On submitting the Form the visible TabPanel should validate and then the
other TabPanels should validate. If a TabPanel is not valid it should be
switched to.

I understand that I could validate the whole form based on the underlying
model, but I'd like to push the validation as far into the Tabs and the
FormComponents as possible. That way it would be easy to 'pop up' the
FormComponent or its Panel that has objections about the validity.

At the moment I have the feeling that the Panels in the Tabs ought to be
able to validate temthelves and TabbedPanel ought to be able to trigger that
validation. Currently I'm lacking the overview to implement that.

Any ideas on an efficient aproach on this?

Martin
-- 
View this message in context: 
http://www.nabble.com/Form-with-TabbedPanel-tf4588759.html#a13098409
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to