Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SubComponents and Submits



Am 29.11.2005 1:50 Uhr schrieb "Chuck Hill" unter
<email@hidden>:

> 
> On Nov 28, 2005, at 3:08 PM, Baiss Eric Magnusson wrote:
> 
>> 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>.
>> 
> It sounds like something above it is responding to invokeAction.
> 
> 
>> I have a WOForm inside the SubComponent and <multipleSubmit> is true.
>> 
>> 
> Have you looked at the HTML?  Is the submit inside of <form>...</
> form> tags?
> 
> So you have a page and in that page is a sub-component and in that
> sub-component is a WOForm and in that WOForm is a WOSubmit button?
> Does that describe it correctly?
> 
> Chuck

As far as i can recall, it is not good to have nested forms.
So check first if the component is nested in another component, where
another form wraps the sub-component.
As Guido mentioned in his mail, i think that in D2W there is a form around
generated html and when you knit something into it, you may have also the
problem with nested forms.

Let me hear if thats correct!

Wolfram


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: SubComponents and Submits (From: Chuck Hill <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.