|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
requestcontext , worklists |
« View previous topic :: View next topic » |
Author |
Message
|
MQRR |
Posted: Thu Jul 29, 2004 10:41 pm Post subject: requestcontext , worklists |
|
|
Centurion
Joined: 10 Aug 2003 Posts: 110
|
Hello everyone,
We have an application where we are customizing the workflow webclient.
The default page I am displaying after logon is worklist of the logged in user instead of default list of lists page.
So from there user can naviagte to different jsps where he can start workflow process etc.. And for example if he creates the workflow process instance I would like to take him back to my starting page the worklist page, but when I am manipulating the createandstartresponse method and redirect to worklist page I am getting null pointer when I say context.getworklist.name() so obviously context is not have this information and I tried another thing , i.e I am tried to get builtinhandler and do another wueryworkitems just as we have in logonresponse(in JSPViewer) still it does not work???? anyone know what is happening.
And finally all this boils down to is when I come to my default page from anywhere I just want to make sure the context has worklist and i could get context.getworkitems so that I could display the workitems in the worklist. Sorry for the lengthy one but I thought I would explain it all once
Thanks in advance
MQRR |
|
Back to top |
|
 |
belka |
Posted: Mon Aug 02, 2004 10:24 am Post subject: |
|
|
 Novice
Joined: 16 Jun 2004 Posts: 17
|
after you did "builtinhandler.queryWorkItems(request, response)" did you get work items array?
i'm not sure if this is the "right way" of doing it, because i'm new at this too, but try
create a new context
use builtinhandler to get work list
then use work list to get work items
use context.setWorkItems(worklist, work items) _________________ -belka |
|
Back to top |
|
 |
MQRR |
Posted: Mon Aug 02, 2004 9:01 pm Post subject: |
|
|
Centurion
Joined: 10 Aug 2003 Posts: 110
|
are you saying, these should be done in the JSP? |
|
Back to top |
|
 |
belka |
Posted: Tue Aug 03, 2004 5:04 am Post subject: |
|
|
 Novice
Joined: 16 Jun 2004 Posts: 17
|
no. in the response method of your custom viewer (whatever response method you're overwriting) _________________ -belka |
|
Back to top |
|
 |
MQRR |
Posted: Wed Aug 04, 2004 12:30 am Post subject: |
|
|
Centurion
Joined: 10 Aug 2003 Posts: 110
|
I will give it a try, I think I tried this once before a while ago, may be I might have done something wrong I will give another try.
thank you
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
|
|
|
|