cancel
Showing results for 
Search instead for 
Did you mean: 

Call a WD Page from WD view

Former Member
0 Kudos

Hi,

My requirement is as follows:

I need link on clicking that a WD page open in the same window.

Regards

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

solved by me

siddharth_jain
Active Contributor
0 Kudos

Hi ,

If i Understood your problem correctly.

I would Suggest for on demand refreshing of Overview view you should Create a saperate Component for this view.

And Then you should reuse this Component in the Desired WD Component.

For Refreshing the OverView View, You Have To check whether its Component has any Active Instance if it has Delete it and Create a new one like this:

//Some thing like this//

if(wdThis.wd<your Component>ComponentUsage>.hasActiveComponent())

wdThis.wd<your Component>ComponentUsage>.deleteComponent();

else

wdThis.wd<your

Component>ComponentUsage>.createComponent();

in this case you have to use interface view of your OverView Component in the Parent Component.

Hope This will Help.

Regards,

Siddharth

Former Member
0 Kudos

Hi Anumit,

Create UI element "LinkToURL" in view and set the properties reference and target.

reference : path to your WD page

target : _SELF

Hope this will solve your problem

Thanks

Former Member
0 Kudos

Hi,

plz give more input regarding your query.

Use popup window.

Use the following code to display the popup

IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("<Your Window Name>");

IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);

window.setWindowPosition (300, 150);

window.show();

//Storing the window instance for later use Ex:destroyInstance()

wdContext.currentPopupNodeElement().setPopupAttribute(window);

Former Member
0 Kudos

Hi,

Use Popup window. Hope you know how to do it.

thanks & regards,

Manoj

Former Member
0 Kudos

Hi Manoj ,

Actually my requirement is that after completed a Claim; user goes on the completion WD view.

Now, user wants to go to Main overview page that consists of tree in the table.

So, i need a link to action that carry the user to Overview WD Page.

But i need to call the page by the link not the Overview view.

Regards

Former Member
0 Kudos

use portalnavigation in order to navigate to the desired page.

Regards,

Murtuza

Former Member
0 Kudos

Hi,

Are you using plugs? Are you using seperate applications for each view and each of your applications are there in portal with iViews?

Say if the Overview view is there in a different application then click of link to action from the Completion view you need to navigate to the Overview application. For this you can use portal navigation.

If all the views are the part of the same view assembly then you can simply use navigational plugs to navigate to the Overview page.

Let me know your requirement then we can go in detailed manner.

thanks & regards,

Manoj

Former Member
0 Kudos

Hi Manoj,

All views are in the same Application.

when i am using plugs the Overview View is not refreshed(i used when_visible also).

So, now i want to restart the Page;when clicking the link or button.

Regards

Former Member
0 Kudos

I guess you want to reset the context when you come back to the overview page. You can create a boolean attribute in component controller and map to both the views. Before firing the plug to the overview view just set that variable and in wdDoModifyView of your overview page check for that variable. If true then reset your context wdContext.getContext().reset(true) and set that boolean variable back to false.

Hope I understood your requirement properly and we are on the same track.

Regards,

Murtuza