private boolean _jspx_meth_s_property_3(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // s:property org.apache.struts2.views.jsp.PropertyTag _jspx_th_s_property_3 = (org.apache.struts2.views.jsp.PropertyTag) _jspx_tagPool_s_property_value_nobody.get( org.apache.struts2.views.jsp.PropertyTag.class); _jspx_th_s_property_3.setPageContext(_jspx_page_context); _jspx_th_s_property_3.setParent(null); _jspx_th_s_property_3.setValue("htmlContent"); int _jspx_eval_s_property_3 = _jspx_th_s_property_3.doStartTag(); if (_jspx_th_s_property_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_3); return true; } _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_3); return false; }
private boolean _jspx_meth_s_property_14(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // s:property org.apache.struts2.views.jsp.PropertyTag _jspx_th_s_property_14 = (org.apache.struts2.views.jsp.PropertyTag) _jspx_tagPool_s_property_value_nobody.get( org.apache.struts2.views.jsp.PropertyTag.class); _jspx_th_s_property_14.setPageContext(_jspx_page_context); _jspx_th_s_property_14.setParent(null); _jspx_th_s_property_14.setValue("#{'uno':'1','dos':'2','tres':'3','cuatro':'4','cinco':'5'}"); int _jspx_eval_s_property_14 = _jspx_th_s_property_14.doStartTag(); if (_jspx_th_s_property_14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_14); return true; } _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_14); return false; }
private boolean _jspx_meth_s_property_10(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // s:property org.apache.struts2.views.jsp.PropertyTag _jspx_th_s_property_10 = (org.apache.struts2.views.jsp.PropertyTag) _jspx_tagPool_s_property_value_nobody.get( org.apache.struts2.views.jsp.PropertyTag.class); _jspx_th_s_property_10.setPageContext(_jspx_page_context); _jspx_th_s_property_10.setParent(null); _jspx_th_s_property_10.setValue("@com.javatutoriales.struts2.ognl.Constantes$Datos@SEGUNDO"); int _jspx_eval_s_property_10 = _jspx_th_s_property_10.doStartTag(); if (_jspx_th_s_property_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_10); return true; } _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_10); return false; }
// Property public void testPropertyComponentDisposeItselfFromComponentStack() throws Exception { TextFieldTag t = new TextFieldTag(); t.setPageContext(pageContext); t.setName("textFieldName"); PropertyTag tag = new PropertyTag(); tag.setPageContext(pageContext); try { t.doStartTag(); tag.doStartTag(); assertEquals(tag.getComponent().getComponentStack().peek(), tag.getComponent()); tag.doEndTag(); assertEquals(t.getComponent().getComponentStack().peek(), t.getComponent()); t.doEndTag(); } catch (Exception e) { e.printStackTrace(); fail(e.toString()); } }
private boolean _jspx_meth_s_property_2( javax.servlet.jsp.tagext.JspTag _jspx_th_s_else_0, PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // s:property org.apache.struts2.views.jsp.PropertyTag _jspx_th_s_property_2 = (org.apache.struts2.views.jsp.PropertyTag) _jspx_tagPool_s_property_value_nobody.get( org.apache.struts2.views.jsp.PropertyTag.class); _jspx_th_s_property_2.setPageContext(_jspx_page_context); _jspx_th_s_property_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_else_0); _jspx_th_s_property_2.setValue("#validationRules.ognlValidationRule.helpMessage"); int _jspx_eval_s_property_2 = _jspx_th_s_property_2.doStartTag(); if (_jspx_th_s_property_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_2); return true; } _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_2); return false; }
private boolean _jspx_meth_s_property_1( javax.servlet.jsp.tagext.JspTag _jspx_th_s_if_7, PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // s:property org.apache.struts2.views.jsp.PropertyTag _jspx_th_s_property_1 = (org.apache.struts2.views.jsp.PropertyTag) _jspx_tagPool_s_property_value_nobody.get( org.apache.struts2.views.jsp.PropertyTag.class); _jspx_th_s_property_1.setPageContext(_jspx_page_context); _jspx_th_s_property_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_if_7); _jspx_th_s_property_1.setValue("#attribute.maxLength"); int _jspx_eval_s_property_1 = _jspx_th_s_property_1.doStartTag(); if (_jspx_th_s_property_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_1); return true; } _jspx_tagPool_s_property_value_nobody.reuse(_jspx_th_s_property_1); return false; }