You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macourtney edited this page Sep 13, 2010
·
3 revisions
Added for version: 0.4
Updated for version: 0.7
To generate an xml view named ‘show’ on controller ‘message’ use:
lein conjure generate xml-view message show
Generate will create a file called ‘show.clj’ in the directory views/message. The view will contain a macro for generating an xml view instead of the usual html view.
Generate will also create a unit test for your view.