cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: CForms widget ID naming (was Re: [Vote] Releasing on friday)
Date Fri, 04 Nov 2005 06:09:11 GMT
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

Mime
View raw message