[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-dev
Subject:    Re: CForms widget ID naming (was Re: [Vote] Releasing on friday)
From:       Joerg Heinicke <joerg.heinicke () gmx ! de>
Date:       2005-11-04 6:09:11
Message-ID: 436AFB07.5010706 () gmx ! de
[Download RAW message or body]

On 04.11.2005 02:09, Antonio Gallardo wrote:

>> Yep. The "." and "/" are already checked in 
>> AbstractWidgetDefinition.setCommonProperties(). We just need to add ":".
> 
> Why we need to use a symbol at any cost ? Can we use a simple word 
> prefix? As cform-[widgetID]?

If you prefix the widget id with a simple word (your proposal) or suffix 
it with another one (Sylvain's way), with both you have to care about 
the validness of user-chosen ids. To check them easily you use the 
unique separator.

Jörg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic