Bruce,

> /*
> #asset(grim/html/FAQ.htm)
> */

This is good.

> 
> 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",

The AliasManager is only responsible of resolving aliases into (what we
call) "resource id's". A resource id is the path of the file *after*
source/resource (down from the name space), so "grim/html/FAQ.htm" is
already a proper resource id, and is actually what you want from the
AliasManager (You could e.g. register an alias that would allow you to
address this resource under, say, "html/FAQ.htm", and the AliasManager
would resolve it to "grim/html/FAQ.htm").

So the important thing to take away here is that the AliasManager always
returns *resource id's*. And these are not proper URIs yet.

What you need to add to get a proper URI is invoke the *ResourceManager*
with the resource id. So your code snippet could look something like this:

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

(Just to cater for the possibility that you might actually register an
alias for this resource; if you work with the resource id directly you
can just leave out the call to the AliasManager).


> the images.  The resource page [1] doesn't seem to address this.  What

You're right. Could you open a bug for this?! Thanks.

T.

> [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