The Ittrium Livewire processing extends standard Boks by converting Boks html output into alternate forms. Mostly, we use it to generate .jsps.
The key concept is the literal html you can handcode into the various DIVs you create with Boks. Livewire is looking for the special tag: <cms>
The contents of the <cms> tag is a view name. When Livewire creates the .jsp, it will insert an <ittrium:view> tag, using the name given. If you use multiple names, separated by semicolons, then you get multiple <ittrium:view> tags, all within the same outer wrapper. Multiple <cms> tags within the same Boks region produces multiple spacing and align DIVs, each with its own view.
The <cms> tag is also scanned for various attributes:
- @path
- Supply the view with a custom (possibly empty) path. By default, selected view names (ie navigation) know their paths should be set to empty. You can override this by coding your own path or using the path 'null' to suppress it altogether.
- @layout
- Use 'horizontal' or 'vertical' to add an extra class attribute to the outer spacing DIV.
- @test
- Use 'view' to conditionally include the Boks region only if the view being used generates real content..
Boks itself allows you set the @id and @class attributes for the region. If no explicit @id is given, then the view name is used as the default id.
If the @class attribute contains the literal 'table', then an html <TABLE> structure is generated rather than the standard BlueprintCSS structure.
Livewire can also be directed to produce wrapper DIVs. A wrapper is created around each top level Boks row, and takes its name from the interior id. The purpose of the wrapper is to provide an outer DIV that spans the width of the browser window, with the fixed-width Blueprint contained therein. This allows you to color the areas outside the standard bounds of the fixed-width Blueprint spans.
Use this tool to generate JSP files that are compatible with Ittrium software.
Download LivewireUse this tool to generate JSP files that are compatible with Ittrium software.