set-property is available when u extend ActionConfig and include your getter/setter methods. [for 1.2.x branch ]
if you're using 1.3.x-dev you can use <set-property key="" value=""> to set arbitrary properties without extending the config class. Only available for ActionConfig as of now.
hopefully all config's would get this feature soon
riyaz
Prashant Reddy wrote:
Struts DTD specifies :
<!ELEMENT action (icon?, display-name?, description?, set-property*, exception*, forward*)>
But there seems to be no API on "ActionConfig" to get the Name-Value paris set using "set-property" Tag
<action...>
<set-property name="someName" value="someValue"/> <set-property name="someOtherName" value="someOtherValue"/>
</action>
Many Thanks for any help.
-Prashant
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]