Posted By:
Anonymous
Posted On:
Thursday, September 25, 2008 12:28 PM
I want to add columns to my HtmlScrollerDataTable. Following is my code: scrollableDataTable. setId("fiPriceController_scrollableDataTable"); scrollableDataTable.setHeader(column1); scrollableDataTable.setHeight("100%"); scrollableDataTable.setWidth("100%"); scrollableDataTable.setRendered(true); I got error when I tried to do the following: scrollableDataTable.getChildren().add(column); or scrollableDataTable.getChildren().add(columnGroup); At Runtime I got the following error: java.lang.NullPointerException at javax
More>>
I want to add columns to my HtmlScrollerDataTable.
Following is my code:
scrollableDataTable.
setId("fiPriceController_scrollableDataTable");
scrollableDataTable.setHeader(column1);
scrollableDataTable.setHeight("100%");
scrollableDataTable.setWidth("100%");
scrollableDataTable.setRendered(true);
I got error when I tried to do the following:
scrollableDataTable.getChildren().add(column); or
scrollableDataTable.getChildren().add(columnGroup);
At Runtime I got the following error:
java.lang.NullPointerException
at javax.faces.component.UIComponentBase.
findComponent(UIComponentBase.java:551)
Can any one help me out in solving this problem.
If you have any sample code to add columnGroup or
column, it will help me a lot. Thank you.
Please use html tags to format code blocks.
<<Less