RE: String manipulation

2009-02-27 Thread Richard Gundersen
dName="accountFileFileName") Silly mistake I know. If I run into any more problems with it though I'll use your suggestion - thanks -Original Message- From: David Harland [mailto:harlander3...@yahoo.com] Sent: 27 February 2009 11:04 To: Struts Users Mailing List Subject: RE:

RE: String manipulation

2009-02-27 Thread David Harland
ctionError("File type not allowed"); return; } Remove |(xls) if you dont want to allow xls files --- On Fri, 2/27/09, Richard Gundersen wrote: > From: Richard Gundersen > Subject: RE: String manipulation > To: "Struts Users Mailing List" >

RE: String manipulation

2009-02-27 Thread Richard Gundersen
To: Struts Users Mailing List Subject: RE: String manipulation Oh, got it @FieldExpressionValidator(expression="(accountFileFileName.endsWith('.cs v')", message="", key="validate.invalidFilename", fieldName="accountFileFileName") Forgo

RE: String manipulation

2009-02-27 Thread Richard Gundersen
Oh, got it @FieldExpressionValidator(expression="(accountFileFileName.endsWith('.cs v')", message="", key="validate.invalidFilename", fieldName="accountFileFileName") Forgot you could just call methods in OGNL :) -Richard -Original Message- From: Richard Gundersen [mailto:r.gunder...@sa