[Chameleon] error when removing button

Paul Spencer pspencer at dmsolutions.ca
Thu Jan 20 15:19:23 EST 2005


Hi Robin.

the official way to get a widget out of the interface is to add 
enabled="false" to the widget attributes or to remove it from the 
template.  For various technical reasons, using HTML comments to remove 
widgets is not suppported, and in fact will cause errors such as this one.

Cheers,

Paul

Robin Brown wrote:
> Hello all
> 
> I am using a modified version of the bilingual sample that comes with ms4w.  I am trying
> to remove the "french" button from the page until the french version is actually in
> working order.  I tried commenting out the call in the phtml file but this causes an
> error when I load the application.  I get the message "image object for cwcimage_11 not
> found?".  Is there some code somewhere else that I need to comment out?
> 
> Thanks in advance
> 
> Robin
> 
> 
> 
> 
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+


More information about the Chameleon mailing list