Fabian Jakobs wrote:
> Sascha Haeberling schrieb:
>   
>> Hello!
>>
>> I hit a roadblock, for which I wasn't able to find any solution so 
>> far. I have a qooxdoo application which runs fine. At the moment it 
>> uses qx.ui.window.Window to display itself. What I am trying to do is: 
>> I would like to take the content of this window and embed it into an 
>> existing website. Imagine a website that contains a table. I would 
>> like to position the content of the qooxdoo Window inside of one of 
>> those cells so the content moves relatively to that cell (e.g. when 
>> the website is scrolled)
>>
>> I tried this using getElement() on Window and CanvasLayout instances. 
>> I put a placeholder div into the cell and then added the Window's or 
>> Layout's element as a child in there. In general it works, but the 
>> positioning doesn't care. What I would like is this application being 
>> inside that table's cell and actually scrolling with the site and 
>> moving as the table is moving. Is this possible with qooxdoo right now 
>> and what would I have to do? Analyzing the DOM reveals that every 
>> element of the qooxdoo application is positioned absolutely. I tried 
>> to find an example application that does what I am trying to do but 
>> couldn't find one. All applications I could find actually "owned" the 
>> whole site and didn't allow scrolling the whole page
>>     
> I think you have two options:
>
> 1. Use qx.ui.basic.Inline:
>
> This widget can be used to embed qooxdoo widgets into a normal HTML file 
> but I am not sure how well scrolling is handled.
> API: <http://demo.qooxdoo.org/current/apiviewer/#qx.ui.basic.Inline>
> Demo: <http://demo.qooxdoo.org/current/demobrowser/#example~Inline_1.html>
>
>
> 2. Use an Iframe:
>
> Write a normal qooxdoo application and put at the desired location into 
> an IFrame.
>
>
> I hope one of the choices works for you,
>
> Best Fabian
>   
Thank you so much. I tried the iframe solution and it seems to work
fine. The only minor issue with this: Qooxdoo windows are not dragable
beyond the limits of this iframe, of course. But I can live with that
for now!

I haven't tried the Inline component yet but I will as soon as I get the
time.

Thanks again for your help!

-- Sascha
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to