i think you may be right that my setup is broken, but i'm not sure in what way 
it is :)

when i test this file (intentionally broken by commenting out the include)"
===
<canvas height="100%" width="100%" bgcolor="red">
        <!--<include href="WEB-INF/lzx/util/urlUtil.lzx"/>-->
        <handler name="oninit" reference="canvas">
                var url = urlUtil.getBaseURL();
        </handler>
</canvas>
===

i get from the console:
===
org.openlaszlo.sc.CompilerError: line unknown: Warning: variable 'id_$0' has no 
type declaration, in line: var id_$0 = stage.loaderInfo.parameters.id;
line unknown: Warning: parameter 'e_$1' has no type declaration, in line: catch 
(e_$1) {};
line unknown: Warning: variable 'id_$2' has no type declaration, in line: var 
id_$2 = stage.loaderInfo.parameters.id;
line unknown: Warning: parameter 'e_$3' has no type declaration, in line: catch 
(e_$3) {}}}
line unknown: Warning: variable 'tp' has no type declaration, in line: public 
var tp = null;}
line unknown: Warning: variable 'tooltipview' has no type declaration, in line: 
public var tooltipview = null;}
base/style.lzx: 9: Warning: return value for function '$mu' has no type 
declaration, in line: public static var tagname = "style";public static var 
attributes = new LzInheritedHash(LzNode.attributes);public var isstyle;public 
function $mu ($0) {
base/style.lzx: 9: Warning: variable 'isstyle' has no type declaration, in 
line: public static var tagname = "style";public static var attributes = new 
LzInheritedHash(LzNode.attributes);public var isstyle;public function $mu ($0) {
base/style.lzx: 9: Warning: variable 'attributes' has no type declaration, in 
line: public static var tagname = "style";public static var attributes = new 
LzInheritedHash(LzNode.attributes);public var isstyle;public function $mu ($0) {
base/style.lzx: 9: Warning: variable 'tagname' has no type declaration, in 
line: public static var tagname = "style";public static var attributes = new 
LzInheritedHash(LzNode.attributes);public var isstyle;public function $mu ($0) {
base/style.lzx: 9: Warning: parameter '$0' has no type declaration, in line: 
public static var tagname = "style";public static var attributes = new 
LzInheritedHash(LzNode.attributes);public var isstyle;public function $mu ($0) {
base/style.lzx: 17: Warning: variable '$1' has no type declaration, in line: 
var $1 = Debug;
base/style.lzx: 17: Warning: variable '$2' has no type declaration, in line: 
var $2 = $1.backtraceStack;
base/style.lzx: 17: Warning: variable '$3' has no type declaration, in line: 
var $3 = ["$lzc$ignore", $0];
base/style.lzx: 17: Warning: parameter '$lzsc$e' has no type declaration, in 
line: catch ($lzsc$e) {
base/style.lzx: 17: Warning: variable 'canvascolor' has no type declaration, in 
line: public var canvascolor;public function $lzc$set_canvascolor 
(canvascolor_$0) {
base/style.lzx: 17: Warning: return value for function '$lzc$set_canvascolor' 
has no type declaration, in line: public var canvascolor;public function 
$lzc$set_canvascolor (canvascolor_$0) {
base/style.lzx: 17: Warning: parameter 'canvascolor_$0' has no type 
declaration, in line: public var canvascolor;public function 
$lzc$set_canvascolor (canvascolor_$0) {
...
===

instead of just the one error that urlUtil is undefined.

thanks,
augusto.

On Mar 9, 2012, at 8:15 AM, Raju Bitter wrote:

> Try to provide the smallest possible test case reproducing the error.
> Without code, it's very difficult to tell you what's going on, and if
> maybe your OpenLaszlo setup is broken.
> 
> - Raju

Reply via email to