on 10-05-2006 11:34 AM
Hi All
I have created a dynamic table.
I want to displaying column name in a dynamic table.
I have written this following code.
IWDCaption nameCap = (IWDCaption)view.createElement(IWDCaption.class,"nameCap");
nameCap.setText("name");
tabColumn1.setHeader((IWDCaption)nameCap);
But while deploying i am getting internal sever error.
When i commenting these above line it is showing table but without column name..when i uncomment the above code it is showing internal server error.
Because of the different version of NWDS it is showing.Can any one solve my problem.....
Suman
Please post the stacktrace.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i just do the following and everything works fine.
column = (IWDTableColumn) view.createElement(IWDTableColumn.class,"tableColumn");
caption = (IWDCaption)view.createElement(IWDCaption.class,"column_header");
caption.setText("column header");
column.setHeader(caption);
Hope it helps
Pedro barbosa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.