on 03-20-2013 5:54 PM
Dear Mentors,
I have a query regarding that I wanted to create a WD Application in Which I a having 3 views say :
View 1 : 2 Radiobuttons( R1 & R2)
View 2 Screen for R1
View 3 Screen for R2
Now query is How could I switch between the views based on radiobutton selection.. Like if R1 is selected on click on Next Button, View 2 will open..
I am very new to WD help, Help is highly appreciated.
Thanks.
Hi Fox Wilson,
1. Create the view with a radiobuttongroupbyindex ui element
2. Define context binding texts property the attribute
3. Implement the code in the WDDOINIT( ) of the view
4. Define navigation between the view as shown. To navigate between the view, we have to define navigation link between outbound plug of source view ( View1 ) and inbound plug of target view ( view2 and View 3 )
5. To define navigation link, to the window and assign the views to the window and define the navigation link.
6. Drag and drop outbound plug( To_view2 and to_view3 ) on to inbound plug of ( from_view1 of vie2 and from_view1 of view3 ) respectively.
7. create an event onaction and implement the code
Implement the code in the event 'NAVIGATE'
Execute the application:
select the second radio button
Note: Let me know if you have any quires
Thanks & Regards,
Sankar Gelivi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
fire r1 plug
else if r2 is selected,
fire R2 plug.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go through below link. http://webdynproabap.wordpress.com/2012/07/06/radio-button/ hope this helpful for you.
you can use event ON_SELECT of radio button and fire plug in this event .
for navigation using plug go through below link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.