In my project the directory structure looks like

grim
    source
        resource
            grim
                32
                    test.png
                html
                    FAQ.htm

(which came from the skeleton).  I'm able to access icons using something like

/*
#asset(grim/*)
*/
var x = new qx.ui.basic.Atom("test atom","grim/32/test.png");

Now I'd like to be able to open the FAQ.htm in a qx.ui.embed.Iframe.

I thought I could do something like

/*
#asset(grim/html/FAQ.htm)
*/
var iframe = new 
qx.ui.embed.Iframe(qx.util.AliasManager.getInstance().resolve("grim/html/FAQ.htm"));

but this doesn't work.  The AliasManager returns "grim/html/FAQ.htm", which is 
missing the "resource" directory.  I can change it to 
.resolve("resource/grim/html/FSQ.htm"), but that seems inconsistent with the 
images.  The resource page [1] doesn't seem to address this.  What is the best 
way to access a resource like FAQ.htm, so it works in both build and source 
versions?

Thanks!
   -Bruce


[1] http://qooxdoo.org/documentation/1.0/ui_resources
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to