Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib In directory james.mmbase.org:/tmp/cvs-serv4571
Modified Files: ContextReferrerTag.java Log Message: details only, resolved deprecation See also: http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib Index: ContextReferrerTag.java =================================================================== RCS file: /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/ContextReferrerTag.java,v retrieving revision 1.113 retrieving revision 1.114 diff -u -b -r1.113 -r1.114 --- ContextReferrerTag.java 3 Feb 2009 13:11:14 -0000 1.113 +++ ContextReferrerTag.java 28 Apr 2009 08:44:46 -0000 1.114 @@ -16,7 +16,6 @@ import java.io.*; -import org.mmbase.bridge.NodeList; import org.mmbase.bridge.Query; import org.mmbase.bridge.jsp.taglib.edit.FormTag; import org.mmbase.bridge.jsp.taglib.util.Attribute; @@ -36,7 +35,7 @@ * * * @author Michiel Meeuwissen - * @version $Id: ContextReferrerTag.java,v 1.113 2009/02/03 13:11:14 michiel Exp $ + * @version $Id: ContextReferrerTag.java,v 1.114 2009/04/28 08:44:46 michiel Exp $ * @see ContextTag */ @@ -386,7 +385,7 @@ **/ protected Boolean getAttributeBoolean(String b) throws JspTagException { - String r = getAttributeValue(b).toLowerCase(); + String r = getAttribute(b).getString(this).toLowerCase(); if ("true".equals(r)) { return Boolean.TRUE; } else if ("false".equals(r)) { @@ -408,7 +407,7 @@ } protected Integer getAttributeInteger(String i, int def) throws JspTagException { try { - i = getAttributeValue(i); + i = getAttribute(i).getString(this); if (i.length() == 0) return def; return Integer.parseInt(i); } catch (NumberFormatException e) { // try first if it was a float @@ -807,7 +806,9 @@ FormTag formTag; if (form == null || form == Attribute.NULL) { formTag = (FormTag) pageContext.getAttribute(FormTag.KEY, FormTag.SCOPE); - if (formTag == null && excpetion) throw new JspTagException("No form-tag found (" + FormTag.KEY + ")"); + if (formTag == null && excpetion) { + throw new JspTagException("No form-tag found (" + FormTag.KEY + ")"); + } } else { formTag = findParentTag(FormTag.class, form != null ? (String) form.getValue(this) : null, true); } _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs