On 5/3/06, Julian Ray <[EMAIL PROTECTED]> wrote:
Does anyone know if this is possible, and if so, what is the correct mechanism<t:aliasBean alias="#{pageBean}" value="#{Report}"> <f:subview id="reportgui"> <jsp:directive.include file="#{pageBean.reportTemplate}" /> </f:subview> </t:aliasBean> The JSP directive obviously cannot interpret the JSF value binding but is there an alternative way to dyncamically include a page without having to use tiles or facelets which seems to be overkill for this.
First off, I'm not a jsp expert (or even much of a jsp user). However, my understanding is that your jsp tags are going to be executed at compile-time (ie, the first time the application uses the page). That means you cannot use run-time tags like t:aliasBean or EL expressions which are evaluated at each request since the page is already compiled at this point. Perhaps there's a way to do it solely with jsp tags, but that's outside of the scope of my knowledge.

