on 08-14-2007 9:04 AM
Hi ,
i integrated webdynpro application in portal.i want to close that application and destroy that window.i tried with fireplugClosewindow.That is working fine when i'm executing outside portal.Inside portal that's not working.If any body have idea regarding this help me.
Thanks,
santhosh
Hi
Use IFrame control and show place a html in the mimes and show it in the IFrame.
the content of the html is
<html>
<body onLoad="window.close();">
</body>
</html>
On click of the button just navigate to this view where IFrame is placed.
Regards
Abhimanyu L
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
I configured webdynpro application in portal.That application is valid only for one group.So we created one navigation url.that group will success fully login.But i created one logoff button.In my application propertes addwd that logoffurl and i added Exitplug in interfaceview.Buut that is outside portal working fine, But with in portal not working.Plz help me regarding this.
Thanks,
santhosh
Hi,
This is what you can do:
1. You have already created the HTML file with the necessary javascript in the foloowing folder structure :
src->Mimes->Components-><your component name>-><fileName.html>.
2. Create a new iView of type URL in your portal.
3. Get the absolute URL of this HTML file inside your project. This will be in the following format:
http://<server>:<port>/webdynpro/resources/sap.com/<development ComponentName>/Components/<namespace>/<fileName>.html
You can find it thus:
try {
String u = WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart(),"filename.html");
wdComponentAPI.getMessageManager().reportSuccess(u);
} catch (WDURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
4. Now enter this URL string as the URL for the iview.
5. Do a normal portal navigation to this iview on-click of the button.
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.