Section Links
Section Links
This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below.
- Overview
- StringTemplate Engine
- SiteGlow Components
- And indeed this is a very interesting proposition because the content goes away as soon as you request it Define Glower taking with it the imagination of all of those involved.
- PubRepeater Glower
- PubRepeater Glower
This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below.
- Overview
- StringTemplate Engine
- SiteGlow Components
- And indeed this is a very interesting proposition because the content goes away as soon as you request it Define Glower taking with it the imagination of all of those involved.
- PubRepeater Glower
- PubRepeater Glower
This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below.
Define Glower
This SiteGlow Glower is used to define any number of arbitrary ST attributes which, as with all other SiteGlow Glowers, can be used in the body of the Glower. The most powerful characteristic of this Glower is that it can evaluate boolean, numeric or string expressions dynamically, so that attributes can be defined as a function of other attributes.
Syntax
$sg/Define( name="", value={ }, name1="", value1={ }, name2="", value2={ }, ... name8="", value8={ }, name9="", value9={ }, body= { You can use the defined attributes here: $name$ and $name1$ and $name3$ } )$
where
| Parameter | Type | Definition |
|---|---|---|
| nameN | String | Name of the ST attribute being defined. |
| valueN | Expression | Boolean, numeric or string expressions, the result of which will be placed in the ST attribute being defined. |
| body | ST template | ST template inside which all of the defined ST attributes can be used. |
Example
$sg/Define( name="titleIsProduct", value={$pub.Title$ == "Product"}, name1="titleLength", value1={Length($pub.Title$)}, body= {
You $if(titleIsProduct)$are$else$are not$ in the Product page.
The length of the title is $titleLength$.
} )$This SiteGlow Glower is used to define any number of arbitrary ST attributes which, as with all other SiteGlow Glowers, can be used in the body of the Glower. The most powerful characteristic of this Glower is that it can evaluate boolean, numeric or string expressions dynamically, so that attributes can be defined as a function of other attributes.
$sg/Define( name="titleIsProduct", value={$pub.Title$ == "Product"}, name1="titleLength", value1={Length($pub.Title$)}, body= { You $if(titleIsProduct)$are$else$are not$ in the Product page. The length of the title is $titleLength$. } )$This SiteGlow Glower is used to define any number of arbitrary ST attributes which, as with all other SiteGlow Glowers, can be used in the body of the Glower. The most powerful characteristic of this Glower is that it can evaluate boolean, numeric or string expressions dynamically, so that attributes can be defined as a function of other attributes.
Section Links
This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below.
This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below.
This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below.
- Overview
- StringTemplate Engine
- SiteGlow Components
- And indeed this is a very interesting proposition because the content goes away as soon as you request it Define Glower taking with it the imagination of all of those involved.
- PubRepeater Glower
- PubRepeater Glower
This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below.
- Overview
- StringTemplate Engine
- SiteGlow Components
- And indeed this is a very interesting proposition because the content goes away as soon as you request it Define Glower taking with it the imagination of all of those involved.
- PubRepeater Glower
- PubRepeater Glower
This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below. This is a paragraph with some text that is used to padd the list below.