1 7 package com.inversoft.verge.mvc.view.jsp.error; 8 9 10 import javax.servlet.jsp.tagext.TagData ; 11 import javax.servlet.jsp.tagext.TagExtraInfo ; 12 import javax.servlet.jsp.tagext.VariableInfo ; 13 14 15 22 public class HasErrorsTei extends TagExtraInfo { 23 24 27 public static final String OBJECT_CLASS = "java.lang.Object"; 28 29 30 34 public VariableInfo [] getVariableInfo(TagData data) { 35 36 VariableInfo [] infos = null; 37 String var = data.getAttributeString("var"); 38 if (var != null) { 39 infos = new VariableInfo [] {new VariableInfo (var, OBJECT_CLASS, 40 true, VariableInfo.AT_BEGIN)}; 41 } 42 43 return infos; 44 } 45 } 46 47 | Popular Tags |