[Seaside] dateInput Question
Ron Teitelbaum
Ron at USMedRec.com
Mon Nov 6 18:05:13 UTC 2006
That is fantastic! Thank you very much for doing it. I'll look at it right
away!
Ron
> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Michel Bany
> Sent: Monday, November 06, 2006 10:43 AM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: Re: [Seaside] dateInput Question
>
> Ron,
>
> I committed SeasideAsync-mb.49 to squeaksource.
> It has support for date/time input and radio buttons.
> It requires the most recent version of Seaside2.6b1 (-mb.117).
>
> You may want to give it a try like this.
>
> html dateInput
> value: date;
> liveCallback:
> [:value :renderer |
> date := value.
> etc.
> ]
>
> The live callback receives a Date instance from which you can get
> the date for computing the age.
>
> Make sure you pay attention to the comments I placed in the
> SeasideAsync package regarding upwards compatibility.
> SeasideAsync is now using its own renderer (one for canvas and
> one for classic) and the javascripts are in a separate library.
>
> In Seaside2.6b1-mb-117 date input supports a new configuration method
> #options: that allows you to control the order and the presence/absence
> of the three date elements (day month year), for instance
>
> html dateInput
> value: date;
> options: #(day month);
> etc.
>
> Cheers,
> Michel.
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the Seaside
mailing list