Search in sources :

Example 1 with InputfieldNoticeMsgLabel

use of org.gsweb.components.ui.InputfieldNoticeMsgLabel in project bamboobsc by billchen198318.

the class InputfieldNoticeMsgLabelTag method handler.

private InputfieldNoticeMsgLabel handler() {
    InputfieldNoticeMsgLabel msgLabel = new InputfieldNoticeMsgLabel();
    msgLabel.setId(this.id + Constants.INPUTFIELD_NOTICE_MESSAGE_LABEL);
    msgLabel.setName(this.name);
    msgLabel.setMessage(this.message);
    return msgLabel;
}
Also used : InputfieldNoticeMsgLabel(org.gsweb.components.ui.InputfieldNoticeMsgLabel)

Example 2 with InputfieldNoticeMsgLabel

use of org.gsweb.components.ui.InputfieldNoticeMsgLabel in project bamboobsc by billchen198318.

the class InputfieldNoticeMsgLabelTag method doEndTag.

@Override
public int doEndTag() throws JspException {
    InputfieldNoticeMsgLabel msgLabel = this.handler();
    try {
        this.pageContext.getOut().write(msgLabel.getHtml());
        this.pageContext.getOut().write(msgLabel.getScript());
    } catch (IOException e) {
        e.printStackTrace();
    } catch (Exception e) {
        e.printStackTrace();
    }
    msgLabel = null;
    return 0;
}
Also used : InputfieldNoticeMsgLabel(org.gsweb.components.ui.InputfieldNoticeMsgLabel) IOException(java.io.IOException) JspException(javax.servlet.jsp.JspException) IOException(java.io.IOException)

Aggregations

InputfieldNoticeMsgLabel (org.gsweb.components.ui.InputfieldNoticeMsgLabel)2 IOException (java.io.IOException)1 JspException (javax.servlet.jsp.JspException)1