On 1/2/06, Koba <[EMAIL PROTECTED]> wrote:
> Before continuing on this I wanted an orientation about the MVC
> paradigm, I've been working for a long time on a framework of my own so
> there are many stuff that I still have to get used to. For example, I'm
> pretty confused on this particular point, why the action url for
> TableForms is specificed on the views and not in the controllers, you
> will see that RemoteForm behaves just like TableForm because it's
> inherited from it but in LinkRemoteFunction I've put the target url to
> be specified when the widget is created in the controller, what you
> specifiy on the view is the DOM target that will cointain the answer
> from the POST done. I'd like to know is this is correct or if I have to
> change it, also in my patch the dictionary containing the POST data for
> the LinkRemoteFunction widget has to be specfied on the controller. I'm
> not sure if this is ok or not either.

Forms, as designed, can be reused. You could have a couple different
templates that include the same form and possibly post to different
places. (Forms are generic enough that they may not just be CRUD-style
data entry inputs). It may make sense to allow you to set up a default
action when creating the form.

Kevin

Reply via email to