Javascript error with f:subview and jsp:include

Hi,
I have tried to include one jsp page with jsf components into another jsp page with jsf components. But somehow I get a Javascript error.
I have of course included the jsp:include into an f:subview like this:
<f:subview id="tree" rendered="#{tabsBacker.treeRendered}">
<jsp:include page="mission.jsp" />
</f:subview>In mission.jsp, all non-jsf tags are surrounded by f:verbatim tags (otherwise, JBoss would complain anyway).
The Javascript error says: "elements.form1:_link_hidden_ is null".
"form1" is the name of the form in my jsp page which includes the other one.
As soon as I remove the jsp:include thing, everything works fine. The include happens in a t:panelTabbedPane, and (probably as a result of the javascript error), the tab where the included page should be shown, can't be displayed. I can click on the tab, the page is reloaded, but nothing else happens.
The error occurs in IE and in Firefox.
Can anyone help me to solve this problem??
Kind regards,
Wiebke

It's just a jsp fragment file. Here's the start of the jspf included above:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx" %>
<f:subview id="browseForm">
<table class="box" width="100%">
     <tr>
          <td><h:outputText value="#{labels.someValue}" styleClass="smalltitle"/></td>
     </tr>And so on. This was just done to stop the jsp files becoming too long, I think. So the subview tag is included in the jspf file rather than around the jsp file as you have it.
Illu

Similar Messages

  • Difference between jsp:forward sendRedirect and jsp include directive

    Am very much confused, please explain me the difference between
    jsp:forward sendRedirect and jsp include directive with a suitable example.
    I'll be very gratefull. Its very urgent.

    One basic difference. The include executes in the .jsp servelet created. The redirect transfers "control" by redirecting the client request to another destination. In other words, the current .jsp is no longer in charge or in the calling chain in any way.

  • I am unable to burn any info-photo ect on to a disk. I have a 27" I mac mid 2010 version. I put in a disk, hit burn, it runs for about 3 mins and ejects the disk sayiny there was an error with the drive and will not restart.

    am unable to burn any info-photo ect on to a disk. I have a 27" I mac mid 2010 version. I put in a disk, hit burn, it runs for about 3 mins and ejects the disk sayiny there was an error with the drive and will not restart.

    The optical drive has probably failed. It's a fairly common thing with these slim SuperDrives. Does it read any discs you put into it? You can try resetting the SMC and pram but I'll be surprised if it helps.
    To reset the SMC
    Shut down the computer.
    Unplug the computer's power cord.
    Wait fifteen seconds.
    Attach the computer's power cord.
    Wait five seconds, then press the power button to turn on
    Resetting PRAM and NVRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Ok.  I hope someone can answer my question.  I am new to photoshop.  I need version cs4 in order to work with a designer and printer on some logo work. I've tried to download it but it just gives me individual files with no installer and nothing - includi

    ok.  I hope someone can answer my question.  I am new to photoshop.  I need version cs4 in order to work with a designer and printer on some logo work. I've tried to download it but it just gives me individual files with no installer and nothing - including the adobe "instructions" seems to work.  How can i get this software in a downloadable format? is it actually free - I'm assuming it is...  Hope someone knows the answer to these questions...

    The download itself is free and is valid for 30 days only.  After that, the software ceases to work.
    CS4 is pretty old, no longer sold and no longer supported by Adobe.  It's also not compatible with many modern OSes.
    Why do you have to work with such an obsolete version of Photoshop?
    What kind of "designer" uses it?

  • I was downloading the software update for ipod touch 2gen and after it was done downloading it showed that there was an error with my ipod and when i saw it was on the lockscreen loading. its been like this for 4 hours already

    I was downloading the software update for ipod touch 2gen and after it was done downloading it showed that there was an error with my ipod and when i saw it was on the lockscreen loading. its been like this for 4 hours already

    What did the error message say?
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • Dynamic menu doesn't work with f:verbatim and jsp:directive.include

    Is it not possible to include fragment part in a panel page containing some dynamic menus ?
    This work fine:
    <af:panelPage title="Application home">
    <f:facet name="menu1">
    <af:menuTabs var="menuTab" value="#{menuModel.model}">
    <f:facet name="nodeStamp">
    <af:commandMenuItem text="#{menuTab.label}"
    action="#{menuTab.getOutcome}"/>
    </f:facet>
    </af:menuTabs>
    </f:facet>
    But replacing these entry by a fragment doesn't work, as this:
    <af:panelPage title="Application home">
    <f:facet name="menu1">
    <f:verbatim>
    <jsp:directive.include file="/menuTab.jspf"/>
    </f:verbatim>
    </f:facet>
    the fragment code:
    <f:subview id="menuTab">
    <af:menuTabs var="menuTab" value="#{menuModel.model}">
    <f:facet name="nodeStamp">
    <af:commandMenuItem text="#{menuTab.label}"
    action="#{menuTab.getOutcome}"/>
    </f:facet>
    </af:menuTabs>
    </f:subview>

    Oh, God, why not tell me earlier!!!!!! I do use tomcat 3.1 and it just support servlet. I have no way out but modify all my jsp:include to encoding into a servlet page. I almost re-do all my work. But anyway, thank you! Next time I will know.

  • Javascript error with JSF and TOMAHAWK

    I've got two selectOneMenu in my page and I would like to change the selected item of the second selectOneMenu when an item is selected in the first selectOneMenu.
    I tried to implement a solution using Tomahawk. The idea is to generate a click event on a hidden link when an item is selected like explained here:
    http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces
    When I click on the selectOneMenu, I always have following javascript error : object expected.
    Here is my page:
    <%@ page language="java" pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
         <f:view>
              <head>
              </head>
              <body>
                   <h:form id="Monitoring">
                   <SCRIPT language="JavaScript" type="text/javascript">
                   function clickLink(linkId)
                        var fireOnThis = document.getElementById(linkId)
                        alert('le champ a pour valeur : '+linkId)
                        alert('le obj a pour valeur : '+fireOnThis.value)
                        if (document.createEvent)
                        var evObj = document.createEvent('MouseEvents')
                        evObj.initEvent( 'click', true, false )
                        fireOnThis.dispatchEvent(evObj)
                        else if (document.createEventObject)
                        fireOnThis.fireEvent('onclick')
                   </SCRIPT>
                   <t:commandLink id="hiddenLink" forceId="true" style="display:none; visibility:hidden;" action="#{TotoBean.selectModule}"/>
                        <h:selectOneMenu id="modulefilter" value="#{TototBean.moduleId}" rendered="true" onchange="clickLink('hiddenLink');" >
              <f:selectItems value="#{TototBean.moduleList}" />
              </h:selectOneMenu>      
                        <h:selectOneMenu id="servicefilter" value="#{TototBean.serviceId}" rendered="true" onchange="clickLink('hiddenLink');" >
              <f:selectItems value="#{TototBean.serviceList}" />
              </h:selectOneMenu>      
                   </h:form>
              </body>
         </f:view>
    </html>
    and my bean:
    package com.toto.monitoring.bean;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import javax.faces.model.SelectItem;
    public final class TototBean extends Object {
         private ArrayList<SelectItem> moduleList;
         private ArrayList<SelectItem> serviceList;
         private String          moduleId;
         private String          serviceId;
         public TototBean() {
              super();
              // TODO Auto-generated constructor stub
              this.moduleList           = new ArrayList<SelectItem>();
              this.serviceList           = new ArrayList<SelectItem>();
              initModuleList();
              initServiceList();
         public String selectModule() {
              System.out.println("change");
              setServiceId("All Services");
              return(null);
         final List initModuleList() {
              System.out.println("init module list");
              moduleList = new ArrayList<SelectItem>();
              moduleList.add(new SelectItem("All Modules", "All Modules"));
              moduleList.add(new SelectItem("Module 1", "Module 1"));
              moduleList.add(new SelectItem("Module 2", "Module 2"));
              return moduleList;
         public List getModuleList() {
              System.out.println("get module list");
              return moduleList;
         public String getModuleId() {
              System.out.println("get module ID");
              return moduleId;
         public void setModuleId(String id) {
              System.out.println("set module ID");
              moduleId = id;
         final List initServiceList() {
              System.out.println("init service list");
              serviceList = new ArrayList<SelectItem>();
              serviceList.add(new SelectItem("All Services", "All Services"));
              serviceList.add(new SelectItem("Service 1", "Service 1"));
              serviceList.add(new SelectItem("Service 2", "Service 2"));
              return serviceList;
         public List getServiceList() {
              System.out.println("get service list");
              return serviceList;
         public String getServiceId() {
              System.out.println("get service ID");
              return serviceId;
         public void setServiceId(String id) {
              System.out.println("set service ID");
              serviceId = id;
    Any idea ?
    Thanks for your help.

    The hiddenLink has no value. Does it really need one as it is just used to submit the form ?

  • Fix for Dreamweaver CC 2014.1 JavaScript Error With All ASPX Files

    Entire morning wasted.
    Adobe's upgrade to Dreamweaver 2014 to 2014.1 on Windows 7 Professional has broken the product across the board and it no longer opens any .aspx pages correctly.  A large number of people use .NET and now we can no longer access/use these files/pages without multiple JavaScript errors.  Particularly those that have edited the MMDocumentTypes file to make the product work in the first place since they stopped supporting the users that develop in ASP.NET.
    Every time a .aspx file is now opened, the following JavaScript error is received: "While executing translateCustomControl in ExternalRenderers.html, a JavaScript error occurred.  Click 'close' and it appears again...over and over.  Our sites are all unable to open in DW because of this.  It worked fine in earlier versions of DW, including 2014.  It's only 2014.1 that broke everything.
    The fix for this:
    1. Follow instructions on this out-of-date help file: Change, add recognized file extensions | Dreamweaver
    2. (and the part that's new): The MMDocumentTypes file is located in  C:\Users\*your username*\AppData\Roaming\Adobe\Dreamweaver CC\Configuration\DocumentTypes directory. Open that file and add aspx back to the <documenttype id="HTML"> declaration at the top.
    I am posting this issue here in hopes that some of the users won't waste most of the day trying to figure this out.
    Chris Lee

    Hi Ivan,
    I'm having that exact same problem now...in addition to that JavaScript error message coming back.  I submitted a bug report last week about this and received the following reply:
    Hi Chris,
    We would like to let you know that we able to reproduce this issue at our end. Thanks for reporting this.
    We will try to prioritize it for fixing. This might take some time. We thank you for your patience with us in this regard.
    Please let us know if you need help regarding anything else. We will be more than happy to help you.
    Thanks,
    Arindam Ghosh
    Dreamweaver Team,
    Adobe Systems
    Hopefully they can get this fixed soon, as it's ground my work in the software to a halt.
    Chris

  • Tips for blue screen (BSOD) errors with Windows Vista and Intel Turbo Memory on X61/X61s

    Important note: The symptoms and solutions described below address only a small subset of the possible causes for blue screen errors, aka BSOD.
    This information can help address blue screen errors specifically
    related to Turbo Memory, but may not solve errors related to other
    issues. Please read through the instructions completely, make sure they
    apply to your system, and after attempting the solutions please post
    back with your feedback for the community.
    Some users may experience random blue screen errors with ThinkPad
    systems running Windows Vista with Intel Turbo Memory hardware. These
    blue screens may occur during normal usage on the system or they may
    occur when booting into Windows Vista. Blue screens related to the
    Intel Turbo Memory hardware may reference a stop code of 8086 with
    memory address locations of {0, 0, 0, 0}.
    There are two main steps that you can take to help resolve blue screen issues related to Intel Turbo Memory.
    Step 1: Update Intel Turbo Memory Driver
    If the driver version is before version 1.0.1.1004-7.0.3.1001, please
    update to this version.
    To determine what version of the Intel Turbo Memory driver is installed:
    1.    Click Start, then click Control Panel.
    2.    Click System and Maintenance.
    3.    Click System.
    4.    Click Device Manager.
    5.    Expand the Storage controllers category.
    6.    Double-click Intel Flash Cache Logic Chip.
    7.    Click the Driver tab. Then you will see the driver version (for example, 1.0.1.1004).
    The new driver and installation instructions can be found here.
    Note: The Intel Matrix Storage Driver is updated with this package.
    Step 2: BIOS version
    If your BIOS version is older than those listed below, please update to the version listed.
    How to check your BIOS version:
    Turn off the system.
    Turn on the system.
    While the To interrupt normal startup, press the blue ThinkVantage button message is displayed at the lower-left area of the screen, press the F1 key.
    The
    BIOS Setup Utility menu will be displayed. If you have set a supervisor
    password, the BIOS Setup Utility menu appears after you enter the
    password.
    Check BIOS Version and Embedded Controller Version.
    Turn off the system.
    System BIOS versions:
    ThinkPad X61 or X61s - BIOS version 1.06 (7NET25WW)
    Please
    remember that these updates do not solve every possible system blue
    screen, but they do resolve several problems related to the Intel Turbo
    Memory driver.
    Tim Supples
    Lenovo Social Media
    Got a question? Don't PM me, post it on the forum!
    Lenovo Blogs
    X60 Tablet SXGA+ primary, Z61p fully loaded workhorse

    Dear Tim,
    First off, many thanks for the tips for resolving BSOD with Vista + Turbo Memory on X61.  I've been suffering from this BSOD for countless times since I bought in my X61 7673-CW9 in April 2008.
    Even prior to having the pleasure to visit this wonderful forum, I followed both steps as indicated, and updated my Intel Turbo Memory driver to 1.5.0.1013 and my BIOS to 7NETB4WW (2.14).  However, the BSOD recurrs.
    For the past two months, I've recovered my system to factory default settings using Rescue and Recovery for over twenty times, each time with the latest Intel Turbo Memory driver and BIOS.  Notwithstanding that, BSOD recurrs.
    During these painful experiences, I tried two options: 1) making my X61 up-to-date by using System Update and Windows Update (including Vista SP1 or excluding Vista SP1); 2) keeping my X61 the status as factory default (i.e. without updating through either System Update or Windows Update (the automatic/scheduled update function of both is turned off)).  In either case, BSOD recurrs.
    I'm 100% positive that the BSOD does not arise from any hardware or software/firmware I install.  I never install any hardware (e.g. RAM).  And, it is not caused by any software/firmware I install: the clear and unequivocal evidence is that at one time,I encountered BSOD while having restored back to factory setting and booting for the first time.
    I live in Taiwan, and I seldom heard this BSOD here.  All of my friends (as most of Taiwan residents) using X61 operate in Traditional Chinese environment, whereas I operate in English environment.  In Taiwan, when booting for the first time after purchase/recovery, the Windows Vista Business system provides for lanuage choice (Traditional Chinese or English), and, once chosen, the language cannot be altered later on (unless, of course, the system is restored back to factory default settings).
    My system specs are the same as the day I purchased it and are listed below (as I'm not sure if my machine type X61 7673-CW9 is applicable outside Taiwan):
    Processor: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.4GHz
    Memory: 1.00 G.B.
    System: Windows Vista Business (32-bit)
    Hard Drive: 160 G.B. @ 7,200 r.p.m.
    And, of course, with Intel Turbo Memory 1 G.B.
    I contacted the Lenovo support staff here in Taiwan for countless times, but they seem to be clueless.  I learned that some friends at this forum downgraded their OS back to Windows XP, but I chose not to.  The reason is simple: my purchase price for X61 7673-CW9 includes the Intel Turbo Memory, which cannot function under Windows XP (at least so far).
    Therefore, I just wish to share my experience here and perhaps I can get some advice from you and other friends here.  Any advice will be tremendously and enormously appreciated.
    Kevin Chen @ Taiwan

  • JSF web app gives javascript error - 'dojo is undefined' and 'webui is unde

    Hi,
    BACKGROUND: I have created a Netbeans 6 Visual Web Project. I have also integrated my web app with RichFaces 3.1.3. My web application can be viewed properly and correctly when i deploy it on tomcat 6.
    ARCHITECTURE: Our server configuration requires IIS to be our web server and tomcat to be our app server. Both are running on different machines. I have successfully linked up IIS 6 and tomcat 6 using the JK isapi_redirector.
    PROBLEM: However, when i connect to my app via IIS, my starting page opens but the input box components on that page are not displayed and i get several javascript errors that read - 'dojo is undefined' and 'webui is undefined'.
    Any help or advice in this matter will be greatly appreciated.
    Thanks!!!

    I managed to find a workaround. Thought i should share it with those who are faced with a similar issue.
    I found that a bug report had been placed in the past with Apache Dev. However, they had said that they would not modify their logic because the servlet container spec requires it (even though isapi_redirector is only a connector and not a container). They said that there is no way for the isapi_redirector to differentiate between /foo/WEB-INF when foo is a context and when foo is just a sub-directory of the ROOT web application. So, the general consensus was to err on the side of safety and risk blocking a few requests that are valid.
    However, this causes a serious issue for those using NetBeans JSF Visual Web Projects. Hence, I created my own flavour of isapi_redirector by modifying the code such that this check is not performed and leaving the onus of checking on Tomcat.
    For those who are interested, the simplest way to go about this would be to force the function uri_is_web_inf (in jk_isapi_plugin.c ) to always return FALSE.

  • UIX Javascript Error with Date Picker

    Hi all,
    I am using JDeveloper 10.1.2.1.0 with JHeadstart 10.1.2.2.32 to create UIX pages. I have a page with a filter by search field. If I select the date picker on this page in IE version 6 or 7, I get the following javascript error:
    Error: 'length' is null or not an object
    I have found this in the Common2_2_20.js, which is part of the jslibs
    function _accumulateNumber(
    a0,
    a1
    var a2=a0.currIndex;
    var a3=a2;
    var a4=a0.parseString;
    ***var a5=a4.length;***
    if(a5>a3+a1)
    a5=a3+a1;
    var a6=0;
    while(a3<a5)
    var a7=parseDigit(a4.charAt(a3));
    if(!isNaN(a7))
    a6*=10;
    a6+=a7;
    a3++;
    else
    break;
    if(a2!=a3)
    a0.currIndex=a3;
    return a6;
    else
    return(void 0);
    }With Firefox 1.5.0.4, I can get the date selector window to open, but when I select a date value, I get this javascript error:
    a0.select() is not a function
    I have found this in the Common2_2_20.js also. Here is the code where the error is occuring.
    function _dfsv(
    a0,
    a1
    if((a0==(void 0))||(a1==(void 0)))
    return;
    a1+=_getTimePortion(a0);
    var a2=new Date(a1);
    var a3=_getDateFieldFormat(a0);
    var a4=a0.value;
    var a1=a3.format(a2);
    if(a0.value!=a1)
    if(a0.onchange!=(void 0))
    if(_agent.isIE)
    a0.onpropertychange=function()
    var a5=window.event;
    if(a5.propertyName=='value')
    a0.onpropertychange=function(){};
    a0.onchange(a5);
    a0.value=a1;
    else
    a0.value=a1;
    var a5=new Object();
    a5.type='change';
    a5.target=a0;
    a0.onchange(a5);
    else
    a0.value=a1;
    ***a0.select();****
    a0.focus();
    }I am able to use the date picker on other pages and even different parts of this page. The date search field is of type dateField.and is part of a switcher. Does anyone have any ideas as to why this is occuring or how I can work around it? Thanks in advance. I really appreciate all of your help.
    Susan

    Thanks for the reply. As a matter of fact, in my case the error happens in a UIX page generated by JHeadstart. I did some JavaScript debugging using the FireBug Firefox entension and I found that it is some JHeadstart JavaScript that causes this problem.
    The JHeadstart JavaScript passes on an array of input elements to the AFD JavaScript function and the problem arises when the select() method is called on the array, rather than an input element in the array.
    I will try to solve my issue by modifying the JHeadstart JavaScript code. Please see the JHeadstart forum somewhere in the near future for my post(s) about this :-)
    Thanks, Wouter

  • Javascript function is not working for jsp:include.. form elements

    HI,
    I have two jsp's and i will include one jsp in the another jsp, when i do this
    i am not able to access child form elements value using javascript. the javascript
    function is defined in the main jsp. but i could able to get the main form elements
    through javascript
    here is the code.
    main.jsp
    <!--Generated by WebLogic Workshop-->
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <netui:html>
    <head>
    <title>
    Web Application Page
    </title>
    <script language="JavaScript">
    function isValidAge() {
    alert ("hage " +document[getNetuiTagName("MyForm")][getNetuiTagName("age")].value)
    alert ("swage " +document[getNetuiTagName("MyForm")][getNetuiTagName("swage")].value)
    alert ("wage "+document[getNetuiTagName("MyForm")][getNetuiTagName("wage")].value)
    </script>
    </head>
    <body>
    <p>
    <netui:form action="myaction" tagId="MyForm">
    <netui:textBox tagId="age" dataSource="{actionForm.age}"/>
    <netui:textBox tagId="swage" dataSource="{actionForm.swage}"/>
    here i am adding
    <jsp:include page="NewPage.jsp" />
    <netui:button onClick="isValidAge();" />
    </netui:form>
    </p>
    </body>
    </netui:html>
    child.jsp :
    <!--Generated by WebLogic Workshop-->
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <table class="tablebody">
    <tr class="tablebody">
    <td> wife age
    <netui:textBox tagId="wage" dataSource="{actionForm.wage}"/>
    </td>
    </tr>
    </table>
    can you tell me is this is bug in hte weblogic portal SP1.
    I am using weblogic portal SP1.
    thanks in advance
    shashi

    in this part:
    if(document.LForm.uname.value==null || document.LForm.upassword.value==null)should be:
    if(document.LForm.uname.value=="" || document.LForm.upassword.value=="")or
    if(document.LForm.uname.value.length==0 || document.LForm.upassword.value.length==0)

  • Workshop 8.1: Page Flow Action and jsp:include

    Hi everybody.
    Can i use jsp:include to "include" a page flow action ?
    I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
    Any ideas ?
    Thanks in advance.

    Hi Daniel
    There are 2 ways you can acheive this.
    1) Using something called Pageflowscoped form for this. This will let you use arrays for checkbox group.
    The main part will be that you need to define a member varaible of the form at the pageflow level there by the data will not be lost
    2) Using Request scoped form like you have now but need to modify the getter method to populate the "searchResult" object.
    public List getSearchResult() {
    if( null == searchResult){
    System.out.println(" Pouplate the searchResult here. ");
    searchResult= new ArrayList();
    //populate the default values.
    return this.searchResult;
    More info at:
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conReqScopedVsPageScopedBean.html
    I have a sample with pageflowscoped bean and requestscoped bean that I can send you if you provide your email address.
    Unfortunately we cannot attach files in the newsgroup.
    Thanks
    Vimala

  • JavaScript Error with Tree2: NAV_COMMAND is null or not an object

    ello all,
    I am getting the following javascript error when I click on the + image to expand the root node:
    'serverTree:org.apache.myfaces.tree.NAV_COMMAND' is null or not an object
    Following is my jsp code
    <f:view>
    <h:form id="foo">
    <t:tree2 id="serverTree" value="#{productBrowser.treeData}" var="node" varNodeToggler="t" clientSideToggle="false">
    <f:facet name="productsRoot">
    <h:panelGroup>
    <t:graphicImage value="images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
    <t:graphicImage value="images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
    <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
    <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
    </h:panelGroup>
    </f:facet>
    </t:tree2>
    </h:form>
    </f:view>
    I looked at the source code of HtmlTreeRenderer.java and NAV_COMMAND is defined as follows:
    private static final String NAV_COMMAND = "org.apache.myfaces.tree.NAV_COMMAND";
    I looked in the myfaces.jar and did not find anything inside this path.
    What am I missing?
    Thanks in advance.

    Dean,
    Can you be a bit more specific? What it the difference between "my Application" and "my test application"? What are you doing differently when you are creating these buttons?

  • JavaScript error with CourseBuilder

    Hi!
    I intend to use CourseBuilder for a simple test.
    I've done the CourseBuilder tutorial and everything went
    fine.
    Two weeks later I tried to implement an interaction in my
    page... and got an error message after I had clicked on the action
    manager tab:
    "Action manager data was invalid. “ The next message
    was about a JavaScript-error in onLoad (coursebuilder
    interaction.htm).
    It was not possible any more to edit the interaction in any
    site (also not in the tutorial test site...).
    I already have de-/re-installed all extension (and only try
    CourseBuilder alone), de-/re-installed dreamweaver, deleted all
    support files, build a new test site...
    I'm confused about it - but I need to deliver the test pretty
    soon.
    Maybe I did a basic mistake?
    Your help would be appreciated very much
    Kind Regards
    STH

    It's still very strange. I really have tried quiet a lot of
    options but I still can't start the action manager in
    CourseBuilder. In the last weeks I googled a lot. There are some
    mistery reports that CourseBuilder stoped to work suddenly. But
    eighter is was solved by a new installation or there was no answer.
    Finally I made it with forms and layers in dreamweaver
    directly.
    Even though you have to do more editing...
    at least you are not sitting in front of a black box without
    knowing what's going on.
    STH

Maybe you are looking for

  • Xbmc-standalone no sound [SOLVED]

    Hi All, I have re-installed my media box and decided to go standalone this time instead of using a window manager. Everything has installed fine except when stock standard xbmc plays music/video there is no sound. Alsa libs is installed but alsaplaye

  • 5700 Express Music, Need Help!! Bluetooth is not ...

    Hi everyone..... Im writing first time like this.... I bought new 5700 Express Music on 23rd of august... First 2 days it was fine.... yesterday,I was transfering some songs to my friends mobile via bluetooth.... suddenly i got a message in the displ

  • Table for user's Full Name

    Hello everyone, this is my first post in this great forum, well my doubt is about full name for any user, for example mi id is cventuro , where can i fin my full name (Carlos Venturo), in wich table, i looked in usr* with no success. Thanks in advanc

  • On the website and on my creative cloud desktop app I'm still getting trial

    I can open photoshop without getting" your trial has expired", however I've been a member since October. Full Creative cloud member. the same on the website I still get sent to a page where I need to buy a membership.

  • Process chain Run time

    Hi Is there any table that tells the run time of each step of process chain? Thanks Vennela