Hi all,
I was working on weblocks for developing UI of Biomedical Project. I
was new to Lisp so I'm facing problems with displaying the dropdown
list.
I got the below snippet from weblocks-test and modified as
function(Not sure whether it is the right way)
(defun dropdown-presentation-render-view-field-value-1 ()
(render-view-field-value nil
(make-instance 'dropdown-presentation
:choices (list "A" "B"))
(make-instance 'form-view-field
:slot-name 'foo )
(make-instance 'form-view)
nil "A")
(:select :name "foo"
(:option :value "" "[Select Foo]")
(:option :value "A" "Employee")
(:option :value "B" "Employee")))
Now my intention is to display the dropdown list with values A and B.
But i'm getting errors like
UNDEFINED-FUNCTION: The function :OPTION is undefined.
UNDEFINED-FUNCTION: The function :VALUE is undefined.
Also if i want to use the code from weblocks-test like displaying
radio buttons. How can i do that?
Can i replace the deftest and deftest-html with defun and use them as
functions in my code? Please suggest.
I appreciate your help!
Thanks,
Venkata.
--
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en.