Results 1 to 2 of 2
  1. #1
    adevedo is offline Banned
    Join Date
    Oct 2012
    Rep Power

    Default JSF2: Creating Custom Component [OutputObject]

    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


    JSF code:

    Java Code:
    <html xmlns=""
                    <h1>User Bean</h1>
                    <cc:outputObject value="#{mybean.user}" />
                    <h1>Address Bean</h1>
                    <cc:outputObject value="#{mybean.address}" />
    Will produce the following:

    The article...

    JSF2: Creating Custom Component [OutputObject]

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: JSF2: Creating Custom Component [OutputObject]

    Moved from JavaServer Faces (JSF).

    Advertisements in the technical sections are liable to be deleted as spam and reported to an anti-spam service, so be careful not to do this again.

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Having trouble with custom pager component not rendering at all
    By ShinTec in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 09-23-2011, 03:57 PM
  2. Custom Component Scrolling
    By morris4019 in forum AWT / Swing
    Replies: 4
    Last Post: 02-06-2011, 08:35 AM
  3. Custom component and paint outside of bounds
    By happy_hippie in forum AWT / Swing
    Replies: 2
    Last Post: 06-30-2010, 05:41 PM
  4. Custom painter for standard component
    By spike in forum AWT / Swing
    Replies: 1
    Last Post: 10-04-2008, 05:06 PM
  5. Help with custom component
    By Falcon1 in forum AWT / Swing
    Replies: 8
    Last Post: 07-21-2007, 12:39 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts