Update of /var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/editor In directory james.mmbase.org:/tmp/cvs-serv3495
Modified Files: Tag: MMBase-1_8 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.12 retrieving revision 1.12.2.1 diff -u -b -r1.12 -r1.12.2.1 --- Editor.java 6 Jul 2006 11:36:12 -0000 1.12 +++ Editor.java 31 Mar 2008 14:40:32 -0000 1.12.2.1 @@ -27,7 +27,7 @@ * * @author André van Toly * @author Michiel Meeuwissen - * @version $Id: Editor.java,v 1.12 2006/07/06 11:36:12 michiel Exp $ + * @version $Id: Editor.java,v 1.12.2.1 2008/03/31 14:40:32 michiel Exp $ * @see EditTag * @see YAMMEditor * @since MMBase-1.8 @@ -68,6 +68,25 @@ } /** + * 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); + } + + /** * Should create a link to an editor or some other way to edit the data displayed. * * @param context The PageContext _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs