on 06-20-2006 9:29 AM
Hi all,
I wanted to open a web page in the same content area(window) and not in an external window . Could you tell me how its done ...
Regards,
Jayant.
Jayanth,
In your PCD->Iview Property set the attribute
<b> 'Open in New Window ' to No </b>
Rgds,
Jothi.
Assign pts for helpful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
check out this link
http://help.sap.com/saphelp_erp2005/helpdata/en/83/e7c24122e3c317e10000000a155106/content.htm
create a exit plug as mentioned in link.
in the action event handler of button gives this.
public void onActionExitButton(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionExitButton(ServerEvent)
String logoffURL="http://help.sap.com/saphelp_erp2005/helpdata/en/16/d3643fce8bb01ae10000000a114084/frameset.htm";
wdThis.wdGetDynamicProgrammingInterfaceViewController().wdFirePlugToexit(logoffURL);
//@@end
}
hope this helps,
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I actually wanted to know how this is done at the Webdynpro view level. i.e. in a view i need a button on click of which a web page should open within the same view .
Regards,
Jayant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The above explaination is done in the view level only.
U can find the interface view in the Component interface of a component.
Go and Creare the outbound plug as i said.
Then add the interface view to the view which contains the button.
In the onAction of the button write the above code.
Hope this helps.
Regards,
Vijayakhanna Raman
Hi,
Go the interface view, and create the outbound plug name xxx with parameter Url of type String.
Add this interface view in the prorerties tab of the view and write this code.
wdThis.wdGet<Application name>InterfaceViewController().wdFirePlugXxx("http://google.com");
Regards,
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.