Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1911

s:link, s:button : Support propagation of selected DataModel row also for Trinidad tr:table

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 2.0.0.BETA1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      CVS based Seam as of 2007/Sep/07

      Description

      The <s:button> and <s:link> controls propagate the selected row of a DataModel via a request parameter named "dataModelSelection". In order to determine which row was selected, method getSelection() of org.jboss.seam.ui.component.UISeamCommandBase tries to find an enclosing UIData component. If the enclosing DataTable is a Trinidad <tr:table>, however, it doesn't get found because the UIComponent class (org.apache.myfaces.trinidad.component.core.data.CoreTable ) does not extend javax.faces.component.UIData. Consequently, when an <s:button> or <s:link> is placed within a <tr:table>, the DataModel selection is not propagated.

      It would be nice if the <s:button> and <s:link> controls could also support the Trinidad <tr:table>, as far as propagation of the DataModel selection is concerned.

        Gliffy Diagrams

          Attachments

          1. UISeamCommandBase.java
            6 kB
            Wolfgang Schwendt
          2. UISeamCommandBase.patch.txt
            4 kB
            Wolfgang Schwendt

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                wschwendt Wolfgang Schwendt
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: