diff --git a/magnolia-templating-jsp/src/main/java/info/magnolia/templating/jsp/taglib/SimpleNavigationTag.java b/magnolia-templating-jsp/src/main/java/info/magnolia/templating/jsp/taglib/SimpleNavigationTag.java index d9b5085..515587a 100644 --- a/magnolia-templating-jsp/src/main/java/info/magnolia/templating/jsp/taglib/SimpleNavigationTag.java +++ b/magnolia-templating-jsp/src/main/java/info/magnolia/templating/jsp/taglib/SimpleNavigationTag.java @@ -57,6 +57,7 @@ import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.exception.NestableRuntimeException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.tldgen.annotations.Attribute; import org.tldgen.annotations.BodyContent; import org.tldgen.annotations.Tag; @@ -244,6 +245,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" type="int" */ + @Attribute(required=false, rtexprvalue=true) public void setStartLevel(int startLevel) { this.startLevel = startLevel; } @@ -253,6 +255,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" type="int" */ + @Attribute(required=false, rtexprvalue=true) public void setEndLevel(int endLevel) { this.endLevel = endLevel; } @@ -262,6 +265,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" */ + @Attribute(required=false, rtexprvalue=true) public void setStyle(String style) { this.style = style; } @@ -272,6 +276,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" */ + @Attribute(required=false, rtexprvalue=true) public void setHideInNav(String hideInNav) { this.hideInNav = hideInNav; } @@ -283,6 +288,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" */ + @Attribute(required=false, rtexprvalue=true) public void setOpenMenu(String openMenu) { this.openMenu = openMenu; } @@ -294,6 +300,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" */ + @Attribute(required=false, rtexprvalue=true) public void setNofollow(String nofollow) { this.nofollow = nofollow; } @@ -303,6 +310,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" */ + @Attribute(required=false, rtexprvalue=true) public void setContentFilter(String contentFilter) { this.contentFilter = contentFilter; } @@ -313,6 +321,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" */ + @Attribute(required=false, rtexprvalue=true) public void setExpandAll(String expandAll) { if (expandAll.equalsIgnoreCase(EXPAND_SHOW)) { this.expandAll = expandAll; @@ -328,6 +337,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" type="boolean" */ + @Attribute(required=false, rtexprvalue=true) public void setRelativeLevels(boolean relativeLevels) { this.relativeLevels = relativeLevels; } @@ -337,6 +347,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" */ + @Attribute(required=false, rtexprvalue=true) public void setClassProperty(String classProperty) { this.classProperty = classProperty; } @@ -347,6 +358,7 @@ public class SimpleNavigationTag extends TagSupport { * @param wrapperElement name of an html element that will be included in the anchor, wrapping the anchortext * @jsp.attribute required="false" rtexprvalue="true" */ + @Attribute(required=false, rtexprvalue=true) public void setWrapperElement(String wrapperElement) { this.wrapperElement = wrapperElement; } @@ -357,6 +369,7 @@ public class SimpleNavigationTag extends TagSupport { * * @jsp.attribute required="false" rtexprvalue="true" type="boolean" */ + @Attribute(required=false, rtexprvalue=true) public void setMarkFirstAndLastElement(boolean flag) { markFirstAndLastElement = flag; }