This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 22, 2011, 8:33 AM
5 Posts
topic has been resolvedResolved

Problem with categorized views expanding and collapsing in oneUI

  • Category: Other
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer,Administrator
  • Tags: oneUI,categorized views,error,Error while executing JavaScript computed expression
  • Replies: 3
 
 
Dear All,
 
I built a categorized view in a new empty XPage with categories as it was in Notes and some changes for an icon column. The categorization expanding and collapsing works fine if this view remains in this empty XPage or is included in a custom control added to an empty XPage.
 
But if I try to use the custom control with the view content in an OneUI Framework template "themeTemplate2Col" the expanding and collapsing generates this error:
 
------------------------------------------------------------------------------------------------------

Unexpected runtime error

The runtime has encountered an unexpected error.

Error source

Page Name:/posByStatus.xsp
Control Id: _id30

Exception

Error while executing JavaScript computed expression
'title' not found

JavaScript code

   1: title
Stack Trace
 ----------------------------------------------------------------------------------------------------------------------------------
 I can't expand the stack trace. I obviously remain on the same web page since the browser shows the same page source as for the loaded page and I have no back history option.
 
I'm using oneUI V2 framework elements downloaded from here . The last release date is Oct. 30. 2009.
 
Any idea what goes wrong or I missed in this context ?  Any help or idea would be appreciated.
 
 
Thank you in advance.
 
Ionut Ichim
Sep 22, 2011, 9:54 AM
272 Posts
Re: Problem with categorized views expanding and collapsing in oneUI
Hi,
 
here is a tip for reading the stack trace:
 
If you are using firebug you can easily remove the style that hides the stack trace.
Just make a rightclick on the collapsed section "Stack Trace" and inspect the element's HTML code.
There, remove the bold marked attribute, and the stack trace will be displayed.
 
<pre id="stacktrace" style="display:none">
 
Hope this helps
Sven
 
Sep 22, 2011, 1:22 PM
5 Posts
Re: Problem with categorized views expanding and collapsing in oneUI
Hi, Sven,
 
thank you very much for taking the time to read my posting and for the tip. I was able to display the stack trace this way, it doesn't tell me much as I'm not a JSF expert but here is it:
 
##########################################################################
com.ibm.xsp.exception.EvaluationExceptionEx: Error while executing JavaScript computed expression
    com.ibm.xsp.binding.javascript.JavaScriptValueBinding.getValue(JavaScriptValueBinding.java:132)
    com.ibm.xsp.component.UIOutputLink.getText(UIOutputLink.java:75)
    com.ibm.xsp.renderkit.html_extended.LinkRendererEx.encodeChildren(LinkRendererEx.java:71)
    com.ibm.xsp.renderkit.ReadOnlyAdapterRenderer.encodeChildren(ReadOnlyAdapterRenderer.java:135)
    javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:979)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:795)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.component.UIViewRootEx._renderView(UIViewRootEx.java:1287)
    com.ibm.xsp.component.UIViewRootEx.renderView(UIViewRootEx.java:1225)
    com.ibm.xsp.application.ViewHandlerExImpl.doRender(ViewHandlerExImpl.java:635)
    com.ibm.xsp.application.ViewHandlerExImpl._renderView(ViewHandlerExImpl.java:320)
    com.ibm.xsp.application.ViewHandlerExImpl.renderView(ViewHandlerExImpl.java:355)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:103)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:120)
    com.ibm.xsp.controller.FacesControllerImpl.render(FacesControllerImpl.java:264)
    com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:219)
    com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:193)
    com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:154)
    com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:137)
    com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:86)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:538)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1151)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:803)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:758)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:527)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1135)
    com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:523)
    com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:352)
    com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:304)
    com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:261)
    com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:291)
com.ibm.jscript.InterpretException: 'title' not found
    com.ibm.jscript.types.FBSReferenceByName$UndefinedVariable.getValue(FBSReferenceByName.java:49)
    com.ibm.jscript.ASTTree.InterpretResult.getFBSValue(InterpretResult.java:70)
    com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:252)
    com.ibm.jscript.JSExpression.evaluateValue(JSExpression.java:234)
    com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(JavaScriptInterpreter.java:220)
    com.ibm.xsp.javascript.JavaScriptInterpreter.interpret(JavaScriptInterpreter.java:192)
    com.ibm.xsp.binding.javascript.JavaScriptValueBinding.getValue(JavaScriptValueBinding.java:78)
    com.ibm.xsp.component.UIOutputLink.getText(UIOutputLink.java:75)
    com.ibm.xsp.renderkit.html_extended.LinkRendererEx.encodeChildren(LinkRendererEx.java:71)
    com.ibm.xsp.renderkit.ReadOnlyAdapterRenderer.encodeChildren(ReadOnlyAdapterRenderer.java:135)
    javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:979)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:795)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:804)
    com.ibm.xsp.component.UIViewRootEx._renderView(UIViewRootEx.java:1287)
    com.ibm.xsp.component.UIViewRootEx.renderView(UIViewRootEx.java:1225)
    com.ibm.xsp.application.ViewHandlerExImpl.doRender(ViewHandlerExImpl.java:635)
    com.ibm.xsp.application.ViewHandlerExImpl._renderView(ViewHandlerExImpl.java:320)
    com.ibm.xsp.application.ViewHandlerExImpl.renderView(ViewHandlerExImpl.java:355)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:103)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:120)
    com.ibm.xsp.controller.FacesControllerImpl.render(FacesControllerImpl.java:264)
    com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:219)
    com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:193)
    com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:154)
    com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:137)
    com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:86)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:538)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1151)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:803)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:758)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:527)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1135)
    com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:523)
    com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:352)
    com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:304)
    com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:261)
    com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:291)
######################################################################################
 
 
Sep 27, 2011, 9:43 AM
5 Posts
Re: Problem with categorized views expanding and collapsing in oneUI - solved
 
There was a solution described by Heiko Voigt at OpenNTF.org - a fix for partial refreshes - producing the same error - see link below:
 
http://www.openntf.org/internal/home.nsf/response.xsp?action=openDocument&documentId=0ADA49F8B567D1748625779D004DBE08&MainID=19337BEE0540ACD786257798003052A5
 
I think I posted the initial issue not in the most suited forum too.
 
Once more, 
Thank you Heiko.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal