But you can always put in a normal Webapp Filter ahead of Tapestry that
would munge the url as you see fit (and capture the information into a
Request.attribute).. I do this myself in a different way.. (clip off
the leading directory in the url). But here is some pseudo-code:
project/999/blah
convert into:
request.setattribute(999)
project/blah
then in your page you could recover that project id through
requestGlobals.gethttpserveletrequest.getattribute(projectId).
Howard Lewis Ship wrote:
Sorry, no this isn't directly possible. Tapestry is pretty rigid
about the format of the URLs: It's always the logical page name
("project/backlog/panel" for class (root).pages.project.backlog.Panel
then the activation context (the 999 id in this example).
It's basically like this: more flexibility requires more (and more,
and more) configuration which is entirely backwards from where
Tapestry is coming from.
On Jan 17, 2008 8:32 PM, Joshua Jackson <[EMAIL PROTECTED]> wrote:
Dear all,
If I have pages under my pages package with this structures:
+ project
+ -- Detail.java
+ project.backlog
+ -- Panel.java
Is it possible to have these URL :
http://localhost:8080/pjx/project/999/backlog/panel
?
So the id is in between instead of at the end of the URL to refer that the
id belongs to the project
Thanks in advance.
--
I'm a coder not a drag-n-dropper
Blog: http://joshuajava.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]