Re: [qooxdoo-devel] Problem with images path

2011-08-18 Thread Derrell Lipman
On Thu, Aug 18, 2011 at 12:49, thron7 wrote: > ** > :)) The escape for dokuwiki markup is %%...%%, so this should work: > >%%file://%% > How about if we all just standardize on TeX? :-) Thanks. Summary added. Derrell -

Re: [qooxdoo-devel] Problem with images path

2011-08-18 Thread thron7
:)) The escape for dokuwiki markup is %%...%%, so this should work: %%file://%% T. On 08/18/2011 05:30 PM, Derrell Lipman wrote: On Wed, Aug 17, 2011 at 08:32, thron7 > wrote: There is a whole page on the wiki discussing the topic, but i

Re: [qooxdoo-devel] Problem with images path

2011-08-18 Thread Derrell Lipman
On Wed, Aug 17, 2011 at 08:32, thron7 wrote: > ** > > > There is a whole page on the wiki discussing the topic, but it all > simplifies down to this: It requires having the web server root be higher in > the file system hierarchy than BOTH the application source root and the > qooxdoo source roo

Re: [qooxdoo-devel] Problem with images path

2011-08-17 Thread thron7
On 08/17/2011 03:48 PM, Derrell Lipman wrote: On Wed, Aug 17, 2011 at 08:32, thron7 > wrote: There is a whole page on the wiki discussing the topic, but it all simplifies down to this: It requires having the web server root be higher in the fi

Re: [qooxdoo-devel] Problem with images path

2011-08-17 Thread Derrell Lipman
On Wed, Aug 17, 2011 at 08:32, thron7 wrote: > ** > > There is a whole page on the wiki discussing the topic, but it all > simplifies down to this: It requires having the web server root be higher in > the file system hierarchy than BOTH the application source root and the > qooxdoo source root,

Re: [qooxdoo-devel] Problem with images path

2011-08-17 Thread thron7
On 08/17/2011 02:02 PM, Derrell Lipman wrote: On Wed, Aug 17, 2011 at 03:20, thron7 > wrote: You're running the source version through a web server, aren't you ... bad idea. Please... It's not a "bad idea"; in fact, it's necessary for working wi

Re: [qooxdoo-devel] Problem with images path

2011-08-17 Thread Derrell Lipman
On Wed, Aug 17, 2011 at 03:20, thron7 wrote: > You're running the source version through a web server, aren't you ... > bad idea. > Please... It's not a "bad idea"; in fact, it's necessary for working with some features/facilities in qooxdoo applications. qx.bom.FileReader and LocalStorage, for

Re: [qooxdoo-devel] Problem with images path

2011-08-17 Thread thron7
On 08/17/2011 09:40 AM, franck34 wrote: > Yes i am. > > How do you handle xhr request localy ? :) This is handled by the browser. If you are just loading static resources from the file system, you don't need to worry about them, maybe just provide a command line options to the browser, to over

Re: [qooxdoo-devel] Problem with images path

2011-08-17 Thread franck34
Yes i am. How do you handle xhr request localy ? :) On Wed, Aug 17, 2011 at 9:20 AM, thron7 wrote: > You're running the source version through a web server, aren't you ... > bad idea. > > T. > > On 08/16/2011 07:21 PM, franck34 wrote: > > Thank you for links. > > > > What i don't understand is t

Re: [qooxdoo-devel] Problem with images path

2011-08-17 Thread thron7
You're running the source version through a web server, aren't you ... bad idea. T. On 08/16/2011 07:21 PM, franck34 wrote: > Thank you for links. > > What i don't understand is that i've got 404 not found for ok button, and ok > for cancel button. But in my code, path is the same .. > > I'll ta

Re: [qooxdoo-devel] Problem with images path

2011-08-16 Thread franck34
I've added #asset(qx/icon/Tango/22/actions/dialog-apply.png) #asset(qx/icon/Tango/22/actions/dialog-cancel.png) and then rebuild, it's ok now. Need to go deeper in reading your links Thanks a lot franck -- View this message in context: http://qooxdoo.678.n2.nabble.com/Problem-with-images-pa

Re: [qooxdoo-devel] Problem with images path

2011-08-16 Thread franck34
Thank you for links. What i don't understand is that i've got 404 not found for ok button, and ok for cancel button. But in my code, path is the same .. I'll take a look at assets stuff in few minutes, it's new for me. I think the problem has been already known: http://qooxdoo.678.n2.nabble.com

Re: [qooxdoo-devel] Problem with images path

2011-08-16 Thread thron7
On 08/16/2011 06:35 PM, Marc Puts wrote: > /* > #asset(icon/22/actions/dialog-apply.png) > #asset(icon/22/actions/dialog-cancel.png) > */ > I think you need to use resource id's here, not aliases. T. -- uberSVN's rich s

Re: [qooxdoo-devel] Problem with images path

2011-08-16 Thread thron7
The base line is: You must declare resources, like images, that your code uses, with a #asset declaration at the top of the class file [1]. In this case e.g. #asset(qx/icon/Tango/22/actions/dialog-apply.png) #asset(qx/icon/Tango/22/actions/dialog-cancel.png) (Why you get two different paths fro

Re: [qooxdoo-devel] Problem with images path

2011-08-16 Thread Marc Puts
Hi Franck, Did you add the images as assets to your class file? If not, add the following lines before the class definition: /* #asset(icon/22/actions/dialog-apply.png) #asset(icon/22/actions/dialog-cancel.png) */ qx.Class.define(... Then rerun "gene

Re: [qooxdoo-devel] Problem with images path

2011-08-16 Thread franck34
What is the supposed good path (for sources) ? -- View this message in context: http://qooxdoo.678.n2.nabble.com/Problem-with-images-path-tp6691933p6691937.html Sent from the qooxdoo mailing list archive at Nabble.com. -

[qooxdoo-devel] Problem with images path

2011-08-16 Thread franck34
Got a really simple app with that : var okButton = new qx.ui.form.Button('OK',"icon/22/actions/dialog-apply.png"); container.add(okButton,{top:100,left:100}); var cancelButton = new qx.ui.form.Button('Annuler',"icon/22/actions/dialog-cancel.png"); container.add(cancelButton,{top:100,left:150});