blob: 3b914b1bf2077bd25d57bcfd3d800da411be1ecd [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 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">
<p>The TX-library is no longer supported. Use components from the TC-library.</p>
<tc:section label="Replacements">
<p>Most components of the TX-library can be also found in the TC-library.
The names are still the same. For example instead of
<code class="language-markup">&lt;tx:in></code> and <code class="language-markup">&lt;tx:textarea></code>
you should be use
<code class="language-markup">&lt;tc:in></code> and <code class="language-markup">&lt;tc:textarea></code>.
However, there are a few exceptions described in the following sections.</p>
<tc:section label="&lt;tx:label>">
<p><code class="language-markup">&lt;tx:label></code> is not available anymore.
Please use <code class="language-markup">&lt;tc:label></code> or the <code>label</code> attribute instead.</p>
</tc:section>
<tc:section label="&lt;tx:menuCheckbox> &lt;tx:menuRadio>">
<p><code class="language-markup">&lt;tc:menu></code> is deprecated.
Use dropdown-menus instead. Have a look at 'Dropdown'-section of the
<tc:link label="Button and Link"
outcome="/content/20-component/040-command/00-button-link/Button_and_Link.xhtml"/> page.</p>
</tc:section>
<tc:section label="&lt;tx:time">
<p><code class="language-markup">&lt;tx:time></code> has no counterpart of the same name.
Instead use <code class="language-markup">&lt;tc:date></code>.</p>
</tc:section>
</tc:section>
</ui:composition>