Portlet Factory, Version 6.1.2


 

Setting properties for page automation elements

Page automation elements from builders such as Data Page, Data Column Modifier, or Rich Data Definition, have generic properties associated with them. These properties are used for a number of internal processes, generally carrying information about how the page should be rendered or how certain methods should be called. In some scenarios, you might need to set these properties at runtime. For example, to highlight fields on a data entry page that have validation errors, you could change the CSS class of the field label to render in a different color or font. These can be set by assigning the LabelClass_NoError and LabelClass_Error properties to the field.

Most properties can be inherited, so it is possible to set the properties on a container and that value will be used for all sub-containers and fields within that container. In any element, there are actually two sets of properties, the local ones (that apply only to that element) and the ones that will be inherited by children. To set a property that will apply to a container and to its children, you have to put the property into both lists.

You can set page automation properties in one of three ways:

Parent topic: Overview of builder architecture


Library | Support |