on 01-07-2005 12:44 AM
Hallo,
Does somebody knows where KM Navigation iView is located? I mean its .par file on file system. I can't find this file in PCD directory. Thanks for any advice.
Best regards,
Josef Motl
Hi Josef,
so what is it you want to know?
Regards
PD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I would like to modify the same KM iView (navigation iView) than Josef.
In my case, what I need is to change the render of the content in order to display News and some other contents.
I thought that I can make my own PAR file based on "KM Navigation iView" and modify only the HTML display.
Any ideas about how to do this without having to be an extremely-advanced-portal-programmer ?
Thanks in advance
Hi Josef,
the simple ControllerServletProxy class instantiates an instance of its super class com.sapportals.wcm.app.controller.ControllerServlet and this class is located in com.sap.application.par. So the functionality of km navigation is hidden in the libs contained in this par. But please be aware of the thread Dimitry mentioned above. According to this thread changing such a fundamental function as km navigation can even scare the most experienced developer...
Best regards
PD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
com.sapportals.wcm.app.controller.ControllerServlet is located if com.sap.km.application.par, but there is:
public class ControllerServlet extends WcmHtmlbBaseServlet
{
public ControllerServlet()
{
}
public DynPage getPage()
{
return null;
}
protected DynPage getPage(HttpServletRequest request, HttpServletResponse response)
{
ControllerServletParameterConfiguration config = null;
IResourceContext context = null;
config = new ControllerServletParameterConfiguration();
config.setServletConfig(getServletConfig());
context = (IResourceContext)request.getAttribute("http://sapportals.com/xmlns/cm/resourcecontext");
ControllerDynPage cdp = new ControllerDynPage(config, context);
cdp.setWdfClassLoader(CrtClassLoaderRegistry.getClassLoader());
return cdp;
}
}
Hi Josef,
in portalapp.xml of the com.sap.km.cm ($irj/root/WEB-INF/deployment/pcd/com.sap.km.cm.par.bak) you can find:
<component name="navigation">
<component-config>
<property name="ClassName" value="com.sapportals.wcm.portal.proxy.ControllerServletProxy"/>
<property name="ComponentType" value="servlet"/>
<property name="SecurityZone" value="low_safety/com.sap.km.cm"/>
</component-config>
so i guess what you need is com.sapportals.wcm.portal.proxy.ControllerServletProxy
regards,
ds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimitry,
thanks for your advice, but decompiled class looks like:
public class ControllerServletProxy extends PCProxyServlet
{
public ControllerServletProxy()throws ServletException
{ super("com.sapportals.wcm.app.controller.ControllerServlet");
}
}
I couln't get code of KM Navigation iView throw this class.
I'd like to change some functionality of this iView.
Regards,
Josef
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.