Navigating back and forth between two WD Java DCs
I have two WD Java DCs which have one application each.
Both of these are Flash islands for WD Java.
In View of DC1_APP contains a link UI elem to DC2_APP and currently, it is being opened in new non-modal window.
- to open DC2_APP in same window
- DC2_APP should have a 'back' button in View that will navigate back to DC1_APP
- all the context data in DC1_APP should be intact when navigated back.
Can you please help me in achieving this scenario?
Thanks & regards,
Abhi S replied
You can create a context attribute in interface controller of DC2 and then do the mapping in DC1 component. You can refer this [wikilink|http://wiki.sdn.sap.com/wiki/display/WDJava/UsecomponentsinbiggerWebDynproprojects+%28componentization%29] for using components in WD projects.
Once you done with the mapping of DC2 Interface with DC1 component controller, you can pass the values using setter and getter methods.