Hi All
I have a requirment to Customize Import component to eliminate duplicate file names in one folder.
I am using webtop 6.6.
How to Customize import component.
Thanks,
Sampath A.
what do you extactly meany by "eliminate duplicate file name in one folder". even though the file names can be same but object_name can be different. so what is your requirement exactly ?
Hi Tejraj,
While doing practiece i have a requirement like that. Any help appreciate..
Hello Sampath,
if you just want user to restrict from selecting two files with name, you need to customize "importcontainer", wherein just extend the behavior class and override onNextPage method. In this method, get handle to control (FileSelector) of JSP and check the selected file names for duplicacy. If any duplicate file found, show an error message to user and do not move to next page.
I found importcontainer_component.xml in that class file is UcfImportContainer i found the class in that i didn't find onNextPage method to override..
hello Sampath,
this method is defined by one of the super classes (you can confirm this by super.onNextPage()). for more details refer WDK API