Re: [Hint] Pages in subpackages not loaded, if page and subpackage have the same name

2008-02-11 Thread patrick whalen
I agree that it would be nice to be able to have an "index" page/class that can be accessed by navigating to that directory/package in the URL, while still having nested pages/classes accessible. I hit this list about that a while back: http://www.nabble.com/forum/ViewPost.jtp?post=12846148&frame

T5 - Stream source output to text file

2007-12-03 Thread patrick whalen
Could anyone give me any pointers or directions on how to stream the html output that Tapestry generates out to a text file, which would be stored in a specific directory outside the Tapestry project? I would also like to be able to do the same with assets such as css and javascript files, though

Re: [T5] Page with same name as package (background for clarity)

2007-09-23 Thread patrick whalen
u would never actually see the class/page name in the URL; only the package/directory name. Maybe 'packageDefault' ? Anyway, that's just one reason. The existence of 'pretty URLs' to some degree invites more direct user manipulation of the URL. It would be nice to be able to

Re: [T5] Page with same name as package

2007-09-23 Thread patrick whalen
But visiting 'www.mydomain.com/myapp/package1' actually does work in that scenario, as long as there is a '/' at the end. And visiting 'www.mydomain.com/myapp/package1/package1/' doesn't work at all. This is actually what I was trying to accomplish, except for the fact that the ab

Re: [T5] Page with same name as package

2007-09-21 Thread patrick whalen
ke myself. Sorry for the clutter. patrick whalen wrote: > > Strangely, this only works if there's another class in the same package, > and you visit that page first. If you don't visit that page first, you get > a 404 error. If you do, it works. After that, you can delete

Re: [T5] Page with same name as package

2007-09-21 Thread patrick whalen
you will then be able to visit - www.mydomain.com/myapp/package1 without getting a 404 error. patrick whalen wrote: > > I see now that it does work to put a class of the same name as the > package, inside the package. The redundant name is then filtered out. > >

Re: [T5] Page with same name as package

2007-09-21 Thread patrick whalen
I see now that it does work to put a class of the same name as the package, inside the package. The redundant name is then filtered out. Chris Lewis-5 wrote: > > Check out: > > http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html > > Specifically the section on "Sub

Re: [T5] Page with same name as package

2007-09-21 Thread patrick whalen
Right in front of my nose. I practically stole my example right out of the chapter. Any insight though into the main part of my question where I am trying to create a page that has the same name as a package? It doesn't seem as though the optimizations described in that chapter should have an ef