Re: [appfuse-user] Triggering a page refresh from the server side

2007-07-11 Thread cdtm
I've just seen that my last post isn't rendered properly. Basically I just removed the comments in dwr.xml. Is there anything else to do to get dwr running? cdtm wrote: > > Hi, > > I tried to get the dwr running. I uncommented the part in the dwr.xml

Re: [appfuse-user] Triggering a page refresh from the server side

2007-07-11 Thread cdtm
y for an engine.js, so I assume that it does not run yet. Any suggestions? Thanks in advance mraible wrote: > > There's no DWR functionality in place, but it is installed and ready to > use. > Matt > > On 7/10/07, cdtm <[EMAIL PROTECTED]> wrote: >> >

Re: [appfuse-user] Triggering a page refresh from the server side

2007-07-10 Thread cdtm
ble. Jetty has come up with a solution, but it is not yet > part > of the servlet specification: > http://docs.codehaus.org/display/JETTY/Continuations > > Not sure if there is anything out there yet to automatically handle the > wait/updates on the server side - if you find anything pleas

Re: [appfuse-user] How to implement an observer in the web layer

2007-07-09 Thread cdtm
Thanks very much for your post. Two more questions: 1. We want to update the webpage a user sees triggered by external events which arrive at a "servicemanagerimpl" manager. This means, rather than having the user poll for new data by refreshing his page in the browser, we would like to have the

Re: [appfuse-user] Triggering a page refresh from the server side

2007-07-09 Thread cdtm
We are using appfuse 2.0 and Spring MVC. Thanks in advance mraible wrote: > > Which web framework are you using? Which version of AppFuse are you using? > > Matt > > On 7/8/07, cdtm <[EMAIL PROTECTED]> wrote: >> >> Hi! >> >> We are havin

Re: [appfuse-user] Update User from another Manager

2007-07-08 Thread cdtm
Thanks for your help. It runs now as expected! DNewfield wrote: > > cdtm wrote: >> SimplePresenceManager the manager which updates the users. >> In SimplePresenceManager I changed the constructor to >> >> public SimplePresenceManagerImpl(UserDao

Re: [appfuse-user] Update User from another Manager

2007-07-08 Thread cdtm
org.cdtm.collasoa.service.impl.SimplePresenceManagerImpl.onEvent(Simp lePresenceManagerImpl.java:125) ... The code for updating the Users runs in different thread, could that be an issue? Any ideas how to resolve this? Cheers, Johannes DNewfield wrote: > > cdtm wrote: >> I have a manager that ge

[appfuse-user] Update User from another Manager

2007-07-08 Thread cdtm
Hi, I have a manager that gets some data from another source (via notification). Upon reception of an event this manager has to update user information. Therefore I tried to instantiate the UserManagerImpl by using its constructor, query for a user object (by getUserByUsername()) and save it afte

[appfuse-user] Triggering a page refresh from the server side

2007-07-08 Thread cdtm
Hi! We are having a hard time figuring out how to trigger a page refresh from the server side every few seconds when a server-side event is created. We would prefer a rather simple and straightforward solution. Maybe you have some ideas on how to use DWR library (or any other) for this purpose?