DisplayTag
  1. DisplayTag
  2. DISPL-395

New display:column attribute tdIdPostfix

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      It would be nice if display:column tag had attribute tdIdPostfix.
      If this attribute is set in some column, this column in every row should have unique id which consist of: tableId, rowNumberOnPage and tdIdPostfix.
      We have JS object which can really easy access values, inputs ... in particular rows and columns in specified table via tdIdPostfix and row# so validation is therfore very easy to specify.

      Example src:
      <display:table id="fileCtx" ... >
      <display:column title="File Name" tdIdPostfix="name">
      ...
      <display:column>
      ...
      </display:table>

      Example html:
      <table class="disptag" id="fileCtx">
      <thead>
      <tr>
      <th>File Name</th>
      </tr>
      </thead>
      <tbody>
      <tr class="odd">
      <td id="fileCtx_0_name"><input .../></td>
      <td>...</td>
      </tr>
      <tr class="even">
      <td id="fileCtx_1_name"><input .../></td>
      <td>...</td>
      </tr>
      <tr class="odd">
      <td id="fileCtx_2_name"><input .../></td>
      <td>...</td>
      </tr>
      </tbody>
      </table>


      Martin

        Activity

        There are no comments yet on this issue.

          People

          • Reporter:
            Martin Soltis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: