on 01-31-2007 4:04 AM
Hi All,
I have a static Html page with images as anchors, whose URL point to my WD application with params.
The WD application uses View set, so when ever user clicks exit button in the app, the app sh'd be closed and this static HTML to be called again.
For this I created a exit plug in interfaceviewcontroller with url as param, but it is not closing the app and opening the HTML page, How to acheive this.
or is there any why where we can place this HTML as default to the application, with the same image as action, onclick
we need to call the viewset and views with respect to the params.
and on click of exit replace this viewset with the html page again.
Thanks in advance,
Regards,
Sai.k.k
Hi Sai,
the url parameter ur entering is case sensetive so enter the exit plug parameter should be exactly "Url".
Try this and let me know.
Regards
PP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
IWDCachedWebResource webReSource =
WDWebResource.getWebResource(
buffer.toByteArray(),
WDWebResourceType.html);
you can use this API . The html code can be in the R/3 or you can write in the Webdynpro also. for image just deploy an image to the server and then use the path in the html code.
Regards,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopi,
Would u please be a bit more clear ur approach, and where to do it.
And as said, I placed the html file in mimes/components/ folder and I could get that html page o click of exit button by calling the interface view controller's exit plug.
For making it as default page, in my default view I am calling the interface view controller's exit plug, but it is giving an error message as :
<i>Instance of interface view controller XYZWindowInterfaceView does not exist</i>
what might be the problem, Please help me ..
Hi,
Try this:
1. In the view's wdDoInit write this code:
try {
String url = WDURLGenerator.getWebResourceURL(wdComponentAPI.getDeployableObjectPart(),"<fileName>.html");
WDClientUser.forceLogoffClientUser(url);
} catch (WDURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Regards,
Satyajit.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.