/** * Process the start tag. * * @throws JspException if a JSP exception has occurred */ public int doStartTag() throws JspException { evaluateExpressions(); return (super.doStartTag()); }
public void release() { super.release(); minValue = 0; maxValue = Integer.MAX_VALUE; }
private TextTag createTextTag( Map<String, String> attributes ) { TextTag textTag = new TextTag(); // Maxlength String maximumLength = attributes.get( MAXIMUM_LENGTH ); if ( maximumLength != null ) { textTag.setMaxlength( maximumLength ); } return textTag; }
/** * @see org.apache.struts.taglib.html.BaseInputTag#doEndTag() */ @Override public int doEndTag() throws JspException { int returnVal = super.doEndTag(); if (!getDisabled() && !getReadonly()) { String name = prepareName(); if (StringUtils.isNotBlank(name)) { ActionForm form = WebUtils.getKualiForm(pageContext); if(form!=null && form instanceof PojoForm) { ((PojoForm) form).registerEditableProperty(name); } } } return returnVal; } }
public int doStartTag() throws JspException { setOnblur(createJavaScriptHandler()); return super.doStartTag(); }
TextTag textTag = new TextTag(); textTag.setMaxlength( "1" ); return textTag; TextTag textTag = new TextTag(); textTag.setMaxlength( "1" ); return textTag;
super.release(); setAccesskeyExpr(null); setAltExpr(null);
/** * Process the start of this tag. * * @exception JspException if a JSP exception has occurred * @see org.hdiv.dataComposer.IDataComposer#composeFormField(String, String, boolean, String) */ @Override public int doStartTag() throws JspException { HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); IDataComposer dataComposer = HDIVUtil.getRequestContext(request).getDataComposer(); // this property is editable and we must check it if (dataComposer != null) { dataComposer.composeFormField(prepareName(), prepareValue(), !getDisabled() && !getReadonly(), "text"); } return super.doStartTag(); }