Tapestry 5.3.7 + Hibernate 5

2015-11-27 Thread Semen Vishniakov
Hi all, tapestry-hibernate 5.3.8 uses a depricated class org.hibernate.cfg.AnnotationConfiguration that prevents me from updating hibernate to the newest version. Is there any way to update hibernate without updating tapestry to 5.4? I've also tried to update only tapestry-hibernate dependency but

Encode/decode activation parameters

2014-10-24 Thread Semen Vishniakov
Hi all, I really like the concept to store values in the url instead of storing in the session. But in most cases these are IDs of the entities that can be manipulated by users in the url. Is it a good idea to try to encode parameters before storing in the url and to decode before onActivate and i

Tapestry 5.3.8 Maven repository

2014-10-17 Thread Semen Vishniakov
Hi, I would like to know whether tapestry 5.3.8 with java 8 can be used in production or not and if so, why is it not in the maven repository? Thanks, Sem - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For addit

Re: Tynamo-Conversations + Tapestry-Atmosphere

2014-09-10 Thread Semen Vishniakov
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 --

Re: Tynamo-Conversations + Tapestry-Atmosphere

2014-09-09 Thread Semen Vishniakov
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

Re: Tynamo-Conversations + Tapestry-Atmosphere

2014-09-09 Thread Semen Vishniakov
>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

Re: Tynamo-Conversations + Tapestry-Atmosphere

2014-09-05 Thread Semen Vishniakov
>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

Re: Tynamo-Conversations + Tapestry-Atmosphere

2014-09-05 Thread Semen Vishniakov
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

Re: Tynamo-Conversations + Tapestry-Atmosphere

2014-09-03 Thread Semen Vishniakov
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

Re: Tynamo-Conversations + Tapestry-Atmosphere

2014-09-02 Thread Semen Vishniakov
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

Re: Tynamo-Conversations + Tapestry-Atmosphere

2014-08-25 Thread Semen Vishniakov
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:

Tynamo-Conversations + Tapestry-Atmosphere

2014-08-22 Thread Semen Vishniakov
Hi all, I'm trying to intrgrate tapestry-atmosphere library in my project, where we already have tynamo conversation and tynamo security. The following exception is thrown, when I try to broadcast message: internal.PerRequestBroadcastFilterImpl - Error rendering ComponentEventParameters[page=Hom

Re: Loop with component inside a zone: parameter is bound to null

2014-04-26 Thread Semen Vishniakov
> The solution for your specific case would be to pass the current loop > variable value in the event context, but I don't think this was implemented > yet. Until then, you'll need to write some JavaScript and not use the > valueChanged event of Select. Bad news. Thank you for reply!

Loop with component inside a zone: parameter is bound to null

2014-04-26 Thread Semen Vishniakov
Hi all! I have a loop within zone: Also I have a selector, that changes csCustomerSurvey.csAnswers and rerenders this zone. When selected value is changed, I set csAnswers of csCustomerSurvey and return body of the zone: @OnEvent(value = EventConstants.VALUE_

Re: Fwd: Tapestry folders question

2013-09-03 Thread Semen Vishniakov
Thank you for your reply, Thiago! > I think your page is actually a page because it does have an URL and handles requests. (Sorry for my English) I don't think so. It's a little bit complicated: We've wrote abstract class, which processes"right-click" on grid rows and shows context menu. By click

Fwd: Tapestry folders question

2013-09-03 Thread Semen Vishniakov
hi, I have a page class (without .tml), which configurates and returns other pages. This class is now in "pages" package because I have to inject other Pages and Services on it. But actually it doesn't a Page and I would like to move it out of tapestry packages. How can I slove it? Or how can I mo