[aida] Ajax action handlers

nico petton.nicolas at gmail.com
Thu Jan 29 22:20:16 CET 2009


Le jeudi 29 janvier 2009 à 18:45 +0100, Janko Mivšek a écrit :
> Hi Nico,
> 
> nico pravi:
> 
> > With a colleague we have tweaked Aida to handle (ajax or not) actions in
> > WebComponent. We do it with an unique action id in the html page, each
> > id corresponding to an action (a block closure actually). All id/action
> > association is registered in a context object, itself stored in a
> > special session class, subclass of WebSession.
> 
> In WebSession we have #userValues  dynamic value for any extensions.
> Well, maybe would be better to rename to #other?

Yes, we created a subclass because userValues wasn't really good for
this kind of objects.
> 
> > This mechanism works very well, and we have this way standalone
> > components. We use this to build a commercial CMS based on Scribo.ž
> 
> I hope you'll show us to copy it to base Aida too :)
Hmm, I would like to, but I have to ask my colleague first.

Cheers!

Nico
-------------- section suivante --------------
Une pi�ce jointe non texte a �t� nettoy�e...
Nom: non disponible
Type: application/pgp-signature
Taille: 197 octets
Desc: Ceci est une partie de message
 =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url: http://lists.aidaweb.si/pipermail/aida/attachments/20090129/2987236e/attachment.sig 


More information about the Aida mailing list