org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml
Class HiddenLabelUtils

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.HiddenLabelUtils

public class HiddenLabelUtils
extends java.lang.Object

Utilities for outputting the hidden labels required for accessibility support.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/base/xhtml/HiddenLabelUtils.java#0 $) $Date: 10-nov-2005.18:53:55 $
Author:
The Oracle ADF Faces Team

Method Summary
static void outputHiddenLabel(UIXRenderingContext context, java.lang.String id, java.lang.Object text, javax.faces.component.UIComponent component)
          Outputs a hidden label.
static void rememberLabel(UIXRenderingContext context, java.lang.Object id)
          Remembers that a "normal" hidden label has already been outputted.
static boolean supportsHiddenLabels(UIXRenderingContext context)
          Identifies whether the current agent supports the hidden label trick.
 
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(UIXRenderingContext context)
Identifies whether the current agent supports the hidden label trick.


outputHiddenLabel

public static void outputHiddenLabel(UIXRenderingContext context,
                                     java.lang.String id,
                                     java.lang.Object text,
                                     javax.faces.component.UIComponent component)
                              throws java.io.IOException
Outputs a hidden label.

Parameters:
component -
Throws:
java.io.IOException

rememberLabel

public static void rememberLabel(UIXRenderingContext context,
                                 java.lang.Object id)
Remembers that a "normal" hidden label has already been outputted. Note that this really is distinct from FormRenderer.addLabelMapping(); the latter is called whether or not we've actually outputted a


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