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