Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-7

Palette component error marker appears on the line below the component when validation fails.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Abandoned
    • 5.0.15
    • None
    • None
    • None
    • Windows XP, IE 7.0.5730.13, FireFox 2.0.0.14, Tapestry 5.0.11, Eclipse 3.3.2 Maven 2.0.9, Run-Jetty-Run

    Description

      I have overridden the following CSS classes to make the palette fields smaller:

      div.t-palette-available SELECT {
      width: 100px;
      float: left;
      }
      div.t-palette-selected SELECT {
      width: 100px;
      float: left;
      clear: right;
      }

      The HTML for the palette displaying the error X icon on the next line looks like:

      <div class="t-beaneditor-row">
      <label class="t-error" for="keywords" id="keywords:label">Keywords</label>
      <input id="keywords:values" name="keywords:values" type="hidden" value="[]">
      <div class="t-palette">
      <div class="t-palette-available">
      <div class="t-palette-title">Available</div>
      <select id="keywords:avail" multiple="multiple" name="keywords:avail" size="7">
      <option value="31">word4
      </select>
      </div>
      <div class="t-palette-controls">
      <button disabled="disabled" id="keywords:select">
      <img alt="Select >" src="assets/tapestry/corelib/components/select.png">
      </button>
      <button disabled="disabled" id="keywords:deselect">
      <img alt="< Deselect" src="assets/tapestry/corelib/components/deselect.png">
      </button>
      </div>
      <div class="t-palette-selected">
      <div class="t-palette-title">Selected</div>
      <select id="keywords" multiple="multiple" name="keywords" size="7"><select/>
      </div>
      <div class="t-palette-spacer"></div>
      </div>
      <img alt="[Error]" class="t-error-icon" id="keywords:icon" src="assets/tapestry/field-error-marker.gif">
      </div>

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            daniel.harvey Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: