Hey at least his mom thinks it is really cool. Check out the second comment on the article.<div><br></div><div>"<span class="Apple-style-span" style="color: rgb(130, 131, 131); font-family: Verdana; font-size: 11px; line-height: 16px; ">hey lincoln — way cool! if i understood more of it, even more cool!! : )"</span><br>
<br><div class="gmail_quote">On Thu, Nov 13, 2008 at 4:43 PM, Gavin King <span dir="ltr"><<a href="mailto:gavin@hibernate.org">gavin@hibernate.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Cool, great :-)<br>
<div><div></div><div class="Wj3C7c"><br>
On Thu, Nov 13, 2008 at 3:33 PM, Norman Richards <<a href="mailto:orb@nostacktrace.com">orb@nostacktrace.com</a>> wrote:<br>
><br>
> On Nov 13, 2008, at 2:07 PM, Gavin King wrote:<br>
><br>
>> <a href="http://ocpsoft.com/uncategorized/jsf-get-bookmarkable-and-pretty-urls/" target="_blank">http://ocpsoft.com/uncategorized/jsf-get-bookmarkable-and-pretty-urls/</a><br>
>><br>
>> Not sure what exactly they are doing, but perhaps we should steal<br>
>> code? Not sure...<br>
><br>
><br>
> I think our new internal rewriting is much cleaner. They have:<br>
><br>
><br>
> <pretty-config><br>
> <url-mapping id="viewProject"><br>
> <pattern>/project/#{viewProjectBean.projectId}</pattern><br>
> <view-id>/faces/viewProject.jspx</view-id><br>
> <action method="#{viewprojectBean.loadData}" /><br>
> <post-to-jsf-view /><br>
> </url-mapping><br>
> </pretty-config><br>
><br>
><br>
> We have:<br>
><br>
> <page view-id="/viewProject.xhtml"><br>
> <rewrite pattern="/project/{id}" />=<br>
> <param name="id" value="#{viewProjectBean.projectId}"/><br>
> <action execute="#{viewprojectBean.loadData}"/><br>
> </page><br>
><br>
><br>
> And, we don't have to change anything on the view side to make it work. You<br>
> can turn on or off the nice URLs in the pages.xml without changing anything<br>
> else. I think our only issue is the fine-grained configuration. We can't<br>
> turn on clean URLs for every page in the system. Right now, each page needs<br>
> it's own pattern.<br>
><br>
><br>
><br>
<br>
<br>
<br>
</div></div><div class="Ih2E3d">--<br>
Gavin King<br>
<a href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a><br>
<a href="http://in.relation.to/Bloggers/Gavin" target="_blank">http://in.relation.to/Bloggers/Gavin</a><br>
<a href="http://hibernate.org" target="_blank">http://hibernate.org</a><br>
<a href="http://seamframework.org" target="_blank">http://seamframework.org</a><br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>blog: <a href="http://in.relation.to/Bloggers/Jay">http://in.relation.to/Bloggers/Jay</a><br>
</div>