on 09-20-2007 2:05 PM
Hi Experts,
I have following requirements
1.I have <b>5 buttons(action bu</b>ttons) and <b>2 radio butto</b>ns
2.I have 2 seperate documents.
<b> a) category-1
b) category-2</b>
3.<b>category-1</b> contains some documents
<b> a) s1
b) s2
c) s3 </b>
4.<b>category-2</b> contains some documents
<b> a) T1
b) T2
c) T3 </b>
I have designed <b>2 radio button a) category-1 b) category-2</b>
while 1.selecting the <b>category-1 and s1</b> corresponding page will be displayed
2.selecting the <b>category-1 and s2</b> corresponding page will be displayed
3.selecting the <b>category-1 and s3</b> corresponding page will be displayed
while 1.selecting the <b>category-2 and T1</b> corresponding page will be displayed
2.selecting the <b>category-2 and T2</b> corresponding page will be displayed
3.selecting the <b>category-2 and T3</b> corresponding page will be displayed
How to do that and how to acheive it.
Give ur valuable suggestions
its very urgent
Regards,
P.Manivannan.
Hi Mani
Are T1,T2,T3 S1,S2,S3 are drop down list boxes?
do u want to open those documents in a separate window or ??
Regards
Chaitanya.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
1. There are 5 buttons..
2. Upon clicking button the corresponding page will be displayed with two radio buttons (category-1 and category-2)
3. By default category-1' will be enabled.
4.Based upon the selection of every button, either category-1or category-2 will be displayed depending upon the Radio Button selection.
Regards,
P.Manivannan
Hi
<a href="https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDRadioButton.html">Radio Button Information</a>
There are the 3 preperties maily used in of radiobutton.
<b>KeyToSelect</b>: Unique key which will be identified while selection from a number of radiobutton.s
<b>SelectedKey:</b> This is used set to the key of the radiobutton that is currently selected.
<b>OnSelect</b>: An event that you want to fire when the radio button is selected.
now define Action methods for button and then on select of Radio button fire the corresponding action (opening a window and displaying the document.)
i need small info..is there any use of Radio button in you application..u can directly open ur document my clicking on button..anways u have buttons for each and every document..right
Regards
Chaitanya.A
Hi Chaitanya,
there are 2 seperate documents.
1. document-1 having some list of 5 new pages
2. document-2 having some list of 5 new pages
there r 5 buttons. each button having documents.
each button having document-1 and document-2
thats why i using the radio button
still i didn't get a solution
how to do that?its very urgent.....
Regards,
P.Manivannan.
Hi Mani,
1. set the keyToSelect =key_1 for RB1
2. set the keyToSelect =key_2 for RB2
3. Bind a context of type string to the selectedKey property of both the radiobuttons name selectedRB.
4. Create actions for all the buttons and bind them to their respective buttons.
5. In implementation you can check which radio button is selected using
if(wdContext.currentContextElement().getSelectedRB().equals("key_1"));
or
if(wdContext.currentContextElement().getSelectedRB().equals("key_2"));
Rest each button is having a different action so you can open the document you want just checking which RB is selected.
Regards,
Murtuza
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.