Thanks for your answer.

The s:date tag is fine, but how to pass it to a s:textfield tag ?

<s:textfield id="date" name="date"
        size="10" maxlength = "10"
        value="<s:date name="myDate" format="%{getText('date.format')}"/>"/>



maxmil wrote:
> 
> You can call a static method using the OGNL syntax.
> 
> <s:property value="@[EMAIL PROTECTED](myDate)" />.
> 
> (More info can be found here 
> http://www.opensymphony.com/ognl/html/LanguageGuide/)
> 
> However i suggest you have a look at the s:date tag.
> 
> max
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--How-to-apply-a-Java-method-on-a-%24%7BmyVarInStack%7D-in-a-JSP---tf4598988.html#a13131826
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to