on 05-25-2005 9:59 AM
Hello All,
Does anyone know of a solution for the above mentioned problem ?
<b><u>Scenario</u></b>
1) I have a web dynpro application running with the information of an employee pre-populated on the view upon initializing. (Eg : Name, department etc ...)
2) In the event that someone changes the name of the employee and click on change button, a separate popup window will appear displaying a list of matched name.
3) Once a matched name is selected, this information will be passed back to the initial web dynpro application.
<u><b>Questions</b></u>
1)Should I be using a popup window or should I be launching another web dynpro application to display the result of the serach list.
2) How do I transfer my selected name from the search result and have the info re-populate on the initial web dynpro app ?
Thank you very much.
from
Kwok Wei
Hi,
When u close the popup window fire an event with parameters of the values selected.
Declare a Event Handler and Subscribe to that event in the ur view and the change the details in the form in that method.
Hope this helps.
Regards,
Sowjanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually I have tried
SubscribeEvent, fire event
And mapping
these 2 ways you guys mentioned , but they didn't work.
The popup window can not trigger any event of its parent.
I am waiting for the any new solution, either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can create a pop up window for displaying the search result.This wuld help the communication between the two windows easier than an external window.
You need to create a mapping between the context attributes present in the view embedded in the pop up window to the controller and inturn to the base view.
Do revert for further clarifications
Regards
Noufal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you everyone for the prompt answer. I have another query den based on the replies (kindly pardon my extreme lack of knowledge in this area)
1) The popup window will be another webdynpro app ? If so, does it implies that its going to result in some form of 'inter-application' navigation ?
2) Does anyone know of some tutorials/demos/documentations that may highlight my problem ?
from
kwok wei
It can be another Application or PopUp Window.
Which ever it may be depending on your requirement.
See Map the Value Attribute i.e Bound to the UI Element to the Interface Controller of another Application where u r finding Matched Value and Set the ValueAttribute of the Interface Controller with the Value u selected.
That will automatically reflect in your Main Page.
Other wise u can go by methiod as Sowjanya suggeste in previous Post
With Wishes
Krishna kanth
Hi,
You need not create a different application. All you need to do is create a new view, a new window Embed the view into this new window. This window can be called as the pop up window.
So I don't think you need an inter application navigation
IWDWindowInfo windowInfo =(IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PickUPEmployeeWindow");
IWDWindow window=wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo,true);
window.setWindowPosition(WDWindowPos.CENTER);
window.open();
wdContext.currentContextElement().setWindowInstance(window);
Here PickUPEmployeeWindow is the window you created to display as a popup.
Embed the view containing the details into the window
Hope this would do .
Message was edited by: Noufal Kareem
Hi
You can send the Value Attribute Name i.e mapped to the UI Element to the Application and set the Value i.e Matched to the Value Attribute and Close of that the value will be reflected in the Main Page.
Map the Value Attributes of both the Applications.
With Wishes
krishna Kanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.