ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-147

Nested Composite Component Columns Unrendered By Parent DataTable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EE-3.0.0.GA
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      JSF 2.x / IF 2.x
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      The only "work-around" I've seen online thus far is avoiding the issue by writing tables with h:column exposed:
      <h:dataTable>
        <h:column>#{data.one}</h:column>
        <h:column><cc:superColumn>#{data.two}</cc:superColumn></h:column>
      </h:dataTable>
      Show
      The only "work-around" I've seen online thus far is avoiding the issue by writing tables with h:column exposed: <h:dataTable>   <h:column>#{data.one}</h:column>   <h:column><cc:superColumn>#{data.two}</cc:superColumn></h:column> </h:dataTable>

      Description

      Columns in the EE components have their h:column tags wrapped within their composite components, occurring in tables like so:
      <h:dataTable value="#{someBean.someData}" var="data">
        <h:column>#{data.one}</h:column>
        <cc:superColumn>#{data.two}</cc:superColumn>
      </h:dataTable>
      Where it is expected that composite-component abstracted tags are visible to the parents.

      However, only the normal h:column displaying the #{data.one} binding will be rendered.
      1. Screen shot 2010-12-07 at 1.46.04 PM.png
        76 kB

        Issue Links

          Activity

          Nils Lundquist created issue -
          Nils Lundquist made changes -
          Field Original Value New Value
          Attachment CompositeColumnTCTest.war [ 12735 ]
          Nils Lundquist made changes -
          Link This issue blocks IPCK-126 [ IPCK-126 ]
          Nils Lundquist made changes -
          Assignee Brad Kroeger [ brad.kroeger ] Ted Goddard [ ted.goddard ]
          Nils Lundquist made changes -
          Comment [ Hey Ted,
          This is that JIRA Ken asked for, I've noted the expected behaviour for the test is that the table displays 0-29 in 3 columns and 10 rows. The commented out h:column in the test.xhtml represents the expected output of the CC.

          Here's hoping we don't need to drastically change how we approach tables :) ]
          Nils Lundquist made changes -
          Attachment CompositeColumnTCTest.war [ 12736 ]
          Ted Goddard made changes -
          Ted Goddard made changes -
          Assignee Ted Goddard [ ted.goddard ] Nils Lundquist [ nils.lundquist ]
          Patrick Corless made changes -
          Salesforce Case []
          Fix Version/s EE-2.0.0.Beta1 [ 10254 ]
          Nils Lundquist made changes -
          Assignee Nils Lundquist [ nils.lundquist ] Patrick Corless [ patrick.corless ]
          Patrick Corless made changes -
          Salesforce Case []
          Fix Version/s EE-2.0.0.Beta2 [ 10256 ]
          Fix Version/s EE-2.0.0.Beta1 [ 10254 ]
          Ken Fyten made changes -
          Fix Version/s EE-2.0.0.Beta1 [ 10254 ]
          Fix Version/s EE-2.0.0 [ 10256 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s EE-2.1.0 [ 10261 ]
          Fix Version/s EE-2.0.0.Beta1 [ 10254 ]
          Philip Breau made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Patrick Corless
              Reporter:
              Nils Lundquist
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: