struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignacio de Córdoba (JIRA) <j...@apache.org>
Subject [jira] Created: (STR-2990) <tiles:insert> doesn't change module scope when including a different module action result forward
Date Wed, 27 Dec 2006 16:22:57 GMT
<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

       

Mime
View raw message