Hello List,
normally I have my froms in the input template, display it and submit
the form's data to the action and so on.
But now I came to a point in my project, where it would be helpful to
dynamicly create forms ie. taking in accout the credentials of a user
etc.
My current Plan how to implement this is, that I'll have a main and
widget actions which return on a read request the input template with
the fields. So far so good.
Let's also assume that the main action and view knows which widgets
need to be called.
Now when i post the Form it will be submitted to the main action,
which of course does not know about the the parameters of the widget
actions thus can not validate them. So i somehow have to register the
validators of widgets or would it be enough to somehow run those
widget actions and they then validate the params from the global
requestdata?
Also on the view part how would i add the widget's input fields to the
main view? I think using a slot would be the best way here.
I think my question is somehow similar to those Michal already asked
on the List, but yet I haven't fully understood it.
Thanks Folks for creating such a sweet Framework and answering all
questions so pariently.
---
Benjamin Börngen-Schmidt
[email protected]
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users