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/27 14:26:15 UTC

[jira] Commented: (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=comments#action_12423842 ] 
            
Pierre-Luc Archambault commented on ADFFACES-92:
------------------------------------------------

As it was pointed out by a collegue of mine, there is a *major* limitation to this patch I've made... since there is only 1 renderer registered for a component, using a locale private variable to contains the initial value read when rendering a calendar causes troubles if you have more than 1 calendar in your application, the first value read about the selectability of weekend will apply to every other calendar that will get rendered.

The long term solution would then be to find why the propertyKey get lost... the problem I had pointed out in
http://mail-archives.apache.org/mod_mbox/incubator-adffaces-dev/200607.mbox/browser

> 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