Re: Page instance variables and threads

2014-09-30 Thread Lance Java
As you've discovered, tapestry stores page properties as PerThreadValues that are null on the non request thread. You should pass any contextual information to your worker's constructor. Please note that if you use any PerThread services on the thread (eg Hibernate Session) you'll need to call Per

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-30 Thread Chris Mylonas
(gosh i'm a liar, i found time to try it out some more) AND I GOT IT! tapestry-hibernate project, pretty plain, one entity, one service interface one implementation binder.bind() used. Page class does NOT have @CommitAfter on the onSuccess() method. Instead I have it on the serviceImpl for cr

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-30 Thread Chris Mylonas
Can you include the commons-io snippets from both versions (including parent hierarchy). I never use commons-io directly (even unknowningly), it's just plain old tapestry. This is the part that spins me out. - To unsubs

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-30 Thread Chris Mylonas
Hi All, I had it happen in a fresh tapestry-hibernate project for demo, cut it down to one entity and CRUD page classes, can't get it to happen again. I had my hibernate sesion in the tapestry service, it was complaining about nested transactions in this instance, but kicked itself with IOU

Page instance variables and threads

2014-09-30 Thread Alex Kotchnev
I'm putting together a pretty simple application that needs to launch a bunch of background threads to do some work, and the page waits for all of them to complete, and then returns the aggregated results. Now, that sounds pretty straightforward (e.g. sample scala code). Now, the interesting part

Re: Tapestry via PHP proxy

2014-09-30 Thread Thiago H de Paula Figueiredo
On Tue, 30 Sep 2014 09:19:40 -0300, Chris Mylonas wrote: And wants the tapestry stuff to be embedded here - like a cool form This probably won't work without URL rewriting because otherwise the URL to which the form will POST will be wrong. By the way, why do something like that? Embe

Re: Tapestry via PHP proxy

2014-09-30 Thread Chris Mylonas
He probably has existing stuff. So not really a reverse proxy to app server. Like, And wants the tapestry stuff to be embedded here - like a cool form All in the same page, copyright 2020 (me). On Tue, 30 Sep 2014 22:14:32 +1000, Charlouze wrote: PHP usually works with apach

Re: Tapestry + Wro4j

2014-09-30 Thread Thiago H de Paula Figueiredo
There's a tapestry-wro4j subproject at Tapestry 5.3 itself. I've never used it, but I believe if you include a .coffee file like you'd do with a .js file, it would get transformed into JavaScript and returned, all automatically. Same for .less and .css. On Tue, 30 Sep 2014 04:16:09 -0300, A

Re: Tapestry via PHP proxy

2014-09-30 Thread Charlouze
PHP usually works with apache or nginx or another http deamon... why not use those as a proxy (it'll be easier). 2014-09-30 14:10 GMT+02:00 John : > You are right, just wondering if anyone has achieved success with this > here. > > My main concern comes with how tapestry secures forms. > > John >

Re: Tapestry via PHP proxy

2014-09-30 Thread John
You are right, just wondering if anyone has achieved success with this here. My main concern comes with how tapestry secures forms. John - Original Message - From: Lance Java To: Tapestry users Sent: Tuesday, September 30, 2014 12:11 PM Subject: Re: Tapestry via PHP proxy So

Re: Tapestry via PHP proxy

2014-09-30 Thread Lance Java
Sounds more like a php question than a tapestry question. On 30 Sep 2014 10:14, "John" wrote: > I'd like to be able to embed my tapestry pages including form interactions > via PHP script on a remote host. > > Is there any simple way to accoumplish this? I need to hide the > application server w

Tapestry via PHP proxy

2014-09-30 Thread John
I'd like to be able to embed my tapestry pages including form interactions via PHP script on a remote host. Is there any simple way to accoumplish this? I need to hide the application server with my Tapestry app from the client, so I need some kind of proxy interaction. John --- This email is

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-30 Thread Chris Mylonas
I'm working on a fresh share-able example following my previous workflow - if it breaks, we can fix it. If it doesn't there's something wrong with my other project. Will be a few hours, I'm learning nodejs stuff at the same time. On Tue, 30 Sep 2014 17:42:17 +1000, Lance Java wrote:

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-30 Thread Lance Java
So, have you solved this yet? If it breaks by switching from beta6 to beta22 can you run "mvn dependency:tree" in both cases? Can you include the commons-io snippets from both versions (including parent hierarchy).

Re: Tapestry + Wro4j

2014-09-30 Thread Andreas Fink
Hi John On 29 Sep 2014, at 9:52 , John wrote: > > Is there any documentation+examples for using Wro4j or other web resource > compiler technologies with Tapestry please? That project here should give you some pointers on how to integrate these technologies: https://github.com/lltyk/tapestry-