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

XML Forms rendering

Hi,

I am storing some documents created from XML forms into a new repository created by us in KM. while opening this document from our repository, the content is opened in normal XML file format, instead of expected XML form renderer. But if I choose to edit this document, I am getting it opened in XML renderer. Any solutions to fix it ?

I added my repository to xmlforms_filter, in KM->CM->XMLFormsRepositoyFilter, but I got null pointer exception while editing and content not hyperlinked for directly opening.

Thanks in Advance,

John

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 12:40 PM

    Hi John,

    1. Have you restart after include your repository in xml filter ?

    2. Which kind of repository you have you created (db,fs,fsdb,dbfs) ?

    Patricio.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Patricio,

      Thanks for you reply. It will be very helpful if you could give comments for

      1. How to make a repositoy implementation to support XML form? Is any parameter other than ResourceType(http://sap.com/xmlns/cm/app/xmlforms/**)is deciding xml renderer.

      2. when I chose edit from context menu for an XML resource saved in our repository, it is opening in correct XML renderer.

      Thank you very much.

      John

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 12:32 PM

    I am attaching the stacktrace....

    com.sapportals.wcm.repository.ResourceException: Exception while applying filters: null

    at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:400)

    at java.lang.Throwable.(Throwable.java:195)

    at java.lang.Exception.(Exception.java:41)

    at com.sapportals.wcm.WcmException.(WcmException.java:59)

    at com.sapportals.wcm.util.content.ContentException.(ContentException.java:34)

    at com.sapportals.wcm.repository.ResourceException.(ResourceException.java:227)

    at com.sapportals.wcm.repository.runtime.CmFilterHandler.handleRuntimeException(CmFilterHandler.java:996)

    at com.sapportals.wcm.repository.runtime.CmFilterHandler.applyContentFilter(CmFilterHandler.java:546)

    at com.sapportals.wcm.repository.runtime.CmFilterHandler.applyContentReadFilter(CmFilterHandler.java:108)

    at com.sapportals.wcm.repository.ContentImpl.applyContentReadFilter(ContentImpl.java:389)

    at com.sapportals.wcm.repository.ContentImpl.initContent(ContentImpl.java:374)

    at com.sapportals.wcm.repository.ContentImpl.getContentType(ContentImpl.java:159)

    at com.sapportals.wcm.service.xmlforms.transformation.ResourceDemultiplexer.getContentStream(ResourceDemultiplexer.java:71)

    at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:129)

    at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:274)

    at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:342)

    at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:246)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)

    at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:334)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)

    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)

    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)

    at java.security.AccessController.doPrivileged(Native Method)

    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

    at java.security.AccessController.doPrivileged(Native Method)

    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

    Add comment
    10|10000 characters needed characters exceeded