File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Develop custom component of JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Develop custom component of JSF" Watch "Develop custom component of JSF" New topic
Author

Develop custom component of JSF

Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

Hi

I want to make a component of JSF say a lsit box which will have a attribute of roleID and depending on it it will make use of some property file and will populate itself. Can some one guide me in this ???

I am completely new to this topic as please give detailed explanations.

Thanks in advance for your help.


My Blog SCJP 5 SCWCD 5
venkatesh babu
Greenhorn

Joined: Sep 20, 2008
Posts: 6
The best place to start would be to take a look at the JSF spec. You can look up the behavior for the UIInput component. Its not too hard to understand and you should be able to get started fairly quickly.. For implementations, you could take a look at sun's JSF RI(open source) or woodstock (https://woodstock.dev.java.net) also open source which builds upon this JSF RI. They have listbox implementations that you could make use of hopefully.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56179
    
  13

"venkatesh mr", please check your private messages for an important administrative matter.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

Thanks for your help.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14460
    
    7

Thanks you for accommodating our naming policy, Himanshu.

I used Kito Mann's JSF In Action book to help me.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Develop custom component of JSF
 
Similar Threads
Creating a custom JSF comp
JSF Tree structure
JSF in component Diagram
Do we have some component for beadcrumb in JSF ?
Editable Drop Down in JSF