[Seaside] Forms - Select List: action before submit button

dirk newbold dirkdirk at gmail.com
Mon Jun 11 20:53:40 UTC 2007


All,

http://ajax.asp.net/ajaxtoolkit/CascadingDropDown/CascadingDropDown.aspx

I found the exact example I am trying to achieve as per this ajax link
above.

I'm guessing Seaside has same deal but can't see to make anything work - I'm
new at all this.

Thanks,

Dirk


On 6/11/07, dirk newbold <dirkdirk at gmail.com> wrote:
>
> Sorry, I forgot to mention that I'm a newbie.  Just tried to implement
> this but no luck.
>
> How do I use WASelectTag>>beSubmitOnChange for this example?
>
> Say I have a *Dictionary* (colourSizes in *class* named Product) set up
> where the *key* is the colour and the *value* is an *OrderedCollection*of the corresponding available sizes.
>
> " The colour select box "
>     html select
>      beSubmitOnChange;
>      size: ???
>      list: (Product colourSizes keys);
>      selected:
>      callback:
> " The available sizes select box driven by the choice from the colour
> select box "
>     html selectFromList:
>      selected:
>      callback:
>
> Cheers,
>
> Dirk
>
>
>  On 6/10/07, Boris Popov <boris at deepcovelabs.com> wrote:
> >
> > WASelectTag>>beSubmitOnChange, perhaps?
> >
> > Cheers!
> >
> > -Boris
> >
> > --
> > +1.604.689.0322
> > DeepCove Labs Ltd.
> > 4th floor 595 Howe Street
> > Vancouver, Canada V6C 2T5
> > http://tinyurl.com/r7uw4
> >
> > boris at deepcovelabs.com
> >
> > CONFIDENTIALITY NOTICE
> >
> > This email is intended only for the persons named in the message
> > header. Unless otherwise indicated, it contains information that is
> > private and confidential. If you have received it in error, please
> > notify the sender and delete the entire message including any
> > attachments.
> >
> > Thank you.
> >
> > > -----Original Message-----
> > > From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> > > bounces at lists.squeakfoundation.org] On Behalf Of dirk newbold
> > > Sent: Sunday, June 10, 2007 3:09 PM
> > > To: Seaside - general discussion
> > > Subject: [Seaside] Forms - Select List: action before submit button
> > >
> > > Hi,
> > >
> > > I'm trying to get the choice from one selectFromList to trigger a
> > second
> > > selectFromList in a form without having to hit a submit button.
> > > E.g. similar to online clothing stores where each product comes in a
> > > multiple of colours which each have a different corresponding list of
> > > available sizes.
> > >
> > > Can the selectFromList method achieve this?
> > >
> > > If not is there another method that can achieve this and does anyone
> > have
> > > an example?
> > >
> > > Regards,
> > >
> > > Dirk
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070611/74056982/attachment-0001.htm


More information about the Seaside mailing list