Hey at least his mom thinks it is really cool. Check out the second comment
on the article.
"hey lincoln — way cool! if i understood more of it, even more cool!! : )"
On Thu, Nov 13, 2008 at 4:43 PM, Gavin King <gavin(a)hibernate.org> wrote:
Cool, great :-)
On Thu, Nov 13, 2008 at 3:33 PM, Norman Richards <orb(a)nostacktrace.com>
wrote:
>
> On Nov 13, 2008, at 2:07 PM, Gavin King wrote:
>
>>
http://ocpsoft.com/uncategorized/jsf-get-bookmarkable-and-pretty-urls/
>>
>> Not sure what exactly they are doing, but perhaps we should steal
>> code? Not sure...
>
>
> I think our new internal rewriting is much cleaner. They have:
>
>
> <pretty-config>
> <url-mapping id="viewProject">
> <pattern>/project/#{viewProjectBean.projectId}</pattern>
> <view-id>/faces/viewProject.jspx</view-id>
> <action method="#{viewprojectBean.loadData}" />
> <post-to-jsf-view />
> </url-mapping>
> </pretty-config>
>
>
> We have:
>
> <page view-id="/viewProject.xhtml">
> <rewrite pattern="/project/{id}" />=
> <param name="id"
value="#{viewProjectBean.projectId}"/>
> <action execute="#{viewprojectBean.loadData}"/>
> </page>
>
>
> And, we don't have to change anything on the view side to make it work.
You
> can turn on or off the nice URLs in the pages.xml without changing
anything
> else. I think our only issue is the fine-grained configuration. We
can't
> turn on clean URLs for every page in the system. Right now, each page
needs
> it's own pattern.
>
>
>
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
_______________________________________________
seam-dev mailing list
seam-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev