In logical terms, an Application within the context of the Pollstar100 WCM can be thought of as a particular view on a Sample Data set. Physically, it is everything that the end-user is presented with when an instance of the Pollstar100 Client runs within a client browser. Similar to the way that different Cascading Style Sheets (CSS files) can be used to transform a view of the same web-content; so too then, can different Pollstar100 Applications be defined to act upon the same Sample Data set. The benefits of decoupling content from presentation are clear. For example, a website may easily be re-vamped or re-branded without the need to change the underlying content.
In physical terms, an Application is a collection of Components such as Textboxes, Panels and Controls. The appearance or behaviour of a Component may be altered via a Property set defined for that Component. The Properties referred to in this section exist at the Application level and are defined within the Custom XML file as attributes of the Application tag.
Custom XML Tag
Use the following XML tag to define Custom Properties for the Application Component within your Custom XML file:
|
Specialised Properties
The following specialised Properties are defined for the Application Component:
Application Properties
Default Property Values
The following default Property values are defined for the Application Component:
|
Property Name
|
Default Value
|
|
BarSizeRelativeToAPage
|
false
|
|
DefaultGraphsView
|
votes
|
|
SamplePageSize
|
5
|
|
AllowSorting
|
true
|
|
DataFile
|
Pollstar100.csv
|
|
VoteRecustomiseFile
|
undefined
|
|
AutoRefreshSeconds
|
0
|
|
LoadResourceSeconds
|
60
|
|
ShowResourceMarker
|
false
|
|
CacheResources
|
true
|
|
CacheCustomFile
|
false
|
|
Width
|
500
|
|
Height
|
350
|





