8 Replies Latest reply on Jul 17, 2009 4:47 AM by ilya_shaikovsky

    rich:editor do not work with CachedResourceBuilder



      I had to use CachedResourceBuilder to have the style work on my program (https://jira.jboss.org/jira/browse/RF-3586). See this http://www.jboss.org/index.html?module=bb&op=viewtopic&t=152400&postdays=0&postorder=asc&start=0 to see full story.

      But if I use CachedResourceBuilder, the tag rich:editor does not work anymore. Nothing appears on the screen. If I remove CachedResourceBuilder (and nothing else), then it work again...

      Here are the 2 error messages I get in Firebug (nothing come in the system.out console) :

      u is undefined
      URI()()3_3_1.GA...4c4.faces (line 52)
      toAbsolute()()3_3_1.GA...4c4.faces (line 63)
      preInit()()3_3_1.GA...4c4.faces (line 597)
      preInit()()3_3_1.GA...4c4.faces (line 634)
      3_3_1.GA84910e52-051b-482e-986e-94ca413ad4c4.faces()()3_3_1.GA...4c4.faces (line 596)
      [Break on this error] if(u.indexOf('/')===0&&u.indexOf('//')!==0)

      tinyMCE is undefined
      redefineCallbacks()("formReturn:j_id_jsp_925342896_49", Object extScriptSuffix=4d1-43ca-a88f-14ed07a52011.faces, Object theme_advanced_statusbar_location=bottom width=800)3_3_1.GA...f57.faces (line 2)
      klass()3_3_1.GA...ea3.faces (line 4)
      pageList.faces()()pageList.faces (line 74)
      [Break on this error] if(!window.Richfaces)window.Richfaces={}...f(isAjax){this.tinyMCE_editor.remove();}

      Do I have to set a parameter for tinyMCE to make it work with CachedResourceBuilder ?
      Or another solution?

      Thanks for your help