I only have a selector widget first, I have tried to set page-widget
or another selector widget as its children, they can not get render
except I render them forcedly.
You mean there is a relation between widget hierarchy and URI
tokens? I believe it be but I can not clear it, :(.
What I got is put them to static-selector-panes slot of navigation
widget, it seems create a relation between URI and widget:
(metatilities:push-end
(cons "asdf"
(make-instance 'page-widget :data (make-instance 'page :title
"asdfkjad;sfkjk" :wiki-id 0)
:data-view 'page-data-view :form-view 'page-form-view))
(static-selector-panes nav)
when I visit http://127.0.0.1:8080/asdf, it will show the page widget.
On Apr 8, 2:47 am, "Leslie P. Polzer" <[email protected]>
wrote:
> > It get be called once with nil as tokens parameter, so I can only
> > return one widget, but I want to render all pages of wiki. I try to
> > take use of the list of remains token, but not success.
>
> Where are you putting your selector in the widget hierarchy?
> With what URLs have you tried it?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---