on ‎2007 Jun 09 5:33 PM
Hi group!!
I'm using a table view with iterator. In this tableview i have a different checkboxes and a inputfield.
With the checkboxes i don't have problems becuase i can use de event on click and save the modified data, but with the inputfield i have a big problem.
The inputfield only appears in some cases (this is correct) but i don't know how to save the data introduced in the inputfield .
I created the inputfield like this:
p_replacement_bee = cl_htmlb_inputfield=>factory(
id = p_cell_id
disabled = lv_disable
MAXLENGTH = '12'
size = '12'
WIDTH = '80'
value = m_row_ref->reference
type = 'STRING'
TOOLTIP = 'IReference' ).
And when I press some of the other checkboxes the data disappear and i don't know what to do to save the data,
Thanks in advance!
Request clarification before answering.
Thanks for the answer. Seems that can work but i have one difficulty... i was changing something the code for the type elements...but for render_event_call i can't put an input field because tell me that the type is not correct
Anubody know's wht type of object i have to put fon an inputfield?
lrf_ip = cl_htmlb_inputfield=>factory(
id = p_cell_id
disabled = lv_disable
maxlength = '12'
size = '12'
width = '80'
value = m_row_ref->referencia
type = 'STRING'
submitonenter = 'TRUE'
tooltip = 'Insertar referencia' ).
event_html = cl_htmlb_manager=>render_event_call(
bsp_element = me
event_type = 'htmlb_events=>inputfield_submitted'
server_event = 'VALUECHANGED'
return_value = 'FALSE'
client_event = ''
client_event_inlined = '' ).
CONCATENATE '<script language="JavaScript">'
'function fire_VALUECHANGED(){'
event_html
'}'
'</script>'
'<script for="'
p_cell_id
'" event="onchange" type="text/javascript">'
'fire_VALUECHANGED();'
'</script>'
INTO event_html.
CREATE OBJECT lrf_table_bee.
lrf_table_bee->add( level = 1 element = lrf_ip ).
lrf_table_bee->add_html( level = 1 html = event_html ).
p_replacement_bee ?= lrf_table_bee.
thanks again!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.