Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2202

Label does not show when theme="ajax"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.11
    • 2.1.0
    • None
    • None

    Description

      I have an autocompleter whose label does not show. As a result, I have to take the HTML that I expected to be generated and manually add it to my .jsp. This may be the desired behavior in which case feel free to close the bug. I know it does not happen when I leave out the theme="ajax", but then the autocompleter does not work.

      <tr>
      <td class="tdLabel">
      <label for="AddSystem_department" class="label">
      Department
      <span class="required">*</span>:
      </label>
      </td>
      <td>
      <s:autocompleter label="Department" forceValidOption="true"
      name="department" required="true" theme="ajax" href="%

      {departmentList}

      "
      loadOnTextChange="true" showDownArrow="false"
      searchType="substring" />
      </td>
      </tr>

      Attachments

        Activity

          People

            Unassigned Unassigned
            chengas123 Java Developer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: