DisplayTag
  1. DisplayTag
  2. DISPL-4

html tags in "title" attribute when using maxLength

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 RC1
    • Fix Version/s: 1.0 RC2
    • Component/s: HTML Generation
    • Labels:
      None

      Description

      ====
      imported from sf tracker
      id 948323
      http://sourceforge.net/tracker/index.php?func=detail&group_id=73068&atid=536613&aid=948323
      ====


      Having table like this:

      <display:table name="displayTagList" class="simple"
      id="tescik" pagesize="20"
      requestURI="/myRequestURI"
      defaultorder="ascending"
      defaultsort="1"
      sort="list"
      decorator="bar.foo.Wrapper"
      >
      <display:column title=" " ><%=tescik_rowNum %>
      </display:column>
      <display:column property="departmentName"
      sortable="true" maxLength="30"/>
      <display:column property="personName"
      sortable="true" />
      <display:column property="modificationDate"
      sortable="true"
      decorator="bar.foo.LongDateWrapper" />
      </display:table>

      I got incorrectly generated HTML, like the one below:

      <td title=""<a href="/myRequestURI?
      enterpriseId=3768&departmentId=3819&mode=update&fir
      stview=true">Blalalal</a>">"<a href="/myRequestURI...
      </td>

      It's because of table decorator end maxLength column
      attribute used together.

      mariusz-sieraczkiewicz@o2.pl

        Activity

        Hide
        fabrizio giustina added a comment -
        fixed in cvs
        Show
        fabrizio giustina added a comment - fixed in cvs

          People

          • Reporter:
            fabrizio giustina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: