Skip to Content
0
Former Member
Feb 23, 2011 at 10:19 PM

Passing Parameters between WDA Components

83 Views

Hi Experts,

I am having trouble passing values between two WDA Comps. Here is what I have:

Overview WDA has comp reusage defined for BulkFreight Inv WDA

Overview WDA calls the BulkFreight Invoice, (using a LinkToAction UI), into a ViewContainer UI, in BFI View, sitting inside a Multipane UI.

The VoyageNo & Vessel number are the keys to fetch the correct BulkFrieght Inv.

BFI View has a 'BackToOverview' button to navigate back to Overview WDA.

The above arrangement appears to work fine, the first time I choose any link from Overview WDA. When I click the back button and choose a different link, it still brings the BulkFreight Details of the first one.

The parameters passed in my Outbound plug show the correct values from the current link selected. It is not passed to the called WDA. i.e BulkFreight Inv WDA.

I tried passing the Voyage and Vessel Keys through the Assistance Class Static (public) attributes. The values are still the first one chosen.

I tried expressly clearing the Assistance Class attributes in the called WDA,once the right BulkFreight Inv is read so it can be filled again next time with the new value. In debug I can see these values being cleared, but after navigation back to Overview, the values appear to come from somewhere ..!!

I tried clearing the parameters in the back to overview navigation. In debug i can see the values blank, because i have already cleared in the BulkFrieght Inv component itself. So it is seen blank. In the Overview WDA when a different link is chosen, I can see the Assitance Class attributes being filled with the new parameters, but the navigation is still frustratingly to the original BulkFrieght Invoice ..!!

I tried using the Interface Controller to exchange the values between the WDAs as suggested by another forum post (id -9885614}. No avail.

I have lost a lot of time trying to get on top of this issue, but not successful yet. Any insights into the solution is greatly appreciated. I am less abler with Comp Reuse in WDA especially involving Interface Controllers and stuff. So if the solution is to with this area of WDA, I would highly appreciate your best possible detailed instructions.

thanks heaps in advance.