First check if files are loaded correctly, e.g. in the 'net' tab of
firebug, if you load the app from a web server, check myapp.js is loaded
at all.

Then, the crucial thing is that relative paths continue to work. The
default expects that the loading page (e.g. build/index.html) is one
level up from the script, and that the resources go down from there one
level (build/resource).

If that doesn't match your deployment setting, best thing is to
configure the relative location of the application root (index.html or
whatever the loading context is) in your config.json when you create
your build version, e.g. add this to the "jobs" section:

  "build-script" : {
     "compile-options" : {
        "uris" : {
           "script" : <rel_path_from_app_root_to_script_dir>,
           "resource" : <rel_path_from_app_root_to_resource_dir>
         }
      }
  }

See the configuration reference for 'compile-options' [1].

HTH,
T.

[1]
http://manual.qooxdoo.org/1.2.x/pages/tool/generator_config_ref.html#compile-options


On 11/30/2010 06:21 PM, aditya siram wrote:
> And here's the context in which it occurs in the minified js file:
> (function(){var
> r="relative",q="qx.client",p="resize",o="mshtml",n="height",m="",l="px",k="position",h="qx.ui.root.Inline",g="$$widget",c="opera",f="div",d="left",b="hidden",a="appear";
> qx.Class.define(h,{extend:qx.ui.root.Abstract,include:[qx.ui.core.MLayoutHandling],construct:function(t,u,v){this.__ql=t;
> t.style.overflow=b;    <------------ error occurs here
> t.style.textAlign=d;
> 
> -deech
> 
> On Tue, Nov 30, 2010 at 11:17 AM, aditya siram <[email protected]> wrote:
>> Hi all,
>> I am having trouble deploying the build version of my application. It
>> is part of a larger webapp most of which is not Qooxdoo so I copied
>> build/script/myapp.js and build/resource to the webapp directory and
>> added a script reference to "myapp.js" in the HTML file. However now
>> when I load the HTML file the Qooxdoo part doesn't show up and I get
>> the follow Firebug error:
>> t is null
>> [Break on this error] t.style.overflow=b;
>>
>> Any help is appreciated.
>> Thanks!
>> -deech
>>
> 
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to