On Dec 1, 2005, at 9:52 AM, Baiss Eric Magnusson wrote:

This has turned out to be quite a ride, and it's for my main WO site <http://www.Track-Your-Finances.com>. The parent component had a WOForm which surrounded the SubComponent and it's WOForm.

I don't recall you mentioning the nested forms before. In HTML, nested forms are bad, very bad. You could probably have made it work by removing the inner form and making the outer form multiple submit.

To undo that scenario on the two main pages, I did a big design upgrade, this is good.
I got the first page working.

On the next page, with the SubComponent I had another SubComponent which also overrode <takeValuesFromRequest>. The other SubComponent's <takeValuesFromRequest> was getting called when I did a Submit from my new SubComponent. It's values were undefined, which I wasn't checking for, and then it did some things which were bad. I trapped the undefines in the other SubComponent's <takeValuesFromRequest> and the page works fine.

One last step is to get the dynamic <anchor> elements, generated for each row in the SubComponent to work, and then I'll be able to upgrade the site!

Good luck!

Chuck


On Nov 29, 2005, at 3:04 AM, Helge Staedtler wrote:

Sounds like you might perhaps have more than only one WOForm around your SubmitButton. Try to check in the generated HTML if there are more than only one Form-elements. Often if you have the form-in-a-form situation things act
like you describe it.

regards,
helge

Am 29.11.2005 0:08 Uhr schrieb "Baiss Eric Magnusson" unter <[EMAIL PROTECTED]>:

I have been unable to get the action method of a WOSubmitButton
inside a SubComponent to get called.

All I can get calls to in a SubComponent so far is <awake> and
<takeValuesFromRequest>.

I have a WOForm inside the SubComponent and <multipleSubmit> is true.
----
Baiss Eric Magnusson
<http://www.CascadeWebDesign.com>



--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to