[aida] The greatest thing since sliced bread
petton.nicolas at gmail.com
Sat Jan 24 13:47:41 CET 2009
Le samedi 24 janvier 2009 à 11:36 +0100, Janko Mivšek a écrit :
> Eli Green pravi:
> >> This is a quick idea from my head, maybe not the most elegant, but one
> >> of possibilities how to proceed towards the goal to have a fully
> >> ajaxified entry to your list.
> > I've just had a moment to sit down and take a look at how this is done and from what I'm seeing there's no way to integrate the current action methods into this setup. What I would ideally like is to be able to say this:
> > (e addButtonText: 'Add' action #addObject) onClickUpdate: objectList.
> > Oh, another benefit is that the form data gets posted all at once when the user has finished editing it, saving us the round-trips to and from the server.
> > Anyway, not a major complaint, just a suggestion!
> Current action methods work nicely and follow MVC faithfully for views
> in your Apps. But for standalone ajaxified components, which can be
> reusable among different Apps and not only among views on the same App,
> well, here we have a problem.
I think we already talked about it, and the result was that a way to do
it is to extend WebComponent to have actions (I know it would be a deep
change in Aida) and observee too.
-------------- 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