on 08-30-2007 12:52 PM
Hello,
Does anybody know how to write simple custom <a href="http://help.sap.com/saphelp_nw70/helpdata/en/f9/b84d40cef71059e10000000a155106/frameset.htm">Search Dialog Box Component</a>?
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
Hi Ladislav,
Your description of the error (no stack trace etc) and your project is a bit few to give concrete answers, but: Check out https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/41cbcb56-0701-0010-43b4-fbc138ea... - even if there are some mistakes in the article (the sequence diagram is not the whole truth...; you should debug your application once it is running to get a better feeling of what's happening), it is the base to go on with your own development project.
And of course you need an RFWrapper, as your implementation has to be configured within the configFramework and therefore the lookup of the implementation works via reflection - and therefore your implementation has to be somewhere within the CrtClassloaderRegistry!
Hope it helps
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.