Developer SectionAbout | Abilities | Resources | Developer Index
<fieldpine:bucket>AttributesName="Value" source="Value" order="Value" want="Value" select="Value" limit="Value" Result<fieldpine:chart>Attributestype="Value" size="Value" percent="Value" value="Value" ResultInsert a generated graphic, such as a chart or progress bar into the HTML stream. The type attribute defines the style of graphic to be inserted. Possible values are:
The size of the graphic can be set with the size attribute. This contains an X and Y size separated by a comma. Example: <fieldpine:chart type="progress" percent="36" size="300,40"> <fieldpine:if>Attributestest="Value" then="Value" else="Value" ResultThe boolean expression given in the test attribute is evaluated. If the result of this test is true, the then attribute string is inserted into the output HTML, otherwise the else attribute string is used. Boolean expressions are formed using Expr1 OP Expr2.
<fieldpine:loop>Attributesmaximum="Value" index="Value" position="Value" ResultStart a repeating sequence. The HTML generator repeats each of the lines between the LOOP and closing LOOP from POSITION to MAXIMUM. On each pass, the variable name given by the index attribute contains the number of the repetition. Example <fieldpine:map>Placeholder. Do not use. <fieldpine:pinboard>Lookup AttributesName="Value" Specifies the name of the pinboard to be retrieved. mask="Value" Defines an optional formatting mask to be used to prepare the value before output. variable="Value" Supplies and optional variable name to receive the pinboard value rather than displaying the result at this time. Defining Attributessql="Value" direct="Value" result="Value" server="Value" limit="Value" rc="Value" meta="Value" ResultPerforms a pinboard retrieval and displays the output value. <fieldpine:symbol>Places a value or token which is processed in some way into the output HTML stream. AttributesName="Value" mask="Value" ResultWhen the name attribute is date, datetime or time the generator inserts the current system date and/or time into the output stream. A mask can be specified to control how the value is formatted, but a default mask is provided for each of the values date, datetime and time. The only difference between these 3 values is the default mask, using name="date" allows you to reference any of the date or time fields. Equally, using name="time" still allows you to output parts of the date. If the optional mask parameter is supplied, the current date/time value is processed through a routine that behaves like the C function, strftime(). The following table shows the fields that can be used to create masks.
Example: <fieldpine:symbol name="date" mask="%d-%B-%Y"> When the name attribute is sitelogo the HTML generator inserts an HTML IMG tag referencing the current logo for this Server. A default Fieldpine logo is provided, however administrators are free to replace this logo with their own. Example: <fieldpine:symbol name="sitelogo"> When the name attribute is default-theme the HTML generator inserts the appropriate HTTP LINK headers for the users preferred style sheet, called a theme. The GDS server has a default system wide theme, however users can choose their own personal theme to suit their own requirements and tastes. If a user has chosen to have a personal theme, a cookie is stored into their browser, as this tag reads that cookie value are inserts the correct HTML. This tag should only be placed in the HEAD section of the HTML document. The server does not attempt to place the output in the head section if you incorrectly place the tag in the main BODY section. Example: <fieldpine:symbol name="default-theme"> <fieldpine:variable>AttributesName="Value" Defines the name of the variable to be processed. Variable names must only contain the letters A to Z or the number 0 to 9. The first character in a variable name must be a letter in the range A..Z. replace="Value" If the variable named has already been defined, this parameter controls whether this definition is to replace the existing variable definition. The default value of this parameter is "1", meaning to replace any existing value. This option is especially useful to define pre selected defaults on reports that can be overriden by the user as they work with the report. By defining the parameters with replace="0", the user is able to change parameters, but you can also be certain that a variable is always defined. display="Value" When set to "1", this parameter instructs the report generator to insert the variable into the output HTML as text. The default operation is to manipulate variables and not display them on the output HTML stream. formula="Value" Causes the variable value to be calculated using the formula given. Formulas are processed strictly left to right (and as such are not mathematically sound). We recommend only performing one operation per step in order to reduce later confusion. value="Value" if="Value" mask="Value" ResultVariable SubstitutionAs the HTML generator processes each line, the first step is to replace any variables present. Variables are enclosed inside percent signs to have them replaced. Example: The value of tloc is %tloc% Server Defined VariablesA number of predefined variables exist which can be read like ordinary variables. %remote-ipaddr% This variable holds the remote IP address of the caller in dotted numeric format, where available. Example: Set the variable tloc to Zero, unless the caller is coming from IP address 127.0.0.1 (the localhost), in which case the variable tloc is set to a value of 101. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||