Hi,

I have a serious problem with blank screens in Firefox while using Dojo
for my forms and stuff. The problem only occurs on the live server not
on my development machine. From 10 times reloading a page I get the
blank screen 2 or 3 times. The page is loaded completely which means
that the HTML head and body is transfered and after rendering the page
through Dojo the blank screens occur occasionally which means that the
body part is completely empty.

I found a corresponding bug on bugzilla about this issue:
https://bugzilla.mozilla.org/show_bug.cgi?id=567432

Why am I bothering this ZF list with a Dojo related problem? Because I
think other Zend_Dojo users might have had the same problems and might
even found a solution. And I need some advise how to implement some
solution strategies.

A) I would like to implement the solution mentioned in the bugzilla
report comment #17. I understand it that all the dojo.require()
statements should be converted to a normal js include. I.e.

  dojo.require("dijit.form.FilteringSelect");

should be converted to

  <script type="text/javascript"
          src="/js/dijit/form/FilteringSelect.js"></script>

Questions for A):

Did I understand this correctly? And if yes, how can I overwrite the
Zend_Dojo_View_Helper_Dojo_Container::_renderExtras() method or rather
how can I use my own Dojo_Container view helper with the Dojo View Helper?

B) I thought maybe the brand new 1.5 version of Dojo might have a
solution for this problem. But ZF 1.10.8 only supports the 1.4.1 version
of Dojo.

Questions for B)

Are there any known issued when switching the Dojo version to 1.5 while
still using ZF 1.10.8? Is the upcoming ZF 1.11 supporting Dojo 1.5 and
if so, is there a planned release date yet?

The project I am working on must definetely start on the 1st of
November, so a solution for this is very time-critical.

C) Maybe the my two solution strategies are a waste of time. Does anyone
have any other suggestion how to solve this issue?

Thanks and best regards,

Ralf

Reply via email to