Thank you for support Robert,
I have resolved in a simple way, don't put a qooxdoo label object but
simply use innerHTML

document.getElementById("divname").innerHTML = "Text To display with css
from html page";


Now i can make the backend with qooxdoo and leave the rendering to base
html.

The Goal is to split the code from the graphics (qooxdoo is perfect for
make application like sites, but in other case the customers want to
have a more graphic oriented homepage)

Regards 
 Sp


The 
Il giorno ven, 25/02/2011 alle 13.02 +0100, Robert Nimax ha scritto:
> Hmm...actually do not know.:-)
> I think, if the statement worked, you should be able to get the loaded
> css via "document.styleSheets". 
> The rules: If a style was like "font-size: 16;display: none",you will
> have to call...setStyle("font-size", "16")....setStyle("display",
> "none) and so on.
>  
> 
> >>> Simone Pandolfo <[email protected]> 2/25/2011 11:46 >>>
> Thank you Robert,
> in fact I would like to avoid using the "DOM", I would at least
> try to use low-level layerBrowser Object Model. qx.bom
> 
> looking around I found this class:
> http://demo.qooxdoo.org/current/apiviewer/#qx.bom.Stylesheet
> 
> I have tried to load the css with:
> 
> qx.bom.Stylesheet.includeFile(qx.util.ResourceManager.getInstance().toUri("resource/test/default.css"),
>  this.getRoot().document);
> 
> 
> But I do not understand how to apply the rules or if the statement
> itself is correct
> 
> 
> Il giorno ven, 25/02/2011 alle 11.35 +0100, Robert Nimax ha scritto:
> > One more thing:
> > Be careful with direct DOM mainpulations of qooxdoo widgets, because
> > you do not really know the moment the DOM element exists, because
> the
> > generation / rendering is asynchronous. IMHO you have to wait for
> the
> > "appear"-event of the widget because now you can be sure, that the
> DOM
> > elements is created. 
> >  
> > 
> > >>> "Robert Nimax" <[email protected]> 2/25/2011 11:29 >>>
> > 
> > Ouh, it´s not that easy.
> > Every widget´s got a "Container-Element" (getContainerElement()).
> This
> > is your Qooxdoo-interface to the DOM-Element according to the
> widget.
> > Have a look at the qooxdoo class
> > http://demo.qooxdoo.org/current/apiviewer/#qx.html.Element to
> > understand. 
> > There is a method called setStyle() and this method expects single
> > single key-value-pairs (or setStyles() a native JS object).  I do
> not
> > really how get it working, but I think you´ll have to render your
> > source css to these structures and then set the value(s).
> > The other way is to access the DOM Element directly. In this case
> you
> > ´ll have to call getDomElement() of the class metioned above. Now
> you
> > could do traditional JS / DOM mainpulations. 
> > 
> > I hope, I´m not wrong..:)
> > Rob.
> > 
> > >>> Simone Pandolfo <[email protected]> 2/25/2011 10:45 >>>
> > Perfect! is exactly what I was looking for,
> > I really like qooxdoo, but I have yet to be able to become familiar
> > with
> > many parts of the project.
> > 
> > About inline applications, how can I use the styles declared in
> > the css file html page?
> > 
> > I used qx.ui.root.Inline and I put a label with
> > document.getElementById.
> > 
> > you can reuse a statement of the css file (the html page) for
> > the style of the label?
> > 
> > I'm looking in the documentation, but if anyone can give me an Hint
> I
> > would be grateful
> > 
> > Il giorno ven, 25/02/2011 alle 09.25 +0100, Simone Pandolfo ha
> > scritto:
> > > Thank you thousand!
> > > 
> > > I miss this chapter!
> > > 
> > > Regards
> > >  Sp
> > > 
> > > Il giorno ven, 25/02/2011 alle 07.42 +0100, Robert Nimax ha
> scritto:
> > > > Hi,
> > > > did you take a look at "Inline Applications" ? See chapter 4.1.4
> > of
> > > > the 1.3 manual:
> > > >  
> > > > [...]
> > > > 4.1.4 Applications
> > > > The application is the starting point of every qooxdoo
> > application.
> > > > Every qooxdoo application should also come with a
> > > > custom application class. The application is automatically
> > initialized
> > > > at the boot phase of qooxdoo (to be exact: when
> > > > all required JavaScript packages are loaded).
> > > > The first method each developer needs to get used to is the main
> > > > method. It is automatically executed after the
> > > > initialization of the class. Normally the method is used to
> > initialize
> > > > the GUI and to load the data the application needs.
> > > > There are different applications which could be used as a
> starting
> > > > point for a custom application:
> > > > . Standalone: Uses the Application root to build full blown
> > standalone
> > > > qooxdoo applications
> > > > . Inline: Uses the Page root to build traditional web page based
> > > > application which are embedded into isles in the
> > > > classic HTML page.
> > > > [...]
> > > >  
> > > > Maybe you could create an inline application skeleton and play
> > around
> > > > with that application.
> > > > 
> > > > HTH,
> > > > Rob.
> > > > 
> > > > >>> Simone Pandolfo <[email protected]> 2/24/2011 6:06 >>>
> > > > Hi,
> > > > 
> > > > I'm trying to use an existent html page (basic html with a flash
> > > > object)
> > > > as a template for a site.
> > > > 
> > > > Basically i want to put the html as background of my
> application.
> > > > To do this i have tried to use  qx.ui.embed.Iframe()
> > > > 
> > > > But when i try to add a scrollbar to scroll to the end of the
> page
> > > > (part
> > > > of the iframe is cutted out) the other object are fixed in their
> > > > position.
> > > > 
> > > > I make a playground to show the behaviour.
> > > > 
> > > > I have tried some layout/container but missing the point.
> > > > 
> > > > I make an example in the playground but the link don't work 
> > > > (show an empty page)
> > > > 
> > > > http://tinyurl.com/6en23os
> > > > 
> > > > I report the code here
> > > > 
> > > > """
> > > > 
> > > > var button1 = new qx.ui.form.Button("Button");
> > > > var doc = this.getRoot();
> > > > var iframe = new qx.ui.embed.Iframe("http://qooxdoo.org/about";);
> > > > var scrollContainer= new qx.ui.container.Scroll();
> > > > doc.add(scrollContainer, {top: 0, left: 0, right: 0, bottom:
> 0});
> > > > var mainvb = new qx.ui.container.Composite(new
> > qx.ui.layout.Basic());
> > > > scrollContainer.add(mainvb);
> > > > //How to permit at the iframe to get all the space it need?
> > > > iframe.set({width:1200,height:1500}); 
> > > > //Why when i scroll the page the button is fixed?
> > > > mainvb.add(iframe,{top:0,left:0});
> > > > mainvb.add(button1, {left: 100, top: 50});
> > > > 
> > > > """
> > > > 
> > > > Regards
> > > > Sp
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > -- 
> > > > Erreedi Srl
> > > > Tel. 06.7900639
> > > > Fax 06.79840900
> > > > e-mail: [email protected]
> > > > ------------------------------
> > > > 
> > > > 
> > > >
> >
> ------------------------------------------------------------------------------
> > > > Free Software Download: Index, Search & Analyze Logs and other
> IT
> > data
> > > > in 
> > > > Real-Time with Splunk. Collect, index and harness all the fast
> > moving
> > > > IT data 
> > > > generated by your applications, servers and devices whether
> > physical,
> > > > virtual
> > > > or in the cloud. Deliver compliance at lower cost and gain new
> > > > business 
> > > > insights. http://p.sf.net/sfu/splunk-dev2dev 
> > > > _______________________________________________
> > > > qooxdoo-devel mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > > > 
> > > >
> >
> ------------------------------------------------------------------------------
> > > > Free Software Download: Index, Search & Analyze Logs and other
> IT
> > data in 
> > > > Real-Time with Splunk. Collect, index and harness all the fast
> > moving IT data 
> > > > generated by your applications, servers and devices whether
> > physical, virtual
> > > > or in the cloud. Deliver compliance at lower cost and gain new
> > business 
> > > > insights. http://p.sf.net/sfu/splunk-dev2dev 
> > > > _______________________________________________ qooxdoo-devel
> > mailing list [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > > 
> > > -- 
> > > Erreedi Srl
> > > Tel. 06.7900639
> > > Fax 06.79840900
> > > e-mail: [email protected]
> > > ------------------------------
> > > 
> > > 
> > >
> >
> ------------------------------------------------------------------------------
> > > Free Software Download: Index, Search & Analyze Logs and other IT
> > data in 
> > > Real-Time with Splunk. Collect, index and harness all the fast
> > moving IT data 
> > > generated by your applications, servers and devices whether
> > physical, virtual
> > > or in the cloud. Deliver compliance at lower cost and gain new
> > business 
> > > insights. http://p.sf.net/sfu/splunk-dev2dev 
> > > _______________________________________________
> > > qooxdoo-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > > 
> > 
> > -- 
> > Erreedi Srl
> > Tel. 06.7900639
> > Fax 06.79840900
> > e-mail: [email protected]
> > ------------------------------
> > 
> > 
> >
> ------------------------------------------------------------------------------
> > Free Software Download: Index, Search & Analyze Logs and other IT
> data
> > in 
> > Real-Time with Splunk. Collect, index and harness all the fast
> moving
> > IT data 
> > generated by your applications, servers and devices whether
> physical,
> > virtual
> > or in the cloud. Deliver compliance at lower cost and gain new
> > business 
> > insights. http://p.sf.net/sfu/splunk-dev2dev 
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > 
> >
> ------------------------------------------------------------------------------
> > Free Software Download: Index, Search & Analyze Logs and other IT
> data in 
> > Real-Time with Splunk. Collect, index and harness all the fast
> moving IT data 
> > generated by your applications, servers and devices whether
> physical, virtual
> > or in the cloud. Deliver compliance at lower cost and gain new
> business 
> > insights. http://p.sf.net/sfu/splunk-dev2dev 
> > _______________________________________________ qooxdoo-devel
> mailing list [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> -- 
> Erreedi Srl
> Tel. 06.7900639
> Fax 06.79840900
> e-mail: [email protected]
> ------------------------------
> 
> 
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data
> in 
> Real-Time with Splunk. Collect, index and harness all the fast moving
> IT data 
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new
> business 
> insights. http://p.sf.net/sfu/splunk-dev2dev 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in 
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business 
> insights. http://p.sf.net/sfu/splunk-dev2dev 
> _______________________________________________ qooxdoo-devel mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: [email protected]
------------------------------


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to