Portlet Factory, Version 6.1.2
Attribute Setter builder
The Attribute Setter builder modifies existing elements on a page by replacing or adding to any HTML attribute values that those elements support. Use the Attribute Setter builder to add or modify attribute values not set by builder calls. You can tailor the display of control builder calls by using the Attribute Setter builder to change the font, size, border, or any other supported attribute for the control.
To run an action as the result of a user mouse click, do not use an Attribute Setter builder. To run an action as the result of the user clicking or typing, use the HTML Event Action builder rather than an Attribute Setter builder.
When you use an Attribute Setter builder to associate a mouse attribute such as onclick with a method reference such as ${MethodCall/main}, the effect will be that, as the page is rendered, call method main and use what it returns as the value for the onclick attribute. You will not create the action that when the user clicks here, contact the server and run main again.
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.
- Attribute Setter builder inputs
This topic describes the inputs for the Attribute Setter builder.
- 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.
- Setting text attributes
This example will explain how to use an Attribute Setter builder to display the text in red at 7 pts.
- Assign attributes to a button
This topic describes the steps in assigning an attribute to a button.
- Attribute Sequencer builder
The Attribute Sequencer builder modifies existing elements in a repeated region on a page by replacing or adding to any HTML attribute values that those elements support.
- HTML Event Action builder
Use the HTML event action builder to associate a function with an HTML behavioral attribute.
Library | Support |