NoSuchDefinitionException on Internet Explorer using wildcard
-------------------------------------------------------------

                 Key: TILES-463
                 URL: https://issues.apache.org/struts/browse/TILES-463
             Project: Tiles
          Issue Type: Bug
          Components: tiles-core
    Affects Versions: 2.1.3
         Environment: Struts 2.1.6; Tiles 2.1.3; Internet Explorer 6, 7 and 8
            Reporter: David SanmartĂ­n
            Priority: Blocker


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">olympia.connection.index</result>
           <result type="tiles" name="failed">olympia.connection.error</result>
            <result type="tiles" name="error">olympia.connection.error</result>
        </global-results>
        
        <action name="clientes*" 
class="com.vda2.app.olympia.actions.connection.ClientesAction" method="{1}">
            <result type="tiles" name="success">olympia.connection.{1}</result>
        </action>
        <action name="anuncios*" 
class="com.vda2.app.olympia.actions.connection.AnunciosAction" method="{1}">
            <result type="tiles" name="success">olympia.connection.{1}</result>
        </action>
        <action name="index" 
class="com.vda2.app.olympia.actions.connection.ConnectionAction" method="index">
                <result type="tiles" 
name="success">olympia.connection.index</result>
        </action>
        <action name="*" 
class="com.vda2.app.olympia.actions.connection.ConnectionAction" method="{1}">
            <result type="tiles" name="success">olympia.connection.{1}</result>
        </action>
</package>

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

<definition name="base" template="/layout/layout.jsp">
        <put-attribute name="header" value="/tiles/common/commonHeader.jsp" />
</definition>
<definition name="connection" extends="base">
        <put-attribute name="sidebar" value="/tiles/connection/sidebar.jsp" />
        <put-attribute name="footer" value="/tiles/connection/footer.jsp" />
</definition>
<definition name="olympia.connection.*" extends="connection">
        <put-attribute name="content" value="/tiles/connection/{1}.jsp" />
</definition>

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

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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to