Hi Alex,

Well, you're right, of course!

Okay, so that all makes sense why null was being returned with the
getElement() call. And why is was working again with my (unnecessary) mods.
So, the constructor and _applyElementData modifications don't need to be
made afterall.

No worries about wrong directions -- all a learning experience.

Thanks again.

Best,
Dalmazio




Hi Dalmazio,

I've just looked at the issue you described and you do not to change the 
code of the gallery. Instead of the "beforeAppear" listener you can use 
the "appear" listener and everything works fine. I'm sorry I pointed you 
in the wrong direction :(

At the time the "beforeAppear" event is dispatched the DIV element of 
the gallery widget is not yet rendered thus not available. With the use 
of the "appear" event you at the right track. This event is always fired 
after the widget is rendered and you can rely on the "getElement" method.

cheers,
   Alex

-- 
View this message in context: 
http://n2.nabble.com/Loading-images-into-qx.ui.embed.Gallery-%280.7.3%29-tp530110p580900.html
Sent from the qooxdoo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to