Skip to Content
0
Aug 30, 2007 at 11:52 AM

Custom Search Dialog Box Component

27 Views

Hello,

Does anybody know how to write simple custom Search" target="_blank">http://help.sap.com/saphelp_nw70/helpdata/en/f9/b84d40cef71059e10000000a155106/frameset.htm">Search Dialog Box Component?

I'm basically interested in project structure. I've created portal application project and portal object of type abstract portal component and replaced generated class with WcmResourceControl, something like:

public class SearchTagsControl extends WcmResourceControl
	implements WdfEventReceiver, ISearchComponent
{
...

I'm trying to do something similar to: com.sapportals.wcm.control.search.SearchControl,

but the problem is that after deploying par, the server logs contain message: Render class not found - ...SearchTagsControl ... It's probably connected with my project structure.

Also when I try to do the mapping (Content Management/User Interface/Mapping/Search Dialog Box Component) of my component, the error message appears which says that "Class ...SearchTagsControl not found.".

Maybe this component has to be additionaly registered somehow in KM

(similar like with repository service eg.:

 CrtClassLoaderRegistry.addClassLoader(this.getKey(), this.getClass().getClassLoader());

)?

I even took whole com.sapportals.wcm.control.search.SearchControl class, changed its package and deployed it with my par and I also get the same message.

Any ideas how to accomplish this? Am I missing something?

Regards,

Ladislav