Bug 145

Summary: [Chameleon] Color="#" Breaks Buttonizer.
Product: Chameleon Reporter: Chris Thorne <cthorne@dmsolutions.ca>
Component: WidgetAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description From 2003-11-25 14:37:02
Darren's Comment: Issue noticed during cwc2 1.0.3 training course.
>
> 4. "#" in colours breaks Buttonizer.
>

Ok this should happen, for the parameter color it needs to have RGB (Red Green
Blue) eg. COLOR="255 255 255" equals white. Maybe what you are trying to point
out is that the Buttonizer does not express an error that is meaningful to the
user. This is basically the same issue as bug 143, but is more specific with the
COLOR widget parameter.
------- Comment #1 From 2004-04-06 13:38:23 -------
There are two different types of attributes for color:

Hex
RGB

The Hex attribute takes an HTML color specification like #FFFFFF and it was this
that was broken (if the first character was the #).  This has been fixed in the
latest version and the Hex color can be specified either with or without the #.

RGB is written as three space separated values between 0-255 each (i.e.
color="255 0 255")