[Proto-Scripty] Re: using "with" statement

2010-04-29 Thread T.J. Crowder
Hi, > is there a way that I can get rid of all these usages of "this" No. `this` is different in Javascript than in some other languages with the same keyword, in several ways. One of these is that unqualified references like your _div (without anything in front of it) are not automatically resol

[Proto-Scripty] Re: Prototype ajax asyncronous:false IE Problem

2010-04-29 Thread T.J. Crowder
Hi, No, it's a browser issue that can't be worked around at the Javascript level... ...except... ...by using **a**synchronous requests! ;-) FWIW, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Apr 29, 12:35 pm, "Abhiraj Malhotra (SaaS Ev

[Proto-Scripty] Re: Problem with Prototype and wysiwyg editors

2010-04-29 Thread T.J. Crowder
Hi, > simply doesn't work. Doesn't work **HOW**? doesn't show up at all? Shows up but doesn't respond to user input? Shows weird things in its display? -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Apr 29, 8:37 am, Rodrigo Henríquez Velás

[Proto-Scripty] Do I stop observing events on element with Ajax.Autocompleter using Event.stopObserving()

2010-04-29 Thread kimbaudi
Hi, I have a form with multiple text inputs (i.e. ... ) which all have Ajax.Autocompleter initialized. Now when I remove any of these autocompleting text inputs from the DOM, I want to stop observing events on these elements. However, Scriptaculous does not provide a way to unregister all the even

[Proto-Scripty] Prototype ajax asyncronous:false IE Problem

2010-04-29 Thread Abhiraj Malhotra (SaaS Evangelist - Chalkpad Technologies)
Prototype ajax request if asynchronous:false then onCreate:function() which displays a div with loader does not works in IE. I have gone through some of such posts which says that asynchronous:false locks UI and thus any ui changes are not visible after that in IE. Has any fix/ hack been released f

[Proto-Scripty] Problem with Prototype and wysiwyg editors

2010-04-29 Thread Rodrigo Henríquez Velásquez
I have a problem with prototype and wysiwyg editors, like nicedit, simply doesn't work. put script prototype.js like a comment and wysiwyg work fine. i dont know why can i do, i try using other wysiwyg like jtextarea, ckeditor and always the same problem. -- You received this message because yo

[Proto-Scripty] Ajax.Responders in "fake ajax"

2010-04-29 Thread Sancas
Hi all: I'm scripting with prototype. For de ajax functions I have the tipical div that activates during a request and desactivates when the request is completed. var globalCallbacks = { onCreate: function(){ $('cargando').setStyle({display:'block'});

[Proto-Scripty] prototype POST

2010-04-29 Thread chrysanthe m
Hello I need to use Tomcat/Struts to create the dynamic js at a certain(final) state in my UI. That state in the execute is returning with getInputForward. It works, writing the js dynamically with what gets processed server-side, but now I need to render into that js the data, which I do put in

[Proto-Scripty] hash serialization problems

2010-04-29 Thread chrysanthe m
Hi I have created a hash, added to it with set but when try Object.toJSON(myHash) it produces one large JSONObject and not the proper JSONArray format. I would expect [{name00:value00},{name01:value01}...] What I get is {name00:value00,name01:value00...}. How do/can I get what I expect? tia. --

[Proto-Scripty] using "with" statement

2010-04-29 Thread Ran Berenfeld
Hi all I have written a class using prototype Class object and after playing it for a while, I saw that I need to use the "with" keyword in the class members, so I can access its members here is the relevant part of the class : (the member is "_div") var JSClass = Class.create ({ initialize: