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 » Web client DeprecatedAPI : RequestContext.persistentOidOf()

Post new topic  Reply to topic
 Web client DeprecatedAPI : RequestContext.persistentOidOf() « View previous topic :: View next topic » 
Author Message
fbaril3
PostPosted: Thu Jun 27, 2002 2:27 am    Post subject: Web client DeprecatedAPI : RequestContext.persistentOidOf() Reply with quote

Acolyte

Joined: 14 Jun 2002
Posts: 53




I am using MQWF Web Client 3.3.2 and I wanted to change the original viewer "ListViewer.jsp".

In the "MQWF/SMP/WebClient/Forms/" directory of MQWF 3.3.2, there is a sample program called "InternetConnectionListViewer.jsp" which can replace the ListViewer.

(This is explained in the file "MQWF/Doc/WebClient/samples.html".)

So, I tried to use it by replacing the code of "ListViewer.jsp" by the code of "InternetConnectionListViewer.jsp" and backing up the original ListViewer.jsp (a possibility which is described in the file "samples.html").

The problem is that the ListViewer.jsp with this new code (i.e the one of InternetConnectionListViewer.jsp !) does not compile.
Searching the cause, I found that was the following code of the viewer which causes the problem (the refresh button).

<%=context.openForm("queryWorkItems", context.persistentOidOf(worklist))%>
<input type="submit" value="<%=cat.get("InternetConnectionList.Refresh")%>" name="Refresh">
</form>


Indeed the API "context.persistentOidOf(worklist)" is deprecated in MQWF3.3.2 !

My question is the following :
Could you indicate me the code to replace this 3 lines with an API which is not deprecated to make this viewer refresh fonction work ?

Thanks By Advance !









Back to top
View user's profile Send private message
steinra
PostPosted: Wed Jul 03, 2002 10:30 am    Post subject: Reply with quote

Apprentice

Joined: 23 May 2002
Posts: 28
Location: USA

They moved things around. Always fun when they do that

Try worklist.persistentOid()

Hope that works!

Randy
Back to top
View user's profile Send private message
fbaril3
PostPosted: Thu Jul 04, 2002 3:29 am    Post subject: Reply with quote

Acolyte

Joined: 14 Jun 2002
Posts: 53

Thanks for your answer !

IBM has indicated me that yhey have corrected the problem in SP1 fixes of MQWF3.3.2.

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 » Web client DeprecatedAPI : RequestContext.persistentOidOf()
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.