This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Seam in Action Question

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been very interested in Seam for about a year, since one of my clients has begun to move in that direction. One sticking point for them has been the fact that Facelets doesn't have quite the same richness of inheritance available as Tiles does. Since Seam modified its original dependence on EJBs (which I commend them on) and offered Hibernate as an alternative, is it possible that Seam might incorporate Tiles as an alternative presentation component strategy? Or is it simply that my client and I don't understand how to use Facelets the accomplish the same functionality as Tiles?

Thanks, and I'm looking forward to reading the book!
 
Author
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps I am missing something, but I'm not sure why anyone would want to use Tiles over Facelets. You can do incredible things with Facelets because it is a 100% composite language. At the risk of being stoned with fuzzy dice, you could draw parallel between Facelets and Lisp.

Rather than describe it to you, the best thing I can do is provide an example. Check out what Samuel Mendenhall did with Facelets to create dynamic CRUD capabilities. Don't focus so much on the yet another CRUD solution, but rather on how he is using the tags. He is stretching to about the limits of what they can do.

http://www.seamframework.org/Community/DynamicCRUDWithFaceletsCompositeTemplatingAndCustomEL
http://seamframework.org/Documentation/SeamDynamicCRUD
 
Author
Posts: 130
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is simply, amazingly mind blowing! That's starting to make the wheels (okay, okay the squirrel) start to turn about a problem we'll face with the current project at work. Thanks for sharing that gem with us Dan! Guess I need to setup an RSS feed for the seamframework wiki.
 
Dan Allen
Author
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

That is simply, amazingly mind blowing! That's starting to make the wheels (okay, okay the squirrel) start to turn about a problem we'll face with the current project at work. Thanks for sharing that gem with us Dan! Guess I need to setup an RSS feed for the seamframework wiki.



That's exactly my reaction the first time I realized how much Facelets can shape-shift. If you find Samuel's work useful, be sure to let him know. He has worked really hard on that dynamic CRUD as a way of showing off what Facelets can do (and to save time writing apps of course).
 
straws are for suckers. tiny ads are for attractive people.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!