AnsweredAssumed Answered

Custom UIOpenSearch

Question asked by libman on Dec 4, 2008
Latest reply on Dec 9, 2008 by monitloth
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/java/org/alfresco/web/ui/repo/component/UIOpenSearch.java

Thanks.

Outcomes