[jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem

2006-07-15 Thread ncapito
Code didn't make it: | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958293#3958293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958293

[jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem

2006-07-15 Thread ncapito
The work around for the bug worked To all who are interested here was how i assigned an int constant Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958292#3958292 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem

2006-07-14 Thread [EMAIL PROTECTED]
The number format exception is actually a bug. Check out BPEL-197. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958242#3958242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958242

[jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem

2006-07-14 Thread ncapito
anonymous wrote : Thats what i originally used. THe problem that i was having was i was trying to use an int. So when i did the expression it crashed because of a number format exception. I guess i will just use two strings, and do some conversions do get the strings to what i want

[jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem

2006-07-14 Thread [EMAIL PROTECTED]
I just added a test for this case: AssignExeTest. That test uses BPEL 2 syntax. I forgot that, in BPEL 1.1, only elements are allowed in the literal variant of . If you prefer working in this version, use the expression variant: View the original post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem

2006-07-14 Thread ncapito
I get an error if i try the 1 example. It says... 2006-07-14 16:24:08,711 ERROR org.jbpm.bpel.xml.ProblemHandler] MyWorkFlow.bpel(285) cvc-complex-type.2.3: Element 'from' cannot have character [children], because the type's content type is element-only. FYI bpel block: | | 1

[jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem

2006-07-14 Thread [EMAIL PROTECTED]
Given the construct you quote, I assume you are using BPEL 1.1. The corresponding behavior should be: from-spec extracts the literal value (1) as a text info item to-spec replaces the content of the element info item that represents the message part with the extracted value The value of part int_