[aida] Ajax action handlers
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
> could be resolved later. What I'd like to add soon is form posting
> standalone components, Ajax style. We can achieve a lot just with
> Your example bellow also shows the problem of parameter passing via
> requests. So far only strings are supported and you need to compose
> decomose them manually. General object passing would be nice of
> by value or maybe even by reference?
-------------- section suivante --------------
Une pi�ce jointe non texte a �t� nettoy�e...
Nom: non disponible
Taille: 197 octets
Desc: Ceci est une partie de message
More information about the Aida