Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/editor
In directory james.mmbase.org:/tmp/cvs-serv3557
Modified Files:
Editor.java
Log Message:
MMB-1633
See also:
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/editor
See also: http://www.mmbase.org/jira/browse/MMB-1633
Index: Editor.java
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/editor/Editor.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- Editor.java 21 Jun 2007 15:50:25 -0000 1.15
+++ Editor.java 31 Mar 2008 14:40:52 -0000 1.16
@@ -26,7 +26,7 @@
*
* @author André van Toly
* @author Michiel Meeuwissen
- * @version $Id: Editor.java,v 1.15 2007/06/21 15:50:25 nklasens Exp $
+ * @version $Id: Editor.java,v 1.16 2008/03/31 14:40:52 michiel Exp $
* @see EditTag
* @see YAMMEditor
* @since MMBase-1.8
@@ -61,6 +61,25 @@
return fieldList;
}
+ /**
+ * Here is were the FieldTag registers its fields and some associated
+ * and maybe usefull information with the EditTag.
+ *
+ * @param query SearchQuery object that delivered the field
+ * @param nodenr int with the number of the node the field belongs to
+ * @param fieldName String with the fieldname
+ */
+ public void registerField(Query query, int nodenr, String fieldName) {
+ if (log.isDebugEnabled()) {
+ log.debug("nodenr: " + nodenr);
+ log.debug("fieldName: " + fieldName);
+ log.debug("query: " + query);
+ }
+ queryList.add(query);
+ nodenrList.add(String.valueOf(nodenr));
+ fieldList.add(fieldName);
+ }
+
protected Parameter[] getParameterDefinition() {
return Parameter.emptyArray();
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs