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

2014-10-01 Thread Kalle Korhonen
I'm totally confused about this thread. Why don't you just add commons-io as a dependency of your project and file an issue that commons-io is incorrectly declared as test scoped dependency to T5? Kalle On Tue, Sep 30, 2014 at 11:17 PM, Chris Mylonas wrote: > (gosh i'm a liar, i found time to t

Re: Page instance variables and threads

2014-10-01 Thread Kalle Korhonen
I agree with Lance that passing the values as parameters in the thread's constructor is the right way but short of that, referencing (final) local variables in the inner classes seems like a fine solution to me. There's no generic way to share the state of one thread with other threads. Kalle On

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

2014-10-01 Thread Chris Mylonas
Umm On Wed, 01 Oct 2014 17:00:00 +1000, Kalle Korhonen wrote: I'm totally confused about this thread. Why don't you just add commons-io as a dependency of your project OK done - fixes my HTTP/500 message and I get the nice exception page. No stack trace on command line still thoug

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

2014-10-01 Thread Lance Java
I still can't see how this was working on beta-6 since commons-io has the same "test" scope.

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

2014-10-01 Thread Lance Java
Ah, found it. Beta6 was added to maven central on 15 may. ExceptionReporterImpl was created 30th may. On 1 Oct 2014 09:11, "Lance Java" wrote: > I still can't see how this was working on beta-6 since commons-io has the > same "test" scope. >

Re: Tapestry via PHP proxy

2014-10-01 Thread John
Hi, Yes I tried iframe already, but I have had problems with some Tapestry mixins, for example the jquery Tooltip mixin will spill the title text over the edge of the frame causing to the text to crop. And I don't want the server address serving Tapestry to turn up in the broswer history. Some

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

2014-10-01 Thread Chris Mylonas
where/how'd you find this out btw? sounds like a good way to move with the times. On Wed, 01 Oct 2014 18:21:27 +1000, Lance Java wrote: Ah, found it. Beta6 was added to maven central on 15 may. ExceptionReporterImpl was created 30th may. On 1 Oct 2014 09:11, "Lance Java" wrote: I still

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

2014-10-01 Thread Lance Java
I looked on maven central for the release dates http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.tapestry%22%20AND%20a%3A%22tapestry-core%22 Then I followed your exception stack trace to ExceptionReporterImpl and looked up the history on github https://github.com/apache/tapestry-5/com

Re: Page instance variables and threads

2014-10-01 Thread Thiago H de Paula Figueiredo
On Wed, 01 Oct 2014 03:29:24 -0300, Lance Java wrote: 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. This happens since 5.2, when the page pool was abo

Re: Tapestry via PHP proxy

2014-10-01 Thread Thiago H de Paula Figueiredo
On Wed, 01 Oct 2014 05:31:08 -0300, John wrote: But thanks for the point about URL rewriting, that seems to be the main problem. Could some Tapestry filter rewite the URLs based on the request header, You can do that using the LinkRewriter API or the old Tapestry URL rewriter API (for in

Re: Tapestry via PHP proxy

2014-10-01 Thread Lance Java
Tapestry has built-in support for rendering links to a proxy via the BaseUrlSource. If you contribute the following symbols to match your PHP server - SymbolConstants.HOSTNAME - SymbolConstants.HOSTPORT - SymbolConstants.HOSTPORT_SECURE All links (and form post endpoints) generated by tapestry wi

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

2014-10-01 Thread Chris Mylonas
Thanks for the exemplary investigative approach, simple or otherwise :) On Wed, 01 Oct 2014 21:48:00 +1000, Lance Java wrote: I looked on maven central for the release dates http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.tapestry%22%20AND%20a%3A%22tapestry-core%22 Then I fol

Re: Tapestry via PHP proxy

2014-10-01 Thread John
Thanks for this. My Tapestry components will inject into a number of different sites, so I think I must use LinkRewriter like Thiago suggests. This will allow me to assign the URLs dynamically depending on request I guess? John - Original Message - From: Lance Java To: Tapestry us

Re: Tapestry via PHP proxy

2014-10-01 Thread Thiago H de Paula Figueiredo
On Wed, 01 Oct 2014 10:58:18 -0300, John wrote: Thanks for this. My Tapestry components will inject into a number of different sites, so I think I must use LinkRewriter like Thiago suggests. This will allow me to assign the URLs dynamically depending on request I guess? Yep. You can impl

Re: Tapestry Production Mode

2014-10-01 Thread akshay
Hi Thiago, Your idea works.Great!! Thanks a lot!!! Regards Akshay On Fri, Sep 26, 2014 at 6:59 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 26 Sep 2014 12:53:00 -0300, akshay > wrote: > > Hi Thiago, >> > > Hi! > > I believe tapestry 5.4 doesn't have any wro4j rela

Re: Tapestry Production Mode

2014-10-01 Thread Thiago H de Paula Figueiredo
On Wed, 01 Oct 2014 11:08:35 -0300, akshay wrote: Hi Thiago, Hello, Akshay! Your idea works.Great!! Thanks a lot!!! Yay! :) Is it possible for you to share the solution, so other people with similar needs can benefit from it? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibe

5.4 logging dependency

2014-10-01 Thread Chris Mylonas
Hi - the logs on 5.4 didn't seem to be displaying the text logo from 5.3 or what services are REAL/VIRTUAL/etc. Just plain old standard pom.xml from quickstart for 5.3.7 used, then changed version to 5.4-beta-22 I then added ch.qos.logback logback-classic 1.1.2 to

Re: 5.4 logging dependency

2014-10-01 Thread Kalle Korhonen
On Wed, Oct 1, 2014 at 7:49 AM, Chris Mylonas wrote: > > Hi - the logs on 5.4 didn't seem to be displaying the text logo from 5.3 > or what services are REAL/VIRTUAL/etc. > Just plain old standard pom.xml from quickstart for 5.3.7 used, then > changed version to 5.4-beta-22 > > I was previously g

Re: Tapestry via PHP proxy

2014-10-01 Thread Lance Java
Or you could decorate the BaseUrlSource service to check for request headers etc. On 1 Oct 2014 15:07, "Thiago H de Paula Figueiredo" wrote: > On Wed, 01 Oct 2014 10:58:18 -0300, John wrote: > > Thanks for this. >> >> My Tapestry components will inject into a number of different sites, so I >>

Re: 5.4 logging dependency

2014-10-01 Thread Chris Mylonas
Ah OK fair call. It's another change of behaviour from upgrading from 5.3 to 5.4 I noticed - 5.3 came with log4j-slf4j stuff included. 5.4 comes with plug-your-own. Closed/Won't Fix the JIRA I created jumping the gun. https://issues.apache.org/jira/browse/TAP5-2393 Sorry for poking my nose i

Re: 5.4 logging dependency

2014-10-01 Thread Howard Lewis Ship
This needs to be mentioned in the release notes, if not done so already. On Wed, Oct 1, 2014 at 8:22 AM, Chris Mylonas wrote: > Ah OK fair call. > > It's another change of behaviour from upgrading from 5.3 to 5.4 I noticed > - 5.3 came with log4j-slf4j stuff included. > 5.4 comes with plug-your-

Re: 5.4 logging dependency

2014-10-01 Thread Chris Mylonas
minor documentation ticket created https://issues.apache.org/jira/browse/TAP5-2395 nothing mentioned in https://github.com/apache/tapestry-5/blob/master/54_RELEASE_NOTES.md On Thu, 02 Oct 2014 03:38:06 +1000, Howard Lewis Ship wrote: This needs to be mentioned in the release notes, if n

Splitting Tapestry IOC out as a separate project

2014-10-01 Thread raygarsta...@gmail.com
Just curious - are there any plans to carve out the IOC portion of Tapestry and release that as a separate project?  Since I’m moving towards client-side frameworks (such as angular and ember) for future projects, I don’t have much need for TML, page, and component-related logic.  But, I’m quite

Change log level from DEBUG to INFO

2014-10-01 Thread Chris Mylonas
Hi All, How do you turn the logging level down. I would have thought there'd be a symbol or configuration mention somewhere but can't find it. There's too much info for me to find exceptions when thrown. Thanks Chris - T