Re: [appfuse-user] DWR using struts 2 and appfuse

2008-11-08 Thread mmaia
Hi, I had to put a weird if code in javascript for my gotMessages function so it won't show "undefined" entries. This looks really messy thought: function gotMessages(messages) { var chatlog = ""; for (var data in messages) { if(messages[

[appfuse-user] struts 2, wich one is the best Ajax framework to go?

2008-11-08 Thread mmaia
Hi, I´ve just started studying ajax for a couple of weeks now. Had some problems with dojo at first then I tryed a bit with DWR, scriptacolous and prototype. I never developed a real application with ajax yet and I´d like some guidance on what would be the best framework to use. Pls share some

[appfuse-user] DWR using struts 2 and appfuse

2008-11-08 Thread mmaia
Hi, I´m new to ajax so I had a hard time making things work. First problema I faced is about StaticFilter, I was only able to execute the Chat tutorial at: http://today.java.net/pub/a/today/2005/08/25/dwr.html if I comment the Static filter on web.xml [code] [/code] also the sample is only