Sorry Bober,
but I am not familiar with sagecell. But normally a lib provides a function to
be able connect the logic with a Dom element. Or a library overtakes the whole
document. In this case you should think about using an embedded Iframe widget
[1]
[1] http://demo.qooxdoo.org/current/apivi
Le 04/03/2015, Richard a écrit :
> Can you post your source, too?
source
├── class
│ └── pknyxui
│ ├── Application.js
│ ├── __init__.js
│ ├── model
│ │ ├── ConfigService.js
│ │ ├── DPTService.js
│ │ ├── EIBListener.js
│ │ └── EIBService.js
│
Hmm, that's mine:
$ tree build/
build/
├── index.html
├── resource
│ ├── qx
│ │ ├── mobile
│ │ │ ├── css
│ │ │ │ ├── LICENSE
│ │ │ │ └── custom.css
│ │ │ └── js
│ │ │ ├── iscroll.js
│ │ │ └── iscroll.min.js
│ │ └── static
│ │ └── bl
Dear Mustafa,
here the complete email:
I simply bound the sage lib to the whole application using
Sorry but I could not see your example code.
By the way,
Console.log(sage.getContentElement().getDomElement());
will show you the DOM elements you are interested in.
The property "html" is just one way, you are bale to set HTML code as String
and the widget lets it be evaluated by the browser
Dear Mustafa,
thanks for the answer.
I simply bound the sage lib to the whole application using
in the head of the index.html
Is there a better way to do so?
How exactly am I supposed to implement my html code?
And how can I access the code in it?
Right now I am using a button that shows a
Le 04/03/2015, Richard a écrit :
> cannot reproduce. Please paste your build output (from your shell).
$ ./generate.py build
Initializing: pKNyXui
Hi,
would you please describe how you bound the sage library with the embedded
widget?
Please notice, that the embedded HTML code will be evaluated asynchronously.
That means you should use following scheme to implement your code:
var sage = new qx.ui.embed.Html('');
sage.addListenerOnce("app
Hi Frédéric,
cannot reproduce. Please paste your build output (from your shell).
Do you get this section?
Executing: build::compile-scss
Le 04/03/2015, Richard a écrit :
> which qooxdoo SDK version are you using?
4.1
> Have you just created the app via "create-application.py"?
Yes, I then tested it using source (./generate.py source), which works
fine. But when I build it, no css it loaded, so the app is unusable.
--
Frédé
Hi Frédéric,
which qooxdoo SDK version are you using?
Have you just created the app via "create-application.py"?
Regards
Richard
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel
Hi,
I am using a qx.ui.embed.Html object to include a Sage Div in my
Application.
The code I use in the Html is:
var sage = new qx.ui.embed.Html('');
which is translated to three separate DIVs by Sage
(https://sagecell.sagemath.org/static/embedded_sagecell.js) while rendering
the site.
Hi!
When I build my mobile application, using:
$ ./generate.py build
and then point my navigator to the build/ dir, it can't load the
custom.css file, and the app does not look correct.
What am I missing?
--
Frédéric
---
13 matches
Mail list logo