> > I'm trying to make a webapp such that I can visithttp://foo/details/baz,
> > and have this run the widget 'details' passing 'baz' to it as an
> > argument.
> >
> > Check outhttp://
> github.com/nunb/resty-weblocgks/blob/master/src/widgets/blog-t...
> >
> > It uses the URI tokens to decide what to do with /posts /authors etc.
>
> Thanks for the pointer; I've got it working from that example and the
> source comments.


Many people wonder how to handle URL tokens to make their widgets do
different things, but looking at how plain nav works doesn't yield a
solution. Or at least, handling URLs in this way seems to be a common
question / initial stumbling block on this newsgroup.

Could you post an abbreviated example of your widget? Inline would be best I
think, to help people find the answer right away, or that and a gist.

cheers,
 Nandan

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