Just want to say that I am not using the s2 DWR plugin but I am using the 
spring DWR plugin in my s2 app and it rocks.  

JQuery also rocks but I like how DWR wires ajax to java class and 
marshals/unmarshals everything.



> Date: Fri, 17 Apr 2009 16:24:24 -0400
> Subject: Re: recipes for 2.0.x?
> From: musa...@gmail.com
> To: user@struts.apache.org
> 
> I am not sure what the status of the DWR plugin is, but I don't think
> it has changed much. The DWR plugin just hooks DWR with Struts 2,
> nothing more, you will be using DWR out of the box, without magic
> tags.
> 
> musachy
> 
> On Fri, Apr 17, 2009 at 3:56 PM, mitch gorman <mgor...@shadowtv.com> wrote:
> > 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 :)
> >>
> >
> >    yeah, i learned that lesson already.  ;)  i did come across
> > something two interesting things, although neither of them really fit my
> > situation or helped much.  one of them was that IE apparently doesn't
> > like it if you try to update a *part* of a table, like a single <tr> or
> > something.  a <tbody> is probably okay, but anything more granular it
> > doesn't seem to like.
> > (https://issues.apache.org/jira/browse/TAPESTRY-1217;  i am shipping
> > down a complete table, but i've done that in other situations without a
> > problem.)
> >
> >    the other is that turning off dojo compression may help.
> > (http://www.dojoforum.com/node/6529)  this, of course, doesn't apply in
> > 2.0.14, since that's not even a valid <s:head> attribute (S:head, not
> > SX:head).  this page, though, did clue me in to try/catch in JS (i'm
> > definitely not a JS wiz, obviously), which at least let me know that my
> > own dump() function (lifted from the web; JS dump references listed
> > below) was throwing an error.  when i wrapped the guts of my dump()
> > function in the try/catch, i was then able to see that it was
> > encountering an error when attempting to dump the "c" object in a couple
> > places.  that object is basically the XMLHttpRequest object
> > (http://www.w3schools.com/ajax/ajax_xmlhttprequest.asp).
> >
> >    as for dumping javascript objects, the simple solution, which my
> > original function was a modification of, is at
> > http://weblogs.asp.net/skillet/archive/2006/03/23/440940.aspx.  a more
> > complex dump() function, a "port" of the Cold Fusion <cfdump> tag, is at
> > http://www.netgrow.com.au/files/javascript_dump.cfm .  that's what i'm
> > trying to make use of, now.
> >
> >    dave, i saw your response, too.  i looked at the 2.0.14, 2.0.11, and
> > even 2.0.8 recipes page, and they all had the newer <sx:> tags,
> > specifically the <sx:bind>.  i really do wish i had access to that
> > sx:bind for what i'm doing... would've made so many things i've
> > done/tried to do in this app *so* much easier...
> >
> >    musachy, going back to your (moderately biased) advice... before i
> > started my current job, i was doing some work with DWR v2.0 (even made
> > some small contributions to the project).  i know there's a dwr
> > plugin... would that cover everything i'm currently using the dojo tags
> > for?  would that be my best bet for a replacement, once i do finally get
> > time to migrate to struts v2.1.x?
> >
> >
> > --
> > 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
> 

_________________________________________________________________
Rediscover HotmailĀ®: Get quick friend updates right in your inbox. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates2_042009

Reply via email to