[seam-dev] Can someone please take a look a this

Jay Balunas tech4j at gmail.com
Thu Nov 13 16:54:35 EST 2008


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 at hibernate.org> wrote:

> Cool, great :-)
>
> On Thu, Nov 13, 2008 at 3:33 PM, Norman Richards <orb at 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 at gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
>



-- 
blog: http://in.relation.to/Bloggers/Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20081113/d20622c1/attachment.html 


More information about the seam-dev mailing list