Out of interest (and sorry for slight thread hijacking) - what's so bad about the Dojo tags?

Now the Dojo stuff is deprecated, is there a roadmap to replacing them with something else?

On 17 Apr 2009, at 20:30, Musachy Barroso wrote:

I am not sure it is related, but make sure "showLoadingText" is set to
false, for that causes all kind of problems in IE. if you are still in
development, hear *biased* advice and don't use the Dojo based tags :)

musachy

On Fri, Apr 17, 2009 at 1:37 PM, mitch gorman <mgor...@shadowtv.com> wrote:
is there still a v2.0.x-specific recipes page, anywhere? (i'm still in dev-crunch mode, and can't take the hit to upgrade to v2.1.x, yet.)
my issue isn't truly a struts problem, per se, but i thought i might
find some help in debugging it in a 2.0-specific recipes page...


specifically, i'm trying to update a div via ajax. it works in FF3,
but not IE7.  i've put a notifyTopics="/change" on the button that
triggers the update, and i'm subscribing to the topic with the following
function:

       <script type="text/javascript">
           dojo.event.topic.subscribe("/change", function(a, b, c){
               alert(b);
               alert(dump(a));
               alert(dump(c));
           });
       </script>

   i capture a before event, with a equal to "change" and c equal to
'cancel' with the value "false". then i get the load event, with object a containing the output from the JSP i'm trying to load as a string. (c is not defined in either IE7 or FF3, yet it does seem to have a value in
both chrome and safari - bizarre!)

then, in IE7, i catch an error event, and the dump of object a shows
the following:
'message' => "XMLHttpTransport.watchInFlight Error: [object Error]"
'type' => "unknown"
'number' => "0"

   i do *not* get that error event in FF3 (or chrome, or safari,
although chrome doesn't handle things correctly, either). what i need
is to find out more details about that ajax error object, but i don't
know how to access it.

   anyone have any ideas how i can proceed with my debugging?

   TIA.

--
Mitch Gorman
mgor...@shadowtv.com
(215) 764-6310
Skype: mitch.shadowtv.com


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org





--
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to