1.0
1.2
ft
http://fenix-ashes.ist.utl.pt/fenix-template
Generic TagLibs to use inside templates.
define
net.sourceforge.fenixedu.renderers.taglib.DefineTag
net.sourceforge.fenixedu.renderers.taglib.DefineTei
empty
Defines the object beeing rendered or one of it's properties in the page scope.
id
true
true
The name defined in the page and that will be associated with the value.
property
false
true
The name of one of the properties of the rendered object. If this attribute is not
specified then the rendered object itself will be used and defined in the page.
type
false
true
The type of the value that will be defined in the page.
label
net.sourceforge.fenixedu.renderers.taglib.LabelTag
empty
Selects the text to show as label of a property from the render resources.
property
false
true
The name of the target property.
bundle
false
true
The name of the resource bundle to use.
key
false
true
The specific key that will be used first when selecting the label.
view
net.sourceforge.fenixedu.renderers.taglib.TemplateViewObjectTag
JSP
Renders a generic presentation of a domain object.
name
false
true
java.lang.String
Specifies the name of the page attribute to fetch. This attribute is related to
'scope'. If this attribute is not given the tag assumes that the developer is
refering to the object beeing rendered in the template.
property
false
true
Specifies the name of the property to fetch. The value must follow the Apache BeanUtils
naming convention for bean properties. If this attribute is not specified then the
object refered with the attribute 'name' will be used.
scope
false
true
The scope where the object will be searched. If no scope is specified the object will be
searched using PageScope.findAttribute(name).
layout
false
true
Indicates wich specific layout will be used to render the object.
schema
false
true
Selects one of the predefined schemas by name. The name specified in this attribute
will be used to obtain a schema to use when rendering the object.
template
false
true
The JSP template to use when rendering the object. If both 'template' and 'layout' attributes
are specified, the behaviour is undefined.
sortBy
false
true
The criteria used to sort the List to be presented. This attribute has no meaning if
any other type of object is beeing presented.
layout
net.sourceforge.fenixedu.renderers.taglib.LayoutConfigTag
JSP
Allows selection and configuration of a specific layout. The use of this tag overrides the
attributes 'layout' and 'template' of the parent tag.
name
false
true
The name of the layout that will be used to render the object.
property
net.sourceforge.fenixedu.renderers.taglib.PropertyTag
empty
Sets a specific property of the layout.
name
true
true
The name of the property.
value
true
true
The value of the property.
edit
net.sourceforge.fenixedu.renderers.taglib.TemplateEditObjectTag
JSP
Renders a generic input presentation of an object.
id
false
true
java.lang.String
The 'id' of the input context. This attribute allows multiple edit tags to be used
in the same page.
name
false
true
java.lang.String
Specifies the name of the page attribute to fetch. This attribute is related to
'scope'.
property
false
true
Specifies the name of the property to fetch. The value must follow the Apache BeanUtils
naming convention for bean properties. If this attribute is not specified then the
object refered with the attribute 'name' will be used.
scope
false
true
The scope where the object will be searched. If no scope is specified the object will be
searched using PageContext.findAttribute(name).
layout
false
true
Indicates wich specific layout will be used to render the object.
schema
false
true
Selects one of the predefined schemas by name. The name specified in this attribute
will be used to obtain a schema to use when rendering the object.
action
false
true
Specifies the target of the form. This attribute is similar with the action attribute
of the Struts html:form taglib.
nested
false
true
Indicates if the tag is beeing used inside. This controls if a form tag is generated or not.
slot
false
true
Allows to specify a slot directly without having to define a schema that contains
only that specific slot.
destination
net.sourceforge.fenixedu.renderers.taglib.EditLinkTag
empty
Configures the destination when everything is ok.
name
true
true
The name of the destination.
path
false
true
The destination path.
module
false
true
The destination module. The module is used as a prefix of path.
redirect
false
true
Issue redirect to destination?
hidden
net.sourceforge.fenixedu.presentationTier.renderers.taglib.FenixHiddenSlotTag
JSP
Permites the user to supply slots that are context dependant and are nor present
in the schema or provided by the user.
slot
true
true
java.lang.String
The target slot wich value is beiing supplied.
name
false
true
java.lang.String
Specifies the name of the page attribute to fetch. This attribute is related to
'scope'.
property
false
true
java.lang.String
Specifies the name of the property to fetch. The value must follow the Apache BeanUtils
naming convention for bean properties. If this attribute is not specified then the
object refered with the attribute 'name' will be used.
oid
false
true
java.lang.String
The identification number of the object.
If the attribute 'name' is not specified this attribute together with the attribute 'type'
specify the identification of the persistent object that will be rendered.
type
false
true
java.lang.String
The Java type of the object.
If the attribute 'name' is not specified this attribute together with the attribute 'oid'
specify the identification of the persitent object that will be rendered.
scope
false
true
The scope where the object will be searched. If no scope is specified the object will be
searched using PageContext.findAttribute(name).
value
false
true
java.lang.String
The custom value that will be used as the slot's value.
converter
false
true
java.lang.String
The converter used to convert the value given to the destination value.
multiple
false
true
java.lang.Boolean
Indicates that that all values for the slot should be collected in a list.