1.0 1.2 fr http://fenix-ashes.ist.utl.pt/fenix-renderers Generic TagLibs to render domain objects. create pt.ist.fenixWebFramework.rendererExtensions.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 to be created. 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. required false true If slot is required. Has the same result of adding pt.ist.fenixWebFramework.renderers.validators.RequiredValidator using validator tag 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 pt.ist.fenixWebFramework.rendererExtensions.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. required false true If slot is required. Has the same result of adding pt.ist.fenixWebFramework.renderers.validators.RequiredValidator using validator tag 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 pt.ist.fenixWebFramework.renderers.taglib.ValidatorTag JSP Allows you tho specify the validator of a slot edition and give extra properties to that validator. name false true **DEPRECATED** The name of the validator class. This attribute is deprecated, use class instead! class false true The name of the validator class. destination pt.ist.fenixWebFramework.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 pt.ist.fenixWebFramework.rendererExtensions.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. schema pt.ist.fenixWebFramework.renderers.taglib.SchemaConfigTag JSP Allows to define an anonymous schema on the fly. bundle true true Bundle to use in schema type true true Class type slot pt.ist.fenixWebFramework.renderers.taglib.SchemaSlotConfigTag JSP Defines a slot from the schema. name true true The name of the slot validator false true Validators class readOnly false true If slot is read-only required false true If slot is required. Has the same result of adding pt.ist.fenixWebFramework.renderers.validators.RequiredValidator using validator tag bundle false true Localization bundle to use key false true Label key to use arg0 false true Label argument0 to use for key layout false true Layout for slot help false true Displays on hover help layout pt.ist.fenixWebFramework.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 pt.ist.fenixWebFramework.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 pt.ist.fenixWebFramework.rendererExtensions.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 pt.ist.fenixWebFramework.renderers.taglib.ContextTag JSP message pt.ist.fenixWebFramework.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 pt.ist.fenixWebFramework.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 pt.ist.fenixWebFramework.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 pt.ist.fenixWebFramework.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. confirmationNeeded false true java.lang.Boolean Indicates if the form needs confirmation bundle false true java.lang.String Bundle used for confirmation labels. titleKey false true java.lang.String Title Key for confirmation dialog messageKey false true java.lang.String Message Key for confirmation dialog okKey false true java.lang.String Ok Key Button for confirmation dialog cancelKey false true java.lang.String Cancel Key Button for confirmation dialog default pt.ist.fenixWebFramework.rendererExtensions.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 pt.ist.fenixWebFramework.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. link pt.ist.fenixWebFramework.renderers.taglib.LinkFormatTag empty Used to create links inside layout tag name true false java.lang.String Specifies the name of the link. link true true java.lang.String Specifies the url to be used in link. Example: '/myAction.do?method=myMethod&oid=${oid}' -> oid will be replaced by invoking getOid in current object '/myAction.do?method=myMethod&valueA=value' ]]> label true true java.lang.String Specifies the key as the link label and the name of the bundle where to search key. Examples: 1 - label='my.key' 2 - label='my.key,MY_BUNDLE' if label is empty then jsp will not compile. If bundle is empty then no bundle is set and renderers will try to find label ]]> bundle false true java.lang.String Specifies the name of the bundle to search for given key. condition false false java.lang.String Specifies the condition used to check if link can be rendered or not. Condition must be any method of object being rendered. For now, you can use condition like this: 1 - 'objectMethod' : link is visible if objectMethod returns true 2 - '!objectMethod' : link is visible if !objectMethod returns true ]]> order false true java.lang.String Specifies the order of link. confirmation false true java.lang.String Specifies the key and the name of the bundle used in the confirmation message. Examples: 1 - confirmation='my.key' 2 - confirmation='my.key,MY_BUNDLE' if confirmation is empty then is ignored. If bundle is empty then no bundle is set and renderers will try to find the key ]]> target false true java.lang.String Specifies target used in link. Accepted values: 1 - _blank / blank 2 - _self / self 3 - _parent / parent 4 -_top / top if no value specified then is ignored ]]> module false false java.lang.String Set the context for this link. This context, if given, is prepended to the link. If it is not given it will prepend the context associated with the action that generated the page. ]]> contextRelative false false java.lang.String Set if the link is context relative. ]]> hasContext false false java.lang.String Set if the link will have a context. ]]>