Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 71104 invoked from network); 6 Nov 2005 20:25:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Nov 2005 20:25:27 -0000 Received: (qmail 22937 invoked by uid 500); 6 Nov 2005 20:25:24 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 22867 invoked by uid 500); 6 Nov 2005 20:25:24 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 22850 invoked by uid 99); 6 Nov 2005 20:25:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2005 12:25:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [165.98.153.184] (HELO ags01.agssa.net) (165.98.153.184) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2005 12:25:18 -0800 Received: from [10.0.0.7] (apoyo.agssa.net [10.0.0.7]) by ags01.agssa.net (8.13.1/8.13.1) with ESMTP id jA6KOtum005376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 6 Nov 2005 14:25:00 -0600 Message-ID: <436E6697.10702@agssa.net> Date: Sun, 06 Nov 2005 14:24:55 -0600 From: Antonio Gallardo Organization: AG Software, S. A. User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [VOTE] Naming rule for HTML IDs generated by CForms References: <436DE03B.9010105@apache.org> <436DE3DC.1020402@apache.org> <436DFEA7.4000002@apache.org> <436E4E11.50104@apache.org> In-Reply-To: <436E4E11.50104@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass (ags01.agssa.net: 10.0.0.7 is whitelisted) receiver=ags01.agssa.net; client-ip=10.0.0.7; helo=[10.0.0.7]; envelope-from=agallardo@agssa.net; x-software=spfmilter 0.93 http://www.acme.com/software/spfmilter/; X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: >Sylvain Wallez wrote: > > >>Carsten Ziegeler wrote: >> >> >> >>>Sylvain Wallez wrote: >>> >>> >>> >>> >>>>So please choose one proposal below: >>>> >>>>[ ] "foo.bar:input" (colon, not CSS-friendly because of IE) >>>>[ ] "foo.bar..input" (double period) >>>>[ ] "foo.bar.input." (trailing period) >>>>[ ] "foo.bar._input" (underscore, requires to forbid it as the beginning >>>>of widget names) >>>> >>>> >>>> >>>> >>>Sorry for stepping in very late, but to me all of these solutions look >>>rather ugly. If I only have the choice between the four from above, I >>>would go for the underscore solution. >>> >>>But why can't we just use "bar-input" and forbid to use id's that end >>>with "-input"? Or forbid the use of '-'? >>> >>> >>> >>Oh please, go read the threads. >> >>We cannot forbid "-" in widget names, as it's used in too much >>occasions. >> >> >Sigh, how do you know that people are not using ':' in their widget ids? >Which is starting with 2.1.8 not allowed any more...so as we don't have >problems with not allowing the ':' character in ids, I don't see a >reason why we should handle the '-' differently? >Anyways, this whole id thing is really a pita and suggestions like a >double period or trailing period are absolutely not userfriendly. It >doesn't matter how often you have to use them. > >So, for clearness, I would go for a different solution but as this vote >is only about the four suggestions my vote is: > >[X] "foo.bar._input" (underscore, requires to forbid it as the beginning >of widget names) > > I know we are under pressure to release 2.1.8 really soon. I think this decision is really important. It impact the whole cforms framework. Hence, if you have a more elegant idea, please share it with us. :-) Best Regards, Antonio Gallardo.