cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niket Anand" <niketan...@npi.stpn.soft.net>
Subject form-validation
Date Tue, 16 Apr 2002 04:54:30 GMT
Hi All,
How can I do form validation for date field? I want that the input value for date field should
not exceed certain date. Please suggest about it.

I want to return map in act() method as
Map siteparams=new HashMap();
siteparams("validate", true);
return siteparams;

How can I use variable "validate" in sitemap such that If it is true then redirect to resource1
else redirect to resource2.
How can I deal it like if-else condition like <xsl:if test=""> 

Thanks,
Niket

Mime
View raw message