How to set the default date in Calendar to current-10yrs

UI Components for JSF
Post Reply
Tichu
Posts: 2
Joined: 29 Apr 2011, 15:19

29 Apr 2011, 15:22

How do I set the current date minus 10 years as the default calendar date? Thanks.

progys
Posts: 8
Joined: 03 Jan 2011, 13:20
Location: Lithuania, Vilnius
Contact:

06 May 2011, 20:01

Populate the backingBean value with that date :)
PrimeFaces 2.2.1 + myFaces 2.0.5 + Tomcat 6.x

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests