----- Original Message ----
> From: Muhammad Owais <muhammadowaisbi...@yahoo.com>
> To: user@struts.apache.org
> Sent: Sunday, September 6, 2009 12:04:04 AM
> Subject: Passing value in error message
> 
> 
> Dear;
> I am looking for a solution to pass value as parameter to the error message.
> What I want to achive is that I have to validate Date field. This date 
> field's 
> validation is of general type and with the concept of re-useablity. 
> The validation rule(s) is like the date should be greater then current date + 
> 5 
> minutes. The validation rule parameter can vary with 5, 10, 20 ...
> So what I did is:   
>    
> name="futureMinutes" key="${var:inFutureMin}" resource="false" />         
> dateformat    dd/MM/yyyyHHmm     
>          minutesofhour    
> startDateMinutes             
> inFutureMin    5     
> I want to use inFutureMin value in my error message.
> Please recommend how can I do it.  

Try Struts (unofficial) jquery plugin.  You can use date picker.  Nice little 
<div> popup style for the user to choose the date.  Supports any date format 
you specify.  Has # days limit too.  Check out jquery's showcase.

Regards,
Tommy

> 
> Thanking you in advance.
> 
> Muhammad Owais Bilal Awan,
> +966-56-5823-940


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to