Portlet Factory, Version 6.1.2


 

HTML builder inputs

This topic describes the inputs for the HTML builder.

Table 1. HTML builder inputs
Input name Description
Name Name for this builder call. The WebSphere Portlet Factory Designer displays this name in the builder call list.
Page Location Page or pages on which this builder call acts.
HTML Do one of the following:

  • Enter an indirect reference to a source, such as a variable.

  • Enter the HTML directly.

Note: If you use a variable as a source of HTML, the variable must be of type XMLData.

Advanced

These Advanced inputs are useful when you need to embed HTML into JSP code.
Handle Target Element

Determines how the builder deals with the target element. You can choose:

Add

To insert the parsed value as a child of the target element.

Replace

To completely replace the target element with the parsed version.
Parse Behavior Determines if HTML is fully parsed so tags are available to other builders or included as-is.

Choose:

Parse all HTML

To fully parse HTML.

Fully parsing the HTML allows tags to be visible to subsequent builders.

Include HTML as is

To disable the parse function.

Select this option if the supplied HTML has multiple top-level nodes (instead of one). The HTML parse will break if other options are used.

Let Builder Decide

To allow the builder to determine if the HTML begins with <% and to just include it as-is.

The default behavior includes the HTML as-is if the HTML begins with the characters <% (that is, assumed to be JSP); otherwise it does the full HTML parse.

Note: If you have HTML where an end tag is missing, by default this will display with errors. To fix this problem, set the Parse Behavior to Include HTML as-is.

Parent topic: HTML builder


Library | Support |