ICEfaces
  1. ICEfaces
  2. ICE-1697

Tabel->AddSortHeader throws exception.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.7.1
    • Component/s: Tool Integrations
    • Labels:
      None
    • Environment:
      Netbeans 5.5 VWP, IceFaces 1.5.3
    • Workaround Exists:
      Yes
    • Workaround Description:
      Manually replace / with $

      Description

      AddSortHeader generates incorrect code if page containing table not in /.
      To reproduce:
       0) Connect to any database
       1) Create directory under / lets say /pages
       2) Create empty page under /pages - Page1.jsp
       3) Drag any table from runtime to Page1.jsp
       4) Drag Data Table from palette.
       5) Right click just created table, select Bind To Database
       6) Auto-generate columns
       7) Right click the table, select Add Sort Header

      Exception is thrown. The culprit is JSP code generated for the table (just the relevant part):

        <ice:dataTable value="#{pages/Page1.dataTable1SortableDataModel}"

      Note / between pages and Page1.jsp. Manually replacing / with $ fixes the problem.

        Activity

        Hide
        Frank Ye added a comment -

        faces-config.xml is having the same exception under NB6.1

        Show
        Frank Ye added a comment - faces-config.xml is having the same exception under NB6.1
        Hide
        Frank Ye added a comment -

        could you try the NB6.1 integration, it should be fine with create JSP page in a separate folder. Model changes in faces-config.xml still have exception.

        any feedback is appreciated.

        Show
        Frank Ye added a comment - could you try the NB6.1 integration, it should be fine with create JSP page in a separate folder. Model changes in faces-config.xml still have exception. any feedback is appreciated.
        Hide
        Frank Ye added a comment -

        fixed in NB6.1 IDE bridge 1.7.1. thanks for pointing out.

        Show
        Frank Ye added a comment - fixed in NB6.1 IDE bridge 1.7.1. thanks for pointing out.

          People

          • Assignee:
            Unassigned
            Reporter:
            Alexander Proskurowski
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: