org.apache.strutsel.taglib.html
Class ELCancelTagBeanInfo
java.lang.Object
java.beans.SimpleBeanInfo
org.apache.strutsel.taglib.html.ELCancelTagBeanInfo
- All Implemented Interfaces:
- java.beans.BeanInfo
public class ELCancelTagBeanInfo
- extends java.beans.SimpleBeanInfo
This is the BeanInfo
descriptor for the
org.apache.strutsel.taglib.html.ELCancelTag
class. It is
needed to override the default mapping of custom tag attribute names to
class attribute names.
In particular, it provides for the mapping of
the custom tag attribute disabled
to the instance variable
disabledExpr
.
This is because the value of the unevaluated
EL expression has to be kept separately from the evaluated value, which is
stored in the base class. This is related to the fact that the JSP compiler
can choose to reuse different tag instances if they received the same
original attribute values, and the JSP compiler can choose to not re-call
the setter methods, because it can assume the same values are already set.
Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Methods inherited from class java.beans.SimpleBeanInfo |
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELCancelTagBeanInfo
public ELCancelTagBeanInfo()
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in interface java.beans.BeanInfo
- Overrides:
getPropertyDescriptors
in class java.beans.SimpleBeanInfo
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.