Randall Randall wrote:

I need to create a number of forms that depend on how
many objects there are to modify.  If there are 3, there
need to be 3 forms, one of which will be used.

This should be no problem; we do it all the time. Just make sure that you're using different submit methods (actions) for each one.


At first, my servlets were creating extra forms for
each form I create in awake() on every refresh of the
page.  This suggests that the forms themselves were
persisting through sleep(), so I added a statement to
delete self._forms, but now the form never seems to be
successful.

There is a reset forms method that is typically called from sleep() (but can be called by you whenever you like)-- make sure that you haven't accidentally removed it.


Is there a right way to handle variable numbers of
anonymous forms with FormKit, or should I try to
shove all possible objects into one form?

Look in the examples for the "MultiFormExample.py" and follow that precedent.

-- Matt Feifarek
dAlchemy



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to