Cheers Dave, I'll check it out in the morning

Appreciate you help

-Richard


-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thu 04/09/2008 17:14
To: Struts Users Mailing List
Subject: Re: Validation based on other fields
 
--- On Thu, 9/4/08, Gundersen, Richard wrote:
> I'd like to do it with the client side javascript if possible
> (to prevent having to reload the page just for validation) but 
> I can't find anything in the Xwork docs. 
> 
> Not a problem if I do - I can move all the validation to
> the Java, but I'd just like to know either way

IIRC the expression and field expression validators [1,2] don't have 
client-side implementations. You don't need to move it into the Java if you 
don't want to, though, you can use XML-based validation.

If reloading is your only concern you can also do Ajax-based validation.

Dave

[1] http://struts.apache.org/2.x/docs/expression-validator.html
[2] http://struts.apache.org/2.x/docs/fieldexpression-validator.html


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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


As a responsible corporate citizen, London Scottish Bank plc asks you to 
consider the environment before printing this email.

*** Disclaimer *** 

This electronic communication is confidential and for the exclusive use of the 
addressee. It may contain private and confidential information. The 
information, attachments and opinions contained in this E-mail are those of its 
author only and do not necessarily represent those of London Scottish Bank PLC 
or any other members of the London Scottish Group. 

If you are not the intended addressee, you are prohibited from any disclosure, 
distribution or further copying or use of this communication or the information 
in it or taking any action in reliance on it. If you have received this 
communication in error please notify the Information Security Manager at [EMAIL 
PROTECTED] as soon as possible and delete the message from all places in your 
computer where it is stored. 

We utilise virus scanning software but we cannot guarantee the security of 
electronic communications and you are advised to check any attachments for 
viruses. We do not accept liability for any loss resulting from any corruption 
or alteration of data or importation of any virus as a result of receiving this 
electronic communication. 

Replies to this E-mail may be monitored for operational or business reasons. 
London Scottish Bank PLC is regulated by the Financial Services Authority.


London Scottish Bank plc, Registered Office: 201 Deansgate, Manchester M3 3NW 
Registered Number 973008 England.

Subsidiary Companies:-

London Scottish Finance Limited, Registered Office: 201 Deansgate, Manchester 
M3 3NW Registered Number 233259 England.

London Scottish Broking Limited, Registered Office: 201 Deansgate, Manchester 
M3 3NW Registered Number 230110 England.

Robinson Way & Company Limited, Registered Office: 201 Deansgate, Manchester M3 
3NW Registered Number 885896 England.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to