Re: [Fwd: Re: Creating Picklists - Follow on]

[email protected] Fri, 23 Sep 2005 10:58:50 -0400
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <OF2F514FA7.AEE2EBB7-ON85257085.0051661E-85257085.00524A9B@intellicare.com>
Sean McDonald <[email protected]> wrote on 09/23/2005 02:53:39 AM:
> 
> I have some questions:
> - How do I programmatically handle traversing AppParameters of the array 

> type?

This should work:
Array myArray = (Array) theAppParamOfArrayType
Then traverse myArray as usual..

> - How do I determine which value the user has selected?

As i remember in your original question, you were going to use the swing 
admin client to complete activities. So if you go to your admin client and 
look at the (next) activities that the appropriate user has, then the 
activity of picking a value (say a garmentType) should be there. If your 
xpdl has a process var called say garmenttypeChosen then this activity 
should be able to update that process var with the one chosen. (here's 
where that PROCESSVARIABLE_TOUPDATE (hope I got the name right..?) which i 
mentioned in my earlier note would be used..). After this process var is 
updated, any subsequent activity should be able to access it in the usual 
way.

> 
> Many thanks
> Sean
> 
Regards,
Geeta
message-footer.txt (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