Need help in adding a calendar icon next to a text box in my JSF page. I have got no idea how this richfaces work and I am new to JSF. I would really appreciate someone's help here.
The RichFaces dateTime control supplies its own calendar icon. You can replace it with a custom icon by "skinning" RichFaces, but that's a bit complicated for here, so if that's what you're looking for, check the RichFaces manual, first.
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.
you can use <rich:calendar popup="true" />
popup If "true", the calendar will be rendered initially as hidden with additional elements for calling as popup. Default value is "true".