This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I see one of the reason for using XHTML facelets as opposed to JSPs for your view technology is because JSPs can give cryptic error messages. Can someone give a good example.
Also, is it ok to use XHTML templates with JSF 1.2? Or is there anything I should be made aware of.
JSP-based JSF views essentially report errors as raw stack traces. Facelets is JSF-aware and it prepares a more useful display with things like the view structure and variable values displayed. It would be enough for me if that's all it did, but I must admit that its ability to do tiling is the other one of the top 2 reasons why I use it.
Most of my facelets-based webapps are JSF 1.2. I haven't converted them to JSF2 yet.
Customer surveys are for companies who didn't pay proper attention to begin with.
Luke Murphy
Ranch Hand
Joined: May 12, 2010
Posts: 299
posted
0
Tim Holloway wrote:JSP-based JSF views essentially report errors as raw stack traces. Facelets is JSF-aware and it prepares a more useful display with things like the view structure and variable values displayed. It would be enough for me if that's all it did, but I must admit that its ability to do tiling is the other one of the top 2 reasons why I use it.
Most of my facelets-based webapps are JSF 1.2. I haven't converted them to JSF2 yet.
Great answer Tim. Yes I worked on a project was JSF 1.2 and used facelets before but wasn't involved in the Web Tier really.
Anyone else want to add anything?
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.