Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow
In directory james.mmbase.org:/tmp/cvs-serv24165/pageflow
Modified Files:
UrlTag.java
Log Message:
for backwards compatibility with MMBase 1.8, readded a few methods which are
inadvertedly dropped in mmbase 1.9.0
See also:
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow
Index: UrlTag.java
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow/UrlTag.java,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -b -r1.119 -r1.120
--- UrlTag.java 21 Oct 2008 18:28:02 -0000 1.119
+++ UrlTag.java 22 Dec 2008 14:50:50 -0000 1.120
@@ -30,7 +30,7 @@
* A Tag to produce an URL with parameters. It can use 'context' parameters
easily.
*
* @author Michiel Meeuwissen
- * @version $Id: UrlTag.java,v 1.119 2008/10/21 18:28:02 michiel Exp $
+ * @version $Id: UrlTag.java,v 1.120 2008/12/22 14:50:50 michiel Exp $
*/
public class UrlTag extends CloudReferrerTag implements ParamHandler,
FrameworkParamHandler {
@@ -129,6 +129,35 @@
}
}
+ /**
+ * @deprecated
+ */
+ protected String getUrl() throws JspTagException {
+ try {
+ return url.get(escapeAmps.getBoolean(this, true));
+ } catch (FrameworkException fe) {
+ throw new JspTagException(fe);
+ }
+ }
+ /**
+ * @deprecated
+ */
+ protected String getUrl(boolean writeamp, boolean eu) throws
JspTagException {
+ Url ur = url;
+ if (ur.encodeUrl() == eu) {
+ ur = url;
+ } else {
+ ur = new Url(url, eu);
+ }
+ try {
+ return ur.get(escapeAmps.getBoolean(this, true));
+ } catch (FrameworkException fe) {
+ throw new JspTagException(fe);
+ }
+ }
+
+
+
protected void initTag(boolean internal) throws JspTagException {
extraParameters = new HashMap<String, Object>();
frameworkParameters = new HashMap<String, Object>();
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs