
14 Oct
2010
14 Oct
'10
5:28 p.m.
Is it possible, without using AJAX, to easily embed the output of a route in Hamlet? For instance: getItemDataR :: String -> Handler RepHtml getItemDataR = defaultLayout $ addBody [$hamlet| .... getAllItemsR :: Handler RepHtml getAllItemsR = defaultLayout $ addBody [$hamlet| $forall ls i ^ItemDataR.i^ where ls = ["a","b","c"] something like that? Thanks, Max