Issue with grails events push plugin

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with grails events push plugin

ruado1987
Hi All,

Has anyone of you come across this issue https://github.com/smaldini/grails-events-push/issues/12 in events push 1.0.M2-SNAPSHOT?

----
Harry

Reply | Threaded
Open this post in threaded view
|

Re: Issue with grails events push plugin

smaldini
Let me try with the sample scenario included in the plugin source (views/index.gsp) but I didn't notice that.

On Sun, Aug 12, 2012 at 4:43 PM, Lam nguyen phuc <[hidden email]> wrote:
Hi All,

Has anyone of you come across this issue https://github.com/smaldini/grails-events-push/issues/12 in events push 1.0.M2-SNAPSHOT?

----
Harry




--
Stéphane MALDINI
--


Reply | Threaded
Open this post in threaded view
|

Re: Issue with grails events push plugin

smaldini
Didn't manage to reproduce it yet, any context ?

On Sun, Aug 12, 2012 at 4:54 PM, Stephane Maldini <[hidden email]> wrote:
Let me try with the sample scenario included in the plugin source (views/index.gsp) but I didn't notice that.


On Sun, Aug 12, 2012 at 4:43 PM, Lam nguyen phuc <[hidden email]> wrote:
Hi All,

Has anyone of you come across this issue https://github.com/smaldini/grails-events-push/issues/12 in events push 1.0.M2-SNAPSHOT?

----
Harry




--
Stéphane MALDINI
--





--
Stéphane MALDINI
--


Reply | Threaded
Open this post in threaded view
|

Re: Issue with grails events push plugin

ruado1987
Hi Stephane,

The attached example can help to reproduce the problem. Please access http://localhost:8080/events-push-test/liveupdate and open http://localhost:8080/events-push-test/announcement/create in another browser tab to create a new announcement. Once u create a new announcement, check the first page to see that the same announcement has been added twice to the page.

Regards,
Harry

On Mon, Aug 13, 2012 at 12:12 AM, Stephane Maldini <[hidden email]> wrote:
Didn't manage to reproduce it yet, any context ?


On Sun, Aug 12, 2012 at 4:54 PM, Stephane Maldini <[hidden email]> wrote:
Let me try with the sample scenario included in the plugin source (views/index.gsp) but I didn't notice that.


On Sun, Aug 12, 2012 at 4:43 PM, Lam nguyen phuc <[hidden email]> wrote:
Hi All,

Has anyone of you come across this issue https://github.com/smaldini/grails-events-push/issues/12 in events push 1.0.M2-SNAPSHOT?

----
Harry




--
Stéphane MALDINI
--





--
Stéphane MALDINI
--





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

sample.zip (173K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Issue with grails events push plugin

smaldini
Brillant, many thanks. I work on that.

Use the following as a workaround for the moment in your view : 
window.grailsEvents = new grails.Events("${createLink(uri: '')}", {transport:'sse'}); 

On Mon, Aug 13, 2012 at 3:42 PM, Lam nguyen phuc <[hidden email]> wrote:
Hi Stephane,

The attached example can help to reproduce the problem. Please access http://localhost:8080/events-push-test/liveupdate and open http://localhost:8080/events-push-test/announcement/create in another browser tab to create a new announcement. Once u create a new announcement, check the first page to see that the same announcement has been added twice to the page.

Regards,
Harry

On Mon, Aug 13, 2012 at 12:12 AM, Stephane Maldini <[hidden email]> wrote:
Didn't manage to reproduce it yet, any context ?


On Sun, Aug 12, 2012 at 4:54 PM, Stephane Maldini <[hidden email]> wrote:
Let me try with the sample scenario included in the plugin source (views/index.gsp) but I didn't notice that.


On Sun, Aug 12, 2012 at 4:43 PM, Lam nguyen phuc <[hidden email]> wrote:
Hi All,

Has anyone of you come across this issue https://github.com/smaldini/grails-events-push/issues/12 in events push 1.0.M2-SNAPSHOT?

----
Harry




--
Stéphane MALDINI
--





--
Stéphane MALDINI
--





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




--
Stéphane MALDINI
--


Reply | Threaded
Open this post in threaded view
|

Re: Issue with grails events push plugin

smaldini
I've deployed a new snapshot which I believe fix that.

On Mon, Aug 13, 2012 at 4:25 PM, Stephane Maldini <[hidden email]> wrote:
Brillant, many thanks. I work on that.

Use the following as a workaround for the moment in your view : 
window.grailsEvents = new grails.Events("${createLink(uri: '')}", {transport:'sse'}); 

On Mon, Aug 13, 2012 at 3:42 PM, Lam nguyen phuc <[hidden email]> wrote:
Hi Stephane,

The attached example can help to reproduce the problem. Please access http://localhost:8080/events-push-test/liveupdate and open http://localhost:8080/events-push-test/announcement/create in another browser tab to create a new announcement. Once u create a new announcement, check the first page to see that the same announcement has been added twice to the page.

Regards,
Harry

On Mon, Aug 13, 2012 at 12:12 AM, Stephane Maldini <[hidden email]> wrote:
Didn't manage to reproduce it yet, any context ?


On Sun, Aug 12, 2012 at 4:54 PM, Stephane Maldini <[hidden email]> wrote:
Let me try with the sample scenario included in the plugin source (views/index.gsp) but I didn't notice that.


On Sun, Aug 12, 2012 at 4:43 PM, Lam nguyen phuc <[hidden email]> wrote:
Hi All,

Has anyone of you come across this issue https://github.com/smaldini/grails-events-push/issues/12 in events push 1.0.M2-SNAPSHOT?

----
Harry




--
Stéphane MALDINI
--





--
Stéphane MALDINI
--





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




--
Stéphane MALDINI
--





--
Stéphane MALDINI
--


Reply | Threaded
Open this post in threaded view
|

Re: Issue with grails events push plugin

ruado1987
Work like a charm. Thanks a lot.