Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-810

0x80040111 NS_ERROR_NOT_AVAILABLE, for example commandNavigation2 in PanelNavigation2 is not working with ajax2jsf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Won't Fix
    • 1.1.5-SNAPSHOT, 1.1.5
    • None
    • Panel Navigation2
    • None
    • Firefox under linux/windows, probably only in applications with more users on multiple login

    Description

      There is a problem in integrating ajax4jsf:support component into t:commandNavigation2 and it seems does not working.
      Basically, i would like to load a page into section "userManagementContent" when commandnavigation is clicked. however,
      the page is not loaded at all and i have done the ajax4jsf configuration which include the filter at 1st of the filter in my web.xml.

      Also, i go this error from my firefox error console:

      Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://ibm-cormet:8080/billingSystem/a4j.res/org.ajax4jsf.framework.ajax.AjaxScript.jsf :: anonymous :: line 18" data: no]
      Source File: http://ibm-cormet:8080/billingSystem/a4j.res/org.ajax4jsf.framework.ajax.AjaxScript.jsf
      Line: 18

      here is my snippet sample code:

      <t:div id="navDiv" forceId="true">
      <t:panelNavigation2 binding="#

      {beanUserManagement.panelNavigation21}

      "
      id="panelNavigation21" layout="list"
      activeItemClass="on" itemClass="off"
      renderAll="true" openItemClass="on">
      <t:commandNavigation2 binding="#

      {beanUserManagement.commandNavigation21}

      "
      id="commandNavigation21">
      <t:outputText binding="#

      {beanUserManagement.outputText2}

      "
      id="outputText2"
      value="#

      {messageProperties[\'file\']}

      "/>
      <t:commandNavigation2 binding="#

      {beanUserManagement.commandNavigation24}

      "
      id="commandNavigation24"
      value="Test 1">
      <a4j:support binding="#

      {beanUserManagement.support1}

      "
      id="support1" event="onclick"
      action="view_create"
      reRender="userManagementContent"/>
      <f:verbatim>

      </f:verbatim>
      <t:outputText binding="#

      {beanUserManagement.outputText5}

      "
      id="outputText5"
      value="#

      {messageProperties[\'file.create\']}

      "/>
      </t:commandNavigation2>
      </t:commandNavigation2>
      </t:panelNavigation2>
      </t:div>

      <t:panelGrid binding="#

      {beanUserManagement.userManagementContent}

      "
      id="userManagementContent" columns="1" width="100%"/>

      here is my faces navigation rule:

      <navigation-rule>
      <from-view-id>/secure/usermanagement/home.jsp</from-view-id>
      <navigation-case>
      <from-outcome>view_create</from-outcome>
      <to-view-id>/secure/test.jsp</to-view-id>
      </navigation-case>
      </navigation-rule>

      Attachments

        Activity

          People

            cagatay_civici Cagatay Civici
            tonytony tony tony
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: