cancel
Showing results for 
Search instead for 
Did you mean: 

Custom UIOpenSearch

libman
Champ in-the-making
Champ in-the-making
Hi everyone,

I want to make a custom UIOpenSearch. I copied the sourcecode and got all the necessary library files (SelfRenderingComponent). Now I have no library error or something like that. But I get on the first linen of my codes a (Eclipse) errorobject (the same icon for normal errors) on the left margine. It says the following:
The type org.alfresco.web.script.AbstractWebScript cannot be resolved. It is indirectly referenced from required .class files

I must also say that I manually added the SelfRenderingComponent.java file in my project, reserving the package it belongs to. This can possibly be the error, but I also used this class with another class I wrote and got no issue. There is no AbstractWebScript referred in the class. There are 4 other classes belonging to the same package who are imported, which are the following:
import org.alfresco.repo.content.MimetypeMap;
import org.alfresco.repo.web.scripts.bean.SearchProxy;
import org.alfresco.repo.web.scripts.config.OpenSearchConfigElement;
import org.alfresco.repo.web.scripts.config.OpenSearchConfigElement.EngineConfig;
The exact the same sourcecode I want to work on (so do not want to get any errors before modifying ) can be found from SVN: http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/web-client/source/jav...

Thanks.
1 REPLY 1

monitloth
Champ on-the-rise
Champ on-the-rise
Adding alfresco jars from /alfresco/WEB-INF/libs makes it.