<BEAN> : Graphical component

Java class : leon.info.misc.LyFieldBean

ROLE

This element defines a graphical component used during consultation and/or creation of a field.

ATTRIBUTES

<!ATTLIST BEAN
	  condition CDATA #IMPLIED
	  javaName NMTOKEN #REQUIRED
	  action ( CONSULT | EDIT | FILTER | ALL) "CONSULT">
Attribute Mand. Description Default
condition no This attribute enables to control the existence of this bean (see 'Using marks' chapter).  
javaName yes Name of the Java class that defines the graphical object that should be used to visualize this field.  
action no Type of the action for which this component is used:
CONSULT: Consultation,
EDIT: Creation/Modification,
FILTER: Filtering,
ALL: All cases.
CONSULT

ELEMENTS

<!ELEMENT BEAN 
	  (DATA*)>
Element Mand. Mult. Description
DATA no yes Specific data of the component

SAMPLE

<BEAN javaName='MyFieldViewer'/>

<BEAN javaName="MyFieldEditor" action='EDIT'/>

<BEAN javaName="MyWebFieldEditor" action='EDIT' condition="WEB_MODE"/>