Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 64142 invoked from network); 21 Dec 2009 19:25:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Dec 2009 19:25:33 -0000 Received: (qmail 36013 invoked by uid 500); 21 Dec 2009 19:25:32 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 35931 invoked by uid 500); 21 Dec 2009 19:25:31 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 35921 invoked by uid 99); 21 Dec 2009 19:25:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 19:25:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sethfromaustria@gmail.com designates 209.85.220.210 as permitted sender) Received: from [209.85.220.210] (HELO mail-fx0-f210.google.com) (209.85.220.210) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 19:25:23 +0000 Received: by fxm2 with SMTP id 2so5605408fxm.25 for ; Mon, 21 Dec 2009 11:25:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=6VEWhPBj0x14J1hiemGqFBn3pfNDKRGV+RNYNMkVFAw=; b=SE7c+fTsiNsfkkECxvGeRDX0Jg+VTXy4jABKPSl2lvdY+fpLzyZSwDirOP6Sw/WU5M uPZVeWvMR3t7os9K8TwyNwzCqC/O5Cu5Da1hI9wSaFs91fLhjyDTGOksLPCUXv2iQ9Py zWGPBJ/9fRbtaFLhCbfSCZnjXaE0HpClBIAdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=rmnq9Xhce7E5/il3izkLWxIT0hxXUZhlluYnxkHcvAsM+dbTygqsorkervQOONc5z/ sYqXaS47oe0cThO8bSSMoXw5v9KasujfTVpy+Kve/gOpUVTeAM3U8SxFDu+3hoTxaXbn h2rPYpKGMePVTIhb4iXJD8kzjg7t7VlebSfGg= MIME-Version: 1.0 Sender: sethfromaustria@gmail.com Received: by 10.102.13.40 with SMTP id 40mr1596523mum.130.1261423503169; Mon, 21 Dec 2009 11:25:03 -0800 (PST) In-Reply-To: <121820092144.18706.4B2BF7CA0002FD820000491222230650629B0A02D29B9B0EBFCE9A9904@att.net> References: <121820092144.18706.4B2BF7CA0002FD820000491222230650629B0A02D29B9B0EBFCE9A9904@att.net> Date: Mon, 21 Dec 2009 20:25:03 +0100 X-Google-Sender-Auth: 52893038918f03cc Message-ID: Subject: Re: how to restrict inputDate to be the 1st date of each month within a range of date From: Jakob Korherr To: MyFaces Discussion Content-Type: multipart/alternative; boundary=00163649a0b1d15b13047b420bf6 X-Virus-Checked: Checked by ClamAV on apache.org --00163649a0b1d15b13047b420bf6 Content-Type: text/plain; charset=UTF-8 Hi, Why do you want to select only the 1st day of each month? do you want to select a month with this component? If so, why don't you just use two components, one for the month and one for the year? Regards, Jakob Korherr 2009/12/18 > Hi, > with the following code, I don't think it suits my need. Please advise if > there is way to achieve only allowing 1st day of each month within a certain > range, say within Oct 15, 2008 - Oct 30, 2010 to be selectable. If this is > not possible, backend validation is the only choice. > > label="Select a date, but check possible > holidays first"> > > invalidDays="#{bean.date.nationalHolidays}" /> > > --00163649a0b1d15b13047b420bf6--