Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1371

t:selectManyCheckbox layout differs between tomahawk and tomahawk12

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.8
    • 1.1.9
    • Html Tag
    • None
    • Gentoo Linux, Java 6 update 10, Mojarra 1.2_10, Firefox 3.0.4

    Description

      The layout rendered by t:selectManyCheckbos is different between tomahawk for JSF 1.1 and tomahawk for JSF 1.2. The code snippet below renders the actual checkbox to the left of the checkbox label with tomahawk and JSF 1.1. With tomahawk12 and JSF 1.2 the checkbox is rendered to the right of the checkbox label.

      ------------

      <?xml version="1.0" encoding="UTF-8" ?>
      <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:t="http://myfaces.apache.org/tomahawk" version="2.0">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <f:view>
      <head>
      <title>Checkbox Test</title>
      </head>
      <body>

      <t:selectManyCheckbox>
      <f:selectItem itemLabel="Test" itemValue="1"/>
      <f:selectItem itemLabel="Test2" itemValue="3"/>
      </t:selectManyCheckbox>
      </body>

      </f:view>
      </html>
      </jsp:root>

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            seimet Uwe Seimet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: