3 Replies Latest reply on Mar 31, 2009 5:08 PM by Nick Belaevski

    richfaces live demo site not working on firefox

    Jeremy Goodell Newbie

      I get a lot of javascript errors and am unable to open the left-side tabs when using the richfaces live demo in Firefox (v3.0.8).

      It works fine in IE 8.0. Also, the site was working for me about a week ago.

      Here's the first of the JS errors:
      Error: Richfaces is not defined
      Source File: http://livedemo.exadel.com/richfaces-demo/index.jsp
      Line: 1138

      <input id="j_id109_panelBarInput" name="j_id109" type="hidden" />
      <script type="text/javascript">new Richfaces.PanelBar('j_id109',{'onitemchange':'','mousemove':'','items':[{'onleave':'','onenter':'','id':'ajaxSupport'}
      ,{'onleave':'','onenter':'','id':'ajaxResources'}
      ,{'onleave':'','onenter':'','id':'richValidators'}
      ,{'onleave':'','onenter':'','id':'ajaxOutput'}
      ,{'onleave':'','onenter':'','id':'ajaxMisc'}
      ,{'onleave':'','onenter':'','id':'richDataIterators'}
      ,{'onleave':'','onenter':'','id':'richDragDrop'}
      ,{'onleave':'','onenter':'','id':'richMenu'}
      ,{'onleave':'','onenter':'','id':'richTree'}
      ,{'onleave':'','onenter':'','id':'richOutputs'}
      ,{'onleave':'','onenter':'','id':'richInputs'}
      ,{'onleave':'','onenter':'','id':'richSelect'}
      ,{'onleave':'','onenter':'','id':'richMisc'} ]
      ,'mouseout':'','ajax':false,'mouseover':'','onclick':''} );</script>
      


      and the second:
      Error: [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_saveState :: line 1909" data: no]
      Source File: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
      Line: 1909

       /**
       * save state to disk
       * @param aUpdateAll
       * Bool update all windows
       */
       saveState: function sss_saveState(aUpdateAll) {
       // if crash recovery is disabled, only save session resuming information
       if (!this._resume_from_crash && this._loadState == STATE_RUNNING)
       return;
      
       this._dirty = aUpdateAll;
       var oState = this._getCurrentState();
       oState.session = { state: ((this._loadState == STATE_RUNNING) ? STATE_RUNNING_STR : STATE_STOPPED_STR) };
       this._writeFile(this._sessionFile, oState.toSource());
       this._lastSaveTime = Date.now();
       },