Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Views question #1

Closed
LynxDelli opened this issue Mar 8, 2012 · 1 comment
Closed

Views question #1

LynxDelli opened this issue Mar 8, 2012 · 1 comment

Comments

@LynxDelli
Copy link

It's not clear how you can call a view from a view.
ch:use-layout((), "xml"),
ch:use-layout("...", "html")
a bit more information how to use those helpers in Single page websites

@paxtonhare
Copy link
Contributor

To render a subview you use vh:render("controller/view", "format").

You do this from within the view, not the controller.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants