This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes JSF2: Creating Custom Component [OutputObject] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF2: Creating Custom Component [OutputObject]" Watch "JSF2: Creating Custom Component [OutputObject]" New topic
Author

JSF2: Creating Custom Component [OutputObject]

Mahmoud Rabee
Greenhorn

Joined: Mar 16, 2009
Posts: 4
In this article, you will see just how easy it is to create new components that are fully functional and integrated into your web applications by creating a new component that takes a simple - with primative attributes only - java bean object as a value and his output will be the bean details printed in HTML table

e.g.

JSF code:



Will produce the following:



The article...

JSF2: Creating Custom Component [OutputObject]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSF2: Creating Custom Component [OutputObject]
 
Similar Threads
@ConversationScoped
javax.el.PropertyNotFoundException: Objetivo inalcanzable - JSF - Facelet - method-signature
Injection problem - not quite sure if this is something i should be using injection for
viewScoped bean recreated on page reload
Why @ManagedBean works while @Named doesn't?