[Seaside] Anyone using Bootstrap popover with HTML (seaside
comp) contents?
Karsten Kusche
karsten at heeg.de
Mon Dec 15 17:25:43 UTC 2014
Hi Mariano,
try that:
htmlCode := WARenderCanvas builder render:[:r |
r input on: #name of: self.
].
html div attributeAt:'data-content' put:htmlCode.
Kind Regards
Karsten
--
Karsten Kusche - Dipl. Inf. (FH) - karsten at heeg.de (mailto:karsten at heeg.de)
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812
Am Montag, 15. Dezember 2014 um 18:21 schrieb Mariano Martinez Peck:
> Hi guys,
>
> I want to render some component in a Bootstrap popover. In my scenario a popover is better than a JQDialog. I saw that is is indeed possible to render html in a popover: http://stackoverflow.com/questions/13202762/html-inside-twitter-bootstrap-popover
>
> However....I am not sure how to do that from Seaside. I know I can do:
>
> self attributeAt: 'data-content' put: howDoIGetThis
>
> But I am not sure how to set the html generated from a seaside component. And even worst, my html will have some some inputs so I do need callbacks working.
>
> Has anyone have done this before? I know how to do it with JQDialog but I would prefer a popover.
>
> Any advice?
>
> Thanks in advance,
>
> --
> Mariano
> http://marianopeck.wordpress.com
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org (mailto:seaside at lists.squeakfoundation.org)
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20141215/662233bd/attachment.htm
More information about the seaside
mailing list