DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23409>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23409

Additional parameters for actions

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From [EMAIL PROTECTED]  2003-09-25 20:14 -------
You can use the 'set-property' mechanism to add as many propertiest to an 
action as you need.

Example
   <action   path="/foo"
              type="com.foo.FooAction"
              name="fooForm"
              scope="request"
              validate="false">

      <set-property property="hello" value="HELLO"/>
      <set-property property="world" value="WORLD"/>

      <forward name="success"              path="/foo.jsp"/>

    </action>

This will set the 'hello' property of your action class to 'HELLO', and the 
world property to 'WORLD'.

You can use this mechanism to set additional properties to all configuarable 
objects in struts-config.xml

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

Reply via email to