META-INF.maven-faces-plugin.components.trinidad.html.HtmlHead.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="utf-8"?> <!-- 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:trh="http://myfaces.apache.org/trinidad/html" xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin" xmlns:fmd="http://java.sun.com/xml/ns/javaee/faces/design-time-metadata"> <component> <description><![CDATA[Tag for the HTML head element.]]></description> <icon> <small-icon>/org/apache/myfaces/trinidadinternal/metadata/icons/head.gif</small-icon> </icon> <component-type>org.apache.myfaces.trinidad.HtmlHead</component-type> <component-class>org.apache.myfaces.trinidad.component.html.HtmlHead</component-class> <property> <description><![CDATA[The title of the document. (This title doesn't have to match the title on any contained panelPage.)]]> </description> <property-name>title</property-name> <property-class>java.lang.String</property-class> <suggested-value>Title {0}</suggested-value> <property-extension> <mfp:property-metadata/> <fmd:property-metadata> <fmd:preferred>true</fmd:preferred> </fmd:property-metadata> </property-extension> </property> <property> <description><![CDATA[the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too.]]> </description> <property-name>partialTriggers</property-name> <property-class>java.lang.String[]</property-class> <property-extension> <mfp:mutable>rarely</mfp:mutable> <mfp:property-metadata> <mfp:multi-scoped-id-holder>true</mfp:multi-scoped-id-holder> </mfp:property-metadata> </property-extension> </property> <component-extension> <mfp:component-family>org.apache.myfaces.trinidad.Head</mfp:component-family> <mfp:component-supertype>org.apache.myfaces.trinidad.ComponentBase</mfp:component-supertype> <mfp:renderer-type>org.apache.myfaces.trinidad.Head</mfp:renderer-type> <mfp:tag-name>trh:head</mfp:tag-name> <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.html.HtmlHeadTag</mfp:tag-class> <mfp:long-description><![CDATA[<html:p> Tag for the HTML head element, including the document's title and any style sheets needed by th current look-and-feel. Page authors that use this do not need to use a styleSheet component, as it will automatically be included. </html:p> <html:p> The head component resets the Trinidad EL context when code re-enters the component via an invoke on component call or a visit tree call. See the org.apache.myfaces.trinidad.context.ComponentContextManager for more information. </html:p>]]> </mfp:long-description> <mfp:example> <mfp:source-code> <![CDATA[ <trh:head title="The Title"/> ]]> </mfp:source-code> </mfp:example> <mfp:author>Blake Sullivan</mfp:author> <mfp:component-metadata/> <mfp:uix2-local-name>head</mfp:uix2-local-name> <fmd:component-metadata> <fmd:default-property>title</fmd:default-property> <fmd:required-ancestor-contracts>org-apache-myfaces-trinidad-htmlhead-holder</fmd:required-ancestor-contracts> </fmd:component-metadata> </component-extension> </component> </faces-config>