[plt-scheme] Suggestion about formlets and (X)HTML
This is fixed in SVN. It now defaults to including an html and body
tag, but takes an optional wrapper function.
Jay
On Mon, Jan 5, 2009 at 2:09 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> Good point! I will look into it.
>
> Jay
>
> On Mon, Jan 5, 2009 at 1:35 PM, Thomas Chust <chust at web.de> wrote:
>> Hello,
>>
>> when one uses send/formlet to render a web form and send it to the
>> browser, the result is always invalid (X)HTML, since a form element
>> should not appear as the root of a document. Thus this procedure
>> encourages bad programming practice.
>>
>> I think it would be nice if send/formlet allowed for some way to wrap
>> the form element it creates in a proper (X)HTML document. Alternatively
>> the procedure could simply be deprecated since embed-formlet can be used
>> for the same job without the problems.
>>
>> cu,
>> Thomas
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
>
>
>
> --
> Jay McCarthy <jay at cs.byu.edu>
> Assistant Professor / Brigham Young University
> http://jay.teammccarthy.org
>
> "The glory of God is Intelligence" - D&C 93
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://jay.teammccarthy.org
"The glory of God is Intelligence" - D&C 93