cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling TableSorter.java

lakshmikanthaiah_s
Participant
0 Kudos

Dear Friends,

I am in the implementation of Table Sorting on click of a column on WebDynpro application.

I got the TableSorter.java file under com.sap.tc.webdynpro.tests.utils package.

In my WebDynpro application, I need to include this file to to make use of table sort functionaliy, for which I am unable to create jar file library.

Even I failed to compile the TableSorter.java file which is causing below errors:

+*

TableSorter.java:253: cannot resolve symbol

symbol : class IWDTextView

location: class com.sis.webdynpro.sisutils.TableSorter

if (element instanceof IWDTextView)

^

TableSorter.java:254: cannot resolve symbol

symbol : class IWDTextView

location: class com.sis.webdynpro.sisutils.TableSorter

return ((IWDTextView) element).bindingOfText();

^

TableSorter.java:283: cannot resolve symbol

symbol: variable WDResourceHandler

Collator collate = Collator.getInstance(WDResour

ceHandler.getCurrentSessionLocale());

^

TableSorter.java:404: cannot resolve symbol

symbol : variable WDTableColumnSortDirection

location: class com.sis.webdynpro.sisutils.TableSorter.NodeElementByAttributeCom

parator

if(direction.equals(WDTableColumnSortDirection.UP)){

^

TableSorter.java:406: cannot resolve symbol

symbol : variable WDTableColumnSortDirection

location: class com.sis.webdynpro.sisutils.TableSorter.NodeElementByAttributeCom

parator

}else if(direction.equals(WDTableColumnSortDirection.DOW

N)){

^

TableSorter.java:420: cannot resolve symbol

symbol : class IWDNodeElement

location: class com.sis.webdynpro.sisutils.TableSorter.NodeElementByAttributeCom

parator

IWDNodeElement element1 = (IWDNodeElement) o1;

^

TableSorter.java:420: cannot resolve symbol

symbol : class IWDNodeElement

location: class com.sis.webdynpro.sisutils.TableSorter.NodeElementByAttributeCom

parator

IWDNodeElement element1 = (IWDNodeElement) o1;

^

TableSorter.java:421: cannot resolve symbol

symbol : class IWDNodeElement

location: class com.sis.webdynpro.sisutils.TableSorter.NodeElementByAttributeCom

parator

IWDNodeElement element2 = (IWDNodeElement) o2;

^

TableSorter.java:421: cannot resolve symbol

symbol : class IWDNodeElement

location: class com.sis.webdynpro.sisutils.TableSorter.NodeElementByAttributeCom

parator

IWDNodeElement element2 = (IWDNodeElement) o2;*+

It means some some library files are missing which are required for IWD... classes.

Can anybody help by providing the jar files or the path so that I can compile the TableSorter.java file.

many thanks in advance.

Lakshmikantha

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185086
Active Contributor
0 Kudos

Hi

Use This Latest Class for Sorting Class and follow the [this|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3287] [original link is broken] [original link is broken] [original link is broken];

Best Regards

Satish Kumar

lakshmikanthaiah_s
Participant
0 Kudos

I got resolved this myself after updating the library path.

Lakshmikanthaiah