Hi,
the following for example loses the class attribute when rendered
def deleteDialog(video: Video, deleteFun: Video => Boolean) = {
val yesLink = SHtml.a(Text(S.?("video.do.delete"))){
if(deleteFun(video)){
S.notice(S.?("video.delete.success"))
JsDelVideo(video) & ModalClose
}else{
S.error(S.?("video.delete.failed"))
ModalClose
}
}
val noLink = SHtml.a(Text(S.?("video.dont.delete")),ModalClose)
BasicModal(
<div class="modal">
<div > <h2>{S.?("video.delete.warn")}</h2></div>
<div >
<h3> {S.?("video.delete.continue")} </h3>
<p> { yesLink} { noLink } </p>
</div>
</div>
)
}
Best regards,
Ramzi
On Wed, Nov 12, 2008 at 1:56 PM, Marius <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Can you please provide a code example?
>
> Br's,
> Marius
>
> On Nov 10, 4:21 pm, "Ramzi BEN YAHIA" <[EMAIL PROTECTED]>
> wrote:
> > Hi guys,
> > I use lift:msgs in my template and specify the error_class, notice_class
> as
> > explained somewhere,
> > it works as expected but not when called within an ajaxCall, the
> class=".."
> > disappears.
> > this happens on 0.9, should I use the snapshot ?
> >
> > Cheers,
> > Ramzi.
> > A Lift user from France.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---