Hmm... If you do not want a popup calendar then there is no documented attribute to define the pattern for the date. You can just make a simple custom component for the same. Having a popup calendar to just select a year is a strange requirement.
On 1/2/07, ::SammyRulez:: <[EMAIL PROTECTED]> wrote:
you can use inputcalendar and use "yyyy" for date pattern 2007/1/2, Kumar, Abhilash (Gok) <[EMAIL PROTECTED]>: > Hi, > > Thanks, Andrew... > > That means that there is no component as such, right ? I was just > wondering wheter the current date components can be configured to > display the year selection only. (Like the type attribute in inputdate > with values both, full, short_time etc). Seems that I am out of luck :) > > Thanx, > - Abhilash. > > -----Original Message----- > From: Andrew Robinson [mailto:[EMAIL PROTECTED] > Sent: Monday, January 01, 2007 11:35 PM > To: MyFaces Discussion > Subject: Re: Component to select the Year > > select one menu and populate it using a for loop? > > On 1/1/07, Kumar, Abhilash (Gok) <[EMAIL PROTECTED]> wrote: > > Hello: > > > > Is there a component in MyFaces or Tomahawk to select a year ? In > > some cases, I want the user to select only the year, not month and > date. > > > > Thanx, > > > > - Abhilash > > > -- ::SammyRulez:: http://www.kyub.com/blog/ ----------------------------------------------------------------- La programmazione รจ per un terzo interpretazione e per due terzi ispirazione. E per un terzo mistificazione
-- When I tell the truth, it is not for the sake of convincing those who do not know it, but for the sake of defending those that do

