1 23 24 package org.infoglue.deliver.taglib.management; 25 26 import javax.servlet.jsp.JspException ; 27 28 import org.infoglue.deliver.taglib.TemplateControllerTag; 29 30 public class ContentTypeDefinitionAttributesTag extends TemplateControllerTag 31 { 32 private static final long serialVersionUID = 4050206323348354355L; 33 34 private String schemaValue; 36 37 public ContentTypeDefinitionAttributesTag() 38 { 39 super(); 40 } 41 42 public int doStartTag() throws JspException 43 { 44 return EVAL_BODY_INCLUDE; 45 } 46 47 public int doEndTag() throws JspException 48 { 49 setResultAttribute(getController().getContentAttributes(this.schemaValue)); 51 63 64 schemaValue = null; 65 67 return EVAL_PAGE; 68 } 69 70 public void setSchemaValue(final String schemaValue) throws JspException 71 { 72 this.schemaValue = evaluateString("contentTypeDefinitionAttributes", "schemaValue", schemaValue); 73 } 74 75 } 76 | Popular Tags |