Hi, I have the following Url binding were each the 3 arguments are optional. @UrlBinding("/article/{authorId}/{id}/{titleUrlified}/{_eventName}")
The following Url presents a form to create a new article: /web/article///add As an article has not been created yet we don't know the values to {id} or {titleUrlified} hence the blank entries. Once the article is saved we set values for {authorId}, {id} and {titleUrlified} on the ArticleActionBean and do the following (back to itself): return (new RedirectResolution(ArticleActionBean.class, "view")); However this redirects us to: /web/article Instead I would have expected: /web/245b57557f0d3c57/2/magic-or-science/view This appears so basic I'm not sure what I am doing wrong. I know RedirectResolution can take a Url as argument but constructing the Url myself seems like unnecessary duplication of the binding. Perhaps there's a smarter way to construct the Url by using the binding or by somehow associating parameters to the RedirectResolution???? Anyone? --Nikolaos ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users