‎2008 Jan 03 9:44 AM
Hi - I am using cl_htmlb_manager=>get_data to return the values of inputFields no problem but I cannot get it to return the value of a textView.
My code for the successful inputField is:
value = tv_data->get_cell_id( row_index = tv_data->prevselectedrowindex column_index = '3' ).
DATA: inputfield TYPE REF TO cl_htmlb_inputfield.
inputfield ?= cl_htmlb_manager=>get_data(
request = request
name = 'inputField'
id = value ).
s_keyword = inputfield->value.
and my code for the unsucessful textView:
value = tv_data->get_cell_id( row_index = tv_data->prevselectedrowindex column_index = '1' ).
data: o type ref to object.
o ?= cl_htmlb_manager=>get_data(
request = request
name = 'textView'
id = value ).
s_id = o->value.
I've used the generic object as was not sure what type to use as cl_htmlb_textview does not have a property 'value'.
I have been searching everywhere for an answer to this so any help would be appreciated or a pointer to some decent documentation. Many thanks
‎2008 Jan 04 7:05 AM
HI,
Cl_htmlb_manager=>get_data only gets the request data.
Since there cannot be a change in text view in run time(unless it is textedit) it does not get reflected in the request and so this method may not return a value as far as i think.
You can try using text edit if there should be change in value in the runtime for this.
Or else check if there is data pertaining to text view in Form Fields...
Let me know if it helped...
Thanks,
Rashmi.
‎2008 Jan 04 7:05 AM
HI,
Cl_htmlb_manager=>get_data only gets the request data.
Since there cannot be a change in text view in run time(unless it is textedit) it does not get reflected in the request and so this method may not return a value as far as i think.
You can try using text edit if there should be change in value in the runtime for this.
Or else check if there is data pertaining to text view in Form Fields...
Let me know if it helped...
Thanks,
Rashmi.