On Fri, 10 Jan 2014 14:04:14 +0100, Sönke Ludwig wrote:

Am 10.01.2014 11:06, schrieb Sergei Nosov:

On Thu, 09 Jan 2014 23:02:12 GMT, Sönke Ludwig wrote:

On Wed, 08 Jan 2014 16:01:20 +0100, Sönke Ludwig wrote:

Am 08.01.2014 09:21, schrieb Sergei Nosov:

Hi!

I've tried to use the <select multiple> tag in the form, but with no luck. Corresponding field in the req.form is just one of the selected options and not the whole array.

Is this functionality not implemented?

It's indeed currently not implemented. I'll change
HTTPServerRequest.form to be a multi-map type like the headers field
instead of string[string], which should fix it.

Implemented by 089d65f.

Ha-ha, thx! That was fast =) I was planning to look into the thing myself this weekend.

Will go on my "primary" work then. BTW, I'm trying to implement something similar to the Django's auto-generated admin site. Currently, it's very simplistic and nowhere near Django's in terms of "customizability", but the darn thing already somewhat works.

Do (or did) you have any plans for something like this?

Not directly, I'm planning to do a number of improvements to
vibe.web.web when I get to use it in an actual project, but it will
probably stay on an abstraction level slightly below that for now. But
it sounds like a very nice feature - on of the places where D can really
shine.

Yeah, exactly. Right now I use a couple of UDAs to mark the "model" structs and connections between them. It amazed me that you can do stuff like that in a statically typed language relatively with ease.