1 21 package net.mlw.vlh.web.tag; 22 23 import javax.servlet.jsp.tagext.TagData ; 24 import javax.servlet.jsp.tagext.TagExtraInfo ; 25 import javax.servlet.jsp.tagext.VariableInfo ; 26 27 31 public class DefaultRowTei extends TagExtraInfo 32 { 33 34 36 public VariableInfo [] getVariableInfo(TagData data) 37 { 38 String beanType = data.getAttributeString("type"); 39 40 VariableInfo lInfo1 = new VariableInfo (data.getAttributeString("bean"), beanType == null ? "java.lang.Object" : beanType, true, 42 VariableInfo.NESTED); 43 44 VariableInfo lInfo2 = new VariableInfo (data.getAttributeString("bean") + "RowNumber", "java.lang.Integer", true, VariableInfo.NESTED); 46 47 return new VariableInfo [] 48 { lInfo1, lInfo2 }; 49 } 50 51 } | Popular Tags |