Class FacesComponentUtility


  • public final class FacesComponentUtility
    extends java.lang.Object
    Functions to work with UIComponents
    Author:
    Yuriy Movchan Date: 08.10.2011
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void dumpComponentsTree()  
      static void dumpComponentsTree​(java.util.List<javax.faces.component.UIComponent> componetns, int level)  
      static javax.faces.component.UIComponent findComponentById​(java.lang.String compId)  
      static java.lang.String getMessageFromBundle​(java.lang.String messageId)
      Get the field label.
      static void resetInputComponents​(java.lang.String rootCompId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMessageFromBundle

        public static java.lang.String getMessageFromBundle​(java.lang.String messageId)
        Get the field label.
        Parameters:
        messageId - id of message in the resourcebundle
        Returns:
        Message from the Message Source.
      • resetInputComponents

        public static void resetInputComponents​(java.lang.String rootCompId)
      • dumpComponentsTree

        public static void dumpComponentsTree​(java.util.List<javax.faces.component.UIComponent> componetns,
                                              int level)
      • dumpComponentsTree

        public static void dumpComponentsTree()
      • findComponentById

        public static javax.faces.component.UIComponent findComponentById​(java.lang.String compId)