I use MyFaces with Tiles in two projects and I'm quite happy with it. It does what I expect with no troubles!
that's great.
Recently, I read some statements from members of the MyFaces team (Werner Punz, Matthias Wessendorf) which take the view that using Tiles in context
bad boys ;)
of JSF is a bad idea (with no explanation why) Could one of the MyFaces comitters give a statement why using of Tiles is not recommended?
Tiles is a JSP based technology for templating. There is a "mismatch" between jsf and jsp. You can still use your Tiles defs with a myfaces app. That's fine! Facelets is on top of JSF so it is much closer to that spec. Facelets was created because of the JSF_JSP integration was/is not that well. (sorta practical work around)
What are the drawbacks of Tiles when I only need a templating tool?
Faclets is faster for instance. you don't need these *global* navigation rules. you parameterize Faclets But... Tiles has still one benefit, you can *navigate* to a "Tiles definition". In Facelets you navigate to a "template client" which says "header: page.xhtml; menu: navi.xhtml"...
Is the Tiles integration in future MyFaces versions guaranteed?
sure! Even the example will be maintained, in case of any issues.
I agree that the facelets framework is more powerful than Tiles but I think that the porting of an existing MyFaces Application to facelets is not as easy. Isn't it?
well, I'd never port that much from "technology a" to "technology b" in a (running) project. Tiles works! and if it fit's all your needs; that is perfect ! I'd not recomment to do the porting, but for new projects I'd look closer to Facelets. There is a very interesting article from Rick Hightower online (at IBM or so) If you like, check that out. (he explains facelets in there and has a demo with Facelets and Tiles) -M
TIA Martin Kuhn ++++++++++++++++++++++++++++++++++++++++++++++ Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird. ++++++++++++++++++++++++++++++++++++++++++++++ This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail. ++++++++++++++++++++++++++++++++++++++++++++++
-- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com

