Update of /var/cvs/src/org/mmbase/datatypes/processors
In directory james.mmbase.org:/tmp/cvs-serv8070
Modified Files:
Readonly.java
Log Message:
javadoc
See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/datatypes/processors
Index: Readonly.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/datatypes/processors/Readonly.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Readonly.java 10 Dec 2005 14:33:36 -0000 1.2
+++ Readonly.java 25 Jun 2008 06:20:31 -0000 1.3
@@ -13,10 +13,13 @@
/**
* This processor can be used as a 'set' processor on a field.
- * If the field is set an exception is thrown (in other words, the field is
read only).
+ * If the field is set an exception is thrown (in other words, the
+ * field is read only). In the builder XML you should also add the
+ * 'readonly' attribute on the field, to indicate to generic editors
+ * that this field should not be presented editable.
*
* @author Nico Klasens
- * @version $Id: Readonly.java,v 1.2 2005/12/10 14:33:36 michiel Exp $
+ * @version $Id: Readonly.java,v 1.3 2008/06/25 06:20:31 michiel Exp $
* @since MMBase-1.8
*/
public class Readonly implements Processor {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs