mirror of
https://github.com/apache/struts.git
synced 2026-08-06 23:27:07 +00:00
formatted annotations more nicely
This commit is contained in:
+3
-2
@@ -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;
|
||||
|
||||
+2
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user