webtier@glassfish.java.net

Re: best-practice identical pages and managed beans

From: <webtier_at_javadesktop.org>
Date: Thu, 13 May 2010 05:57:21 PDT

I've dealt with this exact issue by using the Tomahawk tag t:aliasBean. With this each of your showResults*.xhtml pages will set the alias for the real controller and pass this alias to the included "common content" page.

http://myfaces.apache.org/tomahawk-project/tomahawk12/tagdoc/t_aliasBean.html
[Message sent by forum member 'bneuman']

http://forums.java.net/jive/thread.jspa?messageID=469683