• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[SOLVED]: SubComponents and Submits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED]: SubComponents and Submits


  • Subject: [SOLVED]: SubComponents and Submits
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Thu, 1 Dec 2005 09:52:15 -0800

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

Thanks to all,

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@hidden>:

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>


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: [SOLVED]: SubComponents and Submits
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Where to set display group bindings i java-file
  • Next by Date: Re: [SOLVED]: SubComponents and Submits
  • Previous by thread: Re: Where to set display group bindings i java-file
  • Next by thread: Re: [SOLVED]: SubComponents and Submits
  • Index(es):
    • Date
    • Thread