On 1/3/06, Stephen Thorne <[EMAIL PROTECTED]> wrote: > What's the best way of doing this: > > <p><a href="index">Back to list</a></p> > > in a fastdata template, considering that sometimes we're on a url that > looks like: > > /foo/add > > and sometimes on > > /foo/1/edit > > it won't always work. > > Relative linking 'feels' better, but doesn't seem possible. How would I > get the /foo/ root of a DataController instance in the kid template so I > can do > > /foo/index > > more intelligently?
Perhaps the controller can pass in the link back to the index? It knows what URL you would be at. This could be added to DataController... Kevin

