Search This Blog

Monday, March 8, 2010

OAF - Table Events

Table events are HTTP requests that are trapped and processed by OA Framework and handled during the processFormRequest phase.
EVENT_PARAM - indicates the event generated by a web bean (a table, in this case).


The possible events generated by a table are:


GOTO_EVENT - when 'Next' or 'Previous' navigation links are selected


SORT_EVENT - when a column header is selected to sort that column


HIDE_EVENT - when the 'Hide' link of a detail disclosure is selected


SHOW_EVENT - when the 'Show' link of a detail disclosure is selected


ADD_ROWS_EVENT - when the 'Add Another Row' button is selected


UPDATE_EVENT - when the total row 'Recalculate' button is selected


VALUE_PARAM - indicates a value that is relevant to a particular event: When a detail disclosure Hide/Show is selected, the value parameter contains the row index corresponding to the row whose Hide/Show was selected. When the 'Next' or 'Previous' link of table navigation bar is selected, the value parameter contains the index of the first row of the current range. For example, when the row range 1-10 is displayed, the value is 1 and when the row range 11-20 is displayed, the value is


SIZE_PARAM - indicates the number of rows currently displayed in the table (relevant only to the navigation event).


STATE_PARAM - indicates the current sort state (ascending or descending) of the column on which sorting is invoked (relevant only for the sort event).


Courtesy : Oracle OAF documentation.

No comments:

Post a Comment