Re: Live support solution

2013-04-30 Thread Lance Java
It's fine in the sidebar, you just need to understand the limitations of trying to hack tapestry to function outside of the normal request / response flow. CometD requires that the HttpSession is created before the push occurs. Perhaps you could initialize your httpsession scoped list in the setup

Re: Live support solution

2013-04-30 Thread Tom Nys
cutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:722) -Oorspronkelijk bericht- From: Lance Java Sent: Tuesday, April 30, 2013 9:56 AM To: Tapestry users Subject: Re: Live support solution Hmm... Your use

Re: Live support solution

2013-04-30 Thread Lance Java
Hmm... Your use case is really needing the entire server spec in your push event innit? It seems as if you are generating links in your push event's block, correct? Unfortunately, FakeHttpServletResponse does not have an implementation for encodeURL which is required by AbstractLink to generate li

Re: Live support solution

2013-04-30 Thread Tom Nys
or.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:722) -Oorspronkelijk bericht- From: Lance Java Sent: Monday, April 29, 2013 8:55 PM To: Tapestry users Subject: Re: Live support solution I've just

Re: Live support solution

2013-04-29 Thread Lance Java
Unfortunately, CometD doesn't expose the HttpSession in a public API so I can't pass it to tapestry in the FakeHttpServletRequest. You can use the following code to get a session attribute: @Inject BayeuxServer bayeuxServer; HttpTransport transport = (HttpTransport) bayeuxServer.getCurrent

Re: Live support solution

2013-04-28 Thread Lance Java
I've just committed changes to tapestry-cometd to support page activation context in push events. I've deployed version 0.9.16 to my github maven repository. Please increase your dependency version and give it a whirl. Cheers, Lance.

Re: Live support solution

2013-04-23 Thread Lance Java
Unfortunately, the bug in tapestry-cometd means that context.getCount() will always be 0. I will need to fix this bug. This is executing your redirect logic in the push event which is then failing. I'll try to get you a fix over the weekend. I've detailed the bug fix quite thoroughly in the issue

Re: Live support solution

2013-04-23 Thread Lance Java
er} > > > > > and in java > > void onUser(String user){ >system.out.println(user) > } > > this also gives the encodeURL error. (is this the same error as what you > said?) > > any other idea on how to do this? > > -----Oorspronkelijk b

Re: Live support solution

2013-04-23 Thread Tom Nys
he same error as what you said?) any other idea on how to do this? -Oorspronkelijk bericht- From: Lance Java Sent: Tuesday, April 23, 2013 10:24 AM To: Tapestry users Subject: Re: Live support solution Do you do any redirecting in your onActivate? (eg do you return another page under s

Re: Live support solution

2013-04-23 Thread Lance Java
I've created an issue here https://github.com/uklance/tapestry-cometd/issues/55

Re: Live support solution

2013-04-23 Thread Lance Java
t putting the chat > in the sidebar is just impossible becous of this? > > -Oorspronkelijk bericht- From: Lance Java > Sent: Monday, April 22, 2013 6:14 PM > To: Tapestry users > Subject: Re: Live support solution > > Also, do you have a security framework that might be get

Re: Live support solution

2013-04-23 Thread Tom Nys
not realy an option. I guess that putting the chat in the sidebar is just impossible becous of this? -Oorspronkelijk bericht- From: Lance Java Sent: Monday, April 22, 2013 6:14 PM To: Tapestry users Subject: Re: Live support solution Also, do you have a security framework that might

Re: Live support solution

2013-04-22 Thread Lance Java
>> >> The side of the admin needs to be in the sidebar component wich appears >> on every page of our application so he can go to the details of that user >> and don't lose the chat. >> >> The client side is just a page for the moment (so no specials there,

Re: Live support solution

2013-04-22 Thread Lance Java
e can go to the details of that user and > don't lose the chat. > > The client side is just a page for the moment (so no specials there, just > a simple chat reciever-sender like on your wiki). > > Greets > Runesmacher > -----Oorspronkelijk bericht- From: Lance Java >

Re: Live support solution

2013-04-22 Thread Tom Nys
t- From: Lance Java Sent: Monday, April 22, 2013 4:17 PM To: Tapestry users Subject: Re: Live support solution Hi, sorry for the late response, I've been on holiday. I'm the author of tapestry-cometd. Tapestry-cometd has to fool tapestry into thinking there is a "real" reques

Re: Live support solution

2013-04-22 Thread Lance Java
oolExecutor.java:1145) >java.util.concurrent.**ThreadPoolExecutor$Worker.run(** > ThreadPoolExecutor.java:615) >java.lang.Thread.run(Thread.**java:722) > > Tapestry Framework > > Any ideas on how to fix this? > I think it is becous of the onPassivate insi

Re: Live support solution

2013-04-22 Thread Tom Nys
f the onPassivate inside the page i want to embed it in. Greets -Oorspronkelijk bericht- From: Taha Siddiqi Sent: Thursday, April 4, 2013 4:37 PM To: Tapestry users Subject: Re: Live support solution I recently worked on a tapestry + cometd project. I didn't use the module. Just

Re: Live support solution

2013-04-04 Thread Taha Siddiqi
bypassing the encodeUrl function in the fakehtmlrequest of > cometD) but this isn't a nice solution since it might have broken some other > stuff. > > > -Oorspronkelijk bericht- From: Thiago H de Paula Figueiredo > Sent: Thursday, April 4, 2013 2:17 PM > To: Tapestry user

Re: Live support solution

2013-04-04 Thread Tom Nys
: Thiago H de Paula Figueiredo Sent: Thursday, April 4, 2013 2:17 PM To: Tapestry users Subject: Re: Live support solution On Thu, 04 Apr 2013 05:20:52 -0300, Tom Nys wrote: Hi there, Hi! I’m developing a website in tapestry and trying to implement live support (1 on 1). I tryed im

Re: Live support solution

2013-04-04 Thread Thiago H de Paula Figueiredo
On Thu, 04 Apr 2013 05:20:52 -0300, Tom Nys wrote: Hi there, Hi! I’m developing a website in tapestry and trying to implement live support (1 on 1). I tryed implementing tapestry-cometD but it doesn’t support some of the functions already implemented on my pages. Your question is t

Live support solution

2013-04-04 Thread Tom Nys
Hi there, I’m developing a website in tapestry and trying to implement live support (1 on 1). I tryed implementing tapestry-cometD but it doesn’t support some of the functions already implemented on my pages. Are there any others i can try to implement? Greets Runesmacher