José Luis Granda [
http://community.jboss.org/people/jlgranda81] created the discussion
"Re: creating user nodes and attributes"
To view the discussion, visit:
http://community.jboss.org/message/573298#573298
--------------------------------------------------------------
Hi Michael, I mix the exception output, sorry.
I try to adapt the code for custom node for jpdl, I create class
org.loxageek.ppless.action.jbpm.SeamComponentBinding for support new
<seam-component></seam-componet> in BPMN process definitions. When I deploy my
xml, I get this exception.
From instructions, I undertand
org.loxageek.ppless.action.jbpm.SeamComponentBinding will parser the new node.
the custom activity, i added into process definition sequence
<seam-component name="send_request_to_group_leaders"
|
expression="#{groupAction.sendNotificationToGroupLeaders('/emails/request-to-join-group.xhtml')}">
|
| <transition to="verify_request" /> |
| </seam-component> |
it's the correct exception output
23:50:03,386 INFO [DeployerManager] errors during deployment of deployment(830001):
xml validation error: cvc-complex-type.2.4.a: Invalid content was found starting with
element 'seam-component'. One of '{"
http://schema.omg.org/spec/BPMN/2.0
http://schema.omg.org/spec/BPMN/2.0":flowElement, "
http://schema.omg.org/spec/BPMN/2.0 http://schema.omg.org/spec/BPMN/2.0":artifact,
"
http://schema.omg.org/spec/BPMN/2.0
http://schema.omg.org/spec/BPMN/2.0":supports}' is expected. [line=13 column=103
]: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'seam-component'. One of '{"
http://schema.omg.org/spec/BPMN/2.0 http://schema.omg.org/spec/BPMN/2.0":flowElement,
"
http://schema.omg.org/spec/BPMN/2.0
http://schema.omg.org/spec/BPMN/2.0":artifact, "
http://schema.omg.org/spec/BPMN/2.0
http://schema.omg.org/spec/BPMN/2.0":supports}' is expected.
.....
Any idea? I try to integrate jbpm4 and seam.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/573298#573298]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]