Apache Trinidad Core
1.2.12
tr
http://myfaces.apache.org/trinidad
org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
The forEach tag is a replacement for the JSTL <c:forEach> tag.
As of JSF 1.2/JSP 2.1/JSTL 1.2, the regular <c:forEach> tag
does work with JSF components. However, it does not support varStatus
with JSF! (Unlike c:forEach, tr:forEach doesn't currently support anything
for "items" other than arrays and lists.)
forEach
org.apache.myfaces.trinidadinternal.taglib.ForEachTag
JSP
the items over which iteration takes place
items
the name of the variable to expose
var
false
Name of the exported scoped variable for the
status of the iteration.
varStatus
false
the beginning index
begin
java.lang.Integer
the ending index
end
java.lang.Integer
the number of steps per iteration
step
java.lang.Integer
The setActionListener tag provides a declarative syntax for assigning values before an action fires
setActionListener
org.apache.myfaces.trinidadinternal.taglib.listener.SetActionListenerTag
empty
the target for the value; must be an EL expression
to
true
the source of the value; can be an EL expression or a constant value
from
true
fileDownloadActionListener
org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListenerTag
empty
The fileDownloadActionListener tag provides a declarative syntax for downloading files to a user from a command component.
the content or mime type of the file - e.g., text/html or application/pdf
contentType
the desired or proposed filename. If set, the user will typically be presented with a "Save File" dialog, though this is ultimately at the descretion of the user agent.
filename
an EL binding to the method that will deliver the file contents. The method must take two parameters, a FacesContext and an OutputStream.
method
true
void myMethod(javax.faces.context.FacesContext, java.io.OutputStream)
The returnActionListener tag is a declarative way to allow an action source to return
a value from a dialog or process.
returnActionListener
org.apache.myfaces.trinidadinternal.taglib.listener.ReturnActionListenerTag
empty
The value to return as the dialog/process result.
This can be an EL expression or a constant value.
value
The resetActionListener tag provides a declarative syntax for resetting values before an action fires
resetActionListener
org.apache.myfaces.trinidadinternal.taglib.listener.ResetActionListenerTag
empty
The componentRef tag adds declarative components onto the current
component tree. The declarative component is usually defined in a jsp
file. It is currently experimental and should not be used by
developers.
componentRef
org.apache.myfaces.trinidadinternal.taglib.ComponentRefTag
JSP
Identifies which declarative component to use.
All the available components must be
declared in a region-metadata.xml file.
componentType
true
This ID must be unique within this page.
id
true
A value to pass to the component definition.
value
false
Whether or not this component is rendered.
rendered
false
The componentDef tag is used to define a component. Its primary purpose
is defining a "var" property so that the definition can refer to attributes
on this component's usage.
componentDef
org.apache.myfaces.trinidadinternal.taglib.ComponentDefTag
JSP
the variable name to use when referencing attributes, that may be set
on this new component.
var
false
The facetRef tag is used to copy facets from a component
and paste them into its
definition. This tag may only be used within an <tr:componentDef>
tag.
Each facet may be used only once within each
<tr:componentDef>. In other words, a single facet cannot be
used more than once.
facetRef
org.apache.myfaces.trinidadinternal.taglib.FacetRefTag
JSP
the facet name to copy
facetName
false