ICEfaces
  1. ICEfaces
  2. ICE-9869

New mobi:dataView, dataViewColumn(s), and dataViewDetails components

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      mobi:dataView component renders a table region for iterative output using columns defined with the required DataViewColumns component child, and a detail region for extensive viewing (and editing) of the row objects of the table model. The detail region is defined with the DataViewDetails child component and it's contents are displayed when a row of table region is activated, typically by a row tap.

      mobi:dataViewColumns defines a column in the table region of the DataView component.

      mobi:dataViewColumns component defines the table region of the DataView component either by its DataViewColumn child components or by attaching an implementationof DataViewColumnsModel to the 'value' attribute of this component.

      mobi:dataViewDetail - The child components of this component define the region to be displayed when a row object of DataView table region is activated. When DataView 'activationMode' is set to 'server' the child components of this region may be arbitrary JSF components. When 'activationMode' is set to 'client' the child components of this region are prerendered and have their dynamic attributes cached on the client to allow instantaneous activation. Client activation mode is restricted to particular components and only particular attributes of these components may be dynamic, the specifics are documented on our wiki.

        Activity

        Hide
        Cruz Miraback added a comment - - edited

        ICEfaces4 trunk revision# 40274

        #1 - confirmed fixed, the rowIndexVar attribute is now functioning.
        #2 - nothing to confirm, removed markup attribute from tests since it is not valid.
        #3 - nothing to confirm, will leave reactivePriority in tests so it is there when ICE-9893 is complete.
        #4 - confiremd fixed, JS errors are no longer present.
        #5 - confirmed new behaviour is working as expected.

        All styling issues (#1,#2,#3) are confirmed fixed.
        All doc issues (#1,#2) are confirmed fixed.

        No issues remaining from initial report.

        Show
        Cruz Miraback added a comment - - edited ICEfaces4 trunk revision# 40274 #1 - confirmed fixed, the rowIndexVar attribute is now functioning. #2 - nothing to confirm, removed markup attribute from tests since it is not valid. #3 - nothing to confirm, will leave reactivePriority in tests so it is there when ICE-9893 is complete. #4 - confiremd fixed, JS errors are no longer present. #5 - confirmed new behaviour is working as expected. All styling issues (#1,#2,#3) are confirmed fixed. All doc issues (#1,#2) are confirmed fixed. No issues remaining from initial report.
        Hide
        Cruz Miraback added a comment -

        Row selection issue reported by Ken can be reproduced in Firefox27. In Chrome and IE11 the rows can be selected and the dataViewDetails region shown but they cannot be de-selected.

        Show
        Cruz Miraback added a comment - Row selection issue reported by Ken can be reproduced in Firefox27. In Chrome and IE11 the rows can be selected and the dataViewDetails region shown but they cannot be de-selected.
        Hide
        Arturo Zambrano added a comment - - edited

        Committed fix that solves activation issues (except in Firefox) at revision 40339. The Firefox issue is a JS error in the bridge-support code.

        To reproduce simply load dataViewDynAttribute.jsf in the test app, activate the 'rendered' checkbox to display the table, and try clicking on any (unselected) row a few times. An error will appear in the console, which occurs in the brdige-support code and seems to be related to logging.

        Show
        Arturo Zambrano added a comment - - edited Committed fix that solves activation issues (except in Firefox) at revision 40339. The Firefox issue is a JS error in the bridge-support code. To reproduce simply load dataViewDynAttribute.jsf in the test app, activate the 'rendered' checkbox to display the table, and try clicking on any (unselected) row a few times. An error will appear in the console, which occurs in the brdige-support code and seems to be related to logging.
        Hide
        Mircea Toma added a comment -

        Modified isRowEvent function to alternatively use Event.target property in browsers where the equivalent Event.srcElement property is not available.

        Show
        Mircea Toma added a comment - Modified isRowEvent function to alternatively use Event.target property in browsers where the equivalent Event.srcElement property is not available.
        Hide
        Cruz Miraback added a comment -

        ICEfaces4 trunk revision# 40400

        Confirmed JS error in Firefox no longer occurs and that the rows can be selected.

        Show
        Cruz Miraback added a comment - ICEfaces4 trunk revision# 40400 Confirmed JS error in Firefox no longer occurs and that the rows can be selected.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: