[ 
https://issues.apache.org/jira/browse/WW-4685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15496500#comment-15496500
 ] 

Hudson commented on WW-4685:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-JDK6-support-2.3 #1048 (See 
[https://builds.apache.org/job/Struts-JDK6-support-2.3/1048/])
WW-4685 Supports evaluating expressions from tiles definitions as a 
(lukaszlenart: rev 156db8e5dfb82c394564d8268d9ef553f28356af)
* (edit) 
plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesContainerFactory.java
* (add) 
plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsAttributeEvaluator.java
WW-4685 Uses dedicated prefixes to access I18N and Struts internals 
(lukaszlenart: rev 431e50e92242b24b98f36eaec9ac84c938bb82b6)
* (edit) 
plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsAttributeEvaluator.java
* (add) 
plugins/tiles/src/main/java/org/apache/struts2/tiles/I18NAttributeEvaluator.java
* (edit) 
plugins/tiles/src/main/java/org/apache/struts2/tiles/StrutsTilesContainerFactory.java
WW-4685 Adjusts cherry pick to 2.3.x (lukaszlenart: rev 
81371e09c54a1ba9c2d4d3207567263cc6e62474)
* (edit) 
plugins/tiles/src/main/java/org/apache/struts2/tiles/I18NAttributeEvaluator.java


> Allow directly accessing I18N keys from Tiles defintions
> --------------------------------------------------------
>
>                 Key: WW-4685
>                 URL: https://issues.apache.org/jira/browse/WW-4685
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tiles
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.31, 2.5.3
>
>
> It'd be better to allow directly fetching I18N keys from Struts properties 
> instead of using multiple {{tiles.xml}} definitions. The latest version of 
> Tiles supports expression languages so it can be possible to add support for 
> Struts' internals.
> {code:xml}
> <definition name="home" extends="logged-in">
>   <put-attribute name="title" expression="S2:home.title"/>
>   <put-attribute name="body" value="/WEB-INF/tiles/home.jsp"/>
> </definition>
> {code}
> and {{home.title}} should be first evaluated as a key in resource bundle and 
> then as a value from ValueStack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to