> (make-instance > 'selector > :panes (list > (cons "admin" (make-config-page)) > (cons "test" (make-test-page)))))
the :panes initarg is not available with selector, since there is no slot like that .. > Which gives an error: > SIMPLE-ERROR: There is no applicable method for the generic function > #<STANDARD-GENERIC-FUNCTION WEBLOCKS:GET-WIDGET-FOR-TOKENS (2)> when > called with arguments (#<WEBLOCKS:SELECTOR "dom0"> #<WEBLOCKS:URI- > TOKENS NIL>). That function is only defined for static-selector and on-demand- selector, in C++ selector would be called an abstract class, I think. See http://imgur.com/GY3uw.png > Is it something that I missed to add? Try using static-selector instead. It should work, I haven't used selectors that much (just nav). -- 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.
