on 10-15-2006 7:37 AM
Hi All,
I have tried it both ways (cl_htmlb_event, if_htmlb_data). Current version of WAS is 6.2.
The code in my view generates the server event but event_id is always blank for onSubmitEnter. Any idea? Works in 6.4
<htmlb:gridLayoutCell columnIndex="1" rowIndex="2" verticalAlignment="BOTTOM">
<htmlb:label for="product" text="Material Number" required="TRUE"/>
</htmlb:gridLayoutCell>
<htmlb:gridLayoutCell columnIndex="2" rowIndex="2" verticalAlignment="BOTTOM">
<htmlb:inputField id="f_product" submitOnEnter="TRUE" disabled="<%= v_linedisable %>" alignment="LEFT" required="X" type="STRING" width="115"
value="//vmodelsetup/mret_productcode"/>
</htmlb:gridLayoutCell>
DATA: enterevent_id TYPE REF TO CL_HTMLB_EVENT,
event_id TYPE REF TO if_htmlb_data.
event_id = cl_htmlb_manager=>get_event_ex( runtime->server->request ).
enterevent_id = cl_htmlb_manager=>get_event( runtime->server->request ).
IF enterevent_id IS NOT INITIAL AND
enterevent_id->IF_HTMLB_DATA~event_name = 'inputField' AND
enterevent_id->IF_HTMLB_DATA~event_type = 'click' AND
enterevent_id->IF_HTMLB_DATA~event_id = 'f_upc'.
<CODE GOES HERE>
endif.
IF event_id IS NOT INITIAL AND
event_id->event_name = 'inputField' AND
event_id->event_type = 'click' AND
event_id->event_id = 'f_upc'.
<CODE GOES HERE>
ENDIF.
Your feeback will be much appreciated.
Partho
Thanks for your input Raja. I am going to submit an OSS note on this one shortly. I am also finding rowselection in tableview not working correctly. If the TV is lineedit, clicking on the row doesn't highlight it; paging up-down shows the highlighted row; it is very inconsistent. Maybe there is a SP to fix this as well.
Partho
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.