cancel
Showing results for 
Search instead for 
Did you mean: 

refresh the browser

Former Member
0 Kudos

Hi Expert,

How to refresh the ( portal )browser using webdynpro?while clicking the button action?

Regards,

P.Manivannan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear,

Iam facing similar situation.If u resolve ur problem.can u share ur idea with me.

Thanks ,

Santhosh

Former Member
0 Kudos

Hi ,

Follow the below steps:

1. First create a Outbound plug of Type EXIT in the Interface View Controller of your project with a parameter of Type string & value url.

2. Add the Interface view controller in the View from which you want to refresh the browser by clicking on Properties tab.

3. Call this method from your action button ON CLICK

public void refresh()

{

wdThis.wdGet<..InterfaceViewController..>().wdFirePlug<..Outbound plug name..>("/irj");

}

This will refresh the browser window.

Hope this helps.

Regards,

Santhosh

Former Member
0 Kudos

Hi Santhosh Raj,

I had done ur steps. still portal browser window is not getting refreshed.

Regards,

P.Manivannan

Former Member
0 Kudos

Hi,

Normaly in webdynpro perspective , if you send a request to the backend SAP System, the page get reload. You can try

adding view.resetView(); in wdDoModifyView method.

Thanks ,

Tony

Former Member
0 Kudos

closed

Former Member
0 Kudos

Hi Mr. Manivannan,

Were you able to resolve this issue? I'm having a similar problem. Could you describe the steps you took to resolve the issue?

Cheers,

Alfonso

nikhil_bose
Active Contributor
0 Kudos

You can javascript's use window.location.reload();

/thread/87941 [original link is broken]

nikhiL

Former Member
0 Kudos

Hi Nikhil Bos ,

is it possible to use javascript(window.location.reload()) in webdynpro perspective?

Regards,

P.Manivannan

Former Member
0 Kudos

Hi ,

is it possible to use javascript(window.location.reload()) in webdynpro perspective?

Regards,

P.Manivannan

Former Member
0 Kudos

Hi,

No.

Regards

Ayyapparaj

nikhil_bose
Active Contributor
0 Kudos

dynpro doesnt' support javascripts.

Go through this blog

nikhiL

Former Member
0 Kudos

Hi nikhil,

Thanks for your link

I done the above steps (u mentioned in the linkbottom of the conversation()Pablo Lopez and narahari vedula)

1.My question is how to pass the parameter

2.where I can write this code

request.setAttribute("j_user", user);
request.setAttribute("j_password", password);
request.setAttribute("login_submit", "on"); 

Regards,

P.Manivannan