Details
-
Type: Bug
-
Status: Closed
-
Priority: 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.
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.
faces-config.xml is having the same exception under NB6.1