[qooxdoo-devel] Data binding and model to fire events on change

2010-06-15 Thread Simone Pandolfo
hi,
I am trying to configure a data binding that allows me to view live
data.

Reading the documentation I understood that this is done by the "model"
but I haven't found examples about.

My application use JSON-RPC for the requests to the backend, but the
backend works with events and I wish I could update the interface based
on events.

I have writed a short application that read a json store file and put it
in a list.
when i change the data in the file, the list refresh only on reload of
the page.
what i need to do for make a model that update automaticaly the list?

Best regards
 Sp 


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] Get data from tree item trough checkbox's change value event

2010-07-12 Thread Simone Pandolfo
Hi,
I'm trying to manage an event handler in a tree.
The tree element are compose by a checkbox a label and an hidden value
(text).

I have created a listener on the checkbox (changeValue) but ev report
only the boolean value, i need to get the hidden text of the tree
element.

How i can achive this?

Sorry for my english if needed i can try to explain better the
situation.

Sp


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] FullScreen application

2010-09-15 Thread Simone Pandolfo
Hello everyone,
I am developing an application with qooxdoo and wanted to know if it was
possible to start the application in full screen (like pressing F11).

Any suggestion?

Regards
 Sp


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] FullScreen application

2010-09-15 Thread Simone Pandolfo
I can try to use only webkit and make an app that call qooxdoo, like
Pyjamas-Desktop, but is a work that i can't start now.

Thank you for the link and the reply.

Regards
 Sp


Il giorno mer, 15/09/2010 alle 11.42 +0200, Martin Wittemann ha scritto:
> Hey,
> 
> I'm quite sure thats not possible cross browser. [1] Are you restricted to 
> one browser?
> 
> Regards,
> Martin
> 
> [1] 
> http://stackoverflow.com/questions/1030928/browser-fullscreen-window-fullscreentrue-not-working
> 
> 
> Am 15.09.2010 um 11:05 schrieb Simone Pandolfo:
> 
> > Hello everyone,
> > I am developing an application with qooxdoo and wanted to know if it was
> > possible to start the application in full screen (like pressing F11).
> > 
> > Any suggestion?
> > 
> > Regards
> > Sp
> > 
> > 
> > --
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing.
> > http://p.sf.net/sfu/novell-sfdev2dev
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> --
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] QxJqPlot: how to invoke replot/redraw function

2010-09-27 Thread Simone Pandolfo
Hi all,
I'm using the QxJqPlot contrib but i have a problem with missing
documentation (either in jqplot than in  QxJqPlot) for the redraw or
replot function.
Anyone know how i can make a new Graph without delete it and recreate a
new one?

I have a timer that update the data every 5 seconds, and destroy and
recreate the plot make a really ugly flickering.

Any suggestion is welcome.

Regards.
 Sp


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] QxJqPlot: how to invoke replot/redraw function

2010-09-27 Thread Simone Pandolfo
Il giorno lun, 27/09/2010 alle 15.12 +0200, Tobias Oetiker ha scritto:
> Hi Simone,
> 
> Today Simone Pandolfo wrote:
> 
> > Hi all,
> > I'm using the QxJqPlot contrib but i have a problem with missing
> > documentation (either in jqplot than in  QxJqPlot) for the redraw or
> > replot function.
> > Anyone know how i can make a new Graph without delete it and recreate a
> > new one?
> >
> > I have a timer that update the data every 5 seconds, and destroy and
> > recreate the plot make a really ugly flickering.
> >
> > Any suggestion is welcome.
> 
> well the qooxdoo bindings expose all that is available inside
> jqplot. But as far as I understand it, you have to create a new
> graph once you change the data ... maybe you can do something using
> the init method ...
> 
> also you might want to use qooxdoo to create the new chart off
> screen and then move it in view once it is finished thus avoiding
> the flicker ?
> 
> cheers
> tobi

I alredy use a similar solution, but the main purpose of the redraw is
to optimize the application, I use more than one graph and the same
layout is used for different pages, recreate all the graph on refresh
and position is heavy for the application.

With the redraw i was supposing to manage only the data, but seems that
is not realizable at the moment.

Thanks

Sp

> > Regards.
> >  Sp
> >
> >
> > --
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing.
> > http://p.sf.net/sfu/novell-sfdev2dev
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
> 



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] QxJqPlot: zoomProxy

2010-09-30 Thread Simone Pandolfo
Hi all,

I'm Still try to understand how to use QXJqplot for some non basic
option.
For my project i need a graph like this:

http://www.jqplot.com/tests/zoomProxy.php

But i have some problem to make it working.

i try with this code:

plugins = ['dateAxisRenderer','cursor','ohlcRenderer']

//this function return the options for target and controller
var options = util.plotOptions("Test",series); 
 
target = new sbgui.Plot(result[1],options.target,plugins);
control = new sbgui.Plot(result[1],options.controller,plugins);

sbgui.Plot.Cursor.zoomProxy(target,control); 

(just a try, the last row don't work)


Without any result :/

the problem for me is in the row:
$.jqplot.Cursor.zoomProxy(targetPlot1, controllerPlot1);  

I can't call directly jqplot like the example, i have the same problem
for the redraw. 

Any suggestion is welcome. 



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] QxJqPlot: zoomProxy

2010-09-30 Thread Simone Pandolfo
Hi Tobi,
Thanks for the reply, but i don't know what event you tell me.
Have you a link for some documentation about?

Thanks 
 Sp


Il giorno gio, 30/09/2010 alle 17.00 +0200, Tobias Oetiker ha scritto:
> Hi Simone,
> 
> I can realy see where you are stuck from what you write, but a
> common problem is that maybe your plot is not yet in existance when
> you try to access it. Use the event provided by the qxjqplot
> object to determine when it is ready to be accessed.
> 
> 
> cheers
> tobi
> Today Simone Pandolfo wrote:
> 
> > Hi all,
> >
> > I'm Still try to understand how to use QXJqplot for some non basic
> > option.
> > For my project i need a graph like this:
> >
> > http://www.jqplot.com/tests/zoomProxy.php
> >
> > But i have some problem to make it working.
> >
> > i try with this code:
> >
> > plugins = ['dateAxisRenderer','cursor','ohlcRenderer']
> >
> > //this function return the options for target and controller
> > var options = util.plotOptions("Test",series);
> >
> > target = new sbgui.Plot(result[1],options.target,plugins);
> > control = new sbgui.Plot(result[1],options.controller,plugins);
> >
> > sbgui.Plot.Cursor.zoomProxy(target,control);
> >
> > (just a try, the last row don't work)
> >
> >
> > Without any result :/
> >
> > the problem for me is in the row:
> > $.jqplot.Cursor.zoomProxy(targetPlot1, controllerPlot1);
> >
> > I can't call directly jqplot like the example, i have the same problem
> > for the redraw.
> >
> > Any suggestion is welcome.
> >
> >
> >
> > --
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing.
> > http://p.sf.net/sfu/novell-sfdev2dev
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
> 



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] Plotting library: Flot and Flotr

2010-10-04 Thread Simone Pandolfo
Hi All,
anyone had tried to use one of this two plotting library?

http://solutoire.com/flotr/

http://code.google.com/p/flot/


Flotr is inspired by flot, both appear clean to me but i don't know how
to start to make a contrib like qxjqplot or simply integrate this
plotting library.

Regrards
 Sp


--
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] QxJqPlot: zoomProxy

2010-10-04 Thread Simone Pandolfo
Thank you for your help,
I still have some issue with jqplot, a huge memory leak.
I make some graph for a tree structure, every folder or leaf make a
graph.

The app run smoothly but the memory after a quickly test over all the
folder/leaf (araund 30 combinations) make firefox requesting more than
2gb of Ram.

I read about other people with similar problem but no one have a
solution?

I alredy have updated the jqplot library, also qooxdoo but no
improvements.

Any alternative for make Graphs?

Possible that qooxdoo users don't need to plot data?

Il giorno gio, 30/09/2010 alle 18.16 +0200, Tobias Oetiker ha scritto:
> Hi Simone,
> 
> Today Simone Pandolfo wrote:
> 
> > Hi Tobi,
> > Thanks for the reply, but i don't know what event you tell me.
> > Have you a link for some documentation about?
> 
> have a look at Plot.js ... it emits a plotCreated event once the
> plot is ready ... do not try to acccess it before this.
> 
> cheers
> tobi
> 
> >
> > Thanks
> >  Sp
> >
> >
> > Il giorno gio, 30/09/2010 alle 17.00 +0200, Tobias Oetiker ha scritto:
> > > Hi Simone,
> > >
> > > I can realy see where you are stuck from what you write, but a
> > > common problem is that maybe your plot is not yet in existance when
> > > you try to access it. Use the event provided by the qxjqplot
> > > object to determine when it is ready to be accessed.
> > >
> > >
> > > cheers
> > > tobi
> > > Today Simone Pandolfo wrote:
> > >
> > > > Hi all,
> > > >
> > > > I'm Still try to understand how to use QXJqplot for some non basic
> > > > option.
> > > > For my project i need a graph like this:
> > > >
> > > > http://www.jqplot.com/tests/zoomProxy.php
> > > >
> > > > But i have some problem to make it working.
> > > >
> > > > i try with this code:
> > > >
> > > > plugins = ['dateAxisRenderer','cursor','ohlcRenderer']
> > > >
> > > > //this function return the options for target and controller
> > > > var options = util.plotOptions("Test",series);
> > > >
> > > > target = new sbgui.Plot(result[1],options.target,plugins);
> > > > control = new sbgui.Plot(result[1],options.controller,plugins);
> > > >
> > > > sbgui.Plot.Cursor.zoomProxy(target,control);
> > > >
> > > > (just a try, the last row don't work)
> > > >
> > > >
> > > > Without any result :/
> > > >
> > > > the problem for me is in the row:
> > > > $.jqplot.Cursor.zoomProxy(targetPlot1, controllerPlot1);
> > > >
> > > > I can't call directly jqplot like the example, i have the same problem
> > > > for the redraw.
> > > >
> > > > Any suggestion is welcome.
> > > >
> > > >
> > > >
> > > > --
> > > > Start uncovering the many advantages of virtual appliances
> > > > and start using them to simplify application deployment and
> > > > accelerate your shift to cloud computing.
> > > > http://p.sf.net/sfu/novell-sfdev2dev
> > > > ___
> > > > qooxdoo-devel mailing list
> > > > qooxdoo-devel@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing.
> > http://p.sf.net/sfu/novell-sfdev2dev
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
> 



--
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Plotting library: Flot and Flotr

2010-10-04 Thread Simone Pandolfo
Thanks Dietrich and Stefan,
I check it out


Il giorno lun, 04/10/2010 alle 11.07 -0400, Matthew Devine ha scritto:
> Well, that's pretty similar to what I had done.  No reason to repost
> something that's already been done.
> 
> Matt
> 
> -Original Message-
> From: Dietrich Streifert [mailto:dietrich.streif...@visionet.de] 
> Sent: Monday, October 04, 2010 10:37 AM
> To: qooxdoo Development
> Subject: Re: [qooxdoo-devel] Plotting library: Flot and Flotr
> 
>   Hi Simone!
> 
> I've started to integrate flotr with qooxdoo for a project which I'm 
> currently not working on. I just needed bar charts so my integration is 
> limeted to bar charts.
> 
> I've attached what I've implemented so far as a ZIP-file (please rename 
> from the extension from zap to zip).
> 
> You have to load flotr (and prototype and excanvas for IE) before qooxdoo.
> 
> Please report back if my first steps where usefull for you.
> 
> Regards.
> Dietrich
> 
> Am 04.10.2010 16:14, schrieb Simone Pandolfo:
> > Hi All,
> > anyone had tried to use one of this two plotting library?
> >
> > http://solutoire.com/flotr/
> >
> > http://code.google.com/p/flot/
> >
> >
> > Flotr is inspired by flot, both appear clean to me but i don't know how
> > to start to make a contrib like qxjqplot or simply integrate this
> > plotting library.
> >
> > Regrards
> >   Sp
> >
> >
> >
> 
> --
> > Virtualization is moving to the mainstream and overtaking non-virtualized
> > environment for deploying applications. Does it make network security
> > easier or more difficult to achieve? Read this whitepaper to separate the
> > two and get a better understanding.
> > http://p.sf.net/sfu/hp-phase2-d2d
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 



--
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Plotting library: Flot and Flotr

2010-10-15 Thread Simone Pandolfo
Thank you a lot Dietrich,
I try it again, but at the moment i'm using protovis, another contrib
for qooxdoo.

the sintax is not simple,  but i see that is a very powerfull plotting
engine and the with the test i made show that have a good memory
managment.


Regards


Il giorno gio, 14/10/2010 alle 10.48 +0200, Dietrich Streifert ha
scritto:
> hmm let's see if I can isolate how I've used it:
> 
> Initialization:
> 
> var data = [];
> data.push([1, 20]);
> data.push([2, 30]);
> data.push([3, 40]);
> data.push([4, 20]);
> 
> grafico.setData(
>  { data: data,
>label: 'my data label'
>  }
> );
> 
> 
> Plotting:
> 
> You have to call the plot method AFTER the dom elements of chart.Bar are 
> created and added, otherwise the div which flotr can use to draw to does 
> not yet exist. You have to do something like:
> 
> grafico.addListener('appear', function() {
>  this.plot();
> });
> 
> Generally: please have a look into the method createParams within 
> chart.AbstractChart and chart.Bar. This is where mapping between the 
> properies of the qooxdoo classes and flotr params is done. In chart.Bar 
> you can see that createParams of chart.AbstractChart is overriden. First 
> the base class method is called (this.base(arguments)) and then the bar 
> specific params for flotr are appended.
> 
> You should consider using the trunk version of flotr from
> 
> http://code.google.com/p/flotr/source/browse/trunk/flotr/flotr/prototype/flotr.js
> 
> While development goes on (checkins until last month including my 
> contribution http://code.google.com/p/flotr/source/detail?r=100) the 
> downloadable distro is still dated Jan. 2009:
> 
>  http://code.google.com/p/flotr/source/list
> 
> 
> 
> Am 13.10.2010 14:16, schrieb Simone Pandolfo:
> > Sorry for the omissis, Dietrich ,yes i'm using your implementation.
> >
> > The frist time i try to get it working i start with BenchmarkBar()
> > and flotr show me the chart, after trying to understand how to use the
> > data field and other configuration, i start to use the abstract and see
> > that if i pass tuple of data it make a line graph, was the simplest
> > example that i can create the last time.
> >
> > This time i can't get it working and don't understand why.
> >
> > I need to add the chart to another element?
> > The composite element that abstractchart extend , give to flotr the
> > requested div?
> >
> > i have tried to add the Height but nothing change, even with Bar()
> >
> >
> >
> > Il giorno mer, 13/10/2010 alle 13.24 +0200, Dietrich Streifert ha
> > scritto:
> >
> 



--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] SVG contrib: Could not determine current revision of "SVG/trunk"

2010-11-03 Thread Simone Pandolfo
I need to work with some svg files, and after some reserch i try to use
this contrib, but after i have added in the config.json the row:

"manifest"   : "contrib://SVG/trunk/Manifest.json"

the generate.py report this error:

Could not determine current revision of "SVG/trunk"
[Errno 2] No such file or directory:
u'/tmp/cache/downloads/SVG/trunk/Manifest.json'


How i can resolve this? and how can i find some information about this
contrib?

http://qooxdoo.org/contrib/project/svg report that the topic does not
exist yet :/

Regards
 Sp


--
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] SVG contrib: Could not determine current revision of "SVG/trunk"

2010-11-03 Thread Simone Pandolfo
Thank you for the reply,
Still have problem with the contrib installation, i try to start a new
project to try again.
I use qooxdoo 1.2.1.

Il giorno mer, 03/11/2010 alle 17.21 +0100, Marc Puts ha scritto:
> Hi Simone,
> 
> Since I contributed the SVG lib, I guess I should try and answer this one.
> 
> I'm not sure why you're having problems with the generator. I just tried 
> (with qooxdoo 1.2.1) and it seems to be working fine. What qooxdoo 
> version are you using? I hope some of the generator gurus on this list 
> can help with this. :)
> 
> 
> The SVG library is still in a very early stage and does not have a lot 
> of features right now. For example, no text support is included yet. 
> Also, because of the early stage, anything can (and probably will) 
> change. Once the base is solid, I will tag it for a 0.1 release and 
> things should become more stable. Unfortunately, the project for which I 
> created it is temporarily on hold, which is why I didn't update it for a 
> while. I expect to pick up development again in late January, unless I 
> can find some spare time before that.
> 
> As for documentation; It's true that I didn't create the wiki page yet. 
> I hope to get around to that shortly, but it will definately be there 
> before the 0.1 tag.
> For now, I think you should start by looking at the two demo programs. 
> (see http://demo.qooxdoo.org/contrib/demobrowser/ )
> The default demo should make it clear how to include an SVG drawing into 
> your qx app along with some basic shapes. The freedraw demo shows how to 
> define and use the path element. I recommend you check out the source 
> code of both and have a look.
> 
> Here's a little info for better understanding of the library core:
> 
> You can include an SVG drawing into your application by adding the 
> svg.embed.Svg widget to it. The widget has a .getSvg() method which 
> returns an instance of svg.struct.Svg. This instance represents the 
>  root element of your drawing.
> 
> svg.core.Element subclasses qx.html.Element. Therefore, you can use all 
> (most?) of the features available to that. You can use those to 
> manipulate the entire SVG element tree. The main difference from 
> qx.html.Element, is that elements created with svg.core.Element are 
> created in the correct SVG namespace. This is required by browsers when 
> you mix SVG with XHTML. Therefore, all SVG elements created with this 
> lib are in fact svg.core.Element's.
> In theory, the library is already capable of supporting the entire SVG 
> standard, because you can directly instantiate svg.core.Element and use 
> the setAttribute method to set the attributes. Because this is obviously 
> not very convenient, the library mostly consists of easier access to 
> these attributes, along with type and value checking. The 
> svg.path.PathData class takes this a bit further and is entirely devoted 
> to filling the "d" attribute of a  element. The freedraw demo 
> shows this.
> 
> Your next stop should be the API documentation of the SVG lib (generate 
> it by ./generate.py api) which is quite complete. The next best sources 
> for information would be learnsvg.com and the W3 SVG standard. You will 
> notice that the SVG library's packages closely match the W3 SVG standard.
> 
> 
> Feel free to ask any questions you might have (either on the mailing 
> list or by direct mail). Suggestions and critics are always welcome too. :)
> 
> Regards,
> Marc
> 
> 
> On 11/03/2010 02:48 PM, Simone Pandolfo wrote:
> > I need to work with some svg files, and after some reserch i try to use
> > this contrib, but after i have added in the config.json the row:
> >
> > "manifest"   : "contrib://SVG/trunk/Manifest.json"
> >
> > the generate.py report this error:
> >
> > Could not determine current revision of "SVG/trunk"
> > [Errno 2] No such file or directory:
> > u'/tmp/cache/downloads/SVG/trunk/Manifest.json'
> >
> >
> > How i can resolve this? and how can i find some information about this
> > contrib?
> >
> > http://qooxdoo.org/contrib/project/svg report that the topic does not
> > exist yet :/
> >
> > Regards
> >   Sp
> >
> 
> 
> --
> Achieve Improved Network Security with IP and DNS Reputation.
> Defend against bad network traffic, including botnets, malware, 
> phishing sites, and compromised hosts - saving your company time, 
> money, and embarrassment.   Learn More! 
> http://p.sf.net/sfu/hpdev2dev-nov
> ___
> qooxdo

Re: [qooxdoo-devel] SVG contrib: Could not determine current revision of "SVG/trunk"

2010-11-04 Thread Simone Pandolfo
Hi Marc,

I have installed the SVG contrib and work fine, i need this contrib for
import an svg file and after manipulate few property node, like fill,
opacity or height.

I have generated the api and i am trying to use the svg.struct.Image for
this purpose. is it correct? have you any suggestion about?

Regards
 Sp




--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] SVG contrib: Could not determine current revision of "SVG/trunk"

2010-11-04 Thread Simone Pandolfo
Thank You Marc for the usefull informations,
But i missing a point, how i can set the path of the svg file?
In the properties of struct.Image there is href, but i see reference
only for elements.

Regards,
Sp


Il giorno gio, 04/11/2010 alle 13.49 +0100, Marc Puts ha scritto:
> Hi Simone,
> 
> You can indeed use svg.struct.Image to embed an external raster or SVG file.
> 
> You can also use svg.struct.Use to reuse part of an external SVG file. 
> This requires that the part you want to include has its "id" attribute set.
> The  tag allows you to manipulate properties of the included 
> elements, but I'm not sure if that's possible with the  tag.
> 
> Regards,
> Marc
> 
> 
> On 11/04/2010 12:16 PM, Simone Pandolfo wrote:
> > Hi Marc,
> >
> > I have installed the SVG contrib and work fine, i need this contrib for
> > import an svg file and after manipulate few property node, like fill,
> > opacity or height.
> >
> > I have generated the api and i am trying to use the svg.struct.Image for
> > this purpose. is it correct? have you any suggestion about?
> >
> > Regards
> >   Sp
> >
> 
> 
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 



--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] SVG contrib: Could not determine current revision of "SVG/trunk"

2010-11-04 Thread Simone Pandolfo
Thanks Marc,
For your reply and your contrib :)

Regards
 Sp

Il giorno gio, 04/11/2010 alle 15.16 +0100, Marc Puts ha scritto:
> The href property can take two types of values: it can either be an 
> instance of svg.core.Element, or a string. If your case you'll want a 
> string.
> 
> If you pass a string, then it must be the exact value of the xlink:href 
> attribute:
> 
> img.setHref("http://test.com/your-svg-file.svg";);
> or
> img.setHref("url('http://test.com/your-svg-file.svg')");
> 
> If your svg file is in your project's resource folder, you can use the 
> standard qooxdoo way to get its uri, as described here: 
> http://manual.qooxdoo.org/1.2.x/pages/gui_toolkit/ui_resources.html#obtaining-the-url-for-a-resource
> 
> Also important to know is that the default width and height of the image 
> element are 0. So you have to manually set the dimensions, they are not 
> automatically taken from the image file.
> 
> 
> 
> Regards,
> Marc
> 
> 
> 
> 
> On 11/04/2010 02:01 PM, Simone Pandolfo wrote:
> > Thank You Marc for the usefull informations,
> > But i missing a point, how i can set the path of the svg file?
> > In the properties of struct.Image there is href, but i see reference
> > only for elements.
> >
> > Regards,
> > Sp
> >
> 
> 
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 



--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] Python RPC, Anyone have the package qxjsonrpc? (File Not found)

2011-01-27 Thread Simone Pandolfo
The url in the documentantion don't work and reply with a 404 Error,
anyone have an update qxjsonrpc package?

I need it but this morning we have problem with both contributions
download and this package

Regards
 Sp


-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Python RPC, Anyone have the package qxjsonrpc? (File Not found)

2011-01-27 Thread Simone Pandolfo
I know, but the link for the download don't work 

Il giorno gio, 27/01/2011 alle 13.43 +0100, thron7 ha scritto:
> qxjsonrpc is now part of the RpcPython contrib:
> http://qooxdoo.org/contrib/project#rpcpython
> 
> t.
> 
> On 01/27/2011 11:48 AM, Simone Pandolfo wrote:
> > The url in the documentantion don't work and reply with a 404 Error,
> > anyone have an update qxjsonrpc package?
> >
> > I need it but this morning we have problem with both contributions
> > download and this package
> >
> > Regards
> >   Sp
> >
> >
> 
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> February 28th, so secure your free ArcSight Logger TODAY! 
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Python RPC, Anyone have the package qxjsonrpc? (File Not found)

2011-01-27 Thread Simone Pandolfo
I have downloaded it trough svn, but the browse link (near the svn )
don't work, and the import of the contrib trough config.json don't work
today.

Also i need to see some code inside qxjsonrpc and the link
http://python.cx.hu/qxjsonrpc
also don't work.

Regards
Sp
Il giorno gio, 27/01/2011 alle 14.08 +0100, Thomas Herchenroeder ha
scritto:
> Which link are you referring to?! Which error do you get?!
> 
> On 01/27/2011 02:00 PM, Simone Pandolfo wrote:
> > I know, but the link for the download don't work
> >
> > Il giorno gio, 27/01/2011 alle 13.43 +0100, thron7 ha scritto:
> >> qxjsonrpc is now part of the RpcPython contrib:
> >> http://qooxdoo.org/contrib/project#rpcpython
> >>
> >> t.
> >>
> >> On 01/27/2011 11:48 AM, Simone Pandolfo wrote:
> >>> The url in the documentantion don't work and reply with a 404 Error,
> >>> anyone have an update qxjsonrpc package?
> >>>
> >>> I need it but this morning we have problem with both contributions
> >>> download and this package
> >>>
> >>> Regards
> >>>Sp
> >>>
> >>>
> >>
> >> --
> >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> >> Finally, a world-class log management solution at an even better 
> >> price-free!
> >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> >> February 28th, so secure your free ArcSight Logger TODAY!
> >> http://p.sf.net/sfu/arcsight-sfd2d
> >> ___
> >> qooxdoo-devel mailing list
> >> qooxdoo-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >>
> >
> 
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> February 28th, so secure your free ArcSight Logger TODAY! 
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Python RPC, Anyone have the package qxjsonrpc? (File Not found)

2011-01-27 Thread Simone Pandolfo
There is an alternative to The Rpc python contrib? is really a mess
I can't use python 2.4/2.5 and for the same circumstance, i can't
downgrade cjson to 1.0.3.
at the moment i'm using qxrpc.py (by Igor Sidorenkov)  integrated with
cherrypy3 using python 2.6 but i have some problem with query/json
perfomance and i'm trying to see some other solution.

I need to close part of the project in few days, after i'm looking
node.js but a good rpc backend for the most used language is really a
missing part

Regards
Sp

Il giorno gio, 27/01/2011 alle 14.35 +0100, Simone Pandolfo ha scritto:
> I have downloaded it trough svn, but the browse link (near the svn )
> don't work, and the import of the contrib trough config.json don't work
> today.
> 
> Also i need to see some code inside qxjsonrpc and the link
> http://python.cx.hu/qxjsonrpc
> also don't work.
> 
> Regards
> Sp
> Il giorno gio, 27/01/2011 alle 14.08 +0100, Thomas Herchenroeder ha
> scritto:
> > Which link are you referring to?! Which error do you get?!
> > 
> > On 01/27/2011 02:00 PM, Simone Pandolfo wrote:
> > > I know, but the link for the download don't work
> > >
> > > Il giorno gio, 27/01/2011 alle 13.43 +0100, thron7 ha scritto:
> > >> qxjsonrpc is now part of the RpcPython contrib:
> > >> http://qooxdoo.org/contrib/project#rpcpython
> > >>
> > >> t.
> > >>
> > >> On 01/27/2011 11:48 AM, Simone Pandolfo wrote:
> > >>> The url in the documentantion don't work and reply with a 404 Error,
> > >>> anyone have an update qxjsonrpc package?
> > >>>
> > >>> I need it but this morning we have problem with both contributions
> > >>> download and this package
> > >>>
> > >>> Regards
> > >>>Sp
> > >>>
> > >>>
> > >>
> > >> --
> > >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> > >> Finally, a world-class log management solution at an even better 
> > >> price-free!
> > >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> > >> February 28th, so secure your free ArcSight Logger TODAY!
> > >> http://p.sf.net/sfu/arcsight-sfd2d
> > >> ___
> > >> qooxdoo-devel mailing list
> > >> qooxdoo-devel@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > >>
> > >
> > 
> > --
> > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> > Finally, a world-class log management solution at an even better price-free!
> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> > February 28th, so secure your free ArcSight Logger TODAY! 
> > http://p.sf.net/sfu/arcsight-sfd2d
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > 
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Python RPC, Anyone have the package qxjsonrpc? (File Not found)

2011-01-27 Thread Simone Pandolfo
Thank You Thomas, this helps, i try the contrib and I hoping that
resolve my problem.

Sp

Il giorno gio, 27/01/2011 alle 15.28 +0100, thron7 ha scritto:
> If you need a quick working solution and need to tinker with different 
> versions of a library, I can recommend you to 'virtualenv':
> 
> http://pypi.python.org/pypi/virtualenv
> 
> If you indeed end up needing a different Python version, just download 
> it and install it using the 'make altinstall' command (on U*ix systems). 
> This allows you to have a second version of Python installed on your 
> system, but you have to use explicit names for the executables (e.g. 
> "python2.5").
> 
> T.
> 
> On 01/27/2011 03:02 PM, Simone Pandolfo wrote:
> > There is an alternative to The Rpc python contrib? is really a mess
> > I can't use python 2.4/2.5 and for the same circumstance, i can't
> > downgrade cjson to 1.0.3.
> > at the moment i'm using qxrpc.py (by Igor Sidorenkov)  integrated with
> > cherrypy3 using python 2.6 but i have some problem with query/json
> > perfomance and i'm trying to see some other solution.
> >
> > I need to close part of the project in few days, after i'm looking
> > node.js but a good rpc backend for the most used language is really a
> > missing part
> >
> > Regards
> > Sp
> >
> > Il giorno gio, 27/01/2011 alle 14.35 +0100, Simone Pandolfo ha scritto:
> >> I have downloaded it trough svn, but the browse link (near the svn )
> >> don't work, and the import of the contrib trough config.json don't work
> >> today.
> >>
> >> Also i need to see some code inside qxjsonrpc and the link
> >> http://python.cx.hu/qxjsonrpc
> >> also don't work.
> >>
> >> Regards
> >> Sp
> >> Il giorno gio, 27/01/2011 alle 14.08 +0100, Thomas Herchenroeder ha
> >> scritto:
> >>> Which link are you referring to?! Which error do you get?!
> >>>
> >>> On 01/27/2011 02:00 PM, Simone Pandolfo wrote:
> >>>> I know, but the link for the download don't work
> >>>>
> >>>> Il giorno gio, 27/01/2011 alle 13.43 +0100, thron7 ha scritto:
> >>>>> qxjsonrpc is now part of the RpcPython contrib:
> >>>>> http://qooxdoo.org/contrib/project#rpcpython
> >>>>>
> >>>>> t.
> >>>>>
> >>>>> On 01/27/2011 11:48 AM, Simone Pandolfo wrote:
> >>>>>> The url in the documentantion don't work and reply with a 404 Error,
> >>>>>> anyone have an update qxjsonrpc package?
> >>>>>>
> >>>>>> I need it but this morning we have problem with both contributions
> >>>>>> download and this package
> >>>>>>
> >>>>>> Regards
> >>>>>> Sp
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> --
> >>>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> >>>>> Finally, a world-class log management solution at an even better 
> >>>>> price-free!
> >>>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> >>>>> February 28th, so secure your free ArcSight Logger TODAY!
> >>>>> http://p.sf.net/sfu/arcsight-sfd2d
> >>>>> ___
> >>>>> qooxdoo-devel mailing list
> >>>>> qooxdoo-devel@lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >>>>>
> >>>>
> >>>
> >>> --
> >>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> >>> Finally, a world-class log management solution at an even better 
> >>> price-free!
> >>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> >>> February 28th, so secure your free ArcSight Logger TODAY!
> >>> http://p.sf.net/sfu/arcsight-sfd2d
> >>> ___
> >>> qooxdoo-devel mailing list
> >>> qooxdoo-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >>>
> >>
> >
> 
> --

[qooxdoo-devel] Qx.data.Array(): how to bind a value to a label

2011-02-09 Thread Simone Pandolfo
I have write some code in the playground but is not possible to test it 
 http://goo.gl/bok7N

I have followed the manual, but this don't work, what i miss?

My problem is with an asyncronous call, when i populate the label i
don't know if the data is arrived on the array, and i want to make a
bind for resolve the problem.

I also try to make a listener, but no event was fired by the
qx.data.Array()

Any help?

regards
 Sp

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Qx.data.Array(): how to bind a value to a label

2011-02-09 Thread Simone Pandolfo
Thank You :), 
I was going crazy with this bind.

Sp

Il giorno mer, 09/02/2011 alle 13.01 +0100, Martin Wittemann ha scritto:
> Hey,
> you got two little mistakes in your bind method.
> 
> data.bind("array[0]", obj, "content");
> 
> First, your data array is the object you bind which means, you bind its 
> properties. Therefore, you are binding a property called array of the data 
> array which not exists. You want to bind the first element of the array so we 
> should use only that.
> 
> data.bind("[0]", obj, "content");
> 
> But we still got an error. You are binding to a property called content which 
> does not exist on the label. What you want to have is the value of the label.
> 
> data.bind("[0]", obj, "value");
> 
> Here we go, works as expected,
> Martin
> 
> Am 09.02.2011 um 12:15 schrieb Simone Pandolfo:
> 
> > I have write some code in the playground but is not possible to test it 
> > http://goo.gl/bok7N
> > 
> > I have followed the manual, but this don't work, what i miss?
> > 
> > My problem is with an asyncronous call, when i populate the label i
> > don't know if the data is arrived on the array, and i want to make a
> > bind for resolve the problem.
> > 
> > I also try to make a listener, but no event was fired by the
> > qx.data.Array()
> > 
> > Any help?
> > 
> > regards
> > Sp
> > 
> > -- 
> > Erreedi Srl
> > Tel. 06.7900639
> > Fax 06.79840900
> > e-mail: s.pando...@erreedi.it
> > --
> > 
> > 
> > --
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] how to use SVG Image tag and manipulate it from javascript?

2011-02-21 Thread Simone Pandolfo
Hi all,
At the moment i'm using the svg contrib, but is more focused on the hand
drawing than manipulate svg image.

i'm seeing about svgweb but my knownledge about the contrib structure
and the inclusion of external projects in qooxdoo is very basic.

Anyone have some useful information about or some example? (also how to
include an external project in qooxdoo)

Basically I need to load an svg image and change some properties (like
color or position) from qooxdoo.

Any help is welcome :)

Regards
 Sp

 


-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] How to use an existent html as application background

2011-02-24 Thread Simone Pandolfo
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: s.pando...@erreedi.it
--


--
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Antw: How to use an existent html as application background

2011-02-25 Thread Simone Pandolfo
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  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: s.pando...@erreedi.it
> --
> 
> 
> --
> 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
> qooxdoo-devel@lists.sourceforge.net
> 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 
> qooxdoo-devel@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Antw: How to use an existent html as application background

2011-02-25 Thread Simone Pandolfo
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  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: s.pando...@erreedi.it
> > --
> > 
> > 
> > --
> > 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
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > 

Re: [qooxdoo-devel] Antw: How to use an existent html as application background

2011-02-25 Thread Simone Pandolfo
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"  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  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  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 

Re: [qooxdoo-devel] Antw: How to use an existent html as application background

2011-02-25 Thread Simone Pandolfo
I'm also looking at this contrib:
http://qooxdoo.org/contrib/project/hijax

Anyone has used it?

Sp


Il giorno ven, 25/02/2011 alle 11.46 +0100, Simone Pandolfo ha scritto:
> 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"  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  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 appli

Re: [qooxdoo-devel] Antw: How to use an existent html as application background

2011-02-25 Thread Simone Pandolfo
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  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"  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  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 ma

[qooxdoo-devel] Load class file on runtime

2011-03-23 Thread Simone Pandolfo
Hi,
I was trying to load classes at runtime, for example:

var test = new projectname.Mydir.Myclass();

Instead I would read from the backend projectname.Mydir.Myclass (); as
string and load it dynamically.

It would be useful to specify a path of additional classes in
config.json or manifest.json, but I could not understand how I can
specify additional directories, and then interact in the code with it.

Any suggestions?

Regards
 Sp
-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Load class file on runtime

2011-03-24 Thread Simone Pandolfo
Thank You Stanislav,
I try to implement it and work flawlessly.

Sp

Il giorno mer, 23/03/2011 alle 11.58 -0700, Stanislav Sinyagin ha
scritto:
> I've done it a bit differently: the classes are defined in normal Qooxdoo 
> source 
> files, and the RPC backend delivers their names.
> 
> Line 55 in http://goo.gl/weprq
> loads all my classes in "r" folder.
> 
> Line 64 in http://goo.gl/Kzzat
> initializes an object from a class name in a string
> 
> If you really want to fetch the class source code from an RPC backend, that 
> might clash with the Qooxdoo way of doing things, especially in "build" mode.
> 
> 
> 
> 
> 
> 
> - Original Message 
> > From: Simone Pandolfo 
> > To: qooxdoo-devel 
> > Sent: Wed, March 23, 2011 5:58:34 PM
> > Subject: [qooxdoo-devel] Load class file on runtime
> > 
> > Hi,
> > I was trying to load classes at runtime, for example:
> > 
> > var test =  new projectname.Mydir.Myclass();
> > 
> > Instead I would read from the backend  projectname.Mydir.Myclass (); as
> > string and load it dynamically.
> > 
> > It  would be useful to specify a path of additional classes in
> > config.json or  manifest.json, but I could not understand how I can
> > specify additional  directories, and then interact in the code with it.
> > 
> > Any  suggestions?
> 
> --
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] How to Implement A Multi-Window Qooxdoo Application in qooxdoo 1.3 ?

2011-03-29 Thread Simone Pandolfo
Hi all,
i'm searching some information how to open a native window in my
application, but the only documetation about that i can find is for
qooxdoo 0.7, anyone can suggest me something?

http://qooxdoo.org/documentation/0.7/snippets/multi_window_application


I'm reading the documentation but i can't find usefull infromation
about.

Best regards 
 Sp

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] Integrate a javascript-based source code editor like codeMirror

2011-04-11 Thread Simone Pandolfo
Hello everyone,
I'm trying to integrate a javascript-based source code editor like
codeMirror in qooxdoo ( http://codemirror.net/ ).

As in your playground, I would need to manipulate the code and would
be very useful to have a highlight of the code.

I tried to take a leaf from ckeditor 

http://www.mail-archive.com/qooxdoo-devel@lists.sourceforge.net/msg35079.html 

but so far without success.

Any advice?

Best regards
  Sp




-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Integrate a javascript-based source code editor like codeMirror

2011-04-12 Thread Simone Pandolfo
because I thought it was linked to github:)
I'm going to take a look

thank you very much
Sp

Il giorno mar, 12/04/2011 alle 08.32 +0200, Martin Wittemann ha scritto:
> Hey,
> why don't you use the same editor we have in the playground. You can have a 
> look at the playground code and copy the needed code pieces and your done. :)
> Some time back, we had codemirror instead of ACE in the playground. Just 
> travel back the qooxdoo releases and check out the editor in the playground 
> to see how to integrate codemirror.
> Regards,
> Martin
> 
> Am 11.04.2011 um 17:19 schrieb Simone Pandolfo:
> 
> > Hello everyone,
> > I'm trying to integrate a javascript-based source code editor like
> > codeMirror in qooxdoo ( http://codemirror.net/ ).
> > 
> > As in your playground, I would need to manipulate the code and would
> > be very useful to have a highlight of the code.
> > 
> > I tried to take a leaf from ckeditor 
> > 
> > http://www.mail-archive.com/qooxdoo-devel@lists.sourceforge.net/msg35079.html
> >  
> > 
> > but so far without success.
> > 
> > Any advice?
> > 
> > Best regards
> >  Sp
> > 
> > 
> > 
> > 
> > -- 
> > Erreedi Srl
> > Tel. 06.7900639
> > Fax 06.79840900
> > e-mail: s.pando...@erreedi.it
> > --
> > 
> > 
> > --
> > Xperia(TM) PLAY
> > It's a major breakthrough. An authentic gaming
> > smartphone on the nation's most reliable network.
> > And it wants your games.
> > http://p.sf.net/sfu/verizon-sfdev
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> --
> Forrester Wave Report - Recovery time is now measured in hours and minutes
> not days. Key insights are discussed in the 2010 Forrester Wave Report as
> part of an in-depth evaluation of disaster recovery service providers.
> Forrester found the best-in-class provider in terms of services and vision.
> Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-06-10 Thread Simone Pandolfo
Hi All,

I'm training to make a java backend.

I have dowloaded the contrib: http://qooxdoo.org/contrib/project/rpcjava
as is often the documentation is not updated to latest version, and
after i have deployed the WAR the link for the test don't exist:

http://localhost:8080/qooxdoo/sample/html/test/RPC_1.html

For try the rpc backend i have dowloaded the RpcExample:

http://qooxdoo.org/contrib/project/rpcexample

Modified the build.xml for include the rpcexample

Deployed again, but i got this error message:

Async(1) exception: Transport error 0: Unknown status code. Possibly due
to a cross-domain request?Are you sure you configured
rpcexample.RemoteDataModel.URL and rpcexample.RemoteDataModel.SERVICE?

the original URL was "../../RpcPhp/1.2.0/services/index.php"
I try to insert: ../.qxrpc

The server return a 500 error, but i can't find any information how to
understand why, or how to create and test an RpcJava backend.

Any hits?

I have deployed the war in a OC4J enviroment.

best Regards
 Sp


-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-06-10 Thread Simone Pandolfo
Hi have installed tomcat, the deploy work but the error is the same 500
transport error, what can i do?

Regards
 Sp

Il giorno ven, 10/06/2011 alle 14.33 +0200, Simone Pandolfo ha scritto:
> Hi All,
> 
> I'm training to make a java backend.
> 
> I have dowloaded the contrib: http://qooxdoo.org/contrib/project/rpcjava
> as is often the documentation is not updated to latest version, and
> after i have deployed the WAR the link for the test don't exist:
> 
> http://localhost:8080/qooxdoo/sample/html/test/RPC_1.html
> 
> For try the rpc backend i have dowloaded the RpcExample:
> 
> http://qooxdoo.org/contrib/project/rpcexample
> 
> Modified the build.xml for include the rpcexample
> 
> Deployed again, but i got this error message:
> 
> Async(1) exception: Transport error 0: Unknown status code. Possibly due
> to a cross-domain request?Are you sure you configured
> rpcexample.RemoteDataModel.URL and rpcexample.RemoteDataModel.SERVICE?
> 
> the original URL was "../../RpcPhp/1.2.0/services/index.php"
> I try to insert: ../.qxrpc
> 
> The server return a 500 error, but i can't find any information how to
> understand why, or how to create and test an RpcJava backend.
> 
> Any hits?
> 
> I have deployed the war in a OC4J enviroment.
> 
> best Regards
>  Sp
> 
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-06-10 Thread Simone Pandolfo
Trining to debug i get this error in the tomcat's log:

10-giu-2011 17.16.34 org.apache.catalina.core.StandardWrapperValve
invoke
GRAVE: Servlet.service() for servlet rpc threw exception
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.commons.beanutils.MethodUtils
at
net.sf.qooxdoo.rpc.RpcServlet.getServiceInstance(RpcServlet.java:136)
at net.sf.qooxdoo.rpc.RpcServlet.handleRPC(RpcServlet.java:351)
at net.sf.qooxdoo.rpc.RpcServlet.doPost(RpcServlet.java:465)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:679)

But in the build.xml the libraries are included.



in the WAR file under WEB-INF/lib are present

commons-beanutils-1.6.1.jar
commons-collections-2.1.jar

the version of tomcat is: Apache Tomcat/6.0.28

anyone with the same problem?

Sp




Il giorno ven, 10/06/2011 alle 14.33 +0200, Simone Pandolfo ha scritto:
> Hi All,
> 
> I'm training to make a java backend.
> 
> I have dowloaded the contrib: http://qooxdoo.org/contrib/project/rpcjava
> as is often the documentation is not updated to latest version, and
> after i have deployed the WAR the link for the test don't exist:
> 
> http://localhost:8080/qooxdoo/sample/html/test/RPC_1.html
> 
> For try the rpc backend i have dowloaded the RpcExample:
> 
> http://qooxdoo.org/contrib/project/rpcexample
> 
> Modified the build.xml for include the rpcexample
> 
> Deployed again, but i got this error message:
> 
> Async(1) exception: Transport error 0: Unknown status code. Possibly due
> to a cross-domain request?Are you sure you configured
> rpcexample.RemoteDataModel.URL and rpcexample.RemoteDataModel.SERVICE?
> 
> the original URL was "../../RpcPhp/1.2.0/services/index.php"
> I try to insert: ../.qxrpc
> 
> The server return a 500 error, but i can't find any information how to
> understand why, or how to create and test an RpcJava backend.
> 
> Any hits?
> 
> I have deployed the war in a OC4J enviroment.
> 
> best Regards
>  Sp
> 
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] after Destroy can't recreate an object

2011-07-05 Thread Simone Pandolfo
Hi Daniel,

Thank you, your suggestion is very interesting.
About the reuse of objects, there is a way for reset to default all the
widget? i see in the api viewer different reset function, there is one
for revert to the init status the widget?

In another project i'm creating a parser that create objects from a
list, and put the unused object in another array, if i want to reuse
these objects, some time i see the old properties.
Regards
 Sp

Il giorno mar, 05/07/2011 alle 14.31 +0200, Daniel Wagner ha scritto:
> Hi Simone,
> 
> your code fails because when you destroy the Window, it destroys its 
> children, including the ColorSelector. Then on the second button press, 
> you're trying to add the disposed selector to the new Window which 
> causes the exception. So a quick fix would be to move the ColorSelector 
> instantiation into the "execute" listener callback function.
> 
> However, that would still create a new Window every time the button is 
> clicked, which is not what you want (and would be a bad idea since 
> creating objects is expensive). Instead, you could implement the 
> Singleton pattern. Your button listener would just look like this:
> 
>button1.addListener("execute", function(e) {
>  this._getWindow().open();
>}, this);
> 
> While _getWindow would be a new method that makes sure only one instance 
> is created:
> 
>  _getWindow : function()
>  {
>if (!this.__window) {
>  var selector = new qx.ui.control.ColorSelector();
>  var window = this.__window = new qx.ui.window.Window();
>  window.setModal(true);
>  window.setLayout(new qx.ui.layout.Basic() );
>  window.add(selector);
>    }
>return this.__window;
>  }
> 
> 
> Regards,
> Daniel
> 
> On 07/05/2011 01:44 PM, Simone Pandolfo wrote:
> > Hi all,
> >
> > i'm trying to have one signle istance of an object, i write a short
> > example:
> > http://tinyurl.com/67fx8hs
> >
> > inside a button listener i create an window object and add to it a
> > listener "beforeClose" to destroy it, but at the next "execute" of the
> > button the window don't be create again and throw an error.
> >
> > Uncaught TypeError: Cannot read property '__fn' of null
> >
> > I need this because i want hide all the other window, and after show
> > again, but if i don't destroy the object i see the window twice, the old
> > istance and the new one.
> >
> > what i wrong?
> >
> > Best Regards
> >   Sp
> >
> 
> --
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security 
> threats, fraudulent activity, and more. Splunk takes this data and makes 
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-13 Thread Simone Pandolfo
Hi Jonh,

I have tried the contrib and i have to congrats with you, probably is
the best backend for qooxdoo that i have tested, but despite the
documentation, is not so simple.

I have get it working but i have some problem (many of them because of
my little knowledge of java / eclipse).

I'm replacing a python backend, and the managment of the array in java
is make me crazy.

The biggest problem is if i call a serverlet method and pass an array as
parameters, the interger 0 result as null, i try a lot of things, but no
luck.

I'm also trying to understand how to transfer classes, interface e so
on.

I almost understand how objects move from server and client, but i have
some doubt how to manage the FireEvent.

but with the old method to pass a lot of array, i need to rewrite a lot
of things, and this don't help to understand your contrib.

Any suggestion?

Regards
 Sp 


Il giorno lun, 13/06/2011 alle 12.44 +0100, John Spackman ha scritto:
> Hi Simone
> 
> Have you tried the ServerObjects contrib
> (http://qooxdoo.org/contrib/project/serverobjects)?  As well as calling
> methods on the server (ie RPC) you can transfer classes, interfaces,
> objects and properties, you can fine-tune what's accessible from the
> client, and there's a tutorial and example in the contrib wiki.
> 
> John
> 
> On 10/06/2011 15:09, "Simone Pandolfo"  wrote:
> 
> >Hi have installed tomcat, the deploy work but the error is the same 500
> >transport error, what can i do?
> >
> >Regards
> > Sp
> >
> >Il giorno ven, 10/06/2011 alle 14.33 +0200, Simone Pandolfo ha scritto:
> >> Hi All,
> >> 
> >> I'm training to make a java backend.
> >> 
> >> I have dowloaded the contrib: http://qooxdoo.org/contrib/project/rpcjava
> >> as is often the documentation is not updated to latest version, and
> >> after i have deployed the WAR the link for the test don't exist:
> >> 
> >> http://localhost:8080/qooxdoo/sample/html/test/RPC_1.html
> >> 
> >> For try the rpc backend i have dowloaded the RpcExample:
> >> 
> >> http://qooxdoo.org/contrib/project/rpcexample
> >> 
> >> Modified the build.xml for include the rpcexample
> >> 
> >> Deployed again, but i got this error message:
> >> 
> >> Async(1) exception: Transport error 0: Unknown status code. Possibly due
> >> to a cross-domain request?Are you sure you configured
> >> rpcexample.RemoteDataModel.URL and rpcexample.RemoteDataModel.SERVICE?
> >> 
> >> the original URL was "../../RpcPhp/1.2.0/services/index.php"
> >> I try to insert: ../.qxrpc
> >> 
> >> The server return a 500 error, but i can't find any information how to
> >> understand why, or how to create and test an RpcJava backend.
> >> 
> >> Any hits?
> >> 
> >> I have deployed the war in a OC4J enviroment.
> >> 
> >> best Regards
> >>  Sp
> >> 
> >> 
> >
> >-- 
> >Erreedi Srl
> >Tel. 06.7900639
> >Fax 06.79840900
> >e-mail: s.pando...@erreedi.it
> >--
> >
> >
> >--
> >
> >EditLive Enterprise is the world's most technically advanced content
> >authoring tool. Experience the power of Track Changes, Inline Image
> >Editing and ensure content is compliant with Accessibility Checking.
> >http://p.sf.net/sfu/ephox-dev2dev
> >___
> >qooxdoo-devel mailing list
> >qooxdoo-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> 
> 
> --
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-14 Thread Simone Pandolfo
Il giorno gio, 14/07/2011 alle 10.28 +0100, John Spackman ha scritto:

Hi John,
Thank you!, i check both :)

>How far have you got?  Did you get the tutorial working?

I get most of the tutorial working, at the moment i'm tring to
understand Collections and Arrays.

At the moment if i change some data in the java class i don't see the
change in javascript side.

Another question, the comunication is syncronus, for make Async i need
to make a thread in java right?

Regards
 Sp
 

> Hi again Simone
> 
> I've updated the tutorial at
> http://qooxdoo.org/contrib/project/serverobjects/tutorial that may help
> explain things.  There's also an update to the code in SVN so please check
> out the code before trying it.
> 
> John
> 
> On 14/07/2011 08:46, "John Spackman"  wrote:
> 
> >Hi Simone
> >
> >>I have tried the contrib and i have to congrats with you, probably is
> >>the best backend for qooxdoo that i have tested, but despite the
> >>documentation, is not so simple.
> >
> >Glad you like it :)
> >
> >>I have get it working but i have some problem (many of them because of
> >>my little knowledge of java / eclipse).
> >>
> >>I'm replacing a python backend, and the managment of the array in java
> >>is make me crazy.
> >>
> >>The biggest problem is if i call a serverlet method and pass an array as
> >>parameters, the interger 0 result as null, i try a lot of things, but no
> >>luck.
> >
> >What does the server method look like?  EG is the array of parameters an
> >array of primitive types such as numbers, strings etc or is it an array of
> >objects?
> >
> >>I'm also trying to understand how to transfer classes, interface e so
> >>on.
> >
> >That happens automatically - your Java classes need to implement the
> >Proxied interface and the class and interface definitions will be
> >transferred on demand to the server.
> >
> >>I almost understand how objects move from server and client, but i have
> >>some doubt how to manage the FireEvent.
> >
> >How far have you got?  Did you get the tutorial working?
> >
> >John
> >
> >
> >
> >
> >--
> >
> >AppSumo Presents a FREE Video for the SourceForge Community by Eric
> >Ries, the creator of the Lean Startup Methodology on "Lean Startup
> >Secrets Revealed." This video shows you how to validate your ideas,
> >optimize your ideas and identify your business strategy.
> >http://p.sf.net/sfu/appsumosfdev2dev
> >___
> >qooxdoo-devel mailing list
> >qooxdoo-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> 
> 
> --
> AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> Secrets Revealed." This video shows you how to validate your ideas, 
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-14 Thread Simone Pandolfo
Il giorno gio, 14/07/2011 alle 11.47 +0100, John Spackman ha scritto:
> Hi Simone
> 
> >I get most of the tutorial working, at the moment i'm tring to
> >understand Collections and Arrays.
> >
> >At the moment if i change some data in the java class i don't see the
> >change in javascript side.
> 
> Are you changing the Java array or changing one of the objects in the
> array?  The objects in the array must implement the Proxied
>  Interface.
> 
For the change of the value i have resolved, i miss to include
ProxyManager.changeProperty()

But of i want send to the backend an array of objects,

like:

var var1 = new com.project.serverobject.ExampleClass();
var var2 = new com.project.serverobject.ExampleClass();

var return = this.boot.testArray([var1,var2]);

The serverobject itself don't work anymore, and result undefined.

how i can send to the backend an array of custom objects?

Thanks

Sp




> >Another question, the comunication is syncronus, for make Async i need
> >to make a thread in java right?
> 
> No - the communication is driven from the client and goes over normal HTTP
> so Tomcat will provide the thread for you.  The client will always make
> synchronous calls to the server, but as much as possible it queues/caches
> changes to minimise network trips.
> 
> John
> 
> 
> 
> 
> --
> AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> Secrets Revealed." This video shows you how to validate your ideas, 
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-14 Thread Simone Pandolfo
i try this:

 JAVA ===
public class Pippo implements Proxied {

   @Property 
   private String name;
 
   @Property(onDemand=true,arrayType=Pippo.class)
   private ArrayList collezioni;

@Method
public ArrayList getExampleCode(){
Pippo prova1 = new Pippo();
  prova1.setName("prova1");
Pippo prova2 = new Pippo();
  prova2.setName("prova2");
collezioni.add(prova1);
collezioni.add(prova2);
return collezioni;
}

[...]
   
}
==

 QOOXDOO =
   var prova = new it.project.serverobject.Pippo();
 console.log(prova.getExampleCode());  // return an empty array!
==

but prova.getExampleCode() return an empty array, what i miss/wrong?

Regards
 Sp


Il giorno gio, 14/07/2011 alle 14.44 +0200, Simone Pandolfo ha scritto:
> Il giorno gio, 14/07/2011 alle 11.47 +0100, John Spackman ha scritto:
> > Hi Simone
> > 
> > >I get most of the tutorial working, at the moment i'm tring to
> > >understand Collections and Arrays.
> > >
> > >At the moment if i change some data in the java class i don't see the
> > >change in javascript side.
> > 
> > Are you changing the Java array or changing one of the objects in the
> > array?  The objects in the array must implement the Proxied
> >  Interface.
> > 
> For the change of the value i have resolved, i miss to include
> ProxyManager.changeProperty()
> 
> But of i want send to the backend an array of objects,
> 
> like:
> 
> var var1 = new com.project.serverobject.ExampleClass();
> var var2 = new com.project.serverobject.ExampleClass();
> 
> var return = this.boot.testArray([var1,var2]);
> 
> The serverobject itself don't work anymore, and result undefined.
> 
> how i can send to the backend an array of custom objects?
> 
> Thanks
> 
> Sp
> 
> 
> 
> 
> > >Another question, the comunication is syncronus, for make Async i need
> > >to make a thread in java right?
> > 
> > No - the communication is driven from the client and goes over normal HTTP
> > so Tomcat will provide the thread for you.  The client will always make
> > synchronous calls to the server, but as much as possible it queues/caches
> > changes to minimise network trips.
> > 
> > John
> > 
> > 
> > 
> > 
> > --
> > AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> > Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> > Secrets Revealed." This video shows you how to validate your ideas, 
> > optimize your ideas and identify your business strategy.
> > http://p.sf.net/sfu/appsumosfdev2dev
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > 
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-15 Thread Simone Pandolfo
Thank you John, I have downloaded the new revision and i'm going to test
it, I have some doubt about the return of some kind of data, before i
tell you that integer value return null when the value is 0, also for
boolean the return value is true/null instead of true/false, in some
case this may be a problem.

Thank you for suport

Sp 

Il giorno gio, 14/07/2011 alle 18.26 +0100, John Spackman ha scritto:
> I found a bug where creating objects on the client and then passing them
> as an array caused an exception - that's fixed with the latest revision
> 21302, and I've added it to the demoapp
> 
> John
> 
> On 14/07/2011 13:44, "Simone Pandolfo"  wrote:
> 
> >Il giorno gio, 14/07/2011 alle 11.47 +0100, John Spackman ha scritto:
> >> Hi Simone
> >> 
> >> >I get most of the tutorial working, at the moment i'm tring to
> >> >understand Collections and Arrays.
> >> >
> >> >At the moment if i change some data in the java class i don't see the
> >> >change in javascript side.
> >> 
> >> Are you changing the Java array or changing one of the objects in the
> >> array?  The objects in the array must implement the Proxied
> >>  Interface.
> >> 
> >For the change of the value i have resolved, i miss to include
> >ProxyManager.changeProperty()
> >
> >But of i want send to the backend an array of objects,
> >
> >like:
> >
> >var var1 = new com.project.serverobject.ExampleClass();
> >var var2 = new com.project.serverobject.ExampleClass();
> >
> >var return = this.boot.testArray([var1,var2]);
> >
> >The serverobject itself don't work anymore, and result undefined.
> >
> >how i can send to the backend an array of custom objects?
> >
> >Thanks
> >
> >Sp
> >
> >
> >
> >
> >> >Another question, the comunication is syncronus, for make Async i need
> >> >to make a thread in java right?
> >> 
> >> No - the communication is driven from the client and goes over normal
> >>HTTP
> >> so Tomcat will provide the thread for you.  The client will always make
> >> synchronous calls to the server, but as much as possible it
> >>queues/caches
> >> changes to minimise network trips.
> >> 
> >> John
> >> 
> >> 
> >> 
> >> 
> >> 
> >>-
> >>-
> >> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> >> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> >> Secrets Revealed." This video shows you how to validate your ideas,
> >> optimize your ideas and identify your business strategy.
> >> http://p.sf.net/sfu/appsumosfdev2dev
> >> ___
> >> qooxdoo-devel mailing list
> >> qooxdoo-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >> 
> >
> >-- 
> >Erreedi Srl
> >Tel. 06.7900639
> >Fax 06.79840900
> >e-mail: s.pando...@erreedi.it
> >--
> >
> >
> >--
> >
> >AppSumo Presents a FREE Video for the SourceForge Community by Eric
> >Ries, the creator of the Lean Startup Methodology on "Lean Startup
> >Secrets Revealed." This video shows you how to validate your ideas,
> >optimize your ideas and identify your business strategy.
> >http://p.sf.net/sfu/appsumosfdev2dev
> >___
> >qooxdoo-devel mailing list
> >qooxdoo-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> 
> 
> --
> AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> Secrets Revealed." This video shows you how to validate your ideas, 
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-18 Thread Simone Pandolfo
Great!, thank you :)

I check the update, one question, probably is a my error, but i have two
similar class, one work, but the other return an error that i'm tring to
find, "invalid ServerId 2,1,0 specified: Called assertTrue with
'false'..

i thought that can be a variable with a reserved name in my code, the
number 2,1,0 can be a my sets of integer, but i don't use it as
serverId.

Sp




Il giorno lun, 18/07/2011 alle 11.39 +0100, John Spackman ha scritto:
> Hi Simone
> 
> That's fixed too, just committed a fix and unit test
> 
> John
> 
> On 15/07/2011 09:32, "Simone Pandolfo"  wrote:
> 
> >Thank you John, I have downloaded the new revision and i'm going to test
> >it, I have some doubt about the return of some kind of data, before i
> >tell you that integer value return null when the value is 0, also for
> >boolean the return value is true/null instead of true/false, in some
> >case this may be a problem.
> >
> >Thank you for suport
> >
> >Sp 
> >
> >Il giorno gio, 14/07/2011 alle 18.26 +0100, John Spackman ha scritto:
> >> I found a bug where creating objects on the client and then passing them
> >> as an array caused an exception - that's fixed with the latest revision
> >> 21302, and I've added it to the demoapp
> >> 
> >> John
> >> 
> >> On 14/07/2011 13:44, "Simone Pandolfo"  wrote:
> >> 
> >> >Il giorno gio, 14/07/2011 alle 11.47 +0100, John Spackman ha scritto:
> >> >> Hi Simone
> >> >> 
> >> >> >I get most of the tutorial working, at the moment i'm tring to
> >> >> >understand Collections and Arrays.
> >> >> >
> >> >> >At the moment if i change some data in the java class i don't see
> >>the
> >> >> >change in javascript side.
> >> >> 
> >> >> Are you changing the Java array or changing one of the objects in the
> >> >> array?  The objects in the array must implement the Proxied
> >> >>  Interface.
> >> >> 
> >> >For the change of the value i have resolved, i miss to include
> >> >ProxyManager.changeProperty()
> >> >
> >> >But of i want send to the backend an array of objects,
> >> >
> >> >like:
> >> >
> >> >var var1 = new com.project.serverobject.ExampleClass();
> >> >var var2 = new com.project.serverobject.ExampleClass();
> >> >
> >> >var return = this.boot.testArray([var1,var2]);
> >> >
> >> >The serverobject itself don't work anymore, and result undefined.
> >> >
> >> >how i can send to the backend an array of custom objects?
> >> >
> >> >Thanks
> >> >
> >> >Sp
> >> >
> >> >
> >> >
> >> >
> >> >> >Another question, the comunication is syncronus, for make Async i
> >>need
> >> >> >to make a thread in java right?
> >> >> 
> >> >> No - the communication is driven from the client and goes over normal
> >> >>HTTP
> >> >> so Tomcat will provide the thread for you.  The client will always
> >>make
> >> >> synchronous calls to the server, but as much as possible it
> >> >>queues/caches
> >> >> changes to minimise network trips.
> >> >> 
> >> >> John
> >> >> 
> >> >> 
> >> >> 
> >> >> 
> >> >> 
> >> 
> >>>>---
> >>>>--
> >> >>-
> >> >> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> >> >> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> >> >> Secrets Revealed." This video shows you how to validate your ideas,
> >> >> optimize your ideas and identify your business strategy.
> >> >> http://p.sf.net/sfu/appsumosfdev2dev
> >> >> ___
> >> >> qooxdoo-devel mailing list
> >> >> qooxdoo-devel@lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >> >> 
> >> >
> >> >-- 
> >> >Erreedi Srl
> >> >Tel. 06.7900639
> >> >Fax 06.79840900
> >> &

Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-18 Thread Simone Pandolfo
isn't simple, i try to create a code example,but i need to isolate the
behaviour.

Another strange behaviour, is that on a pc the code work, in another the
code need to have a fake call to the instance from the serverobject
before use it.

I think is a problem of timing, but isn't simple make a code example,
the only difference between the 2 pc is simply the cpu freq. (one is
old).

i try to make some example to send to you.

Sp

Il giorno lun, 18/07/2011 alle 12.26 +0100, John Spackman ha scritto:
> Can you give me an example of the code that doesn't work?
> 
> John
> 
> On 18/07/2011 11:55, "Simone Pandolfo"  wrote:
> 
> >Great!, thank you :)
> >
> >I check the update, one question, probably is a my error, but i have two
> >similar class, one work, but the other return an error that i'm tring to
> >find, "invalid ServerId 2,1,0 specified: Called assertTrue with
> >'false'..
> >
> >i thought that can be a variable with a reserved name in my code, the
> >number 2,1,0 can be a my sets of integer, but i don't use it as
> >serverId.
> >
> >Sp
> >
> >
> >
> >
> >Il giorno lun, 18/07/2011 alle 11.39 +0100, John Spackman ha scritto:
> >> Hi Simone
> >> 
> >> That's fixed too, just committed a fix and unit test
> >> 
> >> John
> >> 
> >> On 15/07/2011 09:32, "Simone Pandolfo"  wrote:
> >> 
> >> >Thank you John, I have downloaded the new revision and i'm going to
> >>test
> >> >it, I have some doubt about the return of some kind of data, before i
> >> >tell you that integer value return null when the value is 0, also for
> >> >boolean the return value is true/null instead of true/false, in some
> >> >case this may be a problem.
> >> >
> >> >Thank you for suport
> >> >
> >> >Sp 
> >> >
> >> >Il giorno gio, 14/07/2011 alle 18.26 +0100, John Spackman ha scritto:
> >> >> I found a bug where creating objects on the client and then passing
> >>them
> >> >> as an array caused an exception - that's fixed with the latest
> >>revision
> >> >> 21302, and I've added it to the demoapp
> >> >> 
> >> >> John
> >> >> 
> >> >> On 14/07/2011 13:44, "Simone Pandolfo"  wrote:
> >> >> 
> >> >> >Il giorno gio, 14/07/2011 alle 11.47 +0100, John Spackman ha
> >>scritto:
> >> >> >> Hi Simone
> >> >> >> 
> >> >> >> >I get most of the tutorial working, at the moment i'm tring to
> >> >> >> >understand Collections and Arrays.
> >> >> >> >
> >> >> >> >At the moment if i change some data in the java class i don't see
> >> >>the
> >> >> >> >change in javascript side.
> >> >> >> 
> >> >> >> Are you changing the Java array or changing one of the objects in
> >>the
> >> >> >> array?  The objects in the array must implement the Proxied
> >> >> >>  Interface.
> >> >> >> 
> >> >> >For the change of the value i have resolved, i miss to include
> >> >> >ProxyManager.changeProperty()
> >> >> >
> >> >> >But of i want send to the backend an array of objects,
> >> >> >
> >> >> >like:
> >> >> >
> >> >> >var var1 = new com.project.serverobject.ExampleClass();
> >> >> >var var2 = new com.project.serverobject.ExampleClass();
> >> >> >
> >> >> >var return = this.boot.testArray([var1,var2]);
> >> >> >
> >> >> >The serverobject itself don't work anymore, and result undefined.
> >> >> >
> >> >> >how i can send to the backend an array of custom objects?
> >> >> >
> >> >> >Thanks
> >> >> >
> >> >> >Sp
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >> >Another question, the comunication is syncronus, for make Async i
> >> >>need
> >> >> >> >to make a thread in java right?
> >> >> >> 
> >> >> >> No - the communication is driven from the client and goes over
> >>norm

Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-18 Thread Simone Pandolfo
Jonh i send you a tar.gz with the example on your email.

I write some comment in the code, but if you need ask more explanation.

Sp

Il giorno lun, 18/07/2011 alle 13.48 +0200, Simone Pandolfo ha scritto:
> isn't simple, i try to create a code example,but i need to isolate the
> behaviour.
> 
> Another strange behaviour, is that on a pc the code work, in another the
> code need to have a fake call to the instance from the serverobject
> before use it.
> 
> I think is a problem of timing, but isn't simple make a code example,
> the only difference between the 2 pc is simply the cpu freq. (one is
> old).
> 
> i try to make some example to send to you.
> 
> Sp
> 
> Il giorno lun, 18/07/2011 alle 12.26 +0100, John Spackman ha scritto:
> > Can you give me an example of the code that doesn't work?
> > 
> > John
> > 
> > On 18/07/2011 11:55, "Simone Pandolfo"  wrote:
> > 
> > >Great!, thank you :)
> > >
> > >I check the update, one question, probably is a my error, but i have two
> > >similar class, one work, but the other return an error that i'm tring to
> > >find, "invalid ServerId 2,1,0 specified: Called assertTrue with
> > >'false'..
> > >
> > >i thought that can be a variable with a reserved name in my code, the
> > >number 2,1,0 can be a my sets of integer, but i don't use it as
> > >serverId.
> > >
> > >Sp
> > >
> > >
> > >
> > >
> > >Il giorno lun, 18/07/2011 alle 11.39 +0100, John Spackman ha scritto:
> > >> Hi Simone
> > >> 
> > >> That's fixed too, just committed a fix and unit test
> > >> 
> > >> John
> > >> 
> > >> On 15/07/2011 09:32, "Simone Pandolfo"  wrote:
> > >> 
> > >> >Thank you John, I have downloaded the new revision and i'm going to
> > >>test
> > >> >it, I have some doubt about the return of some kind of data, before i
> > >> >tell you that integer value return null when the value is 0, also for
> > >> >boolean the return value is true/null instead of true/false, in some
> > >> >case this may be a problem.
> > >> >
> > >> >Thank you for suport
> > >> >
> > >> >Sp 
> > >> >
> > >> >Il giorno gio, 14/07/2011 alle 18.26 +0100, John Spackman ha scritto:
> > >> >> I found a bug where creating objects on the client and then passing
> > >>them
> > >> >> as an array caused an exception - that's fixed with the latest
> > >>revision
> > >> >> 21302, and I've added it to the demoapp
> > >> >> 
> > >> >> John
> > >> >> 
> > >> >> On 14/07/2011 13:44, "Simone Pandolfo"  wrote:
> > >> >> 
> > >> >> >Il giorno gio, 14/07/2011 alle 11.47 +0100, John Spackman ha
> > >>scritto:
> > >> >> >> Hi Simone
> > >> >> >> 
> > >> >> >> >I get most of the tutorial working, at the moment i'm tring to
> > >> >> >> >understand Collections and Arrays.
> > >> >> >> >
> > >> >> >> >At the moment if i change some data in the java class i don't see
> > >> >>the
> > >> >> >> >change in javascript side.
> > >> >> >> 
> > >> >> >> Are you changing the Java array or changing one of the objects in
> > >>the
> > >> >> >> array?  The objects in the array must implement the Proxied
> > >> >> >>  Interface.
> > >> >> >> 
> > >> >> >For the change of the value i have resolved, i miss to include
> > >> >> >ProxyManager.changeProperty()
> > >> >> >
> > >> >> >But of i want send to the backend an array of objects,
> > >> >> >
> > >> >> >like:
> > >> >> >
> > >> >> >var var1 = new com.project.serverobject.ExampleClass();
> > >> >> >var var2 = new com.project.serverobject.ExampleClass();
> > >> >> >
> > >> >> >var return = this.boot.testArray([var1,var2]);
> > >> >> >
> > >> >> >The serverobject itself don't work anymore, and re

Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-18 Thread Simone Pandolfo
Thank you,
I got the new update.
The new version work fine in a new project, but in the old one i'm
porting to the new backend return a : cannot read property serverId of
null.

i try to isolate why, and see if is a my error.

Sp


Il giorno lun, 18/07/2011 alle 16.24 +0100, John Spackman ha scritto:
> Hi Simone
> 
> 
> You need to use the default constructor to create instances of server
> objects; I changed your example MyObject.java to:
> 
> 
> public class MyObject implements Proxied {
> public MyObject(){
> 
> }
> 
> 
> 
> public void init(Integer[] indexP,String property,
> String value, Integer flag){
> this.indexP = indexP;
> this.property = property;
> this.value = value;
> this.flag = flag;
> }
> 
> 
> //…snip..//
> 
> 
> And Application.js to:
> var propEl =  new it.object.myobject.MyObject();
> 
> 
> propEl.init(propArray[i][0],propArray[i][1],propArray[i][2],propArray[i][3]);
> 
> 
> 
> and it works fine.  However I found another bug related to nulls vs
> zero and there's an update in SVN for you.
> 
> 
> John
> 
> 
> On 18/07/2011 13:50, "Simone Pandolfo"  wrote:
> 
> 
> Jonh i send you a tar.gz with the example on your email.
> 
> 
> I write some comment in the code, but if you need ask more
> explanation.
> 
> 
> Sp
> 
> 
> Il giorno lun, 18/07/2011 alle 13.48 +0200, Simone Pandolfo ha
> scritto:
> isn't simple, i try to create a code example,but i
> need to isolate the
> behaviour.
> 
> Another strange behaviour, is that on a pc the code
> work, in another the
> code need to have a fake call to the instance from the
> serverobject
> before use it.
> 
> I think is a problem of timing, but isn't simple make
> a code example,
> the only difference between the 2 pc is simply the cpu
> freq. (one is
> old).
> 
> i try to make some example to send to you.
> 
> Sp
> 
> Il giorno lun, 18/07/2011 alle 12.26 +0100, John
> Spackman ha scritto:
> > Can you give me an example of the code that doesn't
> work?
> > 
> > John
> > 
> > On 18/07/2011 11:55, "Simone Pandolfo"
>  wrote:
> > 
> > >Great!, thank you :)
> > >
> > >I check the update, one question, probably is a my
> error, but i have two
> > >similar class, one work, but the other return an
> error that i'm tring to
> > >find, "invalid ServerId 2,1,0 specified: Called
> assertTrue with
> > >'false'..
> > >
> > >i thought that can be a variable with a reserved
> name in my code, the
> > >number 2,1,0 can be a my sets of integer, but i
> don't use it as
> > >serverId.
> > >
> > >Sp
>     > >
> > >
> > >
> > >
> > >Il giorno lun, 18/07/2011 alle 11.39 +0100, John
> Spackman ha scritto:
> > >> Hi Simone
> > >> 
> > >> That's fixed too, just committed a fix and unit
> test
> > >> 
> > >> John
> > >> 
> > >> On 15/07/2011 09:32, "Simone Pandolfo"
>  wrote:
> > >> 
> > >> >Thank you John, I have downloaded the new
> revision and i'm going to
>   

Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-18 Thread Simone Pandolfo
I did some tests, it seems that the last commit not allow the return of
Object [] type.

I'm trying to convert to ArrayList, so do other tests.


Il giorno lun, 18/07/2011 alle 17.41 +0200, Simone Pandolfo ha scritto:
> Thank you,
> I got the new update.
> The new version work fine in a new project, but in the old one i'm
> porting to the new backend return a : cannot read property serverId of
> null.
> 
> i try to isolate why, and see if is a my error.
> 
> Sp
> 
> 
> Il giorno lun, 18/07/2011 alle 16.24 +0100, John Spackman ha scritto:
> > Hi Simone
> > 
> > 
> > You need to use the default constructor to create instances of server
> > objects; I changed your example MyObject.java to:
> > 
> > 
> > public class MyObject implements Proxied {
> > public MyObject(){
> > 
> > }
> > 
> > 
> > 
> > public void init(Integer[] indexP,String property,
> > String value, Integer flag){
> > this.indexP = indexP;
> > this.property = property;
> > this.value = value;
> > this.flag = flag;
> > }
> > 
> > 
> > //…snip..//
> > 
> > 
> > And Application.js to:
> > var propEl =  new it.object.myobject.MyObject();
> > 
> > 
> > propEl.init(propArray[i][0],propArray[i][1],propArray[i][2],propArray[i][3]);
> > 
> > 
> > 
> > and it works fine.  However I found another bug related to nulls vs
> > zero and there's an update in SVN for you.
> > 
> > 
> > John
> > 
> > 
> > On 18/07/2011 13:50, "Simone Pandolfo"  wrote:
> > 
> > 
> > Jonh i send you a tar.gz with the example on your email.
> > 
> > 
> > I write some comment in the code, but if you need ask more
> > explanation.
> > 
> > 
> > Sp
> > 
> > 
> > Il giorno lun, 18/07/2011 alle 13.48 +0200, Simone Pandolfo ha
> > scritto:
> > isn't simple, i try to create a code example,but i
> > need to isolate the
> > behaviour.
> > 
> > Another strange behaviour, is that on a pc the code
> > work, in another the
> > code need to have a fake call to the instance from the
> > serverobject
> > before use it.
> > 
> > I think is a problem of timing, but isn't simple make
> > a code example,
> > the only difference between the 2 pc is simply the cpu
> > freq. (one is
> >     old).
> > 
> > i try to make some example to send to you.
> > 
> > Sp
> > 
> > Il giorno lun, 18/07/2011 alle 12.26 +0100, John
> > Spackman ha scritto:
> > > Can you give me an example of the code that doesn't
> > work?
> > > 
> > > John
> > > 
> > > On 18/07/2011 11:55, "Simone Pandolfo"
> >  wrote:
> > > 
> > > >Great!, thank you :)
> > > >
> > > >I check the update, one question, probably is a my
> > error, but i have two
> > > >similar class, one work, but the other return an
> > error that i'm tring to
> > > >find, "invalid ServerId 2,1,0 specified: Called
> > assertTrue with
> > > >'false'..
> > > >
> > > >i thought that can be a variable with a reserved
> > name in my code, the
> > > >number 2,1,0 can be a my sets of integer, but i
> > don't use it as
> > > >serverId.
> > > >
> > > >Sp
> > > >
> > > &

Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-19 Thread Simone Pandolfo
Thank you john,

Now i thought that all the piece are working, try to finish the
conversion of the old backend to this powerfull ServerObject :)

Sp 

Il giorno mar, 19/07/2011 alle 12.37 +0100, John Spackman ha scritto:
> Hi Simone
> 
> >I have maked some test, That's odd, with the previus version all work,
> >at the moment i have this situation:
> 
> You're right, apologies - there's a fix in SVN for this now.
> 
> >New custom object:
> >RangeError: Maximum call stack size exceeded
> 
> This is because you have defined a property called "property" which
> conflicts with the apply method defined on the object, causing an infinite
> loop.  I've changed my code to not accept "property" as a name and throw
> an exception on the server; docs updated too.
> 
> John
> 
> 
> 
> 
> --
> Magic Quadrant for Content-Aware Data Loss Prevention
> Research study explores the data loss prevention market. Includes in-depth
> analysis on the changes within the DLP market, and the criteria used to
> evaluate the strengths and weaknesses of these DLP solutions.
> http://www.accelacomm.com/jaw/sfnl/114/51385063/
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] is possible configure the path of the build directory?

2011-07-20 Thread Simone Pandolfo
Hi all,

I need to change the path where the build directory is created, i can
achive this with a shellscript, but i prefer use a configuration if is
possible.

I did a quick search, but so far I have not found anything

Regards
 Sp


-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] is possible configure the path of the build directory?

2011-07-20 Thread Simone Pandolfo
Thank you is a good suggestion :)

Il giorno mer, 20/07/2011 alle 12.41 +0200, Fritz Zaucker ha scritto:
> I use a symlink for the build directory to achieve this.
> 
> Cheers,
> Fritz
> 
> On Wed, 20 Jul 2011, Simone Pandolfo wrote:
> 
> > Hi all,
> >
> > I need to change the path where the build directory is created, i can
> > achive this with a shellscript, but i prefer use a configuration if is
> > possible.
> >
> > I did a quick search, but so far I have not found anything
> >
> > Regards
> > Sp
> >
> >
> >
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Local API-viewer

2011-07-20 Thread Simone Pandolfo
Hi,
Have you tried to launch a simple http server as workaround?

python -m SimpleHTTPServer in the directory with the index file

Cheers
 Sp
Il giorno mer, 20/07/2011 alle 13.08 +0200, Fritz Zaucker ha scritto:
> Hi,
> 
> up until qx 1.3.x it was possible to generate.py build the apiviewer
> application and then access it locally with a file-URL.
> 
> In 1.4.x (some x) and 1.5 this doesn't seem to work anymore (some message
> suggesting to use the http protocol instead).
> 
> Is there some way to have a local API viewer without setting up a webserver
> for it?
> 
> Cheers,
> Fritz
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-21 Thread Simone Pandolfo
Hi John,

I need to understand how the syncronus call work,
I have integrated on the serverobject a layer for the db and some call
to external program that i need the stdoutput back to qooxdoo.

with the external program i have a situation like this:

runtimeA(); //prepare the widget for the rappresentation of the stdout
runtimeB(); //call the server object and launch the external program

At the moment the widget for runtimeA appear only after the runtimeB()
is finished, i don't really understand why.

For the query to the db i have a similar problem, when press the button
for start the query, the botton stay pressed until the query finish.

I want that after clicking on the button, i can show a loader image,
because the user don't think that the application is freezed.

How i can achive this?

If needed i can try to make an example, but for the db is more complex.

Cheers,

Sp



Il giorno mar, 19/07/2011 alle 13.53 +0200, Simone Pandolfo ha scritto:
> Thank you john,
> 
> Now i thought that all the piece are working, try to finish the
> conversion of the old backend to this powerfull ServerObject :)
> 
> Sp 
> 
> Il giorno mar, 19/07/2011 alle 12.37 +0100, John Spackman ha scritto:
> > Hi Simone
> > 
> > >I have maked some test, That's odd, with the previus version all work,
> > >at the moment i have this situation:
> > 
> > You're right, apologies - there's a fix in SVN for this now.
> > 
> > >New custom object:
> > >RangeError: Maximum call stack size exceeded
> > 
> > This is because you have defined a property called "property" which
> > conflicts with the apply method defined on the object, causing an infinite
> > loop.  I've changed my code to not accept "property" as a name and throw
> > an exception on the server; docs updated too.
> > 
> > John
> > 
> > 
> > 
> > 
> > --
> > Magic Quadrant for Content-Aware Data Loss Prevention
> > Research study explores the data loss prevention market. Includes in-depth
> > analysis on the changes within the DLP market, and the criteria used to
> > evaluate the strengths and weaknesses of these DLP solutions.
> > http://www.accelacomm.com/jaw/sfnl/114/51385063/
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > 
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-21 Thread Simone Pandolfo
One more thing John,
About the external program, some time the execution time is long, and
the backend reach the timeout, how i can control/configure this?

I'm trying to launch the external program through a thread, but I do not
know if this can give problems to serverobject

I see also that if i don't use the interface, after some time, the
session expires, this is a good point, but how i can interface with the
session? i need to build also the authentication for my application,
there is some function to controllor the session with the serverobject?

Thanks in advance
 Sp

Il giorno gio, 21/07/2011 alle 09.40 +0200, Simone Pandolfo ha scritto:
> Hi John,
> 
> I need to understand how the syncronus call work,
> I have integrated on the serverobject a layer for the db and some call
> to external program that i need the stdoutput back to qooxdoo.
> 
> with the external program i have a situation like this:
> 
> runtimeA(); //prepare the widget for the rappresentation of the stdout
> runtimeB(); //call the server object and launch the external program
> 
> At the moment the widget for runtimeA appear only after the runtimeB()
> is finished, i don't really understand why.
> 
> For the query to the db i have a similar problem, when press the button
> for start the query, the botton stay pressed until the query finish.
> 
> I want that after clicking on the button, i can show a loader image,
> because the user don't think that the application is freezed.
> 
> How i can achive this?
> 
> If needed i can try to make an example, but for the db is more complex.
> 
> Cheers,
> 
> Sp
> 
> 
> 
> Il giorno mar, 19/07/2011 alle 13.53 +0200, Simone Pandolfo ha scritto:
> > Thank you john,
> > 
> > Now i thought that all the piece are working, try to finish the
> > conversion of the old backend to this powerfull ServerObject :)
> > 
> > Sp 
> > 
> > Il giorno mar, 19/07/2011 alle 12.37 +0100, John Spackman ha scritto:
> > > Hi Simone
> > > 
> > > >I have maked some test, That's odd, with the previus version all work,
> > > >at the moment i have this situation:
> > > 
> > > You're right, apologies - there's a fix in SVN for this now.
> > > 
> > > >New custom object:
> > > >RangeError: Maximum call stack size exceeded
> > > 
> > > This is because you have defined a property called "property" which
> > > conflicts with the apply method defined on the object, causing an infinite
> > > loop.  I've changed my code to not accept "property" as a name and throw
> > > an exception on the server; docs updated too.
> > > 
> > > John
> > > 
> > > 
> > > 
> > > 
> > > --
> > > Magic Quadrant for Content-Aware Data Loss Prevention
> > > Research study explores the data loss prevention market. Includes in-depth
> > > analysis on the changes within the DLP market, and the criteria used to
> > > evaluate the strengths and weaknesses of these DLP solutions.
> > > http://www.accelacomm.com/jaw/sfnl/114/51385063/
> > > ___
> > > qooxdoo-devel mailing list
> > > qooxdoo-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > > 
> > 
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] RpcExample and RpcJava, How make it working?

2011-07-22 Thread Simone Pandolfo
Great News John,
At the moment I'm trying to make a thread and manage the event with the
changeProperty but in some point the class lost the bind of the property
(probably my fault).

Soon as possible i try your async implementation, thanks for your
support

Sp


Il giorno gio, 21/07/2011 alle 12.02 +0100, John Spackman ha scritto:
> Hi Simone
> 
> I've added an "experimental" feature to allow asynchronous method calls;
> for any server method, if you pass a function as an argument the method
> will be called asynchronously and the function called when the method
> completes.  The function receives one argument, which is the return value
> of the server method and the "this" is set to the All other arguments to
> the method are send through as usual.
> 
> For example:
> 
>   boot.runtimeB(1, 2, function(result) {
>   alert('runtimeB(1, 2) has finally finished');
>   qx.core.Assert.assertTrue(this == boot);
>   });
> 
> John
> 
> On 21/07/2011 10:16, "John Spackman"  wrote:
> 
> >>
> >>with the external program i have a situation like this:
> >>
> >>runtimeA(); //prepare the widget for the rappresentation of the stdout
> >>runtimeB(); //call the server object and launch the external program
> >>
> >>At the moment the widget for runtimeA appear only after the runtimeB()
> >>is finished, i don't really understand why.
> >
> >This is because either because Qooxdoo hasn't recalculated the layout of
> >the widgets yet or because the browser hasn't updated it's display when
> >you make a synchronous call - either the way the effect is the same:
> >client apps are single threaded and that includes the browser redrawing
> >the display.  Making a synchronous call blocks the one thread.
> >
> >If you have a long running process and you don't want the client to block,
> >you'll have to poll the server - at the moment there is no facility in QSO
> >to have an asynchronous method call.  This would mean running your
> >external server process in a separate thread and your runtimeB() method
> >would check to see if there is any fresh output from the external process
> >and if so return it.  You will have to manage your own synchronised calls
> >to that thread.
> >
> >>I see also that if i don't use the interface, after some time, the
> >>session expires, this is a good point, but how i can interface with the
> >>session? 
> >
> >This is a normal issue - if you are finding that your session times out
> >and Tomcat destroys the session you can either increase the session
> >timeout (I think the default is 20 minutes) or you can "ping" the server
> >every few minutes to keep it alive -- but that could mean that your client
> >leaves their session open forever and will permanently use up server
> >resources.
> >
> >
> >You can install a keyboard and mouse callback on the document to check for
> >user activity - and only ping the server if the user is still actually
> >active.
> >
> >>i need to build also the authentication for my application,
> >>there is some function to controllor the session with the serverobject?
> >
> >Nope, that's up to you.
> >
> >
> >>For the query to the db i have a similar problem, when press the button
> >>for start the query, the botton stay pressed until the query finish.
> >
> >At the moment, the only solution is to poll the server for long running
> >requests.  Is your database really huge or complex?  Can you look at
> >optimising the query, adding indexes, etc?  (sorry, I know that doesn't
> >solve your problem but it might be something worth doing anyway and could
> >help here)
> >
> >John
> >
> >
> >
> >
> >--
> >
> >5 Ways to Improve & Secure Unified Communications
> >Unified Communications promises greater efficiencies for business. UC can
> >improve internal communications as well as offer faster, more efficient
> >ways
> >to interact with customers and streamline customer service. Learn more!
> >http://www.accelacomm.com/jaw/sfnl/114/51426253/
> >___
> >qooxdoo-devel mailing list
> >qooxdoo-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> 
> 
> --
> 5 Ways to Improve & Secure Unified Communications
> Unified Communications promises greater efficiencies for business. UC can 
> improve internal communications as well as offer faster, more efficient ways
> to interact with customers and streamline customer service. Learn more!
> http://www.accelacomm.com/jaw/sfnl/114/51426253/
> ___
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--

[qooxdoo-devel] how to integrate share button (addthis)

2011-09-21 Thread Simone Pandolfo
Hi all,

i'm trying to integrate in a project a share button like addthis.

AddThis has a javascript render:

 https://www.addthis.com/help/client-api#rendering-js

is possible to integrate this piece of javascript, like ckeditor, anyone
can suggest me how to do this?

thanks in advance

Sp


-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] how to integrate share button (addthis)

2011-09-21 Thread Simone Pandolfo
Thanks, i try to integrate it

Regards
 Sp

Il giorno mer, 21/09/2011 alle 13.22 +0200, Tino Butz ha scritto:
> Hi,
> 
> 
> In the addthis documentation it is written:
> 
> 
> All of our JavaScript rendering methods take the form:
> addthis.method(target(s), [configurationObject], [sharingObject]);
> 
> where target(s) can be
> 
>  1. a classname, specified with a dot: '.sharing-button'
>  2. an id, specified with a hash: '#addthis_button_1'
>  3. an actual HTML element reference
>  4. an array of HTML element references
> So you should create a custom widget (extend qx.core.Widget).
> 
> 
> Register an event listener for the "appear" event in the contructor. 
> 
> 
> this.addListenerOnce("appear", this.__setupAddThisButton, this);
> 
> 
> In the event handler you can call the addthis.button(target) method.
> 
> 
> For the target parameter you should pass the
> this.getContentElement().getDomElement() as an argument.
> 
> 
> __setupAddThisButton : function(evt) {
>addthis.button(this.getContentElement().getDomElement())
> }
> 
> 
> For more information, how to write custom widgets see the following
> manual page:
> 
> 
> http://manual.qooxdoo.org/1.5.x/pages/gui_toolkit/ui_develop.html?highlight=custom%20widget
> 
> 
> Tino
> 
> 
> 
> 
> Am 21.09.2011 um 11:40 schrieb Simone Pandolfo:
> 
> > Hi all,
> > 
> > i'm trying to integrate in a project a share button like addthis.
> > 
> > AddThis has a javascript render:
> > 
> > https://www.addthis.com/help/client-api#rendering-js
> > 
> > is possible to integrate this piece of javascript, like ckeditor,
> > anyone
> > can suggest me how to do this?
> > 
> > thanks in advance
> > 
> > Sp
> > 
> > 
> > -- 
> > Erreedi Srl
> > Tel. 06.7900639
> > Fax 06.79840900
> > e-mail: s.pando...@erreedi.it
> > --
> > 
> > 
> > --
> > All the data continuously generated in your IT infrastructure
> > contains a
> > definitive record of customers, application performance, security
> > threats, fraudulent activity and more. Splunk takes this data and
> > makes
> > sense of it. Business sense. IT sense. Common sense.
> > http://p.sf.net/sfu/splunk-d2dcopy1
> > ___
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > 
> 
> 
> 
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> ___ qooxdoo-devel mailing list 
> qooxdoo-devel@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: s.pando...@erreedi.it
--


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel