I've checked in a change to FFK's Form.py so that the formID generation function assigns and track formIDs based on servlet URL and a URL specific counter. This should mean that auto-generated formIDs are no longer sensitive to instantiation servlet order. The patch for this modification is appended below FYI.

I also checked in a minor change to Field.SelectField to have the field display the label instead of value when it is static.

...Edmund.




Index: Form.py =================================================================== RCS file: /cvsroot/funformkit/FunFormKit/Form.py,v retrieving revision 1.17 diff -r1.17 Form.py 500c500 < nameCount = 1 --- > nameCount = {} 502c502 < def getName(): --- > def getName(servletName): 505,506c505,509 < name = 'form%i' % nameCount < nameCount = nameCount + 1 --- > if servletName in nameCount: > nameCount[servletName] += 1 > else: > nameCount[servletName] = 1 > name = '%s%i' % (servletName, nameCount[servletName]) 542c545 < name = getName() --- > name = getName(handlerServletURL)




------------------------------------------------------- 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