Why do I talk about modifying the schema ? Well, I had a look at the jpdl-3.2 
schema, and apparently all the objects that can handle EL have a "expression" 
attribute, whereas objects that can't don't seem to have one.
For example, the action element :
<xs:element name="action">
  |     <xs:complexType mixed="true">
  |       <xs:sequence>
  |         <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  |       </xs:sequence>
  |       <xs:attribute name="class" type="xs:string" />
  |       <xs:attribute name="config-type" default="field">
  |         <xs:simpleType>
  |           <xs:restriction base="xs:string">
  |             <xs:enumeration value="field"/>
  |             <xs:enumeration value="bean"/>
  |             <xs:enumeration value="constructor"/>
  |             <xs:enumeration value="configuration-property"/>
  |           </xs:restriction>
  |         </xs:simpleType>
  |       </xs:attribute>
  |       <xs:attribute name="name" type="xs:string" />
  |       <xs:attribute name="ref-name" type="xs:string" />
  |       <xs:attribute name="accept-propagated-events" type="booleanType" 
default="true" />
  |       <xs:attribute name="expression" type="xs:string" />
  |       <xs:attribute name="async" type="xs:string" />
  |     </xs:complexType>
  |   </xs:element>

Whereas for example for the timer element :
<xs:element name="timer">
  |     <xs:complexType>
  |       <xs:choice minOccurs="0">
  |         <xs:element ref="action"/>
  |         <xs:element ref="script"/>
  |       </xs:choice>
  |       <xs:attribute name="duedate" type="xs:string" use="required" />
  |       <xs:attribute name="name" type="xs:string" />
  |       <xs:attribute name="repeat" type="xs:string" />
  |       <xs:attribute name="transition" type="xs:string" />
  |     </xs:complexType>
  |   </xs:element>

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088698#4088698

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088698
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to