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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tatvagna thanks for the anser but I think it isn't my solution.
I 'm doing this for save the checboxes value beacuse I'm starting an event and I can put the lofgic that I want on the onInputProcessing, but with the inputfield is different beacuse i can't start and event and if the user put some information in one of the rows of the tableview and then click a checkbox in a different row i can not recover the value of the row that has the inputfield with data (the implementation of the iterator makes that i loss the data because the tableview cells are created again.
Tnhanks in adavance.
for the input fields value attribute use variables.
<htmlb: inputField id = "ip"
value = "<%= comment %>"
(same holds good inside iterator as well)
then in oninputprocessing you should do the following
data: ip type ref to cl_htmlb_inputfield .
ip ?= cl_htmlb_manager=>get_data( request = request
name = 'inputField'
id = 'ip' ).
if not ip is initial .
<variableused in the inputfielddeclaration> = ip->value .
endif .
| User | Count |
|---|---|
| 8 | |
| 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.