You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2009/10/03 21:49:54 UTC
[jira] Commented: (TILES-463) NoSuchDefinitionException on Internet
Explorer using wildcard
[ https://issues.apache.org/struts/browse/TILES-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46875#action_46875 ]
Antonio Petrelli commented on TILES-463:
----------------------------------------
Please try using the code at SVN branch:
http://svn.eu.apache.org/repos/asf/tiles/framework/branches/TILES_2_1_X/
You can find a reasonably updated version at the Maven snapshot repository:
http://people.apache.org/repo/m2-snapshot-repository/
If it still does not work, please, *PLEASE*, attach a test case, otherwise it is pretty impossible to reproduce your problem.
> 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
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.