from-object ( object -- )
Furnace framework » Furnace presentation layer » HTML forms » HTML form values

Prev:set-value ( value name -- )
Next:to-object ( destination names -- )


Vocabulary
html.forms

Inputs
objectan object


Outputs
None

Word description
Sets the current form's values to the object's slot values.

Examples
Here is a typical action implementation, which selects a golf course object from the database with the ID specified in the HTTP request, and renders a form with values from this object:
<page-action> [ validate-integer-id "id" value <golf-course> select-tuple from-object ] >>init { golf "view-course" } >>template


Definition