Thanks.  Could have done it for you, just wasn't sure if I was configuring
everything correctly.

/Ian

--
>From Down & Around, Inc.
Innovative IT solutions
Software Architecture * Design * Development
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
web:    www.fdar.com 
email:  [EMAIL PROTECTED] 
phone:  617.821.5430
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> I created an issue for this and assigned it to myself:
> 
> http://jira.opensymphony.com/secure/ViewIssue.jspa?key=XW-75
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> > Sent: Friday, August 15, 2003 3:35 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [OS-webwork] Validation Framework
> > 
> > 
> > no it's not.  This is because I want the password on a 
> > reusable User object, but not the confirmPassword (which is 
> > just an action attribute).
> > 
> > Thanks,
> > Ian
> > 
> > --
> > From Down & Around, Inc.
> > Innovative IT solutions
> > Software Architecture * Design * Development 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > web:    www.fdar.com 
> > email:  [EMAIL PROTECTED] 
> > phone:  617.821.5430 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > Is your action ModelDriven, or no?
> > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, August 15, 2003 1:34 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [OS-webwork] Validation Framework
> > > > 
> > > > 
> > > > I have just started to use the validation framework, and am
> > > > coming up with some issues.  Not sure if I am not doing 
> > > > things correctly, or whether this is a bug.
> > > > 
> > > > I am creating a simple registration class - which uses a User
> > > > object with setters and getter for username and password, as 
> > > > well as a confirmPassword field in the RegisterUserAction.
> > > > 
> > > > So:
> > > > 
> > > > User has
> > > >         getPassword()
> > > >         setPassword()
> > > > 
> > > > RegisterUserAction has:
> > > >         getUser()
> > > >         setUser()
> > > >         getConfirmPassword()
> > > >         setConfirmPassword()
> > > > 
> > > > In the register.jsp I have the fields as:
> > > > 
> > > >         <ww:password label="prompt.password" name="user.password" />
> > > > 
> > > > The RegisterUserAction-validation.xml entry as:
> > > > 
> > > >     <field name="user.password">
> > > >         <field-validator type="required">
> > > >             <message>error.value.required</message>
> > > >         </field-validator>
> > > >     </field>
> > > > 
> > > > The JSP is correctly obtaining and displaying the i18n'd
> > > > messages for the field name as well as the validation 
> > > > message, but when I enter a value for the password - the 
> > > > validation is not occurring and when I have typed data into 
> > > > the textfield the validation message remains (I can see the 
> > > > data I entered as well as the validation message).
> > > > 
> > > > Hope there is some help out there :)
> > > > 
> > > > /Ian
> > > > 
> > > > --
> > > > From Down & Around, Inc.
> > > > Innovative IT solutions
> > > > Software Architecture * Design * Development
> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > web:    www.fdar.com 
> > > > email:  [EMAIL PROTECTED] 
> > > > phone:  617.821.5430 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > 
> > > > 
> > > > 
> > > > -------------------------------------------------------
> > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites
> > > > including Data Reports, E-commerce, Portals, and Forums are 
> > > > available now. Download today and enter to win an XBOX or 
> > > > Visual Studio .NET. 
> > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> > > _072303_01/01
> > > _______________________________________________
> > > Opensymphony-webwork mailing list 
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.Net email sponsored by: Free pre-built ASP.NET 
> > sites including 
> > > Data Reports, E-commerce, Portals, and Forums are available now. 
> > > Download today and enter to win an XBOX or Visual Studio .NET. 
> > > 
> > http://aspnet.click->
> url.com/go/psa00100003ave/direct;at.aspnet_072303_
> > > 01/01
> > > _______________________________________________
> > > Opensymphony-webwork mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> > including Data Reports, E-commerce, Portals, and Forums are 
> > available now. Download today and enter to win an XBOX or 
> > Visual Studio .NET. 
> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> _072303_01/01
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to