| <?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 template="/main.xhtml" |
| xmlns="http://www.w3.org/1999/xhtml" |
| xmlns:tc="http://myfaces.apache.org/tobago/component" |
| xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> |
| |
| <ui:param name="hideGlobalMessages" value="true"/> |
| |
| <p>The output components display data in different ways.</p> |
| |
| <tc:section label="Output"> |
| <demo-highlight language="markup"><tc:out label="Output" value="Some Text"/></demo-highlight> |
| <tc:out id="o1" label="Output" value="Some Text"/> |
| </tc:section> |
| |
| <tc:section label="Label"> |
| <demo-highlight language="markup"><tc:label value="Some Text"/></demo-highlight> |
| <tc:label value="Some Text"/> |
| </tc:section> |
| |
| <tc:section label="Badge"> |
| <demo-highlight language="markup"><tc:badge value="Badge"/></demo-highlight> |
| <tc:badge value="Badge"/> |
| </tc:section> |
| |
| <tc:section label="Image"> |
| <demo-highlight language="markup"><tc:image value="image/tobago_head.png"/></demo-highlight> |
| <tc:image value="/image/tobago_head.png"/> |
| </tc:section> |
| |
| <tc:section label="Progress"> |
| <demo-highlight language="markup"><tc:progress value="2" max="3"/></demo-highlight> |
| <tc:progress value="2" max="3"/> |
| </tc:section> |
| |
| <tc:section label="Object"> |
| <demo-highlight language="markup"><tc:object src="https://www.openstreetmap.org/..."/></demo-highlight> |
| <tc:object src="https://www.openstreetmap.org/export/embed.html?bbox=-60.75,11.15,-60.6,11.35"> |
| <tc:style width="100%" height="50vmin"/> |
| </tc:object> |
| </tc:section> |
| </ui:composition> |