Global stylesheets and Javascripts documentation proposal

2009-08-07 Thread Sebastian Hennebrueder
Hello, I could not find documentation on how to add stylesheets and JavaScript files to all pages. the wiki page (http://wiki.apache.org/tapestry/Tapestry5HowToAddValidators) is questioning if this is possible as well. I build the following working solution from exploring the Tapestry code

Re: Global stylesheets and Javascripts documentation proposal

2009-08-07 Thread Robin K.
Hi! Correct me if I'm wrong but the createAsset method seems to be a "no need" because this job is already made by RenderSupport. So, I think the following code is enough: /** * Insert global stylesheets and JavaScript files * @param configuration * @param symbolSource

[Announce] Tapestry Testify project - v1.0.0 released

2009-08-07 Thread Paul Field
I'd like to announce the first stable release of the Tapestry-Testify project at Tapestry360: https://tapestry.formos.com/projects/tapestry-testify/ Tapestry Testify is an extension to Tapestry that allows you to write page and component tests very easily and have them run very efficiently. I'

Re: [Announce] Tapestry Testify project - v1.0.0 released

2009-08-07 Thread Peter Stavrinides
Its us who should be thanking you Paul, great job on testify!! I am already wandering how I tested before without it!! Peter - Original Message - From: "Paul Field" To: users@tapestry.apache.org Sent: Friday, 7 August, 2009 12:05:46 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject

Re: Re: [Announce] Tapestry Testify project - v1.0.0 released

2009-08-07 Thread nille hammer
Hi Guys, great news! > I am already wandering how I tested before without it!! Well in the end I did not automatically test my pages at all, just manually (please don't beat me! ;-) ). But I'm starting right now I promise! Regards, nillehammer == http://www.winfonet.eu - original Nachricht --

Possible render problem/bug

2009-08-07 Thread Sebastian Hennebrueder
The following snippet in a page template leads to the exception # java.lang.RuntimeException Exception assembling root component of page Navigation: Exception assembling embedded component 'link' (of type org.apache.tapestry5.corelib.components.ActionLink, within Navigation): Component Navigat

Re: Possible render problem/bug

2009-08-07 Thread Howard Lewis Ship
You have t:id="link" on two different components. That is not allowed. On Fri, Aug 7, 2009 at 4:06 AM, Sebastian Hennebrueder wrote: > The following snippet in a page template leads to the exception > > # java.lang.RuntimeException > Exception assembling root component of page Navigation: Exceptio

Re: [Announce] Tapestry Testify project - v1.0.0 released

2009-08-07 Thread Christian Edward Gruber
+1. This is a wonderful effort with a great result! Christian. On 2009-08-07, at 05:13 , Peter Stavrinides wrote: Its us who should be thanking you Paul, great job on testify!! I am already wandering how I tested before without it!! Peter - Original Message - From: "Paul Field" To

Re: Possible render problem/bug

2009-08-07 Thread Joshua Martin
Yes, rename one to link1 and the other to link2 On Fri, Aug 7, 2009 at 8:30 AM, Howard Lewis Ship wrote: > You have t:id="link" on two different components. That is not allowed. > > On Fri, Aug 7, 2009 at 4:06 AM, Sebastian > Hennebrueder wrote: >> The following snippet in a page template leads t

Re: Possible render problem/bug

2009-08-07 Thread Sebastian Hennebrueder
I found this work around as well but this would require a second event listener method. But I suppose that the ids need to be unique on the Tapestry component tree, so the fact that the id is unique on the rendered result is not relevant. As a consequence, I will need the second event listener

Re: Possible render problem/bug

2009-08-07 Thread Thiago H. de Paula Figueiredo
Em Fri, 07 Aug 2009 10:47:29 -0300, Sebastian Hennebrueder escreveu: I found this work around as well but this would require a second event listener method. You can use @OnEvent("action") in that case. But I suppose that the ids need to be unique on the Tapestry component tree, so the f

RE: Possible render problem/bug

2009-08-07 Thread Henning Petersen
I usually put the component inside a block and use it in both locations: ... ... Foo While the markup looks slightly messier, this saves you from having two event handlers for the same thing. Cheers Henning -Original Message- From: Thiago H

Re: T5.0.18 : DOM exception when refreshing a zone with an actionlink

2009-08-07 Thread Florian DESBOIS
Just do : private Object onActionFromDeletePoste() { return ZoneProfils.getBody(); // return the block inside the zone } Hope it resolves your problem 2009/8/4 Tetrel Julien > Hi. > > I'm actually facing a problem using tapestry 5.0.18. > My code is trying to refresh a Zone component using

Re: [Announce] Tapestry Testify project - v1.0.0 released

2009-08-07 Thread Juan E. Maya
Testity is one of the reasons i love t5! Thanks a lot Paul! On Fri, Aug 7, 2009 at 11:05 AM, Paul Field wrote: > I'd like to announce the first stable release of the Tapestry-Testify > project at Tapestry360: > > https://tapestry.formos.com/projects/tapestry-testify/ > > Tapestry Testify is an ext

Debugging Segmentation Fault whenever Inject PageRenderLinkSource

2009-08-07 Thread ownedthx
Hey there, I am trying to use PageRenderLinkSource by Injecting it into a component, and then using it in a property getter, like so: @Inject private PageRenderLinkSource linkSource; public String getDetermineURL() { org.apache.tapestry5.Link link = linkSource.createPageRenderLink("Star

Re: Debugging Segmentation Fault whenever Inject PageRenderLinkSource

2009-08-07 Thread ownedthx
Wait! One more very important piece of info. It's not just the act of using the service. I shortened my determineURL property code; I'm actually making a call to link.addParameter, like so: public String getDetermineURL() { org.apache.tapestry5.Link link = linkSource.createPageRenderLi

Re: Intermittent Stax Exception

2009-08-07 Thread zack1403
Thanks for the help felix! I regularly check the dependency hierarchy to make sure there are not any big conflicts. Commons-collections is conflicted but thats it. Nothing in woodstox or javassist. I have had so many issues like this lately with tapestry. Its incredibly annoying and time wast

Documentation patch for persistence page

2009-08-07 Thread Sebastian Hennebrueder
Hello, I attached a proposal for the persist page in the guide. Flash and Client scope didn't have a code sample. I needed to search to find out how to fill the value parameter in the annotation. -- Best Regards / Viele Grüße Sebastian Hennebrueder - Software Developer and Trainer for Hib

Re: Documentation patch for persistence page

2009-08-07 Thread Thiago H. de Paula Figueiredo
Em Fri, 07 Aug 2009 16:52:51 -0300, Sebastian Hennebrueder escreveu: Hello, Hi! I attached a proposal for the persist page in the guide. Flash and Client scope didn't have a code sample. I needed to search to find out how to fill the value parameter in the annotation. Please post your p

IOC Problem

2009-08-07 Thread Graham Ford
Hi all, I am having a weird problem with creating a registry. I am trying to test my DAOs, and as part of the test I do: IOCUtilities.buildDefaultRegistry() when I run the test it print out: [INFO] ioc.RegistryBuilder Adding module definition for class org.apache.tapestry5.ioc.services.Tape

Javascript wildcard includes

2009-08-07 Thread Craig Margenau
I'm using T5 with some pure js page views and the number of js includes for the page class is growing large enough that I was thinking it would be nice to have wildcard support. Think this should/could be added? -Craig