[JBoss-user] [JBoss jBPM] - Re: Need help with action config-type field and List propert

2006-02-24 Thread enazareno
Hi,

Have you tried 

  |private String[] VarList;
  | 
instead? Not sure if this works but I also would like to know. Thanks.

Regards,

Elmo

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

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


---
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: Need help with action config-type field and List propert

2006-02-24 Thread michaelholtzman
Nope, String[] did NOT work:


  | 14:39:14,851 ERROR FieldInstantiator : couldn't parse the bean property 
value 'VarListApproved|Boolean|False/VarList
  | ' to a '[Ljava.lang.String;'
  | 14:39:14,851 ERROR FieldInstantiator : couldn't parse set field 'VarList' 
to value 'VarListApproved|Boolean|False/VarList'
  | org.jbpm.JbpmException: java.lang.NoSuchMethodException: 
[Ljava.lang.String;.init(java.lang.String)
  | 

It did, at least, complain  :)

Surely someone has figured this out? Anyone?

Thanx.

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

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


---
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: Need help with action config-type field and List propert

2006-02-24 Thread michaelholtzman
Got it!!

The field xml to populate a List must be specified as 


  | node name=InitializeVariables
  |   action class=com.olf.workflowmgr.action.VariableInitActionHandler
  | VarList
  | elTranNum|Int|/el
  | elInExcession|Boolean|False/el 
  | elApproved|Boolean|False/el 
  | /VarList 
  |/action
  |   transition name=StartProcess to=Summary / 
  |   /node
  | 

The inner element name (el in this example) is arbitrary.

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

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


---
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