Request row action

<hx:requestRowAction> turns all rows in a data table into

<h:requestLink> tags. This means that clicking on a row in the data table performs an HTTP get with the action encoded in the get. The action is evaluated at runtime and displays a specific page based on the outcome.

<hx:requestRowAction> provides same functionality as <hx:commandExRowAction>; however, it does so with an HTTP GET request. No form submit occurs when a row is clicked and the tag need not be contained within a form.

 

Properties and All Attributes views

The Properties view for a component shows the most common set of attributes you can set on a component, and, depending on the component, you might also see options for adding controls, actions, or other components. To open the Properties view, click

Window | Show View | Properties.

These common attributes for the requestRowAction tab:

The All Attributes view shows a table of all the attributes you can set on a component, which includes those attributes you can access from the Properties view. To switch to the All Attributes view, click the

All Attributes icon in the upper right corner of the Properties view.

Table 1. requestRowAction attributes

Attribute name

Description

action

Specifies the value returned when the component is clicked. The value is passed to the default NavigationHandler, that then matches the value against a set of navigation rules defined in the application configuration file.

binding

An expression that binds the component's instance (usually a user interface component) to a bean property (usually in the backing file).

id

Assigns a name to a component. Should be a unique name within a JSP.

rendered

Can be set to true or false:

  • false - Component will not be rendered to the browser at runtime.

  • true - Component will get rendered. This is the default value.