:
Hi,
I'm surprised the loop didn't work, it seems to:
http://jsbin.com/ejeju4/2
Sorry, that link was wrong. It should be:
http://jsbin.com/ejeju4
-- T.J.
On Oct 21, 7:51 am, T.J. Crowder t...@crowdersoftware.com wrote:
Hi,
On Oct 21, 3:39 am, chrysanthe m chrysant...@gmail.com wrote
Hello
How do I clear a prototype hash? I have finally tried and failed with below
after trying hashBrown.length=0 and hashBrown.clear().
hashBown.each(function(key) {
hashBrown.unset(key);
});
--
You received this message because you are subscribed to the Google Groups
Hi Dave
Yes.
I know I should not be shoveling out so much data to the client, but I have
to for this proof of concept and will restrict it in production. Has anyone
parsed return json data larger than 8K?
On Thu, Sep 2, 2010 at 9:27 AM, Dave Kibble davekib...@gmail.com wrote:
just going on the
Hello
Is thee a way to remove a json object processed by prototype client side?
My objects are very large and will get larger so I must be frugal and clean
up after each processing. Also is there a way to increase the size of the
header to a maximum(what?). tia.
--
You received this message
Hi
I am using prototype1.6 with JSON-lib 2.2 and it is working well. However I
cant find the latest API for JSON. Can anyone point out the location? tia.
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send
Hi
Can anyone help me understand this? I can recreate a properly formatted
JSONArray server-side, but I really want to know why Object.toJSON() didnt
format it client-side correctly.
On Thu, Apr 29, 2010 at 4:36 PM, chrysanthe m chrysant...@gmail.com wrote:
Hi
I have created a hash, added
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
understand well, what you're asking for is pretty close to what you
suggested in your original post:
hashToBeTested.each(function(pair){
if(valueToTest==pair.value){
hashToBeTested.unset(pair.key);
}
}
Christophe
Le 10 avr. 2010 à 12:36, chrysanthe m a écrit :
Hi, again
Sorry
www.crowdersoftware.com
On Apr 14, 2:51 pm, chrysanthe m chrysant...@gmail.com wrote:
Hello
I am perplexed with what I believe is an error the code snippet below
only
prints out
testing header==true for iterations that have a header==true in the
returned json object.
Now the oddity.
1. It does
.
Not that that's likely to be your problem, I'm just saying...
Do you ever see more than one header==true alerts? Are they really
alerts? (See my earlier note.)
-- T.J.
On Apr 14, 3:55 pm, chrysanthe m chrysant...@gmail.com wrote:
Hi TJ
Sorry for insufficient detail
The json object
, chrysanthe m chrysant...@gmail.com wrote:
Hi Alex
Thanks, but a newbie here so that was drinking at a firehose. Let me
parse it to better understand.
First can you really invoke on two separate enumerable objects with that
[n,n1,n2] syntax? That is tremendous.
My problem is I need to first check
Hello
I am having a difficult time trying to enumerate a hash to determine if a
give key is in the hash and if so delete it and its value.
If I could approach it index it would be
function remove(valueToTest, hashToBeTested){
--
You received this message because you are subscribed to the Google
if not semantically. Can someone
guide the proper way and more deeply the use of this?
On Thu, Apr 8, 2010 at 3:06 PM, chrysanthe m chrysant...@gmail.com wrote:
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group
});
a.get(x);
foo
b.get(x);
zam
[a,b].invoke(get,x);
[foo, zam]
[a,b].invoke(unset,x)
[foo, zam]
a.get(x)
(undefined)
Cheers,
Alex
On Thu, Apr 8, 2010 at 3:24 PM, chrysanthe m chrysant...@gmail.comwrote:
Sorry sudden send resume in this reply
Hello
I am having a difficult
Hello
I am sure this is documented somewhere, I have googled and looked at the api
however it is still unclear. How can I zero our all the keys/values of a
prototype hash without iterating over it? Sorry if it is documented, I
couldn't find an api faq. tia.
--
You received this message
Hello
I have defined an array
var fruit = new Hash();
fruit.set('apple','a');
fruit.set('banana','b');
In code I get a string either from the user or passed between functions, and
store it in variable getFruitAbbr. However when I try
fruit.get(getFruitAbbr) for getFruitAbbr having one of the
.
Also, make sure you are using Prototype 1.6 or above. Examples are here:
http://www.prototypejs.org/api/hash
- Jeff
On Mar 26, 2010, at 2:39 PM, chrysanthe m wrote:
Hello
I have defined an array
var fruit = new Hash();
fruit.set('apple','a');
fruit.set('banana','b');
In code I get
Hello
Is there a specific group for JSON questions? I will not ask mine here so
not to be manipulative with the question. Please direct as appropriate.
tia.
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group,
Hi All
This is odd. I have been using prototype for months in a jsp included like
this perfectly
script src='html:rewrite page=/pages/js/prototype-1.6.1.js/'
type=text/javascript/script
I started to get message that Object.toJSON() is not a function. I then
tried accessing Prototype.Version and
Peck jeff.p...@snet.net wrote:
Try accessing it directly (i.e. without the html:rewrite)... It seems like
it's not being loaded. You also debug with a tool like FireBug to verify
that it is being loaded.
- Jeff
On Mar 23, 2010, at 6:15 PM, chrysanthe m wrote:
Hi All
This is odd. I
Thank you Paranav
Both cogent responses. I could not find a similar parser in the json-lib.
Happily using the json-simple thanks to you. Best of all I can resume
coding.
On Tue, Mar 16, 2010 at 6:32 PM, chrysanthe m chrysant...@gmail.com wrote:
Hello
Two questions if I may:
1
Hi All
Actually I did JSONObject.fromObject(); fyi
On Wed, Mar 17, 2010 at 11:35 AM, chrysanthe m chrysant...@gmail.comwrote:
Thank you Paranav
Both cogent responses. I could not find a similar parser in the json-lib.
Happily using the json-simple thanks to you. Best of all I can resume
Hello
Two questions if I may:
1. Will prototype process javascript associative array into JSON text?
2. I am planning on processing a javascript array into JSON and sending
that over an AJAX call as a string. The problem is I cant figure out how to
re-hydrate that prototype process JSON string
Hi David
Thanks, but I think I one step further. I am assuming an Ajax.request() has
happened, returned and what I am looking at to understand further is syntax
like this:
$('fullName').value = json.fullName;
for an returned parameter fullName and an html element ID of fullName. I am
wondering,
24 matches
Mail list logo