Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/pageflow
In directory james.mmbase.org:/tmp/cvs-serv24930
Modified Files:
Tag: MMBase-1_8
UrlTag.java
Log Message:
a getter for ExtraParameters. Mainly for forward compatibility, because in 1.9
extraParameters has become a Map, but this method can return the same type in
1.9
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.79.2.6
retrieving revision 1.79.2.7
diff -u -b -r1.79.2.6 -r1.79.2.7
--- UrlTag.java 19 Feb 2008 15:39:11 -0000 1.79.2.6
+++ UrlTag.java 22 Dec 2008 15:11:22 -0000 1.79.2.7
@@ -35,7 +35,7 @@
* A Tag to produce an URL with parameters. It can use 'context' parameters
easily.
*
* @author Michiel Meeuwissen
- * @version $Id: UrlTag.java,v 1.79.2.6 2008/02/19 15:39:11 michiel Exp $
+ * @version $Id: UrlTag.java,v 1.79.2.7 2008/12/22 15:11:22 michiel Exp $
*/
public class UrlTag extends CloudReferrerTag implements ParamHandler {
@@ -311,8 +311,16 @@
// because Url tag can have subtags (param), default writing even
with body seems sensible
// unless jspvar is specified, because then, perhaps the user
wants that..
}
+ }
+ /**
+ *
+ * @since MMBase-1.8.7
+ */
+ protected Collection getExtraParameters() {
+ return extraParameters;
}
+
public int doEndTag() throws JspTagException {
if (getId() != null) {
getContextProvider().getContextContainer().register(getId(),
getUrl(false, false)); // write it as cleanly as possible.
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs