Thanks to SourceForge Logo for hosting this site. Back to main page

5. Tag reference

application

Synopsis

<application [ name="Window Title" ] database="dbms://server/databasename"
	[ formclass="Form.pike" ] [ code="code.pike" ]
	[ start="Artículos" ] >
...
</application>

Semantics

Definition of some basic application information and global defaults.

Contained by

It is the root tag.

Attributes

name(optional): Set the title for the main window.
database(mandatory): Set the database to be used in URL format, as defined in Pike's Sql.Sql specification
formclass(optional): Set a user-provided class for data entry forms skeleton.
code(optional): Set a global utility code file.
start(optional): Set a view or function to be run at the application start.

Contains

table, relationship, view, menu, toolbar.

button

Synopsis

		

Semantics

Contained by

Attributes

column

Synopsis

	

Semantics

Contained by

Attributes

Contains

field(1)

Synopsis

<field name="fieldname" [ type="char|integer|real|bool" ] [ size="size" ]
	default="defaultvalue" caption="caption for forms" [ pk="yes" ] />

Semantics

Defines a field of the container table.

Contained by

table

Attributes

name(mandatory): The name of the field.
type(optional): The data type. The default is char.
size(optional): The max size of the field in characters. Defaults are 50 for char, 8 for int, 10 for real and 3 for bool.
default(optional): The default value when inserting records.
caption(optional): Caption for presentation in forms, default is the field name.
pk(optional): If the field belongs to the primary key.

field(2)

Synopsis

		

Semantics

Contained by

Attributes

layout

Synopsis

	

Semantics

Contained by

Attributes

Contains

link

Synopsis

	

Semantics

Contained by

Attributes

Contains

lookupfield

Synopsis

	

Semantics

Contained by

Attributes

Contains

menu

Synopsis

	

Semantics

Contained by

Attributes

Contains

navigator

Synopsis

	

Semantics

Contained by

Attributes

Contains

newline

Synopsis

	

Semantics

Contained by

Attributes

Contains

relationship

Synopsis

	

Semantics

Contained by

Attributes

Contains

submenu

Synopsis

	

Semantics

Contained by

Attributes

Contains

table

Synopsis

<table name="tablename" >
...
</table>

Semantics

Defines of a table from the specified database.

Contained by

application.

Attributes

name(mandatory): The name of the table.

Contains

field(1).

toolbar

Synopsis

	

Semantics

Contained by

Attributes

Contains

view

Synopsis

	

Semantics

Contained by

Attributes

Contains