The widgets
element within a Screen widget definition may contain one or more XML statements defining an HTML markup tag. In the cases where it isn't practical to call another widget or a FreeMarker template, you may want to insert one or more HTML directives within the Screen widget definition.
Adding HTML markup is as simple as the following:
widgets
element, add one or more XML statements with HTML markup. Example XML HTML markup elements include: label, container
, and link
.HTML markup statements are interpreted inline (and in the order in which they are written) as the screen handler parses the screen's definition. There is a one-to-one translation between the XML-wrapped HTML markup and the target HTML output.
The following table lists some commonly used HTML and the equivalent XML statements:
Types |
HTML |
XML |
---|---|---|
Plain text |
|
|
Markup tags |
|
|
DIVs |
|
|
HTML hyperlink |
|
|
18.225.255.178