Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-463

NoSuchDefinitionException on Internet Explorer using wildcard

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.1.3
    • None
    • tiles-core
    • None
    • Struts 2.1.6; Tiles 2.1.3; Internet Explorer 6, 7 and 8

    • Important

    Description

      I get a NoSuchDefinitionException on Internet Explorer 6, 7 & 8 when trying to access to any page of my app. It's working fine with other explorers (Firefox 3 & 3.5, Chrome 2, Safari 4.0 and Opera 9.64).
      The difference with other apps I developed it's the use of wildcard on tiles configuration.

      Here is the conf of struts.xml and tiles.xml:

      <package name="connection" extends="base" namespace="/connection">
      <default-action-ref name="index"></default-action-ref>
      <global-results>
      <result type="tiles" name="index">oly.conn.index</result>
      <result type="tiles" name="failed">oly.conn.error</result>
      <result type="tiles" name="error">oly.conn.error</result>
      </global-results>

      <action name="clientes*" class="com.vda2.app.oly.actions.conn.ClientesAction" method="

      {1}">
      <result type="tiles" name="success">oly.conn.{1}

      </result>
      </action>
      <action name="anuncios*" class="com.vda2.app.oly.actions.conn.AnunciosAction" method="

      {1}">
      <result type="tiles" name="success">oly.conn.{1}

      </result>
      </action>
      <action name="index" class="com.vda2.app.oly.actions.conn.ConnAction" method="index">
      <result type="tiles" name="success">oly.conn.index</result>
      </action>
      <action name="*" class="com.vda2.app.oly.actions.conn.ConnAction" method="

      {1}">
      <result type="tiles" name="success">oly.conn.{1}

      </result>
      </action>
      </package>

      ------------------

      <definition name="base" template="/layout/layout.jsp">
      <put-attribute name="header" value="/tiles/common/commonHeader.jsp" />
      </definition>
      <definition name="conn" extends="base">
      <put-attribute name="sidebar" value="/tiles/conn/sidebar.jsp" />
      <put-attribute name="footer" value="/tiles/conn/footer.jsp" />
      </definition>
      <definition name="oly.conn.*" extends="conn">
      <put-attribute name="content" value="/tiles/conn/

      {1}

      .jsp" />
      </definition>

      ----------------------

      If I set a definition for every result then the app works fine even on Internet Explorer.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kienvaser David SanmartĂ­n
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: