Exactly! I was looking for addWidget.<br><br>I&#39;ll give it a shot at providing my own html also, I&#39;ll let you know my final solution.<br><br>Thank you all guys.<br><br>cheers<br>----nubis :)<br><br><br><div class="gmail_quote">
On Tue, Jan 4, 2011 at 9:29 AM, Matt Brown <span dir="ltr">&lt;<a href="mailto:matt@softmechanics.net">matt@softmechanics.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Regarding your error, I think you want addWidget instead of addHamlet.<br>
 This compiles for me:<br>
<div class="im"><br>
loginHandler = do<br>
  let tm = liftHandler getRouteToMaster<br>
  let email = tm &gt;&gt;= apLogin authEmail<br>
  defaultLayout $ do<br>
    setTitle $ string &quot;Login&quot;<br>
</div>    addWidget $(hamletFile &quot;login&quot;)<br>
<font color="#888888"><br>
-matt<br>
</font><div><div></div><br></div></blockquote></div>