FileDocCategorySizeDatePackage
DateParamTag.javaAPI DocGlassfish v2 API3250Sat May 05 19:17:58 BST 2007org.apache.taglibs.standard.tag.el.sql

DateParamTag

public class DateParamTag extends org.apache.taglibs.standard.tag.common.sql.DateParamTagSupport
Subclass for the JSTL library with EL support.
author
Justyna Horwat

Fields Summary
private String
valueEL
private String
typeEL
Constructors Summary
Methods Summary
public intdoStartTag()

        evaluateExpressions();
	return super.doStartTag();
    
private voidevaluateExpressions()

	if (valueEL != null) {
	    value = (Date) ExpressionEvaluatorManager.evaluate(
                "value", valueEL, Date.class, this, pageContext);
	}

	if (typeEL != null) {
	    type = (String) ExpressionEvaluatorManager.evaluate(
                "type", typeEL, String.class, this, pageContext);
        }
    
public voidsetType(java.lang.String typeEL)

	this.typeEL = typeEL;
    
public voidsetValue(java.lang.String valueEL)

	this.valueEL = valueEL;