dmkarr      2002/12/11 09:12:20

  Modified:    contrib/struts-el/src/share/org/apache/strutsel/taglib/html
                        ELImageTagBeanInfo.java
  Log:
  Enabling use of "styleId" attribute in "html-el:image".  I had inserted the
  line earlier, but commented out, as I thought it would be added later.
  
  Revision  Changes    Path
  1.2       +10 -10    
jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELImageTagBeanInfo.java
  
  Index: ELImageTagBeanInfo.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELImageTagBeanInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ELImageTagBeanInfo.java   14 Oct 2002 03:11:08 -0000      1.1
  +++ ELImageTagBeanInfo.java   11 Dec 2002 17:12:20 -0000      1.2
  @@ -84,7 +84,7 @@
   {
       public  PropertyDescriptor[] getPropertyDescriptors()
       {
  -        PropertyDescriptor[]  result   = new PropertyDescriptor[33];
  +        PropertyDescriptor[]  result   = new PropertyDescriptor[34];
   
           try {
               result[0] = new PropertyDescriptor("accesskey", ELImageTag.class,
  @@ -156,15 +156,15 @@
               result[28] = new PropertyDescriptor("styleClass",
                                                  ELImageTag.class,
                                                  null, "setStyleClass");
  -//             result[21] = new PropertyDescriptor("styleId", ELImageTag.class,
  -//                                                null, "setStyleId");
  -            result[29] = new PropertyDescriptor("tabindex", ELImageTag.class,
  +            result[29] = new PropertyDescriptor("styleId", ELImageTag.class,
  +                                               null, "setStyleId");
  +            result[30] = new PropertyDescriptor("tabindex", ELImageTag.class,
                                                  null, "setTabindex");
  -            result[30] = new PropertyDescriptor("title", ELImageTag.class,
  +            result[31] = new PropertyDescriptor("title", ELImageTag.class,
                                                  null, "setTitle");
  -            result[31] = new PropertyDescriptor("titleKey", ELImageTag.class,
  +            result[32] = new PropertyDescriptor("titleKey", ELImageTag.class,
                                                  null, "setTitleKey");
  -            result[32] = new PropertyDescriptor("value", ELImageTag.class,
  +            result[33] = new PropertyDescriptor("value", ELImageTag.class,
                                                  null, "setValue");
           }
           catch (IntrospectionException ex) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to