WPC Component Editor

Hi community,
I am trying to create a Component Editor in WPC. I have made a faq editor PAR file, containing class:
com.sap.nw.wpc.km.service.editor.component.FAQComponent and registered that editor in WPC editor components.
When I try to open the web-form for creation, I am getting an Exception.
The log trace shows this:
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
Component : com.sap.nw.wpc.designtime.EditorTool
Component class : com.sap.nw.wpc.editor.EditorTool
User : Jagadeesh_Katan
     at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
     at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
     at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
     at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
     at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
     at com.sap.nw.wpc.editor.EditorTool.doContent(EditorTool.java:54)
     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:645)
     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:524)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
     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:401)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
     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:102)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sapportals.portal.prt.component.PortalComponentException: Original exception:
     at pagelet.editor._sapportalsjsp_editor.doContent(_sapportalsjsp_editor.java:64)
     at pagelet.editor._sapportalsjsp_editor.service(_sapportalsjsp_editor.java:38)
     at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
     at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
     ... 39 more
Caused by: java.lang.NullPointerException
     at pagelet.editor._sapportalsjsp_editor.subDoContent(_sapportalsjsp_editor.java:1045)
     at pagelet.editor._sapportalsjsp_editor.doContent(_sapportalsjsp_editor.java:58)
     ... 43 more
#1.5 #0050569F5300005C000002B3000014BC0004627948C7CAD6#1234172958444#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#Jagadeesh_Katan#464##n/a##ea7d44d0f68e11ddc6440050569f5300#SAPEngine_Application_Thread[impl:3]_9##0#0#Error##Java###03:19_09/02/09_0230_24876850
[EXCEPTION]
#1#java.lang.NullPointerException
     at pagelet.editor._sapportalsjsp_editor.subDoContent(_sapportalsjsp_editor.java:1045)
     at pagelet.editor._sapportalsjsp_editor.doContent(_sapportalsjsp_editor.java:58)
     at pagelet.editor._sapportalsjsp_editor.service(_sapportalsjsp_editor.java:38)
     at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
     at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
     at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
     at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
     at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
     at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
     at com.sap.nw.wpc.editor.EditorTool.doContent(EditorTool.java:54)
     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:645)
     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:524)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
     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:401)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
     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:102)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Can you tell me what went wrong in this?
Jagadesh K
Edited by: Jagadeesh katan on Feb 10, 2009 7:11 AM
Edited by: Jagadeesh katan on Feb 10, 2009 7:15 AM

Hi,
Yes the problem is solved... The actual culprits were the Resource Bundle and XSL. I hard coded the lables instead of getting them from Bundle files.. and included this code in XSL:
<xsl:if test="@type='qanda'"><div style="padding:1px 0px 0px 0px" />
                        <div id="WHITEBG" class="textbox" style="padding:4px 3px 4px 18px; width:215px" >
                                   <xsl:value-of disable-output-escaping="yes" select="string(@title)" /><br/>
                                   <xsl:value-of disable-output-escaping="yes"     select="string(@targetnew)"/>
                        </div>
                    </xsl:if>
Hope this helps,
JK

Similar Messages

  • Enhancement proposal - WD4A component editor

    I have a small suggestion regarding the creation of assistance classes in WD4A.
    Assistance classes created via forward navigation from the WD4A component editor u2013 i.e. typing a new class name in the pertaining input field and answering the following u201DCreate class?u201D popup with u201DYesu201D u2013 creates a new class without the Fixedpoint-arithmetic flag checked.
    This can easily be missed and is different from the according function in the Repository Browser, i.e. creating a new class via context menu->create (wich sets the flag)!
    As this affects calculations in the coding considerably (a hard to find bug/feature ) I would like to suggest that both class creation behaviors get aligned.
    Regards,
    Sebastian Kamp

    Hi,
    My Apologies i did not recall what exactly I did for that but I can say you have to append all the structures which are referring in the program for saving the value.
    I can tell the different structure which I have modified but I think you need not to modify all of them just a hit and trial.
            PTRV_WEB_ITINERARY_INT (Structure)
    2.     PTRV_UTIL_VERLAUF (Structure)
    3.     FTPT_REQUEST (Table)
    4.     PTK05 (Structure)
    5      PTRV_WEB_GENERAL_DATA_INT (Structure)
    6.     HEAD_PERIO (Structure)
    7.     PTP02 (Structure)
    8.     PTRV_HEAD (Table)
    Thanks
    Pradeep.

  • WPC - Custom Editor Components - How to...?

    Hello,
    I'm trying to create my own Editor Component in Web Page Composer for which I followed this Tutorial:
    http://scn.sap.com/docs/DOC-7157
    I get through it but in the end it doesn't work.
    Obviously i have to create an entry in "Editor UI Elements" for my new Component?!
    I created an entry with a default-Control and my Component shows in the WPC-Editor but obviously looks like the default-Control I've chosen.
    I would like to create my own UI-Element for my custom component but until now I weren't able to do so.
    The default Controls (e.g. TextElementControl) are in the package "com.sap.nw.wpc.editor.ui" which I also can't find.
    Can anyone help me with this?
    Anyone of you were able to create his/her own Editor Component?
    Thanks in advance.
    Greetings,

    You need to break your frame into MVC classes,
    - do all the loading of data in the model classes (eg, load pictures from files, etc).
    - Create the view classes (the Swing components) only after you have created & loaded the models.
    - Then everything should already be loaded before you display the frame.
    If you want to see a more elegant solution that uses asynchronous model loading, then check out this sample application:
    https://glazedlists.dev.java.net/glazedlists-demo.jnlp

  • Runtime Error in  Web Page Composer (WPC) : Page Editor

    Hello,
    We are using the Web page Composer to design our portal homepage. The portal version is 7.02 SP6.
    We created a site, some site content like banners and articles, and a blank web page. When we try to add the site content to the web page from the "Page Editor" by clicking on the pencil icon -> "Add", a runtime error occurs on the Web Content Browser pop up page. The drag and drop feature to add content is not working either.
    The error message is as follows:
    Runtime Error
    An exception occured while processing the request.
    Additional information: null
    Exception ID = 0076b5e1-fea6-2e10-b49e-9e1f27bd085c
    Runtime Error
    An exception occured while processing the request.
    Additional information: null
    Exception ID = 30ebb5e1-fea6-2e10-7d8e-b34b3229cd35
    ANy idea what the problem could be?
    Thanks and Regards,
    Reena

    Hello,
    Below is an extract from the trace file for the exception ID:
    Exception ID = 60843375-7baa-2e10-2097-c764acd6ad4c java.lang.NullPointerException
    at com.sapportals.wcm.portal.component.base.ControllerComponent.prepareRequest(ControllerComponent.java:229)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.getPage(ControllerComponent.java:124)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:114)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:83)
    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:645)
    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:545)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:434)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    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(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Any clue?
    Regards,
    Reena

  • WPC HTML editor rendering changed after SPS21 upgrade

    Hello experts,
    We've just upgraded our SAP Portal to SPS21. This upgrade included KMC. Since the upgrade the fontsizing of content types has changed. Everything has become so small, content cannot be properly read. I'm trying to narrow down the problem and found out the following:
    - It only happens when existing content (pre upgrade content) get saved. Before saving the font size is good, but after saving it changes.
    - It only happens to content which is being edited in the HTML edit object of WPC.
    I was surprised it only happens to existing content and not to new content. Using the IE Developer toolbar I tried finding out the difference in HTML. This is what I found:
    - Existing content is only rendered by the XSL. The XSL defines the content to be viewed in a paragraph tag. This is exactly the output of the HTML
    - New content (same content type) is rendered by the XSL, but has "extra" rendering: Text is shown in two SPAN tags <span> with extra class attributes urFontStd and urTxtStd.
    I don't know enough about WPC to know why it renders in two different ways if the same xsl file is used for the content. I hope someone can help me solve this problem.
    Thanks in advance.
    Kenny
    Edited by: K. Kok on Sep 30, 2010 1:58 PM

    No, I don't have a proper solution yet, but we adjusted our stylesheet., so we have a workaround A normal paragraph has 0.75 em and a paragraph inside the spans have a 1.0em value. Both paragraphs show the results in 12px.
    It's not pretty, but it works.

  • Downloaded Business Component Editor

    i'm trying to make a .jar file using this utility. apparently, it needs a file named NMAKE to do this? my question is, if this file does'nt come-in shipped with the downloaded ZIP file - is there a way around this?
    thanks.

    BCED does not come with NMAKE/make utility. You would need to get from other sources.
    raghu

  • Who can help me with replacing the standard HTML editor in WPC?

    Hi all,
    We have chosen to replace the standard HTML Editor in the Web Page Composer by the TinyMCE Editor. I have worked my way through the document written by Boris Magocsi (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04b5c5d-3fd2-2a10-8ab0-8fa90e3ac162) and the TinyMCE Editor is diplayed when we add or edit a paragraph.
    However, we can not type any text in the input field anymore and we can not click any of the buttons in the TinyMCE editor. Can anybody help a total Javascript newby with fixing this? Full points will be awarded obviuosly. Thanks in advance!
    Best regards,
    Jan
    Note: We are on NW 7.0 SP 15 and the WPC component is not patched yet. We are trying to complete that today and patch it to patch level 1.

    Snippet from the default trace:
    #1.#005056A13EB000880001D90400005EBC000452C3D2595400#1216900908012#com.sap.engine.services.connector.resource.impl.MCEventHandl
    er#sap.com/irj#com.sap.engine.services.connector.resource.impl.MCEventHandler#JALAROS#631##192.168.17.45_POD_3367950#JALAROS#ef
    efb1f0597211ddc652005056a13eb0#SAPEngine_Application_Thread[impl:3]_25##0#0#Debug##Java###>>> com.sap.engine.services.connector
    .resource.impl.MCEventHandler15c015c --> 5(locTrSupp:false).cleanup({0}), shared: {1},  destroyed {2}, invoked from: {3}#4#tru
    e#false#false#java.lang.Exception
            at java.lang.Throwable.<init>(Throwable.java:58)
            at com.sap.engine.services.connector.Log.getStackTrace(Log.java:61)
            at com.sap.engine.services.connector.resource.impl.MCEventHandler.cleanup(MCEventHandler.java:267)
            at com.sap.engine.services.connector.resource.impl.MCEventHandler.connectionClosed(MCEventHandler.java:524)
            at com.sap.engine.services.dbpool.spi.LocalTXManagedConnectionImpl.removeConnectionHandle(LocalTXManagedConnectionImpl.
    java:322)
            at com.sap.engine.services.dbpool.cci.ConnectionHandle.close(ConnectionHandle.java:278)
            at com.sap.netweaver.config.store.CommonJDBCConfigPersistence.getProperty(CommonJDBCConfigPersistence.java:1120)
            at com.sap.netweaver.config.store.ConfigNode.getProperty(ConfigNode.java:61)
            at com.sap.netweaver.portal.prt.config.cmsource.CMStoreSource.getInternalTimestamp(CMStoreSource.java:1111)
            at com.sap.netweaver.portal.prt.config.cmsource.CMStoreSource.shouldRefresh(CMStoreSource.java:997)
            at com.sap.netweaver.portal.prt.config.cmsource.CMStoreSource.refreshObjects(CMStoreSource.java:1187)
            at com.sap.netweaver.portal.prt.config.cmsource.CMStoreSource.getTimeStamp(CMStoreSource.java:1331)
            at com.sapportals.config.fwk.meta.ConfigurableSourceSynchronizer.synchronizeListeners(ConfigurableSourceSynchronizer.ja
    va:124)
            at com.sapportals.config.fwk.data.ConfigPlugin.synchronizeConfigurablesCache(ConfigPlugin.java:1216)
            at com.sapportals.config.fwk.data.ConfigPlugin.getConfigurables(ConfigPlugin.java:362)
            at com.sap.nw.wpc.km.service.editor.EditorService.getStringConfig(EditorService.java:1119)
            at com.sap.nw.wpc.km.service.editor.EditorService.getImageLayoutSet(EditorService.java:1096)
            at com.sap.nw.wpc.km.service.editor.component.ImageSelectComponent.getCompoundComponent(ImageSelectComponent.java:213)
            at com.sap.nw.wpc.km.service.editor.component.ImageSelectComponent.initializeFromPageContext(ImageSelectComponent.java:
    135)
            at com.sap.nw.wpc.km.service.editor.component.EditorComponentFactory.getComponent(EditorComponentFactory.java:69)
            at com.sap.nw.wpc.km.service.editor.document.AbstractEditorObject.getComponent(AbstractEditorObject.java:162)
            at pagelet.editor._sapportalsjsp_editor.subDoContent(_sapportalsjsp_editor.java:1045)
            at pagelet.editor._sapportalsjsp_editor.doContent(_sapportalsjsp_editor.java:58)
            at pagelet.editor._sapportalsjsp_editor.service(_sapportalsjsp_editor.java:38)
            at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
            at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
            at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
            at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
            at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
            at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
            at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
            at com.sap.nw.wpc.editor.EditorTool.doContent(EditorTool.java:54)
            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:645)
            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:524)
            at java.security.AccessController.doPrivileged(AccessController.java:231)
            at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
            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:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionM
    essageListener.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(AccessController.java:207)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    #1.#005056A13EB000880001D90500005EBC000452C3D25AFC5C#1216900908121#com.sap.engine.services.connector.resource.impl.HandleWrappe
    r#sap.com/irj#com.sap.engine.services.connector.resource.impl.HandleWrapper#JALAROS#631##192.168.17.45_POD_3367950#JALAROS#efef
    b1f0597211ddc652005056a13eb0#SAPEngine_Application_Thread[impl:3]_25##0#0#Debug##Plain###>>> com.sap.engine.services.connector.
    jca.ConnectionManagerImpl3fa63fa6.allocateConnection(mcf: com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpla986
    92e1, reqInfo: null)#

  • Swing component to use as time editor

    what is the Swing component that we can use to immitate clock component editor in windows?
    you know, the list where you can select/edit hours,minutes seconds .... is it a JList
    can somebody give a small example please
    thanks

    Read the tutorial: [How to Use Spinners|http://java.sun.com/docs/books/tutorial/uiswing/components/spinner.html]
    You will find some examples there.

  • JavaScript errors at function calls to "top" (e.g. team room or wpc editor)

    Hi all,
    formerly I run into problems when I tried to embed a team room into the content area of the NW portal.
    Now I have a similar problem with the WPC page editor.
    In both cases I get JavaScript errors, because the navigation calls a "top" element, which seems to be overwritten by the portal frameworkpage.
    Is there any possibility to isolate these elements in a way that allows to embed them into the content area of the portal without these errors?
    Or is it only possible to open them in a new window?
    Regards, Josef

    Hi priya,
    Not sure: check syntax in your Update Roules, also at level of start routine.
    Ciao.
    Riccardo.

  • WPC installed but not showing up in KM configuration

    We just installed WPC 7.0 SP 14 patch 4 on our portal server.  The installation went well, and I can see the WPC component in system configuration, but I do not see its configuration screens in KM.  For example, when I go to System Administration -> System Configuration -> Knowledge Management -> Content Management, I should see a link to Web Page Composer. That link is not there.
    We never saw this behaviour in our Dev and QA portals when we installed WPC.  The only different between our Dev\QA portals and production is that production is a clustered environement.
    Any ideas on how to troubleshoot this issue?

    Hi Andrew,
    You have to assigh a WPC Editor Role to access the WPC. After adding the role you can able to access WPC where you can design and publish web pages.
    Those webpages are automatically saved in KM. You can access these WPC contents in \entrypoint repository.
    Check by doing this. Whther you can do it.
    Manisha
    Edited by: Manisha Das on Feb 11, 2009 9:06 AM

  • Customizing portal error pages using WPC seems not to work

    Hi,
    I am running a EP 7.01 system and have instaled the KMC-WPC component.
    My goal is to edit custom error pages. I have followed the help.sap.com
    guide, however i don't see any results. When i create a KM-document
    iview to a non-existing document, i stll get the default 404 error
    page. I have restarted the portal, but without effect. Am i missing something or is the error-page editor not meant for this kind of use? I have also tried to edit the web.xml file, but these errorpages are on a very global scale and not usefull for my purpose
    Bas

    Hussain,
    Yes, it is a KM document not found page
    regards,
    Bas

  • WPC 7.0 Navigation node issue

    Hi All - I am on WPC 7.0 and we did all the needed configuration for WPC 7.0, I have created a new website in WPC and publish it . I also created a Site Navigation and apply it to the Folder below my editor role.
    Everything looks good but when I navigate to the Editor role I don't see the webpage under my WPC created website. This is the message I am getting "No content available for this navigation node"
    Is there a known issue with WPC 7.0 which is causing this issue?
    Thanks,
    -Ash

    We had similar issue. SAP replied to our OSS message and asked us to  patch WPC component.
    Thanks,
    Raj

  • Using two editor instances within JTable

    Hello,
    I'm struggling around using component editors within JTable. E.g. selectAll text on entering a JTextField cell or immediately raising the popup while entering a JComboBox cell.
    In my analysis most of these problems arises due the re-use of the cell editor.
    The event sequence is doing things in the context of the old cell while preparing the editor for the new cell has already been started.
    Because it is the same component and some things are bound deep inside the L&F it seems not easy to handle them properly.
    Just an idea from me is to avoid such problems by working with two instances for the editors in general. This should avoid all problems coming out of overlapping event processing. (To provide each cell with an own component is of course no solution)
    Any comment on such an approach?
    Thanks in advance
    Wolfgang R.

    No, it wasn't the custom JTable extension.
    By entering a cell a popup will be shown for a short moment. This is only by using Windows L&F (not Metal). Within the L&F a togglePopup() is called which may cause this problem.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.util.EventObject;
    import javax.swing.DefaultCellEditor;
    import javax.swing.JComboBox;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.UIManager;
    import javax.swing.WindowConstants;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellRenderer;
    public class JTableExt extends JTable {
         public static class ComboBoxEnumRenderer extends JComboBox implements
                   TableCellRenderer {
              public ComboBoxEnumRenderer() {
                   setEditable(false);
                   setBackground(Color.WHITE);
              public Component getTableCellRendererComponent(JTable table, Object value,
                        boolean isSelected, boolean hasFocus, int row, int column) {
                   this.removeAllItems();
                   this.addItem(value);
                   return this;
         public static class ComboBoxEnumEditor extends DefaultCellEditor {
              private static String[] values = null;
              public ComboBoxEnumEditor() {
                   super(new JComboBox());
                   values = new String[50000];
                   for (int i = 0; i < values.length; i++) {
                        values[i] = "row_" + i;
              public Component getTableCellEditorComponent(JTable table, Object value,
                        boolean isSelected, int row, int column) {
                   JComboBox combo = (JComboBox) getComponent();
                   combo.removeAllItems();
                   for (int i = 0; i < values.length; i++) {
                        combo.addItem(values);
                   combo.setSelectedIndex(0);
                   return super.getTableCellEditorComponent(table, value, isSelected, row,
                             column);
         public JTableExt() {
              super();
              init();
         // invoke editor on cell entry
         public void changeSelection(final int row, final int column, boolean toggle,
                   boolean extend) {
              super.changeSelection(row, column, toggle, extend);
              if (editCellAt(row, column))
                   getEditorComponent().requestFocusInWindow();
         private void init() {
              setDefaultEditor(Object.class, new ComboBoxEnumEditor());
              setDefaultRenderer(Object.class, new ComboBoxEnumRenderer());
         private static void setUI() {
              String lnfName = "";
              //lnfName = "com.jgoodies.plaf.plastic.Plastic3DLookAndFeel";
              lnfName = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
              try {
                   UIManager.setLookAndFeel(lnfName);
              } catch (Exception exc) {
         public static void main(String args[]) {
              try {
                   setUI();
                   javax.swing.JFrame frame = new javax.swing.JFrame();
                   frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
                   frame.getContentPane().setLayout(new BorderLayout());
                   final JTableExt demo = new JTableExt();
                   Object[][] data = new Object[30][1];
                   demo.setModel(new DefaultTableModel(data, new String[] { "first column" }));
                   frame.getContentPane().add("Center", new JScrollPane(demo));
                   frame.setSize(600, 600);
                   frame.setVisible(true);
              } catch (Throwable t) {
                   System.exit(0);
    //end

  • Forte For Java GUI Editor

    Hi everyone,
    I've been trying to switch usage between Forte for Java running on 2 platforms (Win NT and Solaris 8). For this reason, I want to try to use the GUI Editor in each. But when I tried copying the same .class file from one platform to another and running opening the file under Forte for Java, the GUI Editor doesn't show up the form and Component Editor. Is there a way to make Forte for Java able to recognize the GUI components in a class file not creatd in Forte or not in that version of Forte? Thank you for any help!
    Bob

    Hi,
    this happens not just with class file but also with .java
    file. I created a GUI with Forte ( on windows ) and because I did not jave runtime setup on windows, I copied, java file that was created to the unix env. Then added some code to it and copied back to the windows.
    After that, GUI editor never came up. I lost all that I did
    to create a GUI. Now I can modify GUI only manually.
    I you have found answer to this, please let meknow
    at [email protected]
    rgds,
    sam

  • TinyMCE in WPC

    Hi,
    i would like to know if anyone managed to integrate the tinyMCE in WPC in such depth that you don´t have to copy the KM links when you e.g. insert a picture from KM or when you insert a link to a KM document.
    In more detail...does anyone manage to integrate KM navigation and selection in tinyMCE in the same way the "normal" WPC html editor does?
    I also really would like to know why SAP generally does not plan to integrate a WYSIWYG editor in future WPC releases (thats what was said from Product Management). This is in my opinion one of the biggest disadvantages to the other web-contentmanagement Portal implementations that are offered from other vendors (FirstSpirit etc.), so I don´t understand why SAP is not interested to close this gap...
    Many thanks for your answers
    Regards
    Alex

    Alexander Götz wrote:
    > you can place the 2 files in your project where you want  to.
    > But then you have to correct the given paths in the coding of idemodification.js
    >
    > In function mycustomFileBrowser you have to set the path for cmsURL according to your project name and structure. in my case:
    >
    var cmsURL = '/irj/portalapps/com.intersport.tinymceeditorforwpc/scripts/tinymce/jscripts/tiny_mce/KMPicker.htm';
    > .
    Here is the code I am using
    var cmsURL = '/irj/portalapps/Tmce/scripts/tiny_mce/KMPicker.htm';
    Alexander Götz wrote:
    > Also you should check if the path in functionshowKMPIcker is right
    >
    loadFrame.src = "/irj/go/km/navigation" + startURI + "?rndLayoutSet=wpcLinkSelector&StartUri=/";
    > .
    This was default. I left it as it is.
    Alexander Götz wrote:
    > Do you have set short urls in your URL Generator Service? If not you could have problems with "irj/go/km/......>
    > .
    I am not sure. How to check if this is set.
    Alexander Götz wrote:
    > Last but not least the path to javascript in TinyMCERenderer.java should be in your case
    >
    renderContext.getDocument().addHeadResource(
    >      ResourceType.JAVASCRIPT,
    >      "text/javascript",
    >           "/irj/portalapps/your project..../scripts/tiny_mce/utils/idemodification.js");
    > .
    Here is my code:
    renderContext.getDocument().addHeadResource(ResourceType.JAVASCRIPT,"text/javascript",
                        "/irj/portalapps/Tmce/scripts/tiny_mce/utils/idemodification.js");
    I still get a
    404 Not Found, The requested resource doesn't exist
    error.

Maybe you are looking for

  • How do I reset my adobe password on macbook air?

    I want to up date Adobe Flash Player on my Mac Air. I need to reset my Adobe password.  How do I do that?

  • HT4623 unresponsive ipad in the middle of updating

    My ipad 3 is updating and in the middle of it a charging cord and i tunes logo appeared and it has become unresponsive what do i do?

  • Only named ECParameters supported?

    I'm having this SSLProtocolException while trying to connect to an OpenSSL server using JDK1.6. The same code is working with JDK 1.5. What does this named ECParameter mean? My OpenSSL server is using NID_sect163r2 curve. Here is part of my code to g

  • Frame Rate Convertor results in choppy footage

    I have some 60fps footage shot on the HVX200 at 720p/24pN that I wanted to use in slow mo, buuuut, after importing it into FCP 5.1.4 using the DVCProHD 720p/24 easy setup (without removing the advanced pulldown and duplicate frames) I get very choppy

  • Software Updated - Expired

    I have a problem where all my software updates shown as expired (they are all grey). I have waited couple of days to see if they turn green again, but nothing happened. If I try and download them by right clicking on to the update and selecting 'Down