Re: WOComponent - Sub-Component Form Design Question
Re: WOComponent - Sub-Component Form Design Question
- Subject: Re: WOComponent - Sub-Component Form Design Question
- From: Chuck Hill <email@hidden>
- Date: Wed, 16 Aug 2006 11:18:58 -0700
On Aug 16, 2006, at 11:06 AM, 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.
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.
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.
As usual :-) I am not too clear on what you have done or why. Did
you add another form in the Footer that is now nested in the form in
the enclosing component? Would just submitting the form in the
component work? It sounds like the intention was never for the
footer to contain form elements that were "inside" the main form.
What I would do is to design the page so that the footer was outside
the WOForm.
Chuck
--
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden