[Seaside] Forms - Select List: action before submit button
dirk newbold
dirkdirk at gmail.com
Mon Jun 11 08:29:14 UTC 2007
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/b2febcd6/attachment.htm
More information about the Seaside
mailing list