On Sun, Feb 13, 2011 at 10:17 AM, Anthony <[email protected]> wrote:
> I thought I replied to this but I'm not seeing it here.
It came through.
> This will work for me, thanks! I am having a little trouble
> understanding how to have a navigation and this on-demand selector at
> the root. I have tried to combine them in various ways but it seems I
> am missing something. The lookup function for the selector is getting
> the tokens for the navigation.
Ah, in that case, there's another small trick. To the end of the
MAKE-NAVIGATION call, add the following arguments:
"auth" (make-instance 'auth-selector)
:extra-args '(:hidden-panes ("auth"))
This makes the auth-selector selectable through the navigation, but
without showing a menu item for it to the user. Then you don't need
to include the auth-selector as a child of the root (remove the
existing code that does this).
(If you're wondering where I got "auth", it's from the URL in your
original message. It can be anything you like, of course.)
-- Scott
--
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.