blob: 2b3cc7f7256975b3fc98f9d6c7535d040e5cc415 [file] [log] [blame]
<?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.
-->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:tr="http://myfaces.apache.org/trinidad">
The chooseColor control creates a palette for picking colors. A chooseColor can display two sets of colors:
<tr:panelList >
<tr:outputText value="A set of standard colors, as specified by the colorData attribute."/>
<tr:outputText value="A set of custom colors which extend the set of colors available in the standard palette.
Custom colors are specified by the customColorData attribute."/>
</tr:panelList>
<tr:spacer height="12px"/>
<tr:outputText value="Both the colorData and customColorData attributes accept both List and array objects,
each of which contain one java.awt.Color instance for each color to display. "/>
</ui:composition>