sim085 ha scritto:
Now, each view is using an Action class to manage the view and so on.  I
would like to have another action class for the menu section as well, with a
form bean to transfer the data from the menu to the action class and back
again.

If the JSP of the menu does not change, you can define your action without modifing tiles-defs.xml. If you need to change the menu JSP, you should make an additional action that acts as a dispatcher. You can put the action path instead of the JSP page in your definition.
For example:
<put name="menu" value="/menuAction.do" />
The /menuAction.do mapping must point to a real action, that forwards to, for example, a JSP page that will be put in the place of the menu.

HTH
Antonio

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

Reply via email to