ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-97

EditableTable does not support nested object within row level data model

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.8.2.GA_P01
    • Fix Version/s: 1.8.2.GA_P02
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      -
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Create a getter in the bean that will return the desired property:

      If the Person class contains an Employee reference with a departmentName property, in the Person class create this getter for department name:

      public String getDepartmentName(){

          return employee.getDepartmentName();

      }
      Show
      Create a getter in the bean that will return the desired property: If the Person class contains an Employee reference with a departmentName property, in the Person class create this getter for department name: public String getDepartmentName(){     return employee.getDepartmentName(); }

      Description

      The editableTable does not support the row level object containing another object. For example, a Person object has an Address object within it like so:

      public class Person {

      int id;
      String firstName;
      String lastName;
      Address address;
      .......

      public class Address {
      private String street;
      ....

      The editableTable does not allow for the following address.street EL expression:

      <ice-cc:editableTable bean="#{editableTableExampleBean.editTableBean}" id="editableTable" idProperty="id">
      <ice-cc:textColumn title="Street" property="address.street" width="80px" />

        Activity

          People

          • Assignee:
            Brad Kroeger
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: