[cl-who-devel] select tag and selected

How do I achieve something like the following in CL-WHO? <select> <option>foo</option> <option selected>bar</option> </select> -- Rommel M. Martinez <ebzzry@gmail.com>

On Thu, Apr 24, 2008 at 9:40 AM, Rommel Martinez <ebzzry@gmail.com> wrote:
How do I achieve something like the following in CL-WHO?
<select> <option>foo</option> <option selected>bar</option> </select>
-- Rommel M. Martinez <ebzzry@gmail.com>
What I did as a workaround is something like the following: (fmt "<option value='~A' selected>~A</option>" val option) -- Rommel M. Martinez <ebzzry@gmail.com>

On Thu, Apr 24, 2008 at 2:25 PM, Edi Weitz <edi@agharta.de> wrote:
On Thu, 24 Apr 2008 13:03:03 +0800, "Rommel Martinez" <ebzzry@gmail.com> wrote:
(fmt "<option value='~A' selected>~A</option>" val option)
To do something like that you don't need CL-WHO, plain FORMAT will do...
_______________________________________________ cl-who-devel site list cl-who-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/cl-who-devel
I read the example file in the test/ directory. I got it now. Thanks a lot! :-) -- Rommel M. Martinez <ebzzry@gmail.com>

On Thu, 24 Apr 2008 09:40:57 +0800, "Rommel Martinez" <ebzzry@gmail.com> wrote:
How do I achieve something like the following in CL-WHO?
<select> <option>foo</option> <option selected>bar</option> </select>
Look into the "test" subdirectory of Hunchentoot where you'll find some examples.
participants (2)
-
Edi Weitz
-
Rommel Martinez