1 18 19 package org.apache.strutsel.taglib.html; 20 21 import java.beans.PropertyDescriptor ; 22 import java.beans.IntrospectionException ; 23 import java.util.ArrayList ; 24 import java.beans.SimpleBeanInfo ; 25 26 32 public class ELFormTagBeanInfo extends SimpleBeanInfo 33 { 34 public PropertyDescriptor [] getPropertyDescriptors() 35 { 36 ArrayList proplist = new ArrayList (); 37 38 try { 39 proplist.add(new PropertyDescriptor ("action", ELFormTag.class, 40 null, "setActionExpr")); 41 } catch (IntrospectionException ex) {} 42 try { 43 proplist.add(new PropertyDescriptor ("disabled", ELTextTag.class, 44 null, "setDisabledExpr")); 45 } catch (IntrospectionException ex) {} 46 try { 47 proplist.add(new PropertyDescriptor ("enctype", ELFormTag.class, 48 null, "setEnctypeExpr")); 49 } catch (IntrospectionException ex) {} 50 try { 51 proplist.add(new PropertyDescriptor ("focus", ELFormTag.class, 52 null, "setFocusExpr")); 53 } catch (IntrospectionException ex) {} 54 try { 55 proplist.add(new PropertyDescriptor ("focusIndex", ELFormTag.class, 56 null, "setFocusIndexExpr")); 57 } catch (IntrospectionException ex) {} 58 try { 59 proplist.add(new PropertyDescriptor ("method", ELFormTag.class, 60 null, "setMethodExpr")); 61 } catch (IntrospectionException ex) {} 62 try { 63 proplist.add(new PropertyDescriptor ("name", ELFormTag.class, 64 null, "setNameExpr")); 65 } catch (IntrospectionException ex) {} 66 try { 67 proplist.add(new PropertyDescriptor ("onreset", ELFormTag.class, 68 null, "setOnresetExpr")); 69 } catch (IntrospectionException ex) {} 70 try { 71 proplist.add(new PropertyDescriptor ("onsubmit", ELFormTag.class, 72 null, "setOnsubmitExpr")); 73 } catch (IntrospectionException ex) {} 74 try { 75 proplist.add(new PropertyDescriptor ("readonly", ELTextTag.class, 76 null, "setReadonlyExpr")); 77 } catch (IntrospectionException ex) {} 78 try { 79 proplist.add(new PropertyDescriptor ("scope", ELFormTag.class, 80 null, "setScopeExpr")); 81 } catch (IntrospectionException ex) {} 82 try { 83 proplist.add(new PropertyDescriptor ("scriptLanguage", ELFormTag.class, 84 null, "setScriptLanguageExpr")); 85 } catch (IntrospectionException ex) {} 86 try { 87 proplist.add(new PropertyDescriptor ("style", ELFormTag.class, 88 null, "setStyleExpr")); 89 } catch (IntrospectionException ex) {} 90 try { 91 proplist.add(new PropertyDescriptor ("styleClass", ELFormTag.class, 92 null, "setStyleClassExpr")); 93 } catch (IntrospectionException ex) {} 94 try { 95 proplist.add(new PropertyDescriptor ("styleId", ELFormTag.class, 96 null, "setStyleIdExpr")); 97 } catch (IntrospectionException ex) {} 98 try { 99 proplist.add(new PropertyDescriptor ("target", ELFormTag.class, 100 null, "setTargetExpr")); 101 } catch (IntrospectionException ex) {} 102 try { 103 proplist.add(new PropertyDescriptor ("type", ELFormTag.class, 104 null, "setTypeExpr")); 105 } catch (IntrospectionException ex) {} 106 try { 107 proplist.add(new PropertyDescriptor ("acceptCharset", ELFormTag.class, 108 null, "setAcceptCharsetExpr")); 109 } catch (IntrospectionException ex) {} 110 111 PropertyDescriptor [] result = 112 new PropertyDescriptor [proplist.size()]; 113 return ((PropertyDescriptor []) proplist.toArray(result)); 114 } 115 } 116 | Popular Tags |