[Laszlo-user] Problems with debug attribute in configuration file

Tim Dauer tim.dauer at evision.de
Tue Nov 25 03:29:58 PST 2008


Hi Laszlo-Users!

I am using a configuration file which contains several constraints that 
are needed in my laszlo application - it's like an properties file. This 
file contains mostly attribute-TAGs and some resource-tags. What I would 
like to do is to manage the debug-attribute of the canvas in this 
configuration file. The problem is that, no matter what I try, this 
attribute is not read out correctly.

I tried to bind the attribute in the canvas-TAG by using something like this
<canvas debug="${canvas.isDebug}"... >
and to add the attribute
<attribute name="isDebug" type="boolean" value="true"/>
in the configuration file which is included in the canvas-Class. No luck.

And I tried to overwrite the debug-Attribute like
<attribute name="debug" type="boolean" value="true"/>
Again: No luck.

Neither of these approaches worked out. Do you have any ideas on how to 
manage that issue in a configuration file? Or maybe this isn't possible 
because of initialization issues of the canvas?

Greets
Tim


More information about the Laszlo-user mailing list