You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2006/12/31 16:41:58 UTC

[jira] Commented: (STR-2990) doesn't change module scope when including a different module action result forward

    [ http://issues.apache.org/struts/browse/STR-2990?page=comments#action_39218 ] 
            
Antonio Petrelli commented on STR-2990:
---------------------------------------

Please post:
* the way you use the <tiles:insert attribute="userservice" /> tag inside your JSP page;
* the action mapping in your struts-config.xml file.

> <tiles:insert> doesn't change module scope when including a different module action result forward
> --------------------------------------------------------------------------------------------------
>
>                 Key: STR-2990
>                 URL: http://issues.apache.org/struts/browse/STR-2990
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 1.3.5
>         Environment: JDK 5 / JDK 6, Struts 1.3.5
>            Reporter: Ignacio de Córdoba
>
> If you insert the forward result of an action:
> <tiles:insert attribute="userservice"/> which maps to a page that has an <html:form>, if userservice is an attribute mapping to a page or action in a different module as current action's module, <html:form> will never find corresponding action, as the page is for the external module, but struts considers we are in current module.
> As tiles can have common tiles definitions, maybe an extra parameter to <tiles:insert> is needed, to specify that supplied attribute is to be rendered in a different module scope (¿<tiles:insert attribute="userservice" module="/user"/>?) Or just make tiles detect module using the attribute path.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira