[Seaside] Embedded forms

Pavel Krivanek squeak3 at continentalbrno.cz
Sun Nov 19 08:55:09 UTC 2006


Hi Ron,

On 11/18/06, Ron Teitelbaum <Ron at usmedrec.com> wrote:
> Thanks Pavel,
>
> I started looking at shore components previously but got sidetracked.  I was
> thinking about contributing some widgets that I've been building.  When I
> get a chance to package them up should I send them to you?  Is there another
> preferred way to contribute, like say mantis?

The best way how to contribute is the SqueakSource repository - simply
publish the next version or create some experimental package.

> Thanks for the hint on nested forms from what I saw it was just a div tag
> when a form is embedded which seems pretty interesting.

...and the attributes of nested forms like associated JavaScripts are
delegated on parent form.

-- Pavel

>
> > -----Original Message-----
> > From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> > bounces at lists.squeakfoundation.org] On Behalf Of Pavel Krivanek
> > Sent: Saturday, November 18, 2006 2:57 AM
> > To: Ron at usmedrec.com; The Squeak Enterprise Aubergines Server - general
> > discussion.
> > Subject: Re: [Seaside] Embedded forms
> >
> > On 11/18/06, Ron Teitelbaum <Ron at usmedrec.com> wrote:
> > > 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?
> >
> > Look here: http://www.squeaksource.com/ShoreComponents.html
> > (ShoreComponents-3-pk.2.mcz)
> > It contains a solution of this problem. Nested forms are not valid in
> > HTML.
> >
> > -- Pavel
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list