Shivani Sawhney wrote:
About the 2nd query, when I write,

<form-property name="date" type="java.lang.String"
initial="rd.admin.DateFormat.getDate()"/>

...the text box displays "rd.admin.DateFormat.getDate()" literally. Is
there any way that I could get the form value to be evaluated rather
than just outputting it as is?

Raghu is correct on this one; Struts doesn't perform any expression evaluation on the initial value. You'll need to initialize it yourself in your setup action. If you really need to be able to use expressions in the config file, you would need to call some sort of expression evaluation logic in your action yourself.

L.


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

Reply via email to