org.mmbase.datatypes.processors
Class Cookies
java.lang.Object
org.mmbase.datatypes.processors.Cookies
public class Cookies
- extends Object
Setter and Getter to make a virtual field which stores the actual value in a user's cookie.
Also it can be used to store a default value for the next time a user creates on node of this type:
<field name="from">
<gui>
<guiname xml:lang="nl">Uw naam</guiname>
<guiname xml:lang="en">From</guiname>
</gui>
<datatype base="eline" xmlns="http://www.mmbase.org/xmlns/datatypes">
<required value="true" />
<minLength value="3" />
<maxLength value="32" />
<defaultprocessor>
<class name="org.mmbase.datatypes.processors.Cookies$Getter">
<param name="cookie">eo.miniforum.name</param>
</class>
</defaultprocessor>
<setprocessor>
<class name="org.mmbase.datatypes.processors.Cookies$Setter">
<param name="cookie">eo.miniforum.name</param>
</class>
</setprocessor>
</datatype>
</field>
- Since:
- MMBase-1.9.3
- Version:
- $Id: Cookies.java 42333 2010-05-31 12:41:09Z michiel $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cookies
public Cookies()
MMBase2 Bridge 2.0-SNAPSHOT - 2013-03-30T06:34