|
||||||||||
| 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.DateHandler
| Field Summary |
| Fields inherited from class org.mmbase.bridge.jsp.taglib.typehandler.AbstractTypeHandler |
eh, gotEnumHandler, tag |
| Constructor Summary | |
DateHandler(FieldInfoTag tag)
|
|
| Method Summary | |
protected int |
checkYear(int y,
String fieldName)
Just to override. |
protected Calendar |
getCalendarValue(Node node,
Field field)
|
protected Object |
getFieldValue(Field field)
Returns the field value as specified by the client's post. |
protected Object |
getFieldValue(Node node,
Field field,
boolean useDefault)
Returns the field value to be used in the page. |
protected DateTimePattern |
getPattern(DataType dt)
|
protected Calendar |
getSpecifiedValue(Field field,
Calendar cal)
|
String |
htmlInput(Node node,
Field field,
boolean search)
Produces an form input field for the given Node, and Field. |
void |
paramHtmlInput(ParamHandler handler,
Field field)
|
boolean |
useHtmlInput(Node node,
Field field)
returns true if setValue happened. |
String |
whereHtmlInput(Field field)
|
Constraint |
whereHtmlInput(Field field,
Query query)
Adds search constraint to Query object. |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.typehandler.AbstractTypeHandler |
addExtraAttributes, cast, checkHtmlInput, findString, getClasses, getEnumHandler, getOperator, getSearchValue, init, interpretEmptyAsNull, prefix, prefixError, prefixID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DateHandler(FieldInfoTag tag)
tag - | Method Detail |
protected DateTimePattern getPattern(DataType dt)
throws JspTagException
JspTagException
protected Object getFieldValue(Field field)
throws JspTagException
getFieldValue in class AbstractTypeHandlerJspTagException
public String htmlInput(Node node,
Field field,
boolean search)
throws JspTagException
TypeHandler
htmlInput in interface TypeHandlerhtmlInput in class AbstractTypeHandlerJspTagExceptionTypeHandler.htmlInput(Node, Field, boolean)
protected int checkYear(int y,
String fieldName)
throws JspTagException
JspTagException
public boolean useHtmlInput(Node node,
Field field)
throws JspTagException
TypeHandler
useHtmlInput in interface TypeHandleruseHtmlInput in class AbstractTypeHandlerJspTagExceptionTypeHandler.useHtmlInput(Node, Field)
protected Calendar getSpecifiedValue(Field field,
Calendar cal)
throws JspTagException
null
JspTagException
protected Object getFieldValue(Node node,
Field field,
boolean useDefault)
throws JspTagException
AbstractTypeHandler
getFieldValue in class AbstractTypeHandlerJspTagException
protected Calendar getCalendarValue(Node node,
Field field)
throws JspTagException
JspTagException
public String whereHtmlInput(Field field)
throws JspTagException
whereHtmlInput in interface TypeHandlerwhereHtmlInput in class AbstractTypeHandlerJspTagExceptionTypeHandler.whereHtmlInput(Field)
public Constraint whereHtmlInput(Field field,
Query query)
throws JspTagException
AbstractTypeHandler
whereHtmlInput in interface TypeHandlerwhereHtmlInput in class AbstractTypeHandlerJspTagException
public void paramHtmlInput(ParamHandler handler,
Field field)
throws JspTagException
paramHtmlInput in interface TypeHandlerparamHtmlInput in class AbstractTypeHandlerJspTagException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||