That's too complicated to answer here. It helps if you've done custom
JSP tags, though.
A detailed rundown on creating custom
JSF tags is covered in Kito Mann's
JSF in Action book.
[ December 02, 2008: Message edited by: Tim Holloway ]
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.