I'm very new to weblocks, and I've been trying to get a better sense
of how things work by modifying weblocks-demo. One thing that
confused me a lot was that the widgets I created using (make-instance
'composite :widgets) worked as arguments to make-navigation, and that
the string and lambda ones I tried to use did not. For example:
(make-navigation 'main-menu
'employees
(make-instance 'composite :widgets
"employees")
'companies "companies")
"employees" would be displayed, but "companies" wouldn't be. Having
looked at the code for make-navigation, it seems to be the case that
it's expecting a CLOS widget object, and that strings and lambdas are
special cases that don't work with make-navigation. Is that right? I
found one thread about it (http://groups.google.com/group/weblocks/
browse_thread/thread/def88bc6d2ab31e8/fe173443487dbdf7?lnk=gst&q=make-
navigation+string#) that seems to suggest that my interpretation is
wrong.
Thanks,
Divia
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---