Jahia Dev Forum > Add bookmark with...

0 (0 Good)
0 (0 Bad)

Add bookmark with custom function

by  jcp »  2011/06/07 20:42

Hi, 

I'm having trouble with create new bookmarks using a button in my page (who calls my function). I want the same effect than the "add to my bookmark" button in the GWT toolbar.

I can get all the bookmarks for the user with JahiaPreferencesProvider and display them in my page. (It's pretty like the class org.jahia.services.toolbar.resolver.impl.BookmarksItemsResolver.java)

But when I want to create a new BookmarksJahiaPreference of my node, this one isn't store. 
Is there something I forget, like add this bookmark in the list of bookmarks? If it is, how can I do it?

Sincerely 

Jean-Charles

  • Add bookmark with custom function
    2011/07/08 14:49

    jcp <p> Hi,&nbsp;<br /> <br /> I&#39;m having trouble with create new bookmarks using a button in my page (who calls my function). I want the same effect than the &quot;add to my bookmark&quot; button in the GWT toolbar.<br /> <br /> I can get all the bookmarks for the user with JahiaPreferencesProvider and display them in my page. (It&#39;s pretty like the class org.jahia.services.toolbar.resolver.impl.BookmarksItemsResolver.java)<br /> <br /> But when I want to create a new BookmarksJahiaPreference of my node, this one isn&#39;t store.&nbsp;<br /> Is there something I forget, like add this bookmark in the list of bookmarks? If it is, how can I do it?<br /> <br /> Sincerely&nbsp;<br /> <br /> Jean-Charles</p>

  • Number of messages  11
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Add bookmark with custom function

    by  airdowcom »  2011/06/07 20:42

  • Re: Add bookmark with custom function
    2011/07/08 14:49

    airdowcom <p> keep it up ,<br /> <a href="http://www.airdow.com/">Air Purifiers</a><br /> <a href="http://www.airdow.com/">Ventilation Systems</a></p>

  • Number of messages  1
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page