You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/09/18 12:44:35 UTC
[jira] Moved: (TILES-220) [tiles] use of wildcard in tiles-defs.xml
as for wildcard mappings
[ https://issues.apache.org/struts/browse/TILES-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli moved STR-2196 to TILES-220:
---------------------------------------------
Component/s: (was: Tiles 1 Plugin)
tiles-core
Affects Version/s: (was: Nightly Build)
2.0.4
Workflow: Struts - editable closed status (was: jira)
Issue Type: New Feature (was: Improvement)
Key: TILES-220 (was: STR-2196)
Project: Tiles (was: Struts 1)
> [tiles] use of wildcard in tiles-defs.xml as for wildcard mappings
> ------------------------------------------------------------------
>
> Key: TILES-220
> URL: https://issues.apache.org/struts/browse/TILES-220
> Project: Tiles
> Issue Type: New Feature
> Components: tiles-core
> Affects Versions: 2.0.4
> Environment: Operating System: other
> Platform: Other
> Reporter: nicolas de loof
> Assignee: Struts Developers
> Priority: Minor
> Attachments: patch.txt, patch.txt, patch.txt
>
>
> Wildcard mappings is a interesting new feature in struts 1.2.x. This enhancement
> allow to use wildcard in tiles definition too like the following :
> <definition name="tiles:test.*" path="/testlayout.jsp">
> <put name="testName" value="{1}"/>
> <put name="def" value="tiles:another.definition.{1}" type="definition"/>
> </definition>
> Using this, you can build a full wildcard request handling when adding a mapping
> in struts-config :
> <action path="/Test*"
> forward="tiles:test.{1}"/>
> Please note : properties are replaced in attributes of the definition only for
> put elements. It may require a little bit more coding in
> DefinitionsFactory.getDefinition() to add putlist support.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.