|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
reading input container |
« View previous topic :: View next topic » |
Author |
Message
|
MQRR |
Posted: Fri Nov 21, 2003 9:17 am Post subject: reading input container |
|
|
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 |
|
 |
vennela |
Posted: Fri Nov 21, 2003 9:35 am Post subject: |
|
|
 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 |
|
 |
devin |
Posted: Fri Nov 21, 2003 9:42 am Post subject: |
|
|
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 |
|
 |
MQRR |
Posted: Fri Nov 21, 2003 7:05 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|