on 10-01-2008 10:46 AM
Hi Experts,
I want to display checkbox text which is checked by user.. Any suggestion
Regards,
vino
vijay,
I have 3 checkbox on my first page, i want to dispaly the corresponding selected checkbox text on second page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes it is possible, using the event you can find the details of which checkbox clicked , and get the id from the event, using the id we can pass the text.
DATA: event TYPE REF TO if_htmlb_data.
DATA: checkbox_event TYPE REF TO cl_htmlb_event_checkbox.
event = cl_htmlb_manager=>get_event_ex( request ).
IF event IS NOT INITIAL AND event->event_name = htmlb_events=>checkbox.
checkbox_event ?= event.
endif.
now checkbox_event will have the id , based on id you can display the texts.
you can use the attributes text of htmlb checkbox tag.
<htmlb:checkbox id = "<%= check %>"
text = "Text for checkbox" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.