+1 for initialValue instead of startValue
+1 for visibleYearCount

For weekends however I would prefer a validator over an attribute for the 
inputDate component.

Simon Lessard
Fujitsu Consulting





"Adam Winer" <[EMAIL PROTECTED]>
2006-08-10 00:17
Please respond to adffaces-dev
 
        To:     [email protected]
        cc: 
        Subject:        chooseDate/inputDate attribute names


There's a few outstanding JIRA requests for adding attributes
to the date components (chooseDate and inputDate):

  - "startValue": (from ADFFACES-90): pick the date that
   should be selected when the chooseDate or inputDate
   components first come up
  - "visibleYearCount": (from ADFFACES-91): let you set the
   number of years visible for one "block" of the dropdown
  - "weekendSelectable": (from ADFFACES-92): let you
   block weekends from being choseable

So, the questions are:
 1. Whether these are desirable features?
 2. What names you'd like for these?

To answer my own questions:

> 1. Whether these are desirable features?

+1 to 90 and 91;  -0.5 to 92;  it might
be better to let you enable/disable arbitrary days,
instead of just the weekend on-or-off.

> 2. What names you'd like for these?

Alternative names that come to mind:
  - For ADFFACES-90: "initialValue"
  - For ADFFACES-92: "weekendDisabled"

As a more general request, it'd be great if developers proposing
new features would bring it to the e-mail list before filing JIRA
issues and implementing patches.

Thanks,
Adam

Reply via email to