Skip navigation links

Package org.mmbase.datatypes.handlers

This is a generalization of what used to be org.mmbase.bridge.jsp.taglib.typehandler.

See: Description

Package org.mmbase.datatypes.handlers Description

This is a generalization of what used to be org.mmbase.bridge.jsp.taglib.typehandler.

The idea is that the DataType itself can define how an editor field for its values should look like. It can do this per content type, because one could make editors in other environments than an HTML form.

Handlers can be defined in the datatype xmls like so:

      <datatype xmlns="http://www.mmbase.org/xmlns/datatypes">
         <handler mimetype="text/html,application/xml+xhtml"
                      name="org.mmbase.datatypes.handlers.html.BinaryHandler" />

      
So, you define per list of mime types (in this case the most usual case: HTML and XHTML), the Handler

In the body of the handler tag, 'param' tags can be used to set properties on the handler instance (which uses reflection to find corresponding setter-methods).

Since:
MMBase-1.9.1
Skip navigation links

MMBase 1.9-SNAPSHOT - ${javadoctimestamp}