Skip to Content
0
Former Member
Jan 03, 2008 at 09:44 AM

cl_htmlb_manager

18 Views

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