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
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
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
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
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
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.
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
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
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
I've created an issue here
https://github.com/uklance/tapestry-cometd/issues/55
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
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
>>
>> 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,
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
>
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
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
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
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
: 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
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
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
21 matches
Mail list logo