You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by vineet semwal <vi...@gmail.com> on 2010/01/15 10:24:16 UTC

Re: wicketstuff push, publishing event in a page2 and component installed with channel listener in page1

Sorry ,a little late ..
push is a great project,thanks for your efforts.

i am a little confused,
1)does the time out only happens after a remove event is published or apart
from this, there is another
timeout  which happens when server is finished pushing into the client?

2)i see some problems when using more than one listener on one component, i
tried
reproducing the problem by a little tinkering in your example ,
currently the example in the quickstart i am attaching has two listeners on
different
components ,you can reproduce the problem by adding listeners to the same
component.
 a event in one channel is caught by channel listener meant for another
channel.


thanks again ..


On Sat, Dec 26, 2009 at 11:15 PM, Rodolfo Hansen <kr...@gmail.com> wrote:

> Regarding remove listeners:
>
> Most browsers fail to report the remove event.
> Only firefox reports removal immediately, all other browsers depend on the
> timeout for a comet reconnect to notice and fire the remove event; you may
> need to lower the timeout for the cometd connections.
>
>
> Also,can i install more than one channel listener on a component?
> Never tried it, but there should be no problem, can you write a quickstart
> with your use cases, so I can flesh any bugs out?
>
>
> On Thu, Dec 24, 2009 at 10:03 AM, vineet semwal
> <vi...@gmail.com>wrote:
>
> > Hellos,
> > recently i started using wicketstuff push ,i have few doubts as following
> > ..
> > i have a situation where i need to publish a event in page 2 and add the
> > channel listener in page 1 .
> > for eg. a sign out event published in page 2 which i do using a remove
> > listener.
> >
> > Also,can i install more than one channel listener on a component?
> >
> > --
> > regards,
> > Vineet Semwal
> >
>
>
>
> --
> Rodolfo Hansen
> CTO, KindleIT Software Development
> Email: rhansen@kindleit.net
> Mobile: +1 (809) 860-6669
>



-- 
regards,
Vineet Semwal

Re: wicketstuff push, publishing event in a page2 and component installed with channel listener in page1

Posted by Rodolfo Hansen <kr...@gmail.com>.
Ok, thanks for the quickstart.

I just submitted the fix to svn...

On Tue, Jan 19, 2010 at 2:38 AM, vineet semwal
<vi...@gmail.com>wrote:

> thanks,
> i will take a look at them.
>
> On Mon, Jan 18, 2010 at 9:32 PM, Rodolfo Hansen <kr...@gmail.com> wrote:
>
> > On Fri, Jan 15, 2010 at 5:24 AM, vineet semwal
> > <vi...@gmail.com>wrote:
> >
> > >
> > > Sorry ,a little late ..
> > > push is a great project,thanks for your efforts.
> > >
> > > i am a little confused,
> > > 1)does the time out only happens after a remove event is published or
> > apart
> > > from this, there is another
> > > timeout  which happens when server is finished pushing into the client?
> > >
> >
> > Here are the configuration options for the Jetty implementation of
> cometd.
> > You can change the connection timeout value
> > to notice disconects sooner (at the cost of ineffiency)
> > http://cometd.org/documentation/cometd-java/server/configuration
> >
> > You can check the bayeux  specificition for the details. (
> > http://svn.cometd.com/trunk/bayeux/bayeux.html)
> >
> >
> >
> >
> > >
> > > 2)i see some problems when using more than one listener on one
> component,
> > i
> > > tried
> > > reproducing the problem by a little tinkering in your example ,
> > > currently the example in the quickstart i am attaching has two
> listeners
> > on
> > > different
> > > components ,you can reproduce the problem by adding listeners to the
> same
> > > component.
> > >  a event in one channel is caught by channel listener meant for another
> > > channel.
> > >
> >
> > Great, I'll look into this.
> >
> > >
> > >
> > > thanks again ..
> > >
> > >
> > >
> > > On Sat, Dec 26, 2009 at 11:15 PM, Rodolfo Hansen <kr...@gmail.com>
> > wrote:
> > >
> > >> Regarding remove listeners:
> > >>
> > >> Most browsers fail to report the remove event.
> > >> Only firefox reports removal immediately, all other browsers depend on
> > the
> > >> timeout for a comet reconnect to notice and fire the remove event; you
> > may
> > >> need to lower the timeout for the cometd connections.
> > >>
> > >>
> > >> Also,can i install more than one channel listener on a component?
> > >> Never tried it, but there should be no problem, can you write a
> > quickstart
> > >> with your use cases, so I can flesh any bugs out?
> > >>
> > >>
> > >> On Thu, Dec 24, 2009 at 10:03 AM, vineet semwal
> > >> <vi...@gmail.com>wrote:
> > >>
> > >> > Hellos,
> > >> > recently i started using wicketstuff push ,i have few doubts as
> > >> following
> > >> > ..
> > >> > i have a situation where i need to publish a event in page 2 and add
> > the
> > >> > channel listener in page 1 .
> > >> > for eg. a sign out event published in page 2 which i do using a
> remove
> > >> > listener.
> > >> >
> > >> > Also,can i install more than one channel listener on a component?
> > >> >
> > >> > --
> > >> > regards,
> > >> > Vineet Semwal
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Rodolfo Hansen
> > >> CTO, KindleIT Software Development
> > >> Email: rhansen@kindleit.net
> > >> Mobile: +1 (809) 860-6669
> > >>
> > >
> > >
> > >
> > > --
> > > regards,
> > > Vineet Semwal
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> >
> >
> >
> > --
> > Rodolfo Hansen
> > CTO, KindleIT Software Development
> > Email: rhansen@kindleit.net
> > Mobile: +1 (809) 860-6669
> >
>
>
>
> --
> regards,
> Vineet Semwal
>



-- 
Rodolfo Hansen
CTO, KindleIT Software Development
Email: rhansen@kindleit.net
Mobile: +1 (809) 860-6669

Re: wicketstuff push, publishing event in a page2 and component installed with channel listener in page1

Posted by vineet semwal <vi...@gmail.com>.
thanks,
i will take a look at them.

On Mon, Jan 18, 2010 at 9:32 PM, Rodolfo Hansen <kr...@gmail.com> wrote:

> On Fri, Jan 15, 2010 at 5:24 AM, vineet semwal
> <vi...@gmail.com>wrote:
>
> >
> > Sorry ,a little late ..
> > push is a great project,thanks for your efforts.
> >
> > i am a little confused,
> > 1)does the time out only happens after a remove event is published or
> apart
> > from this, there is another
> > timeout  which happens when server is finished pushing into the client?
> >
>
> Here are the configuration options for the Jetty implementation of cometd.
> You can change the connection timeout value
> to notice disconects sooner (at the cost of ineffiency)
> http://cometd.org/documentation/cometd-java/server/configuration
>
> You can check the bayeux  specificition for the details. (
> http://svn.cometd.com/trunk/bayeux/bayeux.html)
>
>
>
>
> >
> > 2)i see some problems when using more than one listener on one component,
> i
> > tried
> > reproducing the problem by a little tinkering in your example ,
> > currently the example in the quickstart i am attaching has two listeners
> on
> > different
> > components ,you can reproduce the problem by adding listeners to the same
> > component.
> >  a event in one channel is caught by channel listener meant for another
> > channel.
> >
>
> Great, I'll look into this.
>
> >
> >
> > thanks again ..
> >
> >
> >
> > On Sat, Dec 26, 2009 at 11:15 PM, Rodolfo Hansen <kr...@gmail.com>
> wrote:
> >
> >> Regarding remove listeners:
> >>
> >> Most browsers fail to report the remove event.
> >> Only firefox reports removal immediately, all other browsers depend on
> the
> >> timeout for a comet reconnect to notice and fire the remove event; you
> may
> >> need to lower the timeout for the cometd connections.
> >>
> >>
> >> Also,can i install more than one channel listener on a component?
> >> Never tried it, but there should be no problem, can you write a
> quickstart
> >> with your use cases, so I can flesh any bugs out?
> >>
> >>
> >> On Thu, Dec 24, 2009 at 10:03 AM, vineet semwal
> >> <vi...@gmail.com>wrote:
> >>
> >> > Hellos,
> >> > recently i started using wicketstuff push ,i have few doubts as
> >> following
> >> > ..
> >> > i have a situation where i need to publish a event in page 2 and add
> the
> >> > channel listener in page 1 .
> >> > for eg. a sign out event published in page 2 which i do using a remove
> >> > listener.
> >> >
> >> > Also,can i install more than one channel listener on a component?
> >> >
> >> > --
> >> > regards,
> >> > Vineet Semwal
> >> >
> >>
> >>
> >>
> >> --
> >> Rodolfo Hansen
> >> CTO, KindleIT Software Development
> >> Email: rhansen@kindleit.net
> >> Mobile: +1 (809) 860-6669
> >>
> >
> >
> >
> > --
> > regards,
> > Vineet Semwal
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
>
>
>
> --
> Rodolfo Hansen
> CTO, KindleIT Software Development
> Email: rhansen@kindleit.net
> Mobile: +1 (809) 860-6669
>



-- 
regards,
Vineet Semwal

Re: wicketstuff push, publishing event in a page2 and component installed with channel listener in page1

Posted by Rodolfo Hansen <kr...@gmail.com>.
On Fri, Jan 15, 2010 at 5:24 AM, vineet semwal
<vi...@gmail.com>wrote:

>
> Sorry ,a little late ..
> push is a great project,thanks for your efforts.
>
> i am a little confused,
> 1)does the time out only happens after a remove event is published or apart
> from this, there is another
> timeout  which happens when server is finished pushing into the client?
>

Here are the configuration options for the Jetty implementation of cometd.
You can change the connection timeout value
to notice disconects sooner (at the cost of ineffiency)
http://cometd.org/documentation/cometd-java/server/configuration

You can check the bayeux  specificition for the details. (
http://svn.cometd.com/trunk/bayeux/bayeux.html)




>
> 2)i see some problems when using more than one listener on one component, i
> tried
> reproducing the problem by a little tinkering in your example ,
> currently the example in the quickstart i am attaching has two listeners on
> different
> components ,you can reproduce the problem by adding listeners to the same
> component.
>  a event in one channel is caught by channel listener meant for another
> channel.
>

Great, I'll look into this.

>
>
> thanks again ..
>
>
>
> On Sat, Dec 26, 2009 at 11:15 PM, Rodolfo Hansen <kr...@gmail.com> wrote:
>
>> Regarding remove listeners:
>>
>> Most browsers fail to report the remove event.
>> Only firefox reports removal immediately, all other browsers depend on the
>> timeout for a comet reconnect to notice and fire the remove event; you may
>> need to lower the timeout for the cometd connections.
>>
>>
>> Also,can i install more than one channel listener on a component?
>> Never tried it, but there should be no problem, can you write a quickstart
>> with your use cases, so I can flesh any bugs out?
>>
>>
>> On Thu, Dec 24, 2009 at 10:03 AM, vineet semwal
>> <vi...@gmail.com>wrote:
>>
>> > Hellos,
>> > recently i started using wicketstuff push ,i have few doubts as
>> following
>> > ..
>> > i have a situation where i need to publish a event in page 2 and add the
>> > channel listener in page 1 .
>> > for eg. a sign out event published in page 2 which i do using a remove
>> > listener.
>> >
>> > Also,can i install more than one channel listener on a component?
>> >
>> > --
>> > regards,
>> > Vineet Semwal
>> >
>>
>>
>>
>> --
>> Rodolfo Hansen
>> CTO, KindleIT Software Development
>> Email: rhansen@kindleit.net
>> Mobile: +1 (809) 860-6669
>>
>
>
>
> --
> regards,
> Vineet Semwal
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Rodolfo Hansen
CTO, KindleIT Software Development
Email: rhansen@kindleit.net
Mobile: +1 (809) 860-6669