Portlet Factory, Version 6.1.2
HTML Event Action builder
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 or OnChange, for <input/> tags. The HTML event action builder can only define actions for the events that a particular tag supports.
The HTML event action builder is created for a specified HTML tag on a page. The builder sets the event attribute value through a JavaScript call, associating the correct function behavior with the specified event on the selected tag. More than one HTML event action can be associated with an HTML tag, and functions are executed in the order of the HTML event action builder call in the builder call list.
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, 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
The builder call editor allows you to specify all the input values to a builder call.
- Locating control builder calls on pages
Each page location technique results in the generation of a Page Location string that determines on what pages, and where on those pages, the control builder calls are added.
- HTML Event Action builder inputs
This topic describes the inputs for the HTML Event Action builder.
- Using input mappings for builder calls in a repeated region
Typically, when you use a Button, Image Button, Form Submit Action, or Link builder call within a repeated region, you want to execute some action and pass data specific to the row as arguments to that action.
- Overview: creating forms
You can create forms in IBM® WebSphere Portlet Factory applications in several ways.
- Overview: profiling
Creating applications with builders offers benefits over traditional development.
Library | Support |