2009/05/20 - Apache Shale has been retired.

For more information, please explore the Attic.

Tag reference sheet

Tag library reference for the following tag libraries:

Shale Framework Core JSF Components and Tags

This tag library contains tags for the core JSF components supported by the Shale Framework, plus additional custom tag handlers as required.

This is version 1.0.

  • token Render a hidden input field whose value is the transaction token for the containing form
  • commonsValidator Provides access to Commons Validators
  • subview Provide ViewController support functionality for the nested content (typically a JSP dynamic include) of this component
  • validatorScript Generates JavaScript required for validation
  • validatorVar Parameters for specific validators
Required attributes are marked with a *

<s:token>

Render a hidden input field whose value is the transaction token for the containing form. The token component must be the last input component child of the parent form to be processed.

Can contain: empty

Attributes

NameDescriptionType
binding Value binding expression used to bind this component instance to a backing bean property. String
id Component identifier of this component. If specified, this identifier must be unique within the context of the closest parent UIComponent that is a NamingContainer. String
messageDetail Default messageDetail override used to reporting a token verification failure. String
messageSummary Default messageSummary override used to reporting a token verification failure. String
rendered Flag indicating whether this component should be rendered. Default value is true. String

<s:commonsValidator>

Provides access to Commons Validators. @deprecated Use the "commonsValidator" tag from tag library "http://shale.apache.org/validator" (in shale-validator-xxx.jar) instead of this tag.

Can contain: JSP

Attributes

NameDescriptionType
arg A value that's plugged into the message String
client If true, validation is performed on the client String
datePatternStrict A date pattern using syntax defined in java.text.SimpleDateFormat String
mask A regular expression to which the value must conform String
max The maximum valid value String
maxlength The maximum valid length of the field String
message A message displayed when validation fails String
min The minimum valid value String
minlength The minimum valid length of the field String
server If true, validation is performed on the server String
type The type of validator associated with this tag String

<s:subview>

Provide ViewController support functionality for the nested content (typically a JSP dynamic include) of this component. @deprecated Use the "subview" tag from tag library "http://shale.apache.org/view" (in shale-view-xxx.jar) instead of this tag.

Can contain: JSP

Attributes

NameDescriptionType
binding Value binding expression used to bind this component instance to a backing bean property. String
id* Component identifier of this component. If specified, this identifier must be unique within the context of the closest parent UIComponent that is a NamingContainer. String
rendered Flag indicating whether this component should be rendered. Default value is true. String

<s:validatorScript>

Generates JavaScript required for validation. @deprecated Use the "validatorScript" tag from tag library "http://shale.apache.org/validator" (in shale-validator-xxx.jar) instead of this tag.

Can contain: empty

Attributes

NameDescriptionType
functionName* The name of the function to generate. String

<s:validatorVar>

Parameters for specific validators. @deprecated Use the "subview" tag from tag library "http://shale.apache.org/view" (in shale-view-xxx.jar) instead of this tag.

Can contain: empty

Attributes

NameDescriptionType
name* The name of the parameter. String
value* The value of the parameter. String