johnl schrieb:
> Thanks. I replaced my server code with javascript to generate the HTML. 
> Now I have a few other questions:
>
> 1) How would I call a qooxdoo object's member function from the 
> generated html in the HtmlEmbed?
>   
You just need a way to find your object in the global scope of the 
qooxdoo applications. e.g. using a singleton or a global variable

custom.Application.getInstance().doSomething()
APPLICATION.doSomething()

> 2) How can I scroll to a particular element in the HtmlEmbed text?
>   
You can use the methods of the static Class ScrollIntoView 
<http://demo.qooxdoo.org/current/apiviewer/#qx.html.ScrollIntoView>


Best Fabian

> Thanks again.
>
> David
>
> Fabian Jakobs wrote:
>   
>> Hi John,
>>
>> from your screenshot it looks like the IFrame only contains plain HTML. 
>> I would suggest using the qx.ui.embed.HtmlEmbed widget, which is 
>> basically a very simple  qooxdoo widget with a "html" property. This 
>> property will basically set "innerHTML" of the widget's root element.
>>
>> Best Fabian
>>   
>>     
>>> Attached is an image of a module for a project I'm working on. This 
>>> particular module is a 'shot' log. The fusion torus fires a 'shot' 
>>> every few minutes, and for a given experiment, some number of people 
>>> will be creating log entries.
>>>
>>> The top pane in the picture is where the user edits his or her log 
>>> entry, and the bottom pane is a list of all the shots for the day that 
>>> have log entries.
>>>
>>> Currently the bottom frame is implemented using an iframe, but I've 
>>> been having some trouble with it - for example sometimes (not always!) 
>>> when I hide and then show the resizer containing the editor and the 
>>> iframe, the iframe will be reset to the URL it was created with - 
>>> generally blank, but if I set it to google.com, it will open google in 
>>> the frame, though the 'source' property isn't changed. Also being 
>>> sometimes hidden, it causes other problems.
>>>
>>> Really, what I'd like to do is replace the iframe with some widgets - 
>>> is there any way to do this that anyone can think of? Note that the 
>>> text entries for each user can be of any length, and any number of lines.
>>>
>>> Thanks,
>>>
>>> J. David Lee
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>   
>>>     
>>>       
>>   
>>     
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to