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 "Pierre-Luc Archambault (JIRA)" <ad...@incubator.apache.org> on 2006/07/26 18:07:14 UTC

[jira] Updated: (ADFFACES-92) Allow the date picker to restrict the selectable days to only business days (e.g Mon-Fri)

     [ http://issues.apache.org/jira/browse/ADFFACES-92?page=all ]

Pierre-Luc Archambault updated ADFFACES-92:
-------------------------------------------

    Attachment: CoreChooseDate.patch
                ChooseDateRenderer.patch

The 2 patchs files provided are more like a *fix* than a complete patch.

First reason is because the change are made only on the chooseDate component rather than the SelectInputDate. (the latest component DO uses a chooseDate, but its creation is deep in the implementation and was out of my understanding zone to be modifiable)

Second, I had to use a locale private variable inside the ChooseDateRenderer to store the initial value of the newly added parameter to CoreChooseDate since I couldn't retrieve the parameter value other than the first call throught.

Third, there was some ongoing discussion about using the Tobago (or was it tomahawk?) calendar component and eventually have only 1 correctly and unifiedly working component for the whole MyFaces projet.

For the rest,  I'm confident enough that at least the small modification I've provided is doing the job and might provide some help later if the calendar component get revisited.

> Allow the date picker to restrict the selectable days to only business days (e.g Mon-Fri)
> -----------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-92
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-92
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Danny Robinson
>            Priority: Minor
>         Attachments: ChooseDateRenderer.patch, CoreChooseDate.patch
>
>
> Provide the ability for the date picker to display/enable only business-days (e.g. Mon-Fri), and hide/disable non-business days.
> When the date picker is used for appointment booking or for selecting a payment date, then it is not valid to select non-working days.

-- 
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