Project Documentation


Tag name: <s:ifMessage>
UIComponent class: org.apache.myfaces.custom.ifmessage.IfMessage
Tag class: org.apache.myfaces.custom.ifmessage.IfMessageTag
Component type: org.apache.myfaces.IfMessage
Component family: javax.faces.Panel
Renderer type: org.apache.myfaces.IfMessageRenderer
Renderer class: org.apache.myfaces.custom.ifmessage.IfMessageRenderer

Provide a component that will optionally render its children if the specified component(s) specified has a message. Renders children if any of the component(s) specified in "for" has a message in the context.


Name Type Supports EL? Description
binding org.apache.myfaces.custom.ifmessage.IfMessage Only EL Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
for String Yes
id String Yes Get a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
rendered boolean Yes A boolean value that indicates whether this component should be rendered. Default value: true.