ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » reading input container

Post new topic  Reply to topic
 reading input container « View previous topic :: View next topic » 
Author Message
MQRR
PostPosted: Fri Nov 21, 2003 9:17 am    Post subject: reading input container Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

I was trying to read particular field of input container of workitems in .my jsp using the method
context.getMemberValues(). suppose If I have field FirstName,
and my read only container is RC, I am using
context.getMemberValues(RC,"FirstName","")
but I am getting the Exception saying the datamember not found. ??
any idea where I am going wrong.
MQRR
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Nov 21, 2003 9:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Are you trying to write a custom JSP for the standard web client, then
Code:
request.getParameter("FirstName");


If this is your own JSP outside of web client, and you are connecting to Workflow then you need to tell what context means.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
devin
PostPosted: Fri Nov 21, 2003 9:42 am    Post subject: Reply with quote

Voyager

Joined: 27 Oct 2003
Posts: 82

I am assuming u r referring to the RequestContext object.
It shud be

Code:
context.getmembervalue(containername, membername, " ")


instead of context.getmembervalues.
Back to top
View user's profile Send private message
MQRR
PostPosted: Fri Nov 21, 2003 7:05 pm    Post subject: Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

got it working guys. Sorry I could not get bak earlier. It was busy day.
Vennela I am customizing the webclient , I am not writing myown jSP.
I will try the request.getParameter later tonight.

Devin,
the "s" at the end was typing mistake while posting here, Everything was ok in the code. thanks anyway.

And now bak to the actual problem, It was giving me that error when an activity that is created by different instance has no such member name.

simple if statement in the exception block would solve it.

thanks. I have some more issues , but I will get bak to them when I know exactly what to ask, right now I do not know what the question is

thanks vennela,devin
MQRR
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » reading input container
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.