Hey Weblocks,

I've got a quick-and-dirty login page set up, but after logging in
with valid credentials, I'm receiving the following error (ideally, it
should just display a trivial page, for now):

"UNBOUND-SLOT: The slot WEBLOCKS::BASE-URI is unbound in the object
#<NAVIGATION MAIN-MENU>."

The weirdest part?  There are currently no references to make-
navigation or main-menu anywhere in my code. o_O  Relevant snippets:

(defun init-user-session (root)
  (setf (widget-prefix-fn root) #'render-header)
  (setf (widget-suffix-fn root) #'render-footer)
  (setf (widget-children root)
          (list
           (make-instance 'login-maybe
                                    :on-login #'check-login ; check-
login returns successfully, so I know that's okay.
                                    :child-widget 'main-page))))

(defwidget main-page (widget)
  ((num :initform 10)))

(defmethod render-widget-body ((obj main-page) &rest args)
  (slot-value obj 'num))


That's pretty much it.  I hoped I'd be able to develop incrementally
by keeping things simple, but it seems the code gods have other
plans. ;-)  Thoughts?

-- 
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.

Reply via email to