[jboss-user] [JBoss jBPM] - Re: Problem using expression language in a process definitio
sonicfab
do-not-reply at jboss.com
Wed Sep 26 04:22:27 EDT 2007
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
More information about the jboss-user
mailing list