Hi Mark, thanks for the further input. I had another look around and now actually settled for an implementation of AbstractJavaSelectionList. It does what I want - if I work out how to get access to the session or request object. Do you happen to know how this can be done?
TIA & Cheers, Jan Mark Lundquist <[EMAIL PROTECTED]> schrieb am 27.11.2006 14:37:04: > > On Nov 27, 2006, at 12:28 AM, Jan Behrens wrote: > > > May I ask > > one more question? I would like to validate the selection made by the > > user, depending on the state of an java object. If the selection is > > disallowed, a submit action should return to the input form and mark > > the > > input field as erroneous. What would be the approved way to do this? > > Should I implement a custom > > org.apache.cocoon.components.validation.impl.AbstractValidator? > > I wouldn't. I think I would use a widget onValidate handler in > flowscript. > > cheers, > ?ml? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
