|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.bridge.jsp.taglib.typehandler.AbstractTypeHandler
org.mmbase.bridge.jsp.taglib.typehandler.BinaryHandler
| Field Summary |
| Fields inherited from class org.mmbase.bridge.jsp.taglib.typehandler.AbstractTypeHandler |
eh, gotEnumHandler, tag |
| Constructor Summary | |
BinaryHandler(FieldInfoTag tag)
Constructor |
|
| Method Summary | |
String |
checkHtmlInput(Node node,
Field field,
boolean errors)
Produces a div, containing the error message for the current value, or the empty string if everything ok. |
protected Object |
getFieldValue(Field field)
Returns the field value as specified by the client's post. |
String |
htmlInput(Node node,
Field field,
boolean search)
Produces an form input field for the given Node, and Field. |
protected void |
setValue(Node node,
Field field,
org.apache.commons.fileupload.FileItem bytes)
Sets the binary value. |
boolean |
useHtmlInput(Node node,
Field field)
returns true if setValue happened. |
String |
whereHtmlInput(Field field)
|
| Methods inherited from class org.mmbase.bridge.jsp.taglib.typehandler.AbstractTypeHandler |
addExtraAttributes, cast, findString, getClasses, getEnumHandler, getFieldValue, getOperator, getSearchValue, init, interpretEmptyAsNull, paramHtmlInput, prefix, prefixError, prefixID, whereHtmlInput |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BinaryHandler(FieldInfoTag tag)
tag - | Method Detail |
public String htmlInput(Node node,
Field field,
boolean search)
throws JspTagException
TypeHandler
htmlInput in interface TypeHandlerhtmlInput in class AbstractTypeHandlerJspTagExceptionTypeHandler.htmlInput(Node, Field, boolean)
protected Object getFieldValue(Field field)
throws JspTagException
getFieldValue in class AbstractTypeHandlerJspTagException
public String checkHtmlInput(Node node,
Field field,
boolean errors)
throws JspTagException
TypeHandler
checkHtmlInput in interface TypeHandlercheckHtmlInput in class AbstractTypeHandlerJspTagException
protected void setValue(Node node,
Field field,
org.apache.commons.fileupload.FileItem bytes)
throws JspTagException
JspTagException
public boolean useHtmlInput(Node node,
Field field)
throws JspTagException
TypeHandler
useHtmlInput in interface TypeHandleruseHtmlInput in class AbstractTypeHandlerJspTagExceptionTypeHandler.useHtmlInput(Node, Field)
public String whereHtmlInput(Field field)
throws JspTagException
whereHtmlInput in interface TypeHandlerwhereHtmlInput in class AbstractTypeHandlerJspTagExceptionTypeHandler.whereHtmlInput(Field)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||