on 05-17-2007 3:43 AM
Hi All,
I have iview with two buttons(New, Ref), when i click on New button it is displays dialog box which is haveing two options(say Start, Go). If i select Start button on conformation dialog box i should show one iview and if select Go i should shold diffent iView in the same area.
Output should be like this. The buttons New, Ref should always be shown and based on dialogbox selection i should show the related iViews bottom area of the New,Ref buttons.
For this i took view set [1,2], at [1,1] i added New,Ref buttons iView, At [2,1] i added the all output iviews. and what should i write in OnActionStart, onActionGo inorder to display the correspoingding view at [2,1]????
Hi Nairanjan,
In onActionStart -> Fire the inbound plug of the iview which has to be displayed on [2,1] when start is clicked.
In onActionGO -> Fire the inbound plug of the iview which has to be displayed on [2,1] when GO is clicked.
Hope you have already added those iviews in the [2,1].
Regards,
Sharadha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just fire the respective inbound plugs of the views in you actions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Niranjan,
How do I navigate from one view to another?
All views within a window can be connected to each other using navigation links. When the user calls a Web Dynpro application, the start view is displayed first on the screen. You can trigger a specific action - for example, by clicking a button - which triggers navigation. As a consequence, the previously displayed view disappears from the screen and a second view is displayed.
To set up navigation between two views, you must create an inbound plug for one view and an outbound plug for the other view. A plug is always a junction used for accessing or exiting a view.
Regards,
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First create two Actions for "Start" And "Go" Buttons in the properties.
1.Right Click on Button Element->Properties->
onAction:Start
onAction:Go
2.Go to implementation:
onActionStart():wdThis.wdFirePlugTo_Iview2_View1_Out();
Before writing this U need to provide the navigation link at Design Time.
Dnt forget to giv the points if ur ok with my solution.
Regards,
Lavanya.G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/dialog%20boxes%20in%20web%20dynpro%20applications.pdf">Creating dialog Boxes in Webdynpro</a>
By creating in bound and out bound plugs , you can naviagte between view.
If you want to navigate to iviews (not webdynpro views) see this
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.