| Author |
Facelets for Templating
|
Kamron Abtahi
Greenhorn
Joined: Jun 17, 2010
Posts: 17
|
|
Hey Everybody,
I have created a simple application that utilizes JSP plugins. I have noticed as i work through the various pages that i have a common template or repeat in code for the header/footer/sidebar and the middle area is dynamic and changes from page to page. I looked around for a good way of "templating" the sections that are repeated in all of the pages. I found that facelets seems to be the answer. I guess my first question is to confirm if this is true
Next i was wondering if someone could provide a simple facelets example. Anything that shows the connection between the xhtml pages to help better convey the architecture of it in my head would be help.
|
 |
Wouter Oet
Saloon Keeper
Joined: Oct 25, 2008
Posts: 2700
|
|
|
Here is a (very) simple example.
|
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
|
 |
 |
|
|
subject: Facelets for Templating
|
|
|