Search the web
Sign In
New User? Sign Up
yui3 · YUI 3.x Discussion Forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 897 - 927 of 927   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
897
I'm attempting to use JSON to move individual HTML nodes to and from the server, as a means of dynamic page generation and state persistance. (This is just an...
davidrueter
Online Now Send Email
Sep 22, 2009
4:14 pm
898
Ok, three things: 1) It turns out that the tip I gave for using the replacer function was totally bogus. Pushing to a stack and never popping doesn't check ...
Lucas Smith
y_lsmith
Online Now Send Email
Sep 22, 2009
6:22 pm
899
David, The stringify method is almost almost used to convert "simple" JavaScript objects to a string to do exactly what you're describing -- transport that...
Andrew
andrew.bialecki
Offline Send Email
Sep 22, 2009
7:03 pm
900
Andrew, Thanks: Y.Node.getDOMNode(oNodeInstance) does get me the object I want to stringify. However, stringify doesn't want to work on it. it fails with: ...
davidrueter
Online Now Send Email
Sep 22, 2009
7:32 pm
901
I think I've got it: using a whitelist seems to do the trick: "To serialize only a fixed subset of keys, provide an array of key names as the second parameter...
davidrueter
Online Now Send Email
Sep 22, 2009
9:30 pm
902
Phillip - This is actually not an IE issue. It is bug with YUI3 Beta 1 that we're aware of and will be fixed in the soon-to-be-released GA version of YUI3....
Todd Kloots
toddkloots
Offline Send Email
Sep 22, 2009
9:39 pm
903
I don't think there's a standard list since different elements can have different attributes and it's also possible to define custom attributes on elements...
Andrew
andrew.bialecki
Offline Send Email
Sep 23, 2009
3:01 am
904
I'm too quick to blame IE I guess :) Thanks though. I pulled the latest code from Github, and my code works like a charm. Thanks for the very quick and easy...
illiphilli
Offline Send Email
Sep 23, 2009
3:11 am
905
I need to have the attribute "after" event fire regardless of whether that attribute has been updated. I need a hook that says the user tried to change that...
Andrew
andrew.bialecki
Offline Send Email
Sep 23, 2009
3:47 am
906
Are you aware of any performance differences between version A and B above? I tend to use B, usually doing something like this: var MyWidget; // list of all...
Eric Ferraiuolo
eric.ferraiuolo
Offline Send Email
Sep 23, 2009
5:51 pm
907
Practically, no. A common misconception is that JavaScript is slow, when actually it's the DOM API that is the usual suspect (it is slow). Generally speaking,...
Lucas Smith
y_lsmith
Online Now Send Email
Sep 23, 2009
6:07 pm
908
Hi, It would need to be something added to the attribute layer, as an attribute configuration property. If you file an enhancement request, I can look into it...
Satyen Desai
sdezzi
Offline Send Email
Sep 23, 2009
6:12 pm
909
I'm building a widget that has an array of objects from which a user can choose. When a user selects an object, they must then give a value to that object....
Andrew
andrew.bialecki
Offline Send Email
Sep 24, 2009
12:36 am
910
Hey Andrew, Is the value state of the unselected objects in your array reflected anywhere? From your description (or rather my interpretation of "they must...
Satyen Desai
sdezzi
Offline Send Email
Sep 24, 2009
5:54 pm
911
You're spot on and your reasoning is basically the exact same line of reasoning I've had. The one requirement we have is that if I select "unfinishedChair"...
Andrew
andrew.bialecki
Offline Send Email
Sep 24, 2009
7:25 pm
912
I think what you're doing right now: treating null (a.k.a. unfinished) as a default and valid value, along with "black", "oak", "cherry" is an accurate...
Satyen Desai
sdezzi
Offline Send Email
Sep 24, 2009
7:48 pm
913
I'm having some issues creating Widgets and using instanceof, and I think the best way I can illustrate it is with an example. I'll preface by saying I know...
greg.hinch
Offline Send Email
Sep 25, 2009
4:02 pm
914
Just to try to add a little something here… I've also been using Attribute definitions which allow null and a string with a length > 0 as valid values. e.g. ...
Eric Ferraiuolo
eric.ferraiuolo
Offline Send Email
Sep 25, 2009
5:12 pm
915
Hey Eric, The additional argument to add "src" data to the attribute event payload was added specifically for the use case you describe: ...
Satyen Desai
sdezzi
Offline Send Email
Sep 25, 2009
6:20 pm
916
See you write stuff like: "I can see a Form plugin/extension, which would bind a Widget's attributes to a Form [ mapping input elements to attributes ] and...
Eric Ferraiuolo
eric.ferraiuolo
Offline Send Email
Sep 25, 2009
7:35 pm
917
I think I know what the problem is that you're having. Can you give some sample code? I'm guessing it's something like: YUI().use("widget", function(Y){ ...
Andrew
andrew.bialecki
Offline Send Email
Sep 25, 2009
7:36 pm
918
Hey Greg, It's actually not Widget related. It narrows down into the following basic use case: ...
Satyen Desai
sdezzi
Offline Send Email
Sep 25, 2009
8:25 pm
919
I want to add a number of modules and dependencies to the Loader so that I don't have to include all of my own JS files above my call to YUI().use("",...
Andrew
andrew.bialecki
Offline Send Email
Sep 25, 2009
8:50 pm
920
You could try something like this YUI.add('myapp.loader-meta', function (Y) { Y.mix(Y.config.modules, { 'myapp.module-a': { fullpath: ... }, 'myapp.module-b':...
Lucas Smith
y_lsmith
Online Now Send Email
Sep 25, 2009
9:13 pm
921
... To wrap up, this is accurate. If you want your instanceof check to work correctly across sandboxes, you'll need to make sure the classes used to create the...
sdezzi
Offline Send Email
Sep 25, 2009
11:02 pm
922
... That was the idea :). ... I think a plugin is the right place to start - something which can be added to an instance of any widget, if it's content...
Satyen Desai
sdezzi
Offline Send Email
Sep 25, 2009
11:05 pm
923
... Thanks Satyen that's exactly the info I was looking for. Greg...
greg.hinch
Offline Send Email
Sep 26, 2009
1:57 am
924
You should create modules for your custom Widgets rather than create them inline in a use() callback. YUI3's module structure is best used by isolating...
Luke
y_lsmith
Online Now Send Email
Oct 2, 2009
4:14 am
926
Make lots of videos please and post them ! Enjoy !...
juliebonniedaisy
juliebonnied...
Offline Send Email
Oct 27, 2009
8:27 pm
927
Re: Video, we'll do our best! -Eric...
Eric Miraglia
ericmiraglia
Online Now Send Email
Oct 27, 2009
9:56 pm
Messages 897 - 927 of 927   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help