While looking further into this issue I ran across this web page:

http://www.jsffaq.com/Wiki.jsp?page=HowToMaskActualURLToTheJSFPage

which is a copy of the response in this forum thread:

http://forum.java.sun.com/thread.jspa?forumID=427&threadID=511578

The solution advocated here is a custom ViewHandler.  This would seem to
be more upfront work than using Shale Remoting but a better fit into the
JSF mechanism.  The question I am working on now, is how to get this to
work with the Facelets ViewHandler (both would use a decorator pattern)
via the standard faces-config.xml and/or web.xml.

This takes this thread away from Shale, but I thought I would cap the
thread with my current thinking on this.

Brad


On Sun, 2007-03-25 at 16:44 -0700, Craig McClanahan wrote:

> It would be an interesting idea to contemplate exactly what it would
> take to create an environment that creates RESTful URLs as simply as,
> say, recent Rails versions can do it.  My bet is this wouldn't take a
> large amount of code ... in the mean time, you can probably get quite
> a ways.
> 
> Craig


Reply via email to