I add a button to a page, hope it will go back to the menu page, but it fails.
1) The button text cannot obtain the value from MessageResources.properties.
2) When mouse goes up, the page forward does not work.

How can they be resolved?
Thanks


JSP:
      <td>
        <html:button property="backButton"
value="form.button.back.label" onmouseup="backToUserProfile.do"/>
      </td>

struts-config.xml:
                <form-bean name="blankForm" 
                                type="org.apache.struts.action.DynaActionForm"/>

        <action path="/backToUserProfile"
                type="org.apache.struts.actions.ForwardAction"
                name="blankForm"
                scope="request"
                validate="false"
                parameter="userProfileMaintPath.do?groupId=USERPROFILEMAINT"/>

        <action    path="/userProfileMaintPath" 
                   type="com.common.misc.SetAttributeGroupId" 
                   scope="request">
           <forward name="success" path="user.userProfileMaint" />
                </action>

Where com.common.misc.SetAttributeGroupId extends ForwardAction

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

Reply via email to