org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class HiddenLabelUtils

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.HiddenLabelUtils

public class HiddenLabelUtils
extends java.lang.Object


Method Summary
static void outputHiddenLabel(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, java.lang.String id, java.lang.Object text, javax.faces.component.UIComponent component)
          Outputs a hidden label.
static void outputHiddenLabelIfNeeded(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, java.lang.String id, java.lang.Object text, javax.faces.component.UIComponent component)
          Outputs a hidden label.
static void rememberLabel(org.apache.myfaces.trinidad.context.RenderingContext arc, java.lang.Object id)
          Remembers that a "normal" hidden label has already been outputted.
static boolean supportsHiddenLabels(org.apache.myfaces.trinidad.context.RenderingContext arc)
          Identifies whether the current agent supports the hidden label trick.
static boolean wantsHiddenLabel(org.apache.myfaces.trinidad.context.RenderingContext arc, java.lang.String id)
          Returns true if we want a hidden label for a particular ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

supportsHiddenLabels

public static boolean supportsHiddenLabels(org.apache.myfaces.trinidad.context.RenderingContext arc)
Identifies whether the current agent supports the hidden label trick.


wantsHiddenLabel

public static boolean wantsHiddenLabel(org.apache.myfaces.trinidad.context.RenderingContext arc,
                                       java.lang.String id)
Returns true if we want a hidden label for a particular ID.


outputHiddenLabelIfNeeded

public static void outputHiddenLabelIfNeeded(javax.faces.context.FacesContext context,
                                             org.apache.myfaces.trinidad.context.RenderingContext arc,
                                             java.lang.String id,
                                             java.lang.Object text,
                                             javax.faces.component.UIComponent component)
                                      throws java.io.IOException
Outputs a hidden label.

Throws:
java.io.IOException

outputHiddenLabel

public static void outputHiddenLabel(javax.faces.context.FacesContext context,
                                     org.apache.myfaces.trinidad.context.RenderingContext arc,
                                     java.lang.String id,
                                     java.lang.Object text,
                                     javax.faces.component.UIComponent component)
                              throws java.io.IOException
Outputs a hidden label.

Throws:
java.io.IOException

rememberLabel

public static void rememberLabel(org.apache.myfaces.trinidad.context.RenderingContext arc,
                                 java.lang.Object id)
Remembers that a "normal" hidden label has already been outputted.



Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.