formatted annotations more nicely

This commit is contained in:
cnenning
2016-02-01 09:36:23 +01:00
parent 1bbcd4bf70
commit 473403ca17
2 changed files with 5 additions and 3 deletions
@@ -12,8 +12,9 @@ import com.opensymphony.xwork2.ActionSupport;
@ParentPackage("tiles")
@Result(name = "success", type="tiles")
@TilesDefinition(extend = "showcase.annotations", putAttributes = {
@TilesPutAttribute(name = "header", value = "/WEB-INF/tiles/header.jsp"),
@TilesPutAttribute(name = "body", value = "/WEB-INF/tiles/body.ftl"), })
@TilesPutAttribute(name = "header", value = "/WEB-INF/tiles/header.jsp"),
@TilesPutAttribute(name = "body", value = "/WEB-INF/tiles/body.ftl")
})
public class TilesAnnotationsAction extends ActionSupport {
private static final long serialVersionUID = 2900509995064928866L;
@@ -42,7 +42,8 @@ import java.lang.annotation.Target;
* @Result(name = "success", type="tiles")
* @TilesDefinition(extend = "layout", putAttributes = {
* @TilesPutAttribute(name = "header", value = "/WEB-INF/tiles/header.jsp"),
* @TilesPutAttribute(name = "body", value = "/WEB-INF/tiles/body.ftl"), })
* @TilesPutAttribute(name = "body", value = "/WEB-INF/tiles/body.ftl")
* })
* public class FooAction extends ActionSupport {
* </pre>
* </p>