• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question with regards to Tiles and facelets

 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a application in which i am using tiles , is it possible to use facelets with it or do i have to remove the tiles from the application in order to use facelets .
Please if possible let me know if there are any sites which help you working with facelets and tiles.
 
Tim Holloway
Bartender
Posts: 18417
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Facelets has its own tiling feature, and I prefer it. I've always felt like Tiles worked "inside out".

I don't think there's any actual conflict, although as a long-term strategy, I recommend having Facelets do your tiling. Facelets is part of the JEE standard, and Tiles is not.
 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote:Facelets has its own tiling feature, and I prefer it. I've always felt like Tiles worked "inside out".

I don't think there's any actual conflict, although as a long-term strategy, I recommend having Facelets do your tiling. Facelets is part of the JEE standard, and Tiles is not.


Thanks for your reply , but is there a way that we could keep tiles in the project and use facelets . The reason i am asking this is because in our project we have used tiles quite extensively and are now thinking of introducing facelets .
 
Tim Holloway
Bartender
Posts: 18417
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JSF2, facelets is an integral part of JEE, so it's there whether you use it or not.

I'm not sure how mixing tiles and facelets on the same page would work, however, I have no reason to believe that existing tiles pages will break if you move them to JSF2. Nor, for that matter, if you add Facelets support to JSF 1.2. Although if your tiles files are ".xhtml", I'm not so sure. Someone else will have to advise you on that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!