Re: localisation of Dates

2005-06-20 Thread Mike Deegan
Arno, JavaServer Pages Standard Tag Library (JSTL) http://java.sun.com/products/jsp/jstl/ has support locale-sensitive formatting tags which can be used to present a Date in the users locale in a JSP. I18N-capable formatting (with a URI of http://java.sun.com/jstl/ea/fmt and a prefix of fmt

Re: How to call a Struts 'forward' from a CustomRequestProcessor?

2005-03-20 Thread Mike Deegan
Googled and found this snippet that my help! http://technology.amis.nl/blog/index.php?p=400 Comment by Leon van Tegelen - 14/2/2005 @ 11:17 pm The actual way to do it would be to forward to a global forward named "unauthorized" in the struts-config, like so import org.apache.struts.config.Forward

Re: comparing password and confirm password

2005-01-21 Thread Mike Deegan
validwhen - validator for checking one field against another. see section titled Designing "Complex Validations with validwhen". http://struts.apache.org/userGuide/dev_validator.html "[Since Struts 1.2.0] A frequent requirement in validation design is to validate one field against another (for exa

Re: Problems on disabling inputs

2004-08-15 Thread Mike Deegan
Not sure the exact error you are getting, but I had a similar and going from memory ... when using the tag with disable="true" for a property I had to also code a for the property being disabled not sure if this will solve you problem - a dump of the exact exception you are getting may shed more