/** * Process the start tag. * * @throws JspException if a JSP exception has occurred */ public int doStartTag() throws JspException { evaluateExpressions(); return (super.doStartTag()); }
PasswordTag passwordTag = new PasswordTag(); String maximumLength = attributes.get( MAXIMUM_LENGTH ); passwordTag.setMaxlength( maximumLength );
/** * @see org.apache.struts.taglib.html.BaseFieldTag#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; }
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(), "", true, "password"); } return super.doStartTag(); } }