javax.faces.webapp

Class UIComponentELTag

    • Constructor Detail

      • UIComponentELTag

        public UIComponentELTag()
    • Method Detail

      • setBinding

        public void setBinding(ValueExpression binding)
                        throws JspException

        Set the value expression for our component.

        Parameters:
        binding - The new value expression
        Throws:
        JspException - if an error occurs
      • hasBinding

        protected boolean hasBinding()
        Description copied from class: UIComponentClassicTagBase

        Return true if this component has a non-null binding attribute. This method is necessary to allow subclasses that expose the binding property as an Faces 1.1 style EL property as well as subclasses that expose it as an EL API property.

        Specified by:
        hasBinding in class UIComponentClassicTagBase
      • setRendered

        public void setRendered(ValueExpression rendered)

        Set an override for the rendered attribute.

        Parameters:
        rendered - The new value for rendered attribute
      • setProperties

        protected void setProperties(UIComponent component)

        Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. This method must be called ONLY if the specified UIComponent was in fact created during the execution of this tag handler instance, and this call will occur BEFORE the UIComponent is added to the view.

        Tag subclasses that want to support additional set properties must ensure that the base class setProperties() method is still called. A typical implementation that supports extra properties foo and bar would look something like this:

         protected void setProperties(UIComponent component) {
           super.setProperties(component);
           if (foo != null) {
             component.setAttribute("foo", foo);
           }
           if (bar != null) {
             component.setAttribute("bar", bar);
           }
         }
         

        The default implementation overrides the following properties:

        • rendered - Set if a value for the rendered property is specified for this tag handler instance.
        • rendererType - Set if the getRendererType() method returns a non-null value.
        Specified by:
        setProperties in class UIComponentClassicTagBase
        Parameters:
        component - UIComponent whose properties are to be overridden

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/faces/webapp/UIComponentELTag.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com, UIComponentELTag (Java(TM) EE 7 Specification APIs)

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.