[aida] Ajax action handlers

nico petton.nicolas at gmail.com
Tue Jan 27 17:52:16 CET 2009


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.

This mechanism works very well, and we have this way standalone
components. We use this to build a commercial CMS based on Scribo.


Le mardi 27 janvier 2009 à 16:39 +0100, Janko Mivšek a écrit :
> But introduction of action methods to WebComponents, that's something
> worth looking at. Ok, then there will be a problem of double
> implementation of essentially the same in apps and components, but
> this
> could be resolved later. What I'd like to add soon is form posting
> from
> standalone components, Ajax style. We can achieve a lot just with
> that!
> Your example bellow also shows the problem of parameter passing via
> Ajax
> requests. So far only strings are supported and you need to compose
> and
> decomose them manually. General object passing would be nice of
> course,
> by value or maybe even by reference?
-------------- 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/20090127/a5f634b6/attachment.sig 

More information about the Aida mailing list