diff --git a/apps/showcase/src/main/java/org/apache/struts2/showcase/UITagExample.java b/apps/showcase/src/main/java/org/apache/struts2/showcase/UITagExample.java index fee1696b1..c85b61118 100644 --- a/apps/showcase/src/main/java/org/apache/struts2/showcase/UITagExample.java +++ b/apps/showcase/src/main/java/org/apache/struts2/showcase/UITagExample.java @@ -20,6 +20,11 @@ */ package org.apache.struts2.showcase; +import com.opensymphony.xwork2.ActionSupport; +import com.opensymphony.xwork2.Validateable; +import com.opensymphony.xwork2.util.ValueStack; +import org.apache.struts2.ServletActionContext; + import java.io.File; import java.util.ArrayList; import java.util.Collections; @@ -28,12 +33,6 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.apache.struts2.ServletActionContext; - -import com.opensymphony.xwork2.ActionSupport; -import com.opensymphony.xwork2.Validateable; -import com.opensymphony.xwork2.util.ValueStack; - /** */ public class UITagExample extends ActionSupport implements Validateable { @@ -47,6 +46,7 @@ public class UITagExample extends ActionSupport implements Validateable { String bio; String favouriteColor; List friends; + String bestFriend; boolean legalAge; String state; String region; @@ -185,6 +185,14 @@ public class UITagExample extends ActionSupport implements Validateable { this.friends = friends; } + public String getBestFriend() { + return bestFriend; + } + + public void setBestFriend(String bestFriend) { + this.bestFriend = bestFriend; + } + public boolean isLegalAge() { return legalAge; } diff --git a/apps/showcase/src/main/webapp/tags/ui/example.jsp b/apps/showcase/src/main/webapp/tags/ui/example.jsp index c8435789e..5e395bc86 100644 --- a/apps/showcase/src/main/webapp/tags/ui/example.jsp +++ b/apps/showcase/src/main/webapp/tags/ui/example.jsp @@ -62,9 +62,16 @@ + + - + + diff --git a/core/src/main/resources/template/simple/radiomap.ftl b/core/src/main/resources/template/simple/radiomap.ftl index b343a6f6b..4b07f6895 100644 --- a/core/src/main/resources/template/simple/radiomap.ftl +++ b/core/src/main/resources/template/simple/radiomap.ftl @@ -55,6 +55,7 @@ <#if parameters.cssStyle??> style="${parameters.cssStyle?html}"<#rt/> +<#include "/${parameters.templateDir}/simple/css.ftl" /> <#if parameters.title??> title="${parameters.title?html}"<#rt/>