Skip to Content
0
Former Member
Jan 23, 2006 at 09:01 PM

CL_HTMLB_MANAGER=>GET_DATA

33 Views

Hi,

In my view (myView) I created an imput field like this:

<htmlb:inputField id= "<%= lv_high_value_id %>" value = "<%= lv_value %>" size="20"/>

where lv_high_value_id = 'HIGHFD_1'.

in my controller I added this code to get the value of my field:

lv_field_high ?= CL_HTMLB_MANAGER=>GET_DATA( request = runtime->server->request

name = 'inputField'

id = lv_high_value_id ).

IF lv_field_high IS NOT INITIAL.

lv_value = lv_field_high->value.

ENDIF.

The problem is lv_value is empty because the generated id in the view when you see the "view source" is equal to 'V1_V21_MyView_HIGHFD_1' not what I give 'HIGHFD_1'.

Is there any method to get the value using my id 'HIGHFD_1', or is there a method to get what the framework have added "V1_V21_MyView_"?

Thanks for your help and Best regards,

Djamal