[Bese-devel] New form api/initargs for forms?

Marco Baringer mb at bese.it
Tue Oct 11 23:13:08 UTC 2005


Asbjørn Bjørnstad <asbjxrn at bjxrnstad.net> writes:

> Hi,
> are there going to be a more extensive form example that shows off
> the new functionality of the form api? I'm not smart enough to
> understand everything that's going on.
>
> One thing I've been fumbling with is how to pass initial values to
> the form elements. It works fine for other components (info-message
> for example.) but I think the component part of the slots in the form
> elements is complicating things. (Particulary nice example would be
> to eg. pass a name of a user, and create a option/select slot with
> new messages, friends or some other dynamic relationship for that
> user.)

examples are coming (afaik). to answer your immediate question i
believe you're looking for the :default-value initarg.

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen



More information about the bese-devel mailing list