> Now it works perfectly.
Great! I'll add an issue to copy the isSecure() flag from the async
request.
> how can I override your "tapesty-atmosphere.js"?
stick it in the right path under WEB-IBF/classes and your container's
classloader will give it precedence.
Thank you, Lance!
Now it works perfectly.
And one more question: I would like to push custom javascript using
atmosphere. I've seen this
https://github.com/uklance/tapestry-atmosphere/issues/5 and my
question is, how can I override your "tapesty-atmosphere.js"?
Thanks,
Sem
--
Hi Sem, it looks like RequestSecurityManagerImpl is trying to redirect the
async request. Obviously redirecting an async request doesn't make sense,
hence the UnsupportedOperationException.
I can only guess that you have the @Secure annotation on the page. Correct?
Ultimately, we want Request.isS
Thanks, I just stored Subject in the session and retrieved in the
filter. Not ideal, but ok.
Much to my regret, there are another exceptions: first was with the
not defined tapestry-online symbols and after I defined them I have
another one:
[ERROR] 2014-09-09 17:18:39,077 - internal.PerRequestBr
Youre correct, the HttpServletRequest and HttpServletResponse are not
available. This was a design decision made by tapestry-offline. I guess I
could make this pluggable.
But the Request and Response tapestry wrappers ARE available. Also, the
ApplicationStateManager is available. I felt that these
>So it sounds like you'll need to contribute a ComponentRequestFilter. Make
>sure you order it "before:" the tynamo filter.
Yes, this is the right place, but I don't have HttpServletRequest and
HttpServletResponse and I can't initialize security subject like here:
https://github.com/tynamo/tapest
> Lance, I'm also starting to use your work in my application.
Cool!
> your code on github works with atmosphere-runtime-native 2.1.0-RC2.
Later versions of Atmosphere fails.
Pull requests accepted!
> Since we're not using build profiles like in your example, I've had to
manually include atmos
I notice from the exception that the error originates from
SecurityComponentRequestFilter
So it sounds like you'll need to contribute a ComponentRequestFilter. Make
sure you order it "before:" the tynamo filter.
On 5 Sep 2014 22:10, "Lance Java" wrote:
> I'm not familiar with tynamo security bu
I'm not familiar with tynamo security but Kalle has pointed out it uses a
HttpServletFilter to initialise some per thread values.
tapestry-atmosphere uses tapestry-offline to render component events.
Unlike a normal request / response this doesn't go through the
HttpServletRequestFilters etc.
Tak
>That said, I'm not sure what would be the best invocation point to make it
happen with atmosphere/tapestry-offline.
Thank you for the reply. Yes, that is the problem for me: I don't know
where to bind SecurityManager.
Sem
-
To
Lance, I'm also starting to use your work in my application. I think it's
important to note that your code on github works with
atmosphere-runtime-native 2.1.0-RC2 from Dec 2013. Later versions of
Atmosphere seem to need different dependencies included, and also the
contribute method fails becaus
On Fri, Sep 5, 2014 at 10:21 AM, Semen Vishniakov
wrote:
> Seems that SecurityManager is not accessible because of component
> "offline" rendering. Are there any solutions to fix it?
>
I haven't paid close attention to this thread but the securitymanager
certainly isn't accessible. It's perhaps
I'm sorry for the inconvenience, but there is another exception that I
cannot overcome:
when I turn https on and add secure=true to the container component,
the following exception is thrown:
[WARN] 2014-09-05 18:56:12,711 - TapestryModule.ComponentRequestHandler -
Unable to add 'PageGlobals' as
Thanks for your help.
I just changed the port from 8080 to 8081 and it works now.
Sem
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Wrong link, make sure your dependencies match the table here
https://github.com/Atmosphere/atmosphere/wiki/Installing-AtmosphereServlet-with-or-without-native-support#quick-dependency-reference
On 2 Sep 2014 19:31, "Lance Java" wrote:
> Run "mvn:dependency tree" from the command line and make su
Run "mvn:dependency tree" from the command line and make sure your
dependencies match the table here
http://tapestry-atmosphere.uklance.cloudbees.net/. You might need to
a dependency? Not sure.
I had troubles with tomcat and apache on cloudbees and had to upgrade to
http 1.1. Does it work on jett
Yes, the exception is gone now, thank you!
But I have another question now:
The demo and my project work perfectly with cometd long-polling
connection. But when I try to change it to WebSocket, the event is not
triggered. There is no errors or exceptions, in browser console I have
"Websocket succ
Wow, thank you for your work Lance!
I can't test it this week, but I will try it next week and write here
how it works for me.
Sem
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail:
I've just fixed the issue in tapestry-atmosphere 0.0.4 (tapestry-offline
0.0.2)
Please try with the latest version of tapestry-atmosphere.
Cheers,
Lance
Hi Sem,
Taking a look into this, I was surprised to see that tapestry's request
does not have a getCookies() method
http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/services/Request.html
Instead, the CookieSource has to go directly to the HttpServletRequest
https://github.com/apache/ta
20 matches
Mail list logo