Hi Mark,

thanks! Works now as expected and your explanation makes sense. 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? 

TIA and thanks again for the help!

Jan

Mark Lundquist <[EMAIL PROTECTED]> schrieb am 27.11.2006 03:17:26:

> > Am I doing anything wrong here? If so, can somebody point me into the
> > right direction.
> 
> Yes, lose the enum datatype and convertor (your selection list should 
> still be of the enum type).
> 
> The datatype/convertor says that the target object of your binding is a 
> Java object of type f.q.n.Status.  You don't want that, because your 
> target object is an XML document, not a Java object.


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

Reply via email to