[aida] The greatest thing since sliced bread
janko.mivsek at eranova.si
Sat Jan 24 11:36:02 CET 2009
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.
Where to put action methods in this case? To a component itself? To
every App where this component runs?
I have not yet a good answer, every suggestion or thought is therefore
Smalltalk Web Application Server
More information about the Aida