Posted: Thu Jun 27, 2002 2:27 am Post subject: Web client DeprecatedAPI : RequestContext.persistentOidOf()
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).
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 ?
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