Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/tree
In directory james.mmbase.org:/tmp/cvs-serv13124/tree
Modified Files:
AbstractTreeReferrerListTag.java TreeTag.java
Log Message:
make sure every list-tag implementation as add, retain, remove
See also:
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/tree
Index: AbstractTreeReferrerListTag.java
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/tree/AbstractTreeReferrerListTag.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- AbstractTreeReferrerListTag.java 14 Feb 2008 14:36:31 -0000 1.6
+++ AbstractTreeReferrerListTag.java 23 Feb 2008 15:55:15 -0000 1.7
@@ -17,7 +17,7 @@
/**
* @author Michiel Meeuwissen
* @since MMBase-1.7
- * @version $Id: AbstractTreeReferrerListTag.java,v 1.6 2008/02/14 14:36:31
michiel Exp $
+ * @version $Id: AbstractTreeReferrerListTag.java,v 1.7 2008/02/23 15:55:15
michiel Exp $
*/
abstract class AbstractTreeReferrerListTag extends TreeReferrerTag implements
ListProvider, DepthProvider {
@@ -47,6 +47,17 @@
return depth;
}
+ public void setAdd(String c) throws JspTagException {
+ throw new UnsupportedOperationException();
+ }
+ public void setRetain(String c) throws JspTagException {
+ throw new UnsupportedOperationException();
+ }
+ public void setRemove(String c) throws JspTagException {
+ throw new UnsupportedOperationException();
+ }
+
+
protected ContextCollector collector;
// ContextProvider implementation
Index: TreeTag.java
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/tree/TreeTag.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- TreeTag.java 14 Feb 2008 14:36:31 -0000 1.23
+++ TreeTag.java 23 Feb 2008 15:55:15 -0000 1.24
@@ -47,7 +47,7 @@
</pre>
* @author Michiel Meeuwissen
* @since MMBase-1.7
- * @version $Id: TreeTag.java,v 1.23 2008/02/14 14:36:31 michiel Exp $
+ * @version $Id: TreeTag.java,v 1.24 2008/02/23 15:55:15 michiel Exp $
*/
public class TreeTag extends AbstractNodeProviderTag implements TreeProvider,
QueryContainerReferrer {
private static final Logger log = Logging.getLoggerInstance(TreeTag.class);
@@ -164,6 +164,16 @@
return nextDepth;
}
+ public void setAdd(String c) throws JspTagException {
+ throw new UnsupportedOperationException();
+ }
+ public void setRetain(String c) throws JspTagException {
+ throw new UnsupportedOperationException();
+ }
+ public void setRemove(String c) throws JspTagException {
+ throw new UnsupportedOperationException();
+ }
+
protected void noSpecification() throws JspTagException {
if (nodeManager != Attribute.NULL) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs