You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by cn...@apache.org on 2016/02/03 10:53:47 UTC
[12/13] struts git commit: WW-4594 Merges #85 which adds annotations
to configure tiles
WW-4594 Merges #85 which adds annotations to configure tiles
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/15688132
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/15688132
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/15688132
Branch: refs/heads/master
Commit: 15688132eff8a5f718ac24794822133fb3fe2d35
Parents: 94691e0 f5ef143
Author: cnenning <cn...@apache.org>
Authored: Wed Feb 3 10:51:15 2016 +0100
Committer: cnenning <cn...@apache.org>
Committed: Wed Feb 3 10:51:15 2016 +0100
----------------------------------------------------------------------
.../showcase/tiles/TilesAnnotationsAction.java | 40 +++++
apps/showcase/src/main/webapp/WEB-INF/tiles.xml | 10 +-
.../src/main/webapp/WEB-INF/tiles/body.jsp | 3 +
.../webapp/WEB-INF/tiles/layout-annotations.jsp | 14 ++
.../tiles/StrutsTilesAnnotationProcessor.java | 177 +++++++++++++++++++
.../tiles/annotation/TilesAddAttribute.java | 30 ++++
.../tiles/annotation/TilesAddListAttribute.java | 28 +++
.../tiles/annotation/TilesDefinition.java | 66 +++++++
.../tiles/annotation/TilesDefinitions.java | 36 ++++
.../tiles/annotation/TilesPutAttribute.java | 32 ++++
.../tiles/annotation/TilesPutListAttribute.java | 32 ++++
.../apache/struts2/views/tiles/TilesResult.java | 69 ++++++--
.../StrutsTilesAnnotationProcessorTest.java | 147 +++++++++++++++
.../TilesTestActionMultipleAnnotations.java | 12 ++
.../tiles/TilesTestActionSingleAnnotation.java | 49 +++++
...TilesTestActionSingleAnnotationAllEmpty.java | 28 +++
16 files changed, 760 insertions(+), 13 deletions(-)
----------------------------------------------------------------------