[web-devel] Wrapping the widget generated by the authEmail backend.
Nubis
nubis at woobiz.com.ar
Tue Jan 4 15:11:00 CET 2011
Exactly! I was looking for addWidget.
I'll give it a shot at providing my own html also, I'll let you know my
final solution.
Thank you all guys.
cheers
----nubis :)
On Tue, Jan 4, 2011 at 9:29 AM, Matt Brown <matt at softmechanics.net> wrote:
> Regarding your error, I think you want addWidget instead of addHamlet.
> This compiles for me:
>
> loginHandler = do
> let tm = liftHandler getRouteToMaster
> let email = tm >>= apLogin authEmail
> defaultLayout $ do
> setTitle $ string "Login"
> addWidget $(hamletFile "login")
>
> -matt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110104/7dfcf80a/attachment.htm>
More information about the web-devel
mailing list