File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Richfaces: Add calendar icon for textbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Richfaces: Add calendar icon for textbox" Watch "Richfaces: Add calendar icon for textbox" New topic

Richfaces: Add calendar icon for textbox

priya loganathan

Joined: Mar 12, 2011
Posts: 3
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.

Thanks in advance
Stefan Evans

Joined: Jul 06, 2005
Posts: 1517
I might suggest that you Use a meaningful subject line.
"Hi Guys," doesn't quite cut it.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16914

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
kikoo kikoooo

Joined: Mar 17, 2011
Posts: 2
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".
It is sorta covered in the JavaRanch Style Guide.
subject: Richfaces: Add calendar icon for textbox
It's not a secret anymore!