You might try a visitor validator or use an expression.

http://struts.apache.org/2.x/docs/validation.html

Matt

On Wed, Apr 30, 2008 at 8:00 AM, Leo Barrientos C.
<[EMAIL PROTECTED]> wrote:
> I just need to validate a related object in a form, before save and using
> validation.xml
>
>
>  Matt Raible escribió:
>
>
>
> > Can you provide more details, like a snippet from your validation.xml
> > and the stack trace you're seeing?
> >
> > You might also look at the following:
> >
> > http://struts.apache.org/2.x/docs/type-conversion.html
> >
> > Thanks,
> >
> > Matt
> >
> > On Wed, Apr 30, 2008 at 3:02 AM, Leo Barrientos C.
> > <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Hello, i need help in appfuse spring + hibernate
> > >
> > >  My Model form has a relation:  Model - Brand
> > >
> > >  On create/Edit a Model the form show the selectbox with brands, my
> question
> > > is: How can i do validate a brand.id different than 0.
> > >
> > >  On validation.xml if i put field property="brand" an "No editor or
> > > convertion strategy found" error appear.
> > >
> > >  Thanks in advance.
> > >
> > >  ---------------------------------------------------------------------
> > >  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]
> >
> >
> >
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to