Hello,

On Aug 16, 2006, at 1:06 PM, Baiss Eric Magnusson wrote:

I had a <footer> Sub-Component on all my pages and I decided I had to have a
        <onchange>        "submit();"
as a binding for a WOPopup in the Sub-Component.


I'm not sure what that will do as typed. submit() is a method on the form, not the document, so I would use "this.form.submit();"

Since I had the <footer> inside a WOForm for all the enclosing WOComponents, I will now have to go back and change all the WOComponents as I now get conflicts with the super WOForm enclosing the footer Sub-Component.

What kind of conflicts?


So my question is,
"Do you always put Sub-Components, which may have a <submit();> now or in the future, inside their own WOForm?
to avoid this problem.


No, sometimes they need to be in the parent form. Only values in the form that is submitted will be returned to the app, so you have to group them based on the particular needs of the page. (Does that make sense?)

----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>


Perhaps you could explain what's happening in a little more detail?

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

This email sent to archive@mail-archive.com

Reply via email to