[Seaside] How to use bootstrap popover ?

Mariano Martinez Peck marianopeck at gmail.com
Sun Mar 27 13:15:21 UTC 2016


That looks correct to me. Did you checked in the console of Chrome's
developer tool to see if there was a JS error ?

On Sat, Mar 26, 2016 at 8:59 AM, Thomas Heniart <heniart.thomas at gmail.com>
wrote:

> Hi guys,
>
> I tried to use the bootstrap popover but unfortunately I can't make it
> work and I don't know why
>
> I work on a really simple example, just a component register with
> JQDevelopmentLibrary and TBSDevelopmentLibrary.
>
> The content of renderContentOn: is
>         html script: 'initialize_popover()'.
> html tbsButton
> beDefault;
> attributeAt: 'data-toggle' put: 'popover';
> attributeAt: 'title' put: 'Popover test';
> attributeAt: 'data-placement' put: 'right';
> attributeAt: 'data-content' put: 'This is a test';
> with: 'Button popover test'
>
> And the js method initialize_popover() is define in script method of my
> component with $("[data-toggle = 'popover']").popover()
>
> And that's all
>
> Then I load this little app, no error in the debugger but when I click on
> my button, the popover doesn't appear
>
> Maybe I'm missing something but I don't know what :/
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20160327/6d0f862a/attachment-0001.htm


More information about the seaside mailing list