jueves, octubre 02, 2008
jueves, septiembre 25, 2008
Mastering Grails: Grails and the mobile Web
Mastering Grails: Grails and the mobile Web: "Mastering Grails: Grails and the mobile Web"
Publicado por
SiTo
en
9/25/2008 09:57:00 a. m.
0
comentarios
miércoles, septiembre 03, 2008
12 things I bet you didn't know about Hibernate | Learning by Experience
12 things I bet you didn't know about Hibernate | Learning by Experience: "12 things I bet you didn’t know about Hibernate"
Publicado por
SiTo
en
9/03/2008 11:50:00 a. m.
0
comentarios
martes, septiembre 02, 2008
Just Sherekan - Blog de Programación » Java
Just Sherekan - Blog de Programación » Java: "Just Sherekan - Blog de Programación"
Publicado por
SiTo
en
9/02/2008 01:10:00 p. m.
0
comentarios
Cars - Disney Pixar Cars - pixarcars.tv
Publicado por
SiTo
en
9/02/2008 12:52:00 p. m.
0
comentarios
Desactivar autorun en memorias USB para evitar virus
Publicado por
SiTo
en
9/02/2008 12:50:00 p. m.
0
comentarios
20 Linux apps you can't live without | News | TechRadar UK
20 Linux apps you can't live without | News | TechRadar UK: "20 Linux apps you can't live without"
Publicado por
SiTo
en
9/02/2008 12:30:00 p. m.
0
comentarios
viernes, agosto 29, 2008
curious-attempt-bunny: Grails Domain Diagram Including Subclasses
curious-attempt-bunny: Grails Domain Diagram Including Subclasses: "Grails Domain Diagram Including Subclasses"
Publicado por
SiTo
en
8/29/2008 02:23:00 p. m.
0
comentarios
Jorge on Programming: grails
Jorge on Programming: grails: "Saturday, July 19, 2008"
Publicado por
SiTo
en
8/29/2008 02:19:00 p. m.
0
comentarios
Grails And Git QuickCasts - G2One Inc. - One source for Groovy and Grails expertise
Grails And Git QuickCasts - G2One Inc. - One source for Groovy and Grails expertise: "Grails And Git QuickCast"
Publicado por
SiTo
en
8/29/2008 02:06:00 p. m.
0
comentarios
rain city digest: Groovy Excel Report Library
rain city digest: Groovy Excel Report Library: "Groovy Excel Report Library"
Publicado por
SiTo
en
8/29/2008 02:05:00 p. m.
0
comentarios
grassr library blog » grails
grassr library blog » grails: "grassr library blog"
Publicado por
SiTo
en
8/29/2008 02:03:00 p. m.
0
comentarios
delahuntyware: Return the collection from a many to many relationship in grails
delahuntyware: Return the collection from a many to many relationship in grails: "d add the Account object referenced by each one. The end result is i get a list of the Accounts a user has access to."
Publicado por
SiTo
en
8/29/2008 01:21:00 p. m.
0
comentarios
Geek Speak: GWT-Ext and Grails just works!
Geek Speak: GWT-Ext and Grails just works!: "Tuesday, December 25, 2007"
Publicado por
SiTo
en
8/29/2008 12:04:00 p. m.
0
comentarios
jueves, agosto 28, 2008
Mootools - Using .bind(this)
From MooTools Users | Google Groups
#############
var toto = new Class ({
Implements: Options,
options: {
message: "toto"
},
initialize: function(elem, options){
this.setOptions(options);
this.alternateMessage = "a message";
this.elem = elem;
this.elem.addEvent('click', function(){
this.alternateMessage = "other message";
this.aMethod();
}.bind(this));
},
aMethod: function(){
alert(this.options.message);
}
});
##################
in this class, you can see two effects of this binding in this
function
this.elem.addEvent('click', function(){
this.alternateMessage = "other message";
this.aMethod();
}.bind(this));
- this.alternateMessage is now changed for the whole class, not only
inside the fucntion as this refers to the class
- without binding the click function with .bind(this) the result would
be "this.alternateMessage has no properties", "this.aMethod() is not a function"
binding the function to the class (this) allows it to use any method
or this.var set inside it
Publicado por
SiTo
en
8/28/2008 09:48:00 a. m.
1 comentarios