Adding tile controls to applications in NexJ Studio
Add a tile control to your NexJ application by inserting it into a form.
To add a tile control:
A tile control has been added to your NexJ application.
Configuring grids to contain tile controls
Certain types of tile controls can be added to grids. Grids containing tile controls must have a specific configuration.
The following tile controls can be placed in a grid:
- ActionTile
- ExpandableTile
- ExpandableTextTile
- MultilineRepeaterTile
For these tiles to be compatible with a grid, the grid must have the following properties:
- form: (
<Name>
of the form with the tile control) - style:
GridNoSelection
- formCollapsible:
false
- showMenuColumn:
false
- headers:
false
Expanding and inspecting tile controls
You can expand and inspect tile controls in NexJ Studio. Expanding a tile control displays the XML coding of the preconfigured layout in a new dialog.
The Outline view does not display all metadata for a tile control. Instead, a simplified control outline is displayed using semantically tagged names. Expanding a tile lets you see the full structure of the control as if it had been built it from scratch.
There are two primary uses for expanding a tile control:
- Debugging.
- Reviewing and copying code to customize the tile layout.
To expand a tile control in NexJ Studio:
You have expanded a tile to view its XML data.
Editing tile control source files
You can customize the appearance of predefined tile controls in your NexJ application by modifying the source file.
Tile controls are defined using XSLT in a .xsl file. Modifying the contents of the source file affects each instance of the tile in your application.
To customize tile controls:
Your control tile source code has been modified. All affected control tiles will reflect the changes when the application server is restarted.