[JBoss-user] [JBoss jBPM] - Re: BeanShell vs. JSF Expression Language in Vers 3.1 and up

2006-03-11 Thread Saviola
Hi!
Here is an example:
condition expression=#{contextInstance.variables['Bla'] eq 
'michaelholtzman'}/
one more:
condition expression=#{contextInstance.variables.Bla le 10}/
and the last one:
condition expression=#{contextInstance.variables.yourVariable == true}/

Regs,
  Saviola

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3929553#3929553

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929553


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: BeanShell vs. JSF Expression Language in Vers 3.1 and up

2006-02-28 Thread admin
in the situation 

decision...
  transition ...

  
  transition ...

  
  transition ...

  
  transition .../
  ...


the expression has changed from being interpreted with beanshell to JSF-EL-like 
expressions.

afaik, that was the only XML incompatible change we made to jPDL between 3.0 
and 3.1.  all other xml has remained the same.  

without this change, expression attributes would have a different meaning in 
different places in jPDL

regards, tom.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926908#3926908

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926908


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: BeanShell vs. JSF Expression Language in Vers 3.1 and up

2006-02-28 Thread michaelholtzman
The 3.1 User's Guide refers to BeanShell scripts in several places (e.g., 
Section 9.5.5 -Script actions and Section 16.4.17 - Script expressions. Should 
all those references be replaced by JSF EL ?

Also, would it be possible to post some more examples of using the Expression 
Language? For example, I have a Boolean variable defined in my process 
instance, and I want to base a decision on that. Would it simply be


  | decision
  |transition name='default' to='yyy'/
  |transition name='t1' to='xxx'
  |   script
  |  expression
  | #{myVariableName == true}
  |  /expression
  |   /script
  |/transition
  | ...
  | /decision
  | 

Thanx.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926911#3926911

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926911


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user