1.0
1.2
fr
http://fenix-ashes.ist.utl.pt/fenix-renderers
Generic TagLibs to render domain objects.
create
net.sourceforge.fenixedu.presentationTier.renderers.taglib.FenixCreateObjectTag
JSP
Renders a generic input presentation suitable for creating a new object.
id
false
true
java.lang.String
The 'id' of the input context. This attribute allows multiple create tags to be used
in the same page.
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.
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 persistent object that will be rendered.
slot
false
true
Allows to specify a slot directly without having to define a schema that contains
only that specific slot.
template
false
true
The JSP template to use when rendering the object. If both 'template' and 'layout' attributes
are specified, the behaviour is undefined.
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.
visible
false
true
Makes the editor invisible. This attribute can be used with an hidden tag to pass an hidden value.
validator
false
true
Allows to specify the validator class to be used.
converter
false
true
Allows to specify the converter class to be used.
service
false
true
The name of the service that should be called to make the changes to the domain.
edit
net.sourceforge.fenixedu.presentationTier.renderers.taglib.FenixEditObjectTag
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.
slot
false
true
Allows to specify a slot directly without having to define a schema that contains
only that specific slot.
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',
specifies 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'
specifies the identification of the persitent object that will be rendered.
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.
visible
false
true
Makes the editor invisible. This attribute can be used with an hidden tag to pass an hidden value.
validator
false
true
Allows to specify the validator class to be used.
converter
false
true
Allows to specify the converter class to be used.
service
false
true
The name of the service that should be called to make the changes to the domain.
validator
net.sourceforge.fenixedu.renderers.taglib.ValidatorTag
JSP
Allows you tho specify the validator of a slot edition and give extra properties to that validator.
name
false
true
The name of the validator class.
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?
view
net.sourceforge.fenixedu.presentationTier.renderers.taglib.FenixViewObjectTag
JSP
Renders a generic presentation of an object.
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.
type
false
true
java.lang.String
The Java type of the object. This attribute can be used to present the null value. If
you specify the type then even the null value will be presented has a value of the
given type.
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.
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.
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
JSP
Sets a specific property of the layout or validator.
name
true
true
The name of the property.
value
false
true
The value of the property. If this property is specified the body of the tag is ignored.
hidden
net.sourceforge.fenixedu.presentationTier.renderers.taglib.FenixHiddenSlotTag
empty
Permites the user to supply slots that are context dependant and are nor present
in the schema or provided by the user.
slot
false
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.
context
net.sourceforge.fenixedu.renderers.taglib.ContextTag
JSP
message
net.sourceforge.fenixedu.renderers.taglib.MessageTag
empty
for
false
true
java.lang.String
Selects the context id used to fetch the message.
show
false
true
java.lang.String
Selects what should be displayed. Possible options are 'label' or 'message'. If 'label' is choosen
then the label of the slot associated to the message will be printed. In all the other cases
the message itself is printed.
type
false
true
java.lang.String
Selects the type of the messages to show. The type can be one of 'global', 'validation',
or 'conversion'.
messages
net.sourceforge.fenixedu.renderers.taglib.MessagesTag
JSP
This tag is to be used as a parent of 'message' tags with no 'for' attribute.
for
false
true
java.lang.String
Selects the context id used to fetch the message.
type
false
true
java.lang.String
Selects the type of the messages to show. The type can be one of 'global', 'validation',
or 'conversion'.
hasMessages
net.sourceforge.fenixedu.renderers.taglib.HasMessagesTag
JSP
This tag is used to make a conditional inclusion of the body depending
if messages exist for the specified presentation context or the default
context.
for
false
true
java.lang.String
Selects the context id.
type
false
true
java.lang.String
Selects the type of the messages to show. The type can be one of 'global', 'validation',
or 'conversion'.
form
net.sourceforge.fenixedu.renderers.taglib.FormTag
JSP
id
false
true
java.lang.String
The form id;
action
false
true
java.lang.String
The path to were the form will be submited. This path is module-relative.
encoding
false
true
java.lang.String
Selects the encoding of the form.
target
false
true
java.lang.String
Selects the target of the form.
default
net.sourceforge.fenixedu.presentationTier.renderers.taglib.FenixDefaultValueTag
JSP
slot
true
true
java.lang.String
The name of the slot that is beeing configured
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).
converter
false
true
Allows to specify the converter class to be used.
value
false
true
java.lang.String
The custom value that will be used as the slot's value.
viewstate
net.sourceforge.fenixedu.renderers.taglib.EditViewStateTag
JSP
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).
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.
visible
false
true
Makes the editor invisible. This attribute can be used with an hidden tag to pass an hidden value.