Struts 1
  1. Struts 1
  2. STR-2990

<tiles:insert> doesn't change module scope when including a different module action result forward

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.5
    • Fix Version/s: None
    • Component/s: Tiles 1 Plugin
    • Labels:
      None
    • Environment:
      JDK 5 / JDK 6, Struts 1.3.5

      Description

      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Ignacio de Córdoba
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development