Re: error message="p1" is not defined. Why?

王志强 <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Thank you for your help! I use the variable, it runs OK. 
but i find another way, please referrence to 
http://mail-archive.objectweb.org/shark/2003-11/msg00141.html

when i  test using this way, i failed.

Thank you!

Simon Wang

2005/7/6, Ivan Roza Medina <[email protected]>:
> We're not using javascript expressions in the performer field, just directly a variable that contains a user name.
> 
> -----Mensaje original-----
> De: 王志强 [mailto:[email protected]]
> Enviado el: miércoles, 06 de julio de 2005 13:31
> Para: [email protected]
> Asunto: [shark] error message="p1" is not defined. Why?
> 
> I put the activity "A1" into default (Arbitrary Expression
> Participant), get activities property dialog, and edit its performer
> field. I.e. write: if (operator==1) {p1}else {p2}.
> 
> p1 and p2 are participants  i created. but when i run the process. I
> get error message as following:
> 
> 2005-07-06 19:24:56,146: JavaScriptEvaluator -> The result of expression if ( op
> erator==1) {p1} else{p2} can't be evaluated - error message=
> "p1" is not defined.
> 
> How can I do?
> 
> Thank you!
> 
> Simon Wang
> 
> 
> 
> --
> You receive this message as a subscriber of the [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> 
> 
>
message.footer (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.