Re: AssetProtectionDispatcher for 5.3.3?

2012-06-01 Thread Alejandro Scandroli
Thank you very much Robert, I've already forked it and pushed some of my modifications. -- Alejandro. On Mon, May 28, 2012 at 5:46 PM, Robert Zeigler wrote: > https://github.com/robertdzeigler/T5AssetProtectionDispatcher > > With Apache 2.0 License headers in place. > > Robert > > On May 28, 201

Re: Forms - BeanEditor and t:select

2012-06-01 Thread stipenovi
It seams that your *add="descriptionCreator" + * is right way. Now is everything OK. Thank you very much for help and for fast replay. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Forms-tp2427184p5713583.html Sent from the Tapestry - User mailing list archive at Nabble.c

Re: Forms - BeanEditor and t:select

2012-06-01 Thread ICE Ernesto Arteaga Zavala
I do that in this way: 2012/6/1 stipenovi > Can anyone help me: > > I have 2 entities: Description and Person with unidirectional ManyToOne > mapped relationship. > Every description must have descriptionCreator (Person). > > I have this code in tml: > > >

Re: Forms - BeanEditor and t:select

2012-06-01 Thread stipenovi
Can anyone help me: I have 2 entities: Description and Person with unidirectional ManyToOne mapped relationship. Every description must have descriptionCreator (Person). I have this code in tml: I injected SelectModelFactory, and have SelectModel as @Property in page class. I also created Per

Re: PageRenderRequestFilter

2012-06-01 Thread Thiago H de Paula Figueiredo
On Fri, 01 Jun 2012 11:40:00 -0300, Angelo C. wrote: Hi, Hi! is this the correct way of hooking a PageRenderRequestFilter ? Yes. It works for a few hours, then the app simply stops responding after a few thousands of counts: Are you sure it isn't something else that is making your

PageRenderRequestFilter

2012-06-01 Thread Angelo C.
Hi, is this the correct way of hooking a PageRenderRequestFilter ? It works for a few hours, then the app simply stops responding after a few thousands of counts: public class CountRequestFilter implements PageRenderRequestFilter { final private RedisService redisService; public CountReq

Re: T5 and Redis

2012-06-01 Thread Howard Lewis Ship
I don't know the Redis/Jedis API, but you probably want to close the connection you open explicitly. See http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/PerthreadManager.html#addThreadCleanupListener(org.apache.tapestry5.ioc.services.ThreadCleanupListener) I would te

Re: Property is null onSuccess()

2012-06-01 Thread Howard Lewis Ship
I you have a single value to store in the page activation context, use the @PageActivationContext field annotation, and Tapestry will provide the activate and passivate event handlers for you. However, it (currently) only supports a single field. On Mon, May 28, 2012 at 1:08 PM, Thiago H de Pau

RE: Cannot get component library to load

2012-06-01 Thread Lance Java
This is starting to sound like an issue that should be fixed in tapestry rather than changing the way the jar is generated. It sounds like tapestry will act differently when referencing a classpath jar than if unzipping the jar and referencing a classpath directory. I think tapestry should act exa

RE: Cannot get component library to load

2012-06-01 Thread Poder, Jacob
Eclipse docs for the "Add directory entries" option says "adds an entry for each directory to the JAR file, even if the directory does only contain subdirectories". In my case, the component rendered in java code (beginRender/afterRender) e.g. src/main/java/.../components/Render.java did not ha

Re: tomee - "this is likely to cause a memory leak"

2012-06-01 Thread Chris Mylonas
Thanks Geoff - I hope you didn't take it to mean it was jumpstart I've just ripped a bunch of jumpstart into some of my work and seen the message. It's my sysadmin hackery biting me on the arse :) I've been mucking around with deployments all day... I suck at it. Have a good weekend! Chris On 0

Re: Change the label of component id

2012-06-01 Thread nquirynen
Maybe try integer=your error message or field specific: valueNumeric-integer=your error message Did not test them though -- View this message in context: http://tapestry.1045711.n5.nabble.com/Change-the-label-of-component-id-tp5713562p5713572.html Sent from the Tapestry - User mailing list ar

Re: tomee - "this is likely to cause a memory leak"

2012-06-01 Thread Geoff Callender
I can confirm JumpStart runs in TomEE without messages like that. A thread on JavaRanch suggests it can happen for reasons like including "your own copy of servlet-api.jar in your app, possibly one from a different version of the servlet spec…". http://www.coderanch.com/t/486531