Author |
Message
|
MQRR |
Posted: Fri Dec 05, 2003 12:07 pm Post subject: Webclient customization: querying lists |
|
|
Centurion
Joined: 10 Aug 2003 Posts: 110
|
Is there a way to query all the lists at the same time and keep them in the context. while one logs in, I guess we can pass in two commands at the same time, like for logging in and querying Workitems.In this line can I do something.
So that I can get them from the context whenever I need them.
Thanks
MQRR |
|
Back to top |
|
 |
dsim |
Posted: Sun Dec 07, 2003 11:56 am Post subject: |
|
|
Acolyte
Joined: 11 Aug 2003 Posts: 67 Location: Toronto
|
As I remember the WebClient was implemented in the same way: during the logon request - after the actual logon - all the lists for the user were retrieved from the server and cashed into the context.
Dan |
|
Back to top |
|
 |
MQRR |
Posted: Sun Dec 07, 2003 4:39 pm Post subject: |
|
|
Centurion
Joined: 10 Aug 2003 Posts: 110
|
dsim,
I am afraid I have to disagree with you. Intial query is done is queryworklist, and then each time you select the list from drop down list the corresponding query for the list is done and stored in the context.
But I guess instead of queryworklist, we could pass queryList, by which we will get the ID for the list and from there we could processlistID, templateListID and worklistID into the context.
I may be wrong dsim, this is what I think. If you have any suggestions it would definately help me.
The reason why I was doing this is , I was trying to use "session" than "request". I am using tiles, struts too so I am having trouble if I dont have all the required Ids in the session.
MQRR |
|
Back to top |
|
 |
dsim |
Posted: Sun Dec 07, 2003 5:54 pm Post subject: |
|
|
Acolyte
Joined: 11 Aug 2003 Posts: 67 Location: Toronto
|
I suggest looking at the CommandHandler.onLogon hook - you might be able to do your queries there and store what you need as your own http session object
Dan |
|
Back to top |
|
 |
MQRR |
Posted: Mon Dec 08, 2003 10:45 pm Post subject: |
|
|
Centurion
Joined: 10 Aug 2003 Posts: 110
|
Hi Dsim,
sorry. I was wrong. I checked it out. I was able to verify that all the lists are stored in context as you said. I was able to store them in the session and manipulate according to my needs. Thanks it really helped me.
NExt time I will be careful when I disagree with you .
Do you know what point these are stored into cash?
MQRR |
|
Back to top |
|
 |
dsim |
Posted: Tue Dec 16, 2003 3:07 pm Post subject: |
|
|
Acolyte
Joined: 11 Aug 2003 Posts: 67 Location: Toronto
|
No, i don't know - this could be a question for the IBM workflow forum.
Dan |
|
Back to top |
|
 |
|