[Seaside] Embedded forms

Ron Teitelbaum Ron at USMedRec.com
Sat Nov 18 02:20:00 UTC 2006


Hi,

It appears that if I render a component that has a form inside it onto
another form that buttons for the main form only work above the embedded
component.

I have a component which contains a form, a table and some buttons.

Form 
Table
Buttons

I embed this component in another form

html form

       html render: myComponent.


If I put my button before the rendered component it all seems to work.

html form
	html submitButton

	html render: myComponent

But if I put my button under the component that has its own form then the
button does not work.

html form
	html render: myComponent

	html submitButton

In both cases it appears that the embedded component form is working just
fine, all the buttons work.  But on the parent form it only works if the
button comes before the embedded form.  

Am I doing something wrong, is there a way to get both forms working
properly with the button coming after the embedded component?

Thanks for your help!

Ron Teitelbaum



More information about the Seaside mailing list