META-INF.maven-faces-plugin.components.trinidad.ComponentBase.xml Maven / Gradle / Ivy
<?xml version="1.0" ?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin" xmlns:fmd="http://java.sun.com/xml/ns/javaee/faces/design-time-metadata"> <component> <component-type>org.apache.myfaces.trinidad.ComponentBase</component-type> <component-class>org.apache.myfaces.trinidad.component.UIXComponentBase</component-class> <property> <!-- description>The reference to the Java method that will be invoked when an AttributeChangeEvent is broadcast by this component. The method signature takes a single AttributeChangeEvent parameter and returns void.</description --> <description>a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.</description> <property-name>attributeChangeListener</property-name> <property-class>javax.el.MethodExpression</property-class> <property-extension> <mfp:property-metadata/> <mfp:method-binding-signature> <mfp:parameter-type>org.apache.myfaces.trinidad.event.AttributeChangeEvent</mfp:parameter-type> <mfp:return-type>void</mfp:return-type> </mfp:method-binding-signature> <fmd:property-metadata> <fmd:expert>true</fmd:expert> </fmd:property-metadata> </property-extension> </property> <component-extension> <mfp:component-supertype>javax.faces.Component</mfp:component-supertype> <mfp:tag-class>org.apache.myfaces.trinidad.webapp.UIXComponentELTag</mfp:tag-class> <mfp:component-class-modifier>abstract</mfp:component-class-modifier> <mfp:event> <mfp:event-type>org.apache.myfaces.trinidad.AttributeChange</mfp:event-type> <mfp:event-delivery-phase>Invoke Application</mfp:event-delivery-phase> <mfp:event-delivery-phase>Apply Request Values</mfp:event-delivery-phase> </mfp:event> </component-extension> </component> </faces-config>