Re: Compiled CSS

2011-10-07 Thread Howard Lewis Ship
True; so we need the Resource passed in, but also another object to collect additional dependencies, to trigger reloads. Say: public interface ResourceTransformer { /** * Read the source input stream and provide a new input stream of the transformed content. * * @param source

Re: PageCatalog and ServiceStatus

2011-10-07 Thread Thiago H. de Paula Figueiredo
On Fri, 07 Oct 2011 11:07:07 -0300, TG wrote: I read somewhere that in Tapestry 5.3, I can hit /pagecatalog and /servicestatus to look at the memory usage etc. But when I hit the URL, it said not found. You need to have a very recent snapshot (I don't know if any alpha or beta version alr

Re: Compiled CSS

2011-10-07 Thread Cezary Biernacki
On Fri, Oct 7, 2011 at 5:17 PM, Howard Lewis Ship wrote: > On Thu, Oct 6, 2011 at 11:23 AM, Cezary Biernacki > wrote: > > Hi, > > OK. I need to get a permission as code is owned by my employer, hopefully > I > > should be able to get it next week. Anyway, it is easy to build such > > integration

Re: Using the same page for edit/new (Solution)

2011-10-07 Thread Howard Lewis Ship
I recently changed Tapestry 5.3 so that the Hibernate ValueEncoder (used implicitly by @PageActivationContext) will encode a transient entity as null. This makes it possible to use the same page for add and edit, with a bit of smart logic in your onActivate() event handler method. On Thu, Oct 6,

Re: Tapesty CDI at compile time ( or sort of )

2011-10-07 Thread Howard Lewis Ship
In a non-web application, you can have explicit control over the constructed Registry via the RegistryBuilder. It's API allows you to directly specify which modules will be included. Your application's main() can decide which modules to add, selecting a module appropriate to the particular client

Re: Compiled CSS

2011-10-07 Thread Howard Lewis Ship
On Thu, Oct 6, 2011 at 11:23 AM, Cezary Biernacki wrote: > Hi, > OK. I need to get a permission as code is owned by my employer, hopefully I > should be able to get it next week. Anyway, it is easy to build such > integration with Tapestry 5.3 by implementing ResourceTransformer interface > and co

Re: PageCatalog and ServiceStatus

2011-10-07 Thread Howard Lewis Ship
They're on by default, but you need one of the later betas for PageCatalog. Always, ALWAYS, include the exact version of Tapestry you are using in any question about Tapestry. On Fri, Oct 7, 2011 at 7:07 AM, TG wrote: > I read somewhere that in Tapestry 5.3, I can hit /pagecatalog and > /service

PageCatalog and ServiceStatus

2011-10-07 Thread TG
I read somewhere that in Tapestry 5.3, I can hit /pagecatalog and /servicestatus to look at the memory usage etc. But when I hit the URL, it said not found. How do I configure to get these two functionalities? Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/PageCa

Re: Layout component question

2011-10-07 Thread Dimitris Zenios
Thanks a lot.Fixed On Fri, Oct 7, 2011 at 9:30 AM, Howard Lewis Ship wrote: > The source component will be the Layout component, not the TextField > inside the layout component. This is part of event bubbling; when an > event bubbles, the source of the event bubbles up as well. > > On Thu, Oct 6,