ICEfaces
  1. ICEfaces
  2. ICE-3882

Add a varStatus attribute to panelSeries

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.2 SP1
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Affects:
      Sample App./Tutorial
    • Workaround Exists:
      Yes
    • Workaround Description:
      In your bean, instead of returning a List for your data model, return a javax.faces.model.DataModel. Then you can always add a property getter to access your DataModel's getRowIndex() method, thus accessing the panelSeries' current row index.

      Description

      Feature Request: The JSTL tag c:forEach has a varStatus which can be used to return a row index. Having this sort of an attribute for the ice:panelSeries component would be useful.

        Activity

        Hide
        Mark Collette added a comment -

        Testing identified issues to be resolved.

        Show
        Mark Collette added a comment - Testing identified issues to be resolved.
        Hide
        Keith Garry Boyce added a comment -

        This has incorrect fix version.. It's fixed in trunk not Dr1

        Show
        Keith Garry Boyce added a comment - This has incorrect fix version.. It's fixed in trunk not Dr1
        Hide
        Mark Collette added a comment -

        1.8RC1 is Release Candidate 1, and comes after DR2. It can be thought of as DR3. I personally prefer just sticking with DRx until the release, but others prefer indicating that we're nearing the release of 1.8.0.

        Show
        Mark Collette added a comment - 1.8RC1 is Release Candidate 1, and comes after DR2. It can be thought of as DR3. I personally prefer just sticking with DRx until the release, but others prefer indicating that we're nearing the release of 1.8.0.
        Hide
        Mark Collette added a comment -

        Had to add logic to support when the rows attribute is not set, by getting the last index from the data model.

        Subversion 18313
        icefaces\component\src\com\icesoft\faces\component\panelseries\UISeries.java

        Show
        Mark Collette added a comment - Had to add logic to support when the rows attribute is not set, by getting the last index from the data model. Subversion 18313 icefaces\component\src\com\icesoft\faces\component\panelseries\UISeries.java
        Hide
        Joanne Bai added a comment -

        Tested successfully on ICEfaces trunk revision 18315 for dataTable, columns, panelPositioned, panelSeries, panelTabSet

        Show
        Joanne Bai added a comment - Tested successfully on ICEfaces trunk revision 18315 for dataTable, columns, panelPositioned, panelSeries, panelTabSet

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: