cancel
Showing results for 
Search instead for 
Did you mean: 

How to open a browser using button?

Former Member
0 Kudos

Hi,experts,

I create a button in a view in the WDJ.

I can get a URL through call a webservice when I click the button and I need open a browser using the URL automatically.

How can I do it?

Best regards,

tao

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tao,

You can use the following method of WindowManager in the action assigned to onAction event of your button:

wdComponentAPI.getWindowManager().createNonModalExternalWindow(String URL,String  title);

Regards,

Ajay

Former Member
0 Kudos

Hi, Ajay,

Thank you very much !!!

I have solve the problem using your code!

Thanks a billion!!!!!

Best regards,

tao

Answers (0)