Re: Conditional + visitor validation - for nested objects -- so far..

2007-08-13 Thread j alex
So far, i've been able to define the actual validation on the domain attribute addressline1, by putting @VisitorFieldValidator on the setters of all objects that contain it (ie application,primaryapp,address) . Now, i need to restrict the validation depending on the method called within the Action

Re: Conditional + visitor validation - for nested objects.

2007-08-11 Thread j alex
Hi Paul, Let me explain in detail : I have an application that needs to collect info about a primary applicant (applicant1) and one or more co-applicants (coapp1, coapp2 etc.) . So, we could be presenting the same fields from the domain model multiple times in the page - like : Primary App info :

Re: Conditional + visitor validation - for nested objects.

2007-08-11 Thread Paul Benedict
So your error messages are customized based on user? That doesn't make sense to me. Are you sure? Paul On 8/10/07, j alex <[EMAIL PROTECTED]> wrote: > > Hi All, > > This is somewhat related to Matt's post on conditional validation at > http://www.nabble.com/Re:-Conditional-validation-p11990883.ht

Conditional + visitor validation - for nested objects.

2007-08-10 Thread j alex
Hi All, This is somewhat related to Matt's post on conditional validation at http://www.nabble.com/Re:-Conditional-validation-p11990883.html ; i dont have the original email on struts-user (joined the group only last week!) to reply to : I need some help regarding the extent to which we can apply