on 07-17-2007 2:32 PM
Hi all,
I have implemented an application & integrated in EP. In my view i have provided a link on click of which i should be able to open a separate url in a new window.
Again, I need to pass some url parameters which should not be visible in the url string when i am opening that url in new window.
Any suggestions...
Thanks,
Arch
Hi,
First u have to create outbound plug in interfaceview
1)Open the node WebDynpro -
> Web Dynpro Components -
> <ComponentName> -
> Component Interface -
> Interface Views in that click <interfacename> interface view .
2) Select the Plugs tab in the Plugs area.
3)Choose New next to the outbound plug table.create new outbound plug.for example,Name GotoUrl, and choose Type Exit Plug.
4)Select the new outbound plug GotoUrl and choose New next to the parameter table.taEnter the name Url datatype as STRING.
5)Open the view in the View Designer and select the Properties tab. Choose Add next to the Required Controllers table and add the <interface name>InterfaceView
Place 1 button and check,
onActionButton write this code
{
wdThis.wdGetSampleInterfaceViewController().wdFirePlugGotoUrl(
"http://www.google.com");
}
Regards,
Suresh.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.