Class UIViewAction

    • Constructor Detail

      • UIViewAction

        public UIViewAction()
    • Method Detail

      • isRendered

        public boolean isRendered()
        Description copied from class: UIComponentBase
        A boolean value that indicates whether this component should be rendered. Default value: true.
        Overrides:
        isRendered in class UIComponentBase
      • broadcast

        public void broadcast​(FacesEvent event)
                       throws AbortProcessingException
        Description copied from class: UIComponentBase
        Invoke any listeners attached to this object which are listening for an event whose type matches the specified event's runtime type.

        This method does not propagate the event up to parent components, ie listeners attached to parent components don't automatically get called.

        If any of the listeners throws AbortProcessingException then that exception will prevent any further listener callbacks from occurring, and the exception propagates out of this method without alteration.

        ActionEvent events are typically queued by the renderer associated with this component in its decode method; ValueChangeEvent events by the component's validate method. In either case the event's source property references a component. At some later time the UIViewRoot component iterates over its queued events and invokes the broadcast method on each event's source object.

        Overrides:
        broadcast in class UIComponentBase
        Parameters:
        event - must not be null.
        Throws:
        AbortProcessingException
      • decode

        public void decode​(FacesContext context)
        Description copied from class: UIComponentBase
        Check the submitted form parameters for data associated with this component. This default implementation delegates to this component's renderer if there is one, and otherwise ignores the call.
        Overrides:
        decode in class UIComponentBase
      • getActionExpression

        @JSFProperty(stateHolder=true,
                     returnSignature="java.lang.Object",
                     clientEvent="action")
        public jakarta.el.MethodExpression getActionExpression()
        Specified by:
        getActionExpression in interface ActionSource2
      • setActionExpression

        public void setActionExpression​(jakarta.el.MethodExpression actionExpression)
        Specified by:
        setActionExpression in interface ActionSource2
      • getActionListeners

        @JSFListener(event="jakarta.faces.event.ActionEvent",
                     phases="Invoke Application, Apply Request Values")
        public ActionListener[] getActionListeners()
        Specified by:
        getActionListeners in interface ActionSource
      • getPhase

        @JSFProperty
        public String getPhase()
      • setPhase

        public void setPhase​(String phase)
      • isOnPostback

        @JSFProperty
        public boolean isOnPostback()
      • setOnPostback

        public void setOnPostback​(boolean onPostback)
      • isProcessingBroadcast

        public static boolean isProcessingBroadcast​(FacesContext context)