[jboss-user] [JBoss Seam] - Re: Friendly URLs (e.g. /request/parameter1/parameter2)

2006-08-26 Thread tluzat
You're right. I'll probably resort to URL rewriting after having read http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85269 and trying to get it to work by myself. I don't like the quite static coupling between URLs and the way they're interpreted from a design point of view, but that'

[jboss-user] [JBoss Seam] - Re: Friendly URLs (e.g. /request/parameter1/parameter2)

2006-08-25 Thread perwik
To quote myself from an other thread anonymous wrote : Url Rewrite Filter, mod_rewrite for the Java world: | | http://tuckey.org/urlrewrite/ I really think you should have a good look at it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967619#3967619 R

[jboss-user] [JBoss Seam] - Re: Friendly URLs (e.g. /request/parameter1/parameter2)

2006-08-25 Thread tluzat
Thanks! Looking through the forums and the blog example I got some ideas: -For requests pages.xml can be used for view-ids such as article/* and gallery/*. The actions called can then use a FacesContext to get the parameters encoded in the URL through facesContext.getExternalContext().getPathIn

[jboss-user] [JBoss Seam] - Re: Friendly URLs (e.g. /request/parameter1/parameter2)

2006-08-25 Thread RobJellinghaus
Actually I found another thread that indicates you can potentially do some of this sort of thing in pages.xml, but the details are tenuous. Sorry I don't have the thread link handy (and I should be working, not Seam hacking, anyway ;-). View the original post : http://www.jboss.com/index.html

[jboss-user] [JBoss Seam] - Re: Friendly URLs (e.g. /request/parameter1/parameter2)

2006-08-25 Thread RobJellinghaus
See this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89017 The party line seems to be that details of URL formats are properly the concern of the webapp, not Seam. So use a Tomcat plugin or Apache plugin or something to mung your URL into request parameters that work with S