org.mmbase.bridge.jsp.taglib.typehandler
Class NodeHandler
java.lang.Object
org.mmbase.bridge.jsp.taglib.typehandler.AbstractTypeHandler
org.mmbase.bridge.jsp.taglib.typehandler.NodeHandler
- All Implemented Interfaces:
- TypeHandler
- public class NodeHandler
- extends AbstractTypeHandler
Taglibs handler for Node typed fields.
Currently this recognized node manager names for the guitype (produces dropdowns). If gui-type is not another builder,
this falls back to 'AbstractTypeHandler'.
- Since:
- MMBase-1.6
- Version:
- $Id: NodeHandler.java,v 1.26.2.2 2004/07/26 20:12:13 nico Exp $
- Author:
- Gerard van de Looi, Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeHandler
public NodeHandler(FieldInfoTag tag)
- Constructor for NodeHandler.
- Parameters:
tag -
htmlInput
public java.lang.String htmlInput(Node node,
Field field,
boolean search)
throws javax.servlet.jsp.JspTagException
- Specified by:
htmlInput in interface TypeHandler- Overrides:
htmlInput in class AbstractTypeHandler
- Throws:
javax.servlet.jsp.JspTagException- See Also:
TypeHandler.htmlInput(Node, Field, boolean)
whereHtmlInput
public java.lang.String whereHtmlInput(Field field)
throws javax.servlet.jsp.JspTagException
- Specified by:
whereHtmlInput in interface TypeHandler- Overrides:
whereHtmlInput in class AbstractTypeHandler
- Throws:
javax.servlet.jsp.JspTagException- See Also:
TypeHandler.whereHtmlInput(Field)
whereHtmlInput
public Constraint whereHtmlInput(Field field,
Query query)
throws javax.servlet.jsp.JspTagException
- Description copied from class:
AbstractTypeHandler
- Adds search constraint to Query object.
- Specified by:
whereHtmlInput in interface TypeHandler- Overrides:
whereHtmlInput in class AbstractTypeHandler
- Returns:
- null if nothing to be searched, the constraint if constraint added
- Throws:
javax.servlet.jsp.JspTagException
MMBase build 1.7.1.20041002