on 11-29-2013 5:50 AM
Hellow Experts,
I am developing an application in nwds 7.3 , when i am using TableColumnType class(com.sapportals.wcm.repository.enum.TableColumnType) but at the import statement we get an error message: Syntax error on token "Enum", Identifier expected
Due to this i am not able to resolve problem
please see the code below and in comment i have metioned the actual error and for more detail please see the attached file.
//Usage of Vecotrs and Table view model
Vector resultData = getResourceDetails(resourceListIterator,currentUser);
Vector colName = getColDetails();
TableViewModel tvm = new DefaultTableViewModel(resultData,colName);
TableColumn column = tvm.getColumnAt(1);
column.setTitle("asfvbsk");
column.setType(TableColumnType.IMAGE); /// errror The type com.sapportals.htmlb.enum.TableColumnType cannot be resolved. It is indirectly referenced from required .class files
TableColumn column1 = tvm.getColumnAt(3);
column1.setType(TableColumnType.LINK); //error The type com.sapportals.htmlb.enum.TableColumnType cannot be resolved. It is indirectly referenced from required .class files
myBean.setModel(tvm);
Configuration:
JDK version: jdk1.6
NWDS 7.3
com.sapportals.wcm.repository.enum.TableColumnType
Has anyone experienced the same issue and found a workaround or solution?
Regards,
Kiran B
thank u srinivas for your immediate response , i resolved this issue.
Regards
Kiran B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
I think the method you are looking for is in this com.sapportals.wcm.control.util.generic.table.
But i think it is deprecated... Now need to find the other way around.
Regards,
Srinivasan V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
Have you checked in javadocs for SAP EP 7.3 whether you have that method or not..
Please check it in the below link
http://help.sap.com/javadocs/NW73/SPS02/KMC/index.html
Regards,
Srinivasan V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.