Use the HTML event action builder to associate a function with an HTML behavioral attribute.
Use this builder when you want to specify a form action to run whenever a form is submitted.
The HTML behavioral attributes are those that correspond to HTML event handlers, such as OnClick
, for <input/>
tags. The HTML event action builder can only define actions for the events that a particular tag supports.
Behaviors can be set for controls and tags that can accept user input. The HTML event action is also useful in the case when a certain type of attribute cannot be set in the builder dialog for a particular builder. For example, the select builder editor allows you to set only the OnChange
function. In order to set the OnClick
function, you must add a HTML event action builder call to your model.
Use the HTML event action builder to define actions for a particular browser event.
Not all HTML tags support behavioral attributes and a given tag might not support all behavior event types. Refer to an HTML reference to check if a particular event is supported by a given tag.
Profile this builder to alter the characteristics of a named HTML tag.
Parent topic: Builder help
About using the builder call editor
Smart refresh in page actions
Using input mappings for builder calls in a repeated region
Overview: creating forms
Profiling IBM WebSphere Portlet Factory applications
Locating control builder calls on pages