Index: src/main/info/magnolia/cms/taglibs/Attribute.java =================================================================== --- src/main/info/magnolia/cms/taglibs/Attribute.java (Revision 2022) +++ src/main/info/magnolia/cms/taglibs/Attribute.java (Arbeitskopie) @@ -30,7 +30,7 @@ /** * Value of the attribute */ - private String value; + private Object value; /** * Name of the attribute. @@ -47,7 +47,7 @@ /** * @param value value of the attribute */ - public void setValue(String value) { + public void setValue(Object value) { this.value = value; } Index: src/main/info/magnolia/cms/taglibs/Include.java =================================================================== --- src/main/info/magnolia/cms/taglibs/Include.java (Revision 2022) +++ src/main/info/magnolia/cms/taglibs/Include.java (Arbeitskopie) @@ -102,11 +102,11 @@ * @param name name of attribute to pass with the include * @param value value of attribute to pass with the include */ - public void setAttribute(String name, String value) { + public void setAttribute(String name, Object value) { if (attributes == null) { attributes = new ArrayList(); } - String[] attributesArray = new String[]{name, value}; + Object[] attributesArray = new Object[]{name, value}; attributes.add(attributesArray); } @@ -118,8 +118,8 @@ if ((attributes != null) && (attributes.size() > 0)) { Iterator i = attributes.iterator(); while (i.hasNext()) { - String[] s = (String[]) i.next(); - req.setAttribute(s[0], s[1]); + Object[] s = (Object[]) i.next(); + req.setAttribute((String) s[0], s[1]); } } return SKIP_BODY; @@ -198,8 +198,8 @@ if ((attributes != null) && (attributes.size() > 0)) { Iterator i = attributes.iterator(); while (i.hasNext()) { - String[] s = (String[]) i.next(); - req.removeAttribute(s[0]); + Object[] s = (Object[]) i.next(); + req.removeAttribute((String) s[0]); } } attributes = null;