Note |
---|
This page is a work in progress.... It's in pretty good shape at this point though. |
You can create a new fragment layout by modify creating a new fragment-layout XML file, or alter an existing fragment layout by modifying an existing fragment-layout XML file. When done, you import the fragment using one of the data import approaches (see Importing and Exporting data).
...
Child elements of a structure-attribute element vary depending upon where this is at in the hierarchy.
Child of tab folder:
...
The structure XSLT transform doesn't care whether the structure-attributes apply to a tab or column, but the theme XSLT transform does as it acts upon the value when present at a specific level in the folder hierarchy. Structure attributes have the form:
Code Block |
---|
<structure-attribute>
<name>width</name>
<value>40%</value>
</structure-attribute> |
For a structure attribute name to be valid, it must be defined in the structure stylesheet definition file. See https://github.com/Jasig/uPortal/blob/uportal-4.2.1/uportal-war/src/main/data/required_entities/stylesheet-descriptor/DLMTabsColumns.stylesheet-descriptor.xml#L49-L67 as an example.
Tip |
---|
New with uPortal 4.3: The value field can be a Spring Expression Langugage (SpEL) expression of the form ${expression} where the expression is of the form:
|
Child of tab folder:
Name Element | Value Element | Description | ||
---|---|---|---|---|
external-id | URL-safe-value | Indicates folder has an external ID name. Allows creating an URL of the form /f/URL-safe-value (see Consistent Portal URLs ("Deep Linking"). | ||
tabGroup | value | URL-safe-value | String that is present in an URL link to the foldertab group name | Used when the optional feature of tab groups is enabled. See TabGroups ('Super-tabs') Feature for more information. |
Child of a column folder:
Name Element | Value Element | Description | |||
---|---|---|---|---|---|
namewidth | widthpercentage | Defines the width of the column in percentage; e.g. 50% | value | percentage | Percentage of the row width to allot for the column.. The column widths in a tab/row should add up to 100 |
Info | ||
---|---|---|
| ||
Additional References |
...