Re: T5 contributeMasterDispatcher - how to have default rootContext access be part of it

2008-04-23 Thread Jan Vissers
I've already sent a direct e-mail out to Stephane Decleire with the info of this small error. I'll keep an eye out for the change on the wiki and if it doesn't get thru, do the extra effort of signing-up and trying to make the change myself ;-) Anyways - another great example of the building T5 co

Re: T5 contributeMasterDispatcher - how to have default rootContext access be part of it

2008-04-23 Thread Chris Lewis
Peter, Thanks fo jumping in :-) - I was away and I wouldn't have readily known the answer anyway, so I along with Jan appreciate your sharing. Jan, So is there something incorrect in the wiki, or perhaps something that would be worth adding as a warning? chris Jan Vissers wrote: > Great Peter,

Re: T5 contributeMasterDispatcher - how to have default rootContext access be part of it

2008-04-23 Thread Jan Vissers
Great Peter, This was indeed the problem. As I pointed out earlier - I use(d) Chris great writeup on dispatchers on the wiki and also another follow up article by Stephane Decleire - http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Which contains the same anomaly. Thx again, -J. > > S

Re: T5 contributeMasterDispatcher - how to have default rootContext access be part of it

2008-04-23 Thread Peter Stavrinides
Sorry to jump in here Chris... Jan not exactly sure what you are doing since you haven't shown your code, but the exception is telling you "the response has been committed" , which means you are trying to modify a Response that is being processed, i.e.: it is read only. If you interrupt the

Re: T5 contributeMasterDispatcher - how to have default rootContext access be part of it

2008-04-23 Thread Jan Vissers
Hi Chris, Thank you. As a matter of fact I used your wiki entries as my main inspiration. So what I do now is: use: "before:RootPath" for the contributation and return 'false' on the dispath for '/login and '/assets/' This works but in the background the following stuff is logged (To be more pre

Re: T5 contributeMasterDispatcher - how to have default rootContext access be part of it

2008-04-23 Thread Chris Lewis
Hi Jan, The first 2 paragraphs of this article cover what you want to do: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher Included also are relevant links to javadocs, as well as references to the TapestryModule, where you can see how it influences dispatcher ordering. chris Ja

T5 contributeMasterDispatcher - how to have default rootContext access be part of it

2008-04-23 Thread Jan Vissers
Hi, Just posted a question on dispatcher chain - but I think the subject line was way to unclear - so sorry for asking the question again. I want all of my pages (also the one that is shown when I access root context without anything - so no '/start') to be passed thru my dispatcher. How can I do