cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Ezkovich <g...@hard-bop.com>
Subject Re: Multiple forms on one page
Date Mon, 22 Nov 2004 23:06:44 GMT
It seems to me that what we want are multiple forms on a page and what 
is being proposed is a way to have one big form that gets processed in 
pieces. To me the stumbling block seems to be in Forms.js. When we 
display a form using showForm the only form it knows about is its self. 
In order to process multiple Forms something needs to know about 
multiple Forms. In order not to break encapsulation, it is essential 
that each form have its own separate definition. I may be missing 
something here, but it seems to me that if you want to show multiple 
forms on a page you need to move the showForm method to a place where 
multiple forms can be collected, examined, validated, bound and 
processed. Say, right along side sendPageAndWait.

I have more to say on this and I have another e-mail in process that 
will take a bit more thought before its complete. I just wanted to 
throw this out there and any comments are more than welcome.


Glen Ezkovich
HardBop Consulting
glen at hard-bop.com
http://www.hard-bop.com



A Proverb for Paranoids:
"If they can get you asking the wrong questions, they don't have to 
worry about answers."
- Thomas Pynchon Gravity's Rainbow


Mime
View raw message