Hello,
*1) We are coding BSP application with MVC pattern.*
*2) Defined main.do and content.do*
*3) Defined tableview with iterator as below.*
<htmlb:tableView id = "tv1"
selectionMode = "multiselect"
headerText = "Search Results"
design = "alternating"
visibleRowCount = "10"
headerVisible = "true"
allRowsEditable = "X"
keepSelectedRow = "true"
onNavigate = "onMyNavigate"
<%-- onRowSelection = "onMyRowSelection"--%>
iterator = "<%= iterator %>"
table = "<%=model->flights%>" />
4) Added code as below in do_handle_event, do_handle_data, but whatever rows that users selects
*in table is not being captured by system. I debugged tv? below, but for some reasons, I think 'request' object is not getting data. System is making some C calls inside the IF_HTTP_ENTITY~GET_FORM_FIELD but getting back with nothing. Any help is appreciated, Niranjan
.*
**************************************************************************
tv ?= cl_htmlb_manager=>get_data( request = request
name = 'tableView'
id = 'tv1').
if tv is not initial.
table_event = tv->data.
clear selectedrowindextable.
selectedrowindextable = table_event->prevselectedrowindextable.
endif.