posted 14 years ago
Hi, guys
i am working on a project using facelets. I got a problem on displaying my pages correctly. On my root directory, i got a template.xhtml file which is a facelet template. i divided the template into 3 layouts which are header, content and footer. All other pages should be displayed in the content layout. But, only the pages under root directory can refer to the template and display in the content layout. The other pages which are not under root directory just display without the template. ( i got some pages under a directory call "post" ).
i codes the template.xhtml page like this:
post.xhtml which under directory "post", i wrote like this:
any ideas? any help is appreciated~~~