Quantcast
Channel: SCN : All Content - SAP Enterprise Portal
Viewing all articles
Browse latest Browse all 3876

Syntax error on token "Enum", Identifier expected

$
0
0

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


 

 

 



Viewing all articles
Browse latest Browse all 3876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>