Version: 4.1.2
4.5 Utilities
| (require web-server/formlets/servlet) |
A few utilities are provided for using formlets in Web applications.
| (send/formlet f) → any/c |
| f : (formlet/c any/c) |
Uses send/suspend to send f’s rendering (wrapped in a FORM tag whose action is the continuation URL) to the client. When the form is submitted, the request is passed to the processing stage of f.
| (embed-formlet embed/url f) → xexpr? |
| embed/url : embed/url/c |
| f : (formlet/c any/c) |
Like send/formlet, but for use with send/suspend/dispatch.