This component has no visual rendering. No HTML is rendered.
Configure this component using the Quick Edit view. To open the Quick Edit view, click
.The common attributes for the <hx:behaviorKeyPress> component are listed in the table below.
Attribute name |
Description |
---|---|
behaviorAction |
The name of the action(s) to be run. If more than one action name is provided they should be separated with a semicolon. |
binding |
An expression that binds the component's instance (usually a user interface component) to a bean property (usually in the backing file). |
event |
The name of the event to which the behavior is attached. For example "onclick". It must include the "on" prefix. |
id |
Assigns a name to a component. Should be a unique name within a JSP. |
key |
Specifies a key expression. |
onActionFunction |
A JavaScript function to be executed. The function is executed before the action is executed. If the function returns false, the action is not run and processing of the event is halted. |
rendered |
Can be set to true or false:
|
target |
Assigns the target frame within a frameset that a page
should be loaded into when the hyperlink is clicked:
|
targetAction |
The target(s) of the action(s) to be run. By default, the action's target is the tag the behavior is assigned to (as a child or via target). If more than one action is provided, more than one target may be provided (separated by semicolons). |