[Seaside-dev] HTML 5 multiple attribute

Lukas Renggli renggli at gmail.com
Sat Apr 21 19:19:08 UTC 2012


What about a special callback function that sets the attribute and
that uses a special subclass of WAValueCallback?

Lukas

On 21 April 2012 21:16, Philippe Marschall <philippe.marschall at gmail.com> wrote:
> Hi
>
> With the HTML 5 multiple attribute [1] <input> elements now can have
> multiple values. Right now only the first one is passed to the
> callback block because WACallback >> #evaluateWithFieldValues: only
> uses the first one. What do people think would be the best way to
> solve this? I don't really want to create new tag classes for multiple
> valued tags. What I can think of is a "multiple" instance variable in
> WAFormInputTag and WAValueCallback. Not very nice, but would work.
>
>  [1] http://dev.w3.org/html5/spec/single-page.html#the-multiple-attribute
>
> Cheers
> Philippe
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev



-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside-dev mailing list