You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Simon Lessard (JIRA)" <ad...@incubator.apache.org> on 2006/07/21 20:05:13 UTC

[jira] Created: (ADFFACES-90) Allow users to control the starting date of date picker

Allow users to control the starting date of date picker
-------------------------------------------------------

                 Key: ADFFACES-90
                 URL: http://issues.apache.org/jira/browse/ADFFACES-90
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
            Reporter: Simon Lessard
            Priority: Minor


Currently, date picker init itself to the current date (unless there's a DateTimeRangeValidator preventing it). This can be useful, but also problematic when the date to be selected is decently old, like a birthdate for instance. A decent workaround would be to add an attribute on the component to fix the initial selected date of the date picker.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-90) Allow users to control the starting date of date picker

Posted by "Pierre-Luc Archambault (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-90?page=all ]

Pierre-Luc Archambault updated ADFFACES-90:
-------------------------------------------

    Status: Patch Available  (was: Open)

> Allow users to control the starting date of date picker
> -------------------------------------------------------
>
>                 Key: ADFFACES-90
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-90
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: trunk_patch90.patch
>
>
> Currently, date picker init itself to the current date (unless there's a DateTimeRangeValidator preventing it). This can be useful, but also problematic when the date to be selected is decently old, like a birthdate for instance. A decent workaround would be to add an attribute on the component to fix the initial selected date of the date picker.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-90) Allow users to control the starting date of date picker

Posted by "Pierre-Luc Archambault (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-90?page=all ]

Pierre-Luc Archambault updated ADFFACES-90:
-------------------------------------------

    Attachment: trunk_patch90.patch

Here is a clean patch to add a new startValue attribute to BOTH inputDate AND chooseDate component.

This new attribute allows the user to choose a starting Date other than the current day for the calendar when it is first rendered.

> Allow users to control the starting date of date picker
> -------------------------------------------------------
>
>                 Key: ADFFACES-90
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-90
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: trunk_patch90.patch
>
>
> Currently, date picker init itself to the current date (unless there's a DateTimeRangeValidator preventing it). This can be useful, but also problematic when the date to be selected is decently old, like a birthdate for instance. A decent workaround would be to add an attribute on the component to fix the initial selected date of the date picker.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira