Skip navigation links
Mojarra 2.3.14.SP04-redhat-00001 2.3.14.SP04-redhat-00001
com.sun.faces.component

Class CompositeComponentStackManager

    • Method Detail

      • getManager

        public static CompositeComponentStackManager getManager(javax.faces.context.FacesContext ctx)
        Parameters:
        ctx - the FacesContext for the current request
        Returns:
        the CompositeComponentStackManager for the current request
      • push

        public boolean push(javax.faces.component.UIComponent compositeComponent)

        Pushes the specified composite component to the Evaluation stack.

        Parameters:
        compositeComponent - the component to push
        Returns:
        true if the component was pushed, otherwise returns false
      • push

        public boolean push(javax.faces.component.UIComponent compositeComponent,
                            CompositeComponentStackManager.StackType stackType)

        Pushes the specified composite component to the desired StackType stack.

        Parameters:
        compositeComponent - the component to push
        stackType - the stack to push to the component to
        Returns:
        true if the component was pushed, otherwise returns false
      • push

        public boolean push()

        Pushes a component derived by the push logic to the Evaluation stack.

        Returns:
        true if the component was pushed, otherwise returns false
      • push

        public boolean push(CompositeComponentStackManager.StackType stackType)

        Pushes a component derived by the push logic to the specified stack.

        Parameters:
        stackType - the stack to push to the component to
        Returns:
        true if the component was pushed, otherwise returns false
      • pop

        public void pop()

        Pops the top-level component from the Evaluation stack.

      • peek

        public javax.faces.component.UIComponent peek()
        Returns:
        the top-level component from the Evaluation stack without removing the element
      • peek

        public javax.faces.component.UIComponent peek(CompositeComponentStackManager.StackType stackType)
        Parameters:
        stackType - the stack to push to the component to
        Returns:
        the top-level component from the specified stack without removing the element
      • getParentCompositeComponent

        public javax.faces.component.UIComponent getParentCompositeComponent(CompositeComponentStackManager.StackType stackType,
                                                                             javax.faces.context.FacesContext ctx,
                                                                             javax.faces.component.UIComponent forComponent)
      • findCompositeComponentUsingLocation

        public javax.faces.component.UIComponent findCompositeComponentUsingLocation(javax.faces.context.FacesContext ctx,
                                                                                     javax.faces.view.Location location)
Mojarra 2.3.14.SP04-redhat-00001 2.3.14.SP04-redhat-00001

Copyright © 2010–2021 JBoss by Red Hat. All rights reserved.