Hey at least his mom thinks it is really cool. &nbsp;Check out the second comment on the article.<div><br></div><div>&quot;<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!! : )&quot;</span><br>
<br><div class="gmail_quote">On Thu, Nov 13, 2008 at 4:43 PM, Gavin King <span dir="ltr">&lt;<a href="mailto:gavin@hibernate.org">gavin@hibernate.org</a>&gt;</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 &lt;<a href="mailto:orb@nostacktrace.com">orb@nostacktrace.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Nov 13, 2008, at 2:07 PM, Gavin King wrote:<br>
&gt;<br>
&gt;&gt; <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>
&gt;&gt;<br>
&gt;&gt; Not sure what exactly they are doing, but perhaps we should steal<br>
&gt;&gt; code? Not sure...<br>
&gt;<br>
&gt;<br>
&gt; I think our new internal rewriting is much cleaner. &nbsp;They have:<br>
&gt;<br>
&gt;<br>
&gt; &lt;pretty-config&gt;<br>
&gt; &nbsp; &nbsp;&lt;url-mapping id=&quot;viewProject&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;pattern&gt;/project/#{viewProjectBean.projectId}&lt;/pattern&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;view-id&gt;/faces/viewProject.jspx&lt;/view-id&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action method=&quot;#{viewprojectBean.loadData}&quot; /&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;post-to-jsf-view /&gt;<br>
&gt; &nbsp; &nbsp;&lt;/url-mapping&gt;<br>
&gt; &lt;/pretty-config&gt;<br>
&gt;<br>
&gt;<br>
&gt; We have:<br>
&gt;<br>
&gt; &lt;page view-id=&quot;/viewProject.xhtml&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;rewrite pattern=&quot;/project/{id}&quot; /&gt;=<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;id&quot; value=&quot;#{viewProjectBean.projectId}&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action execute=&quot;#{viewprojectBean.loadData}&quot;/&gt;<br>
&gt; &lt;/page&gt;<br>
&gt;<br>
&gt;<br>
&gt; And, we don&#39;t have to change anything on the view side to make it work. &nbsp;You<br>
&gt; can turn on or off the nice URLs in the pages.xml without changing anything<br>
&gt; else. &nbsp;I think our only issue is the fine-grained configuration. &nbsp;We can&#39;t<br>
&gt; turn on clean URLs for every page in the system. &nbsp;Right now, each page needs<br>
&gt; it&#39;s own pattern.<br>
&gt;<br>
&gt;<br>
&gt;<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>