How do I combine Navigation + on-demand-selector? If I try something
like that, it doesn't actually map the the "static" url to the text
widget.
(defun make-home-page ()
(let* ((tests (make-tests-page))
(navigation (make-navigation "Navigation"
"admin" (make-config-page)
"tests" tests))
(on-demand (make-instance 'static-selector
:panes (list (cons "static" "some
test page")))))
(make-instance 'composite
:widgets
(list navigation on-demand))))
What is missing?
On Apr 6, 12:30 pm, "Leslie P. Polzer" <[email protected]>
wrote:
> Trastabuga wrote:
> > I've read in a number of tutorials and posts references to a
> > Dispatcher class but I couldn't find any traces of it in neither Dev
> > nor Stable branches.
> > Still, I think that would be an extremely useful class to have as it
> > would enable users do things that they can't do with the navigation
> > widget.
> > Any plans to include this class in the framework?
>
> Yes: the dispatcher class was introduced some two years ago.
>
> Its current name is 'selector' with a convenience subclass that is
> very similar to the old dispatcher class called 'on-demand-selector'.
>
> Check out these source files:
>
> weblocks/src/widgets/selector.lisp
> weblocks/src/widgets/on-demand-selector.lisp
>
> They contain lots of documentation.
>
> Feel free to ask more about it around here.
>
> Leslie
--
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.