Re: [T5] creating event links without the page activat ion context being encoded into the URLLink to this mes sage

2009-01-18 Thread Jochen Kemnade
Hello Thiago, sorry, the weekend happened to come in between. ;-) > What value are you passing to the context field of > LinkFactory.createComponentEventLink()? > AFAIK, Tapestry always adds the current activation context to any links, > unless you specify > an activation context yourself. Try

Discard persistent field changes for one strategy only?

2009-01-18 Thread Kalle Korhonen
I would like to discard all changes for one strategy only. PersistentFieldManager always iterates over all strategies when calling discardChanges() and I don't see any (easy) way to decorate the PersistentFieldManager to allow it to discard selectively for some strategies only. Would it be possible

Re: [T4.1] OGNL performance problem (serialization)

2009-01-18 Thread Andreas Andreou
Aaron, I was able to reproduce your fast/slow problem using every Tap version from 4.1.1 up to 4.1.6 (and relevent ognl versions) but only when org.apache.tapestry.disable-caching was set to TRUE Perhaps you forgot to set this property back to false ? On Fri, Jan 16, 2009 at 7:46 PM, Aaron Kamin

Re: t:if test considers Float < 1.0 as false?

2009-01-18 Thread Howard Lewis Ship
Seems reasonable to me; the TypeCoercer is coercing Float to Integer and checking for zero, and that's a lossy coercion that rounds down. On Sun, Jan 18, 2009 at 12:59 AM, James Hillyerd wrote: > It seems that t:if considers 0.1, 0.99 as false, but 1.0 as true. > Should I file a bug? This i

RE: [T5] loading tapestry configuration from properties file?

2009-01-18 Thread Algirdas
I had some problems with deploying my project and reading properties with this example (developed on Jetty - OK!, but deployed on Tomcat, and reading properties failed). Solution was in Tapestry source code: InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream(re

Re: t:if test considers Float < 1.0 as false?

2009-01-18 Thread nillehammer
Hi James, I don't think it is an issue with the if-component. If-component just calls a method that is given in the test-attribute and evaluates whether it returns true or false. Could it be that in this method you accidencially do an Integer comparison instead of a Float comparison? Greetz nilleha

Re: [T5] improve documentation

2009-01-18 Thread Geoff Callender
I completely agree too. A search facility of the existing site would be a huge leap forward. On 16/01/2009, at 9:23 AM, Szemere Szemere wrote: Completely agree with the sentiments expressed. Too often I've had to use Google or similar to find what I'm looking for in the Tapestry documentati

Re: [T5] improve documentation

2009-01-18 Thread Otho
I would prefer a prototypical community application to start the usual webapp. So user management, registration with email validation and capchas, profiles, user groups, fine grained security, optionally simplistic blogs, forums, pm's and a bit of content management etc. I tend to copy that stuff

Re: Strange ClassNotFoundException: org.slf4j.Logger

2009-01-18 Thread Thiago HP
On Fri, Jan 16, 2009 at 6:36 PM, Martijn Brinkers wrote: > But I'm using run-jetty-run successfully for a long time already. I only > had to add -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true to the > VM-arguments box in the run-jetty-run debug configuration (in Eclipse) It still doesn't wo

Re: Anyone got Jetty-T5-OpenEJB-Hibernate working?

2009-01-18 Thread Geoff Callender
For the record, I've succeeded in getting Jetty-T5-OpenEJB-Hibernate working. It's a great combination for development and it has resulted in JumpStart 4.0. I'll post the announcement tomorrow if there are no glitches reported in the next 24 hours. On 22/11/2008, at 10:35 AM, Geoff Callen

Re: T5: T5 and EJB3

2009-01-18 Thread Geoff Callender
Hi Kalle, I can't recommend for, or against, jSecurity because back in April it didn't quite fit my needs (http://www.jsecurity.org/node/1031). However, I do think they're on the right track. Since then (April) they've gone into the Apache incubator. I intend to review it again soon.

t:if test considers Float < 1.0 as false?

2009-01-18 Thread James Hillyerd
It seems that t:if considers 0.1, 0.99 as false, but 1.0 as true. Should I file a bug? This is 5.0.18 -james -- James A. Hillyerd