You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by legolas <le...@gmail.com> on 2007/01/05 01:17:43 UTC

is there any way to include or show html files inside JSF files in runtime?

hi
Thank you for reading my post.
is there any way that we could include some html files into jsf files in
runtime?

imagine that we have tens of already designed static html pages and it is
growing, we should include this pages into one of our jsf pages in runtime
based on user inputs in prev JSF pages.

What i do not know is the method or tag that help me to include one HTML
inot a jsf page.

Thanks
-- 
View this message in context: http://www.nabble.com/is-there-any-way-to-include-or-show-html-files-inside-JSF-files-in-runtime--tf2922996.html#a8170594
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: is there any way to include or show html files inside JSF files in runtime?

Posted by Jeff Bischoff <jb...@klkurz.com>.
Have you figured this out yet?

Are you using Facelets or JSP? It should be pretty trivial in either 
case. In JSP, you can just do an jsp:include or c:import with f:verbatim 
tags around it. You can use EL to make the inclusion dynamic.

E.G.

<f:verbatim>
    <jsp:include page="${inclusionBean.contentPage}" />
</f:verbatim>

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

legolas wrote:
> hi
> Thank you for reading my post.
> is there any way that we could include some html files into jsf files in
> runtime?
> 
> imagine that we have tens of already designed static html pages and it is
> growing, we should include this pages into one of our jsf pages in runtime
> based on user inputs in prev JSF pages.
> 
> What i do not know is the method or tag that help me to include one HTML
> inot a jsf page.
> 
> Thanks