Skip to Content
author's profile photo Former Member
Former Member

Location of KM Navigation iView

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2005 at 09:06 AM

    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"/>

    com.sap.km.cm"/>

    </component-config>

    so i guess what you need is com.sapportals.wcm.portal.proxy.ControllerServletProxy

    regards,

    ds

    ps. also see Location of these iViews?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2005 at 07:14 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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;

      }

      }

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2005 at 08:06 AM

    Hi Josef,

    so what is it you want to know?

    Regards

    PD

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.