Platform Explorer / Nuxeo Platform 5.8

Extension point gadget

Contribution Descriptors

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-apidoc-webengine-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
    
        <internalGadget name="services">
          <mountPoint>/services</mountPoint>
          <entryPoint>services.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>tasks.png</icon>
        </internalGadget>
    
        <internalGadget name="extensionPoints">
          <mountPoint>/extensionPoints</mountPoint>
          <entryPoint>extensionPoints.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>tasks.png</icon>
        </internalGadget>
    
      </extension>
  • nuxeo-user-activity-stream-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
    
        <internalGadget disabled="false" name="useractivitystream">
          <documentation>
            This gadget displays the activities of a user, or the activities
            of the user's network.
    
            The following user preferences can be used to configure it:
            - activityLinkBuilder: activity link builder name to use to generate
              documents and user URLs
            - activityStreamType: can be 'forActor' to display the activities of
              the user's network, or 'fromActor' to display only the user activities.
            - actor: the actor for which to display the activities,
              default is the current user username.
    
            How to include the useractivitystream gadget in a JSF context:
            <code>
              <div class="gadget-useractivitystream threeQuarterWidth"/>
              <script type="text/javascript">
                jQuery('.gadget-useractivitystream').openSocialGadget({
                  baseURL: '#{baseURL}',
                  language: '#{localeSelector.language}',
                  gadgetDefs: [
                    { specUrl: '#{gadgetsBaseURL}/site/gadgets/useractivitystream/useractivitystream.xml',
                      title: '',
                      userPrefs: {
                        activityLinkBuilder: {
                          value: 'default'
                        },
                        activityStreamType: {
                          value: 'forActor'
                        }
                      },
                      displayTitleBar: false,
                      width: '100%'
                    }
                  ]
                });
              </script>
            </code>
    
            How to include the useractivitystream gadget in a WebEngine page:
            <code>
              <link href="${contextPath}/css/opensocial/light-container-gadgets.css" rel="stylesheet"/>
              <script src="${contextPath}/opensocial/gadgets/js/rpc.js?c=1" type="text/javascript"/>
              <script src="${contextPath}/js/?scripts=jquery.js|opensocial/cookies.js|opensocial/util.js|opensocial/gadgets.js|opensocial/cookiebaseduserprefstore.js|opensocial/jquery.opensocial.gadget.js" type="text/javascript"/>
    
              <div class="gadget-useractivitystream gadgets-gadget-chrome"/>
              <script type="text/javascript">
                $('.gadget-useractivitystream').openSocialGadget({
                  baseURL: '${contextPath}' + '/',
                  language: '${Context.locale.language}',
                  gadgetDefs: [{
                    specUrl : '${Runtime.getProperty('nuxeo.loopback.url')}/site/gadgets/useractivitystream/useractivitystream.xml',
                    userPrefs: {
                      activityLinkBuilder: {
                        value: 'default'
                      },
                      activityStreamType: {
                        value: 'forActor'
                      }
                    },
                    displayTitleBar: false,
                    width: '100%'
                  }]
                });
              </script>
            </code>
          </documentation>
    
          <mountPoint>/useractivitystream</mountPoint>
          <entryPoint>useractivitystream.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>gadget-useractivitystream.png</icon>
        </internalGadget>
    
      </extension>
  • nuxeo-mini-message-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
    
        <internalGadget disabled="false" name="minimessages">
          <documentation>
            This gadget displays the mini messages of a user, or the mini messages
            of the user's network.
    
            The following user preferences can be used to configure it:
            - activityLinkBuilder: activity link builder name to use to generate
              documents and user URLs
            - miniMessagesStreamType: can be 'forActor' to display the mini messages
              of the user's network, or 'fromActor' to display only the user
              mini messages.
            - actor: the actor for which to display the activities,
              default is the current user username.
    
            How to include the minimessages gadget in a JSF context:
            <code>
              <div class="gadget-minimessages threeQuarterWidth"/>
              <script type="text/javascript">
                jQuery('.gadget-minimessages').openSocialGadget({
                  baseURL: '#{baseURL}',
                  language: '#{localeSelector.language}',
                  gadgetDefs: [
                    { specUrl: '#{gadgetsBaseURL}/site/gadgets/minimessages/minimessages.xml',
                      title: '',
                      userPrefs: {
                        activityLinkBuilder: {
                          value: 'default'
                        },
                        miniMessagesStreamType: {
                          value: 'forActor'
                        }
                      },
                      displayTitleBar: false,
                      width: '100%'
                    }
                  ]
                });
              </script>
            </code>
    
            How to include the minimessages gadget in a WebEngine page:
            <code>
              <link href="${contextPath}/css/opensocial/light-container-gadgets.css" rel="stylesheet"/>
              <script src="${contextPath}/opensocial/gadgets/js/rpc.js?c=1" type="text/javascript"/>
              <script src="${contextPath}/js/?scripts=jquery.js|opensocial/cookies.js|opensocial/util.js|opensocial/gadgets.js|opensocial/cookiebaseduserprefstore.js|opensocial/jquery.opensocial.gadget.js" type="text/javascript"/>
    
              <div class="gadget-minimessages gadgets-gadget-chrome"/>
              <script type="text/javascript">
                $('.gadget-minimessages').openSocialGadget({
                  baseURL: '${contextPath}' + '/',
                  language: '${Context.locale.language}',
                  gadgetDefs: [{
                    specUrl : '${Runtime.getProperty('nuxeo.loopback.url')}/site/gadgets/minimessages/minimessages.xml',
                    userPrefs: {
                      activityLinkBuilder: {
                        value: 'default'
                      },
                      miniMessagesStreamType: {
                        value: 'forActor'
                      }
                    },
                    displayTitleBar: false,
                    width: '100%'
                  }]
                });
              </script>
            </code>
          </documentation>
    
          <mountPoint>/minimessages</mountPoint>
          <entryPoint>minimessages.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>gadget-minimessages.png</icon>
        </internalGadget>
    
      </extension>
  • nuxeo-social-workspace-gadgets-library-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
    
        <internalGadget disabled="false" name="library">
          <documentation>
            This gadget displays the mini messages of a user, or the mini messages
            of the user's network.
    
            The following user preferences can be used to configure it:
            - nuxeoTargetContextPath: the path of the document on which to
              initialize the document library
            - documentLinkBuilder: the codec name to use to generate
              documents URLs
    
            How to include the library gadget in a JSF context:
            <code>
              <div class="gadget-library threeQuarterWidth"/>
              <script type="text/javascript">
                jQuery('.gadget-library').openSocialGadget({
                  baseURL: '#{baseURL}',
                  language: '#{localeSelector.language}',
                  gadgetDefs: [
                    { specUrl: '#{gadgetsBaseURL}/site/gadgets/library/library.xml',
                      title: '',
                      userPrefs: {
                        nuxeoTargetContextPath: {
                          value: '#{currentDocument.pathAsString}'
                        },
                        documentLinkBuilder: {
                          value: 'docid'
                        }
                      },
                      displayTitleBar: false,
                      width: '100%'
                    }
                  ]
                });
              </script>
            </code>
    
            How to include the library gadget in a WebEngine page:
            <code>
              <link href="${contextPath}/css/opensocial/light-container-gadgets.css" rel="stylesheet"/>
              <script src="${contextPath}/opensocial/gadgets/js/rpc.js?c=1" type="text/javascript"/>
              <script src="${contextPath}/js/?scripts=jquery.js|opensocial/cookies.js|opensocial/util.js|opensocial/gadgets.js|opensocial/cookiebaseduserprefstore.js|opensocial/jquery.opensocial.gadget.js" type="text/javascript"/>
    
              <div class="gadget-library gadgets-gadget-chrome"/>
              <script type="text/javascript">
                $('.gadget-library').openSocialGadget({
                  baseURL: '${contextPath}' + '/',
                  language: '${Context.locale.language}',
                  gadgetDefs: [{
                    specUrl : '${Runtime.getProperty('nuxeo.loopback.url')}/site/gadgets/library/library.xml',
                    userPrefs: {
                      nuxeoTargetContextPath: {
                        value: '${doc.pathAsString}'
                      },
                      documentLinkBuilder: {
                        value: 'docid'
                      }
                    },
                    displayTitleBar: false,
                    width: '100%'
                  }]
                });
              </script>
            </code>
          </documentation>
    
          <mountPoint>/library</mountPoint>
          <directory>library</directory>
          <entryPoint>library.xml</entryPoint>
          <category>gadget.category.social.workspace.private</category>
          <icon>gadget-library.png</icon>
        </internalGadget>
    
      </extension>
  • nuxeo-opensocial-gadgets-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
    
        <!-- Nuxeo -->
        <internalGadget disabled="false" name="quicksearch">
          <mountPoint>/quicksearch</mountPoint>
          <entryPoint>quicksearch.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>gadget-quicksearch.png</icon>
        </internalGadget>
        <internalGadget name="tasks">
          <mountPoint>/tasks</mountPoint>
          <entryPoint>tasks.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>my_tasks.png</icon>
        </internalGadget>
        <internalGadget name="userworkspaces">
          <mountPoint>/userworkspaces</mountPoint>
          <entryPoint>userworkspaces.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>user_workspace.png</icon>
        </internalGadget>
        <internalGadget name="userdocuments">
          <mountPoint>/userdocuments</mountPoint>
          <entryPoint>userdocuments.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>note_64.png</icon>
        </internalGadget>
        <internalGadget name="usersites">
          <mountPoint>/usersites</mountPoint>
          <entryPoint>usersites.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>user_sites.png</icon>
        </internalGadget>
        <internalGadget name="lastpublisheddocuments">
          <mountPoint>/lastpublisheddocuments</mountPoint>
          <entryPoint>lastpublisheddocuments.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>last_published_document.png</icon>
        </internalGadget>
        <internalGadget name="lastdocuments">
          <mountPoint>/lastdocuments</mountPoint>
          <entryPoint>lastdocuments.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>last_document.png</icon>
        </internalGadget>
        <internalGadget name="userdeleteddocuments">
          <mountPoint>/userdeleteddocuments</mountPoint>
          <entryPoint>userdeleteddocuments.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>user_deleted_documents.png</icon>
        </internalGadget>
    
        <!-- Monitoring -->
        <internalGadget disabled="false" name="httpMonitoring">
          <mountPoint>/httpMonitoring</mountPoint>
          <entryPoint>httpMonitoring.xml</entryPoint>
          <category>gadget.category.monitoring</category>
          <icon>monitoring.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="eventMonitoring">
          <mountPoint>/eventMonitoring</mountPoint>
          <entryPoint>eventMonitoring.xml</entryPoint>
          <category>gadget.category.monitoring</category>
          <icon>monitoring.png</icon>
        </internalGadget>
    
        <!-- Media -->
        <internalGadget name="photo">
          <mountPoint>/photo</mountPoint>
          <entryPoint>photo.xml</entryPoint>
          <category>gadget.category.media</category>
          <icon>photo_icon.png</icon>
        </internalGadget>
        <internalGadget name="flash">
          <mountPoint>/flash</mountPoint>
          <entryPoint>flash.xml</entryPoint>
          <category>gadget.category.media</category>
          <icon>flash_icon.png</icon>
        </internalGadget>
        <internalGadget name="video">
          <mountPoint>/video</mountPoint>
          <entryPoint>video.xml</entryPoint>
          <category>gadget.category.media</category>
          <icon>video_icon.png</icon>
        </internalGadget>
    
        <!-- Utilities -->
        <internalGadget name="meteo">
          <mountPoint>/meteo</mountPoint>
          <entryPoint>meteo.xml</entryPoint>
          <category>gadget.category.utilities</category>
          <icon>meteo_icon.png</icon>
        </internalGadget>
        <internalGadget name="bookmarks">
          <mountPoint>/bookmarks</mountPoint>
          <entryPoint>bookmarks.xml</entryPoint>
          <category>gadget.category.utilities</category>
          <icon>bookmarks_icon.png</icon>
        </internalGadget>
        <internalGadget name="richtext">
          <mountPoint>/richtext</mountPoint>
          <entryPoint>richtext.xml</entryPoint>
          <category>gadget.category.utilities</category>
          <icon>richtext_icon.png</icon>
        </internalGadget>
        <internalGadget name="todolist">
          <mountPoint>/todolist</mountPoint>
          <entryPoint>toDoList.xml</entryPoint>
          <category>gadget.category.utilities</category>
          <icon>todolist_icon.png</icon>
        </internalGadget>
        <internalGadget name="note">
          <mountPoint>/note</mountPoint>
          <entryPoint>note.xml</entryPoint>
          <category>gadget.category.utilities</category>
          <icon>note_icon.png</icon>
        </internalGadget>
    
      </extension>
  • nuxeo-agenda-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
        <documentation>
          This gadget displays incoming and past events readable by the current User. 
          Added into a SocialWorkspace, it displays only SocialWorkspace events.
    
          You have the possibility to display incoming events from:
          - a day
          - a week
          - a month
    
          How to include the agenda gadget in a JSF context:
          <code>
            <div class="gadget-agenda threeQuarterWidth"/>
            <script type="text/javascript">
              jQuery('.gadget-agenda').openSocialGadget({
                baseURL: '#{baseURL}',
                language: '#{localeSelector.language}',
                gadgetDefs: [
                  { specUrl: '#{gadgetsBaseURL}/site/gadgets/agenda/agenda.xml',
                    title: 'My most liked document',
                    userPrefs: { },
                    displayTitleBar: false,
                    width: '100%'
                  }
                ]
              });
            </script>
          </code>
    
          How to include the agenda gadget in a WebEngine page:
          <code>
            <link href="${contextPath}/css/opensocial/light-container-gadgets.css" rel="stylesheet"/>
            <script src="${contextPath}/opensocial/gadgets/js/rpc.js?c=1" type="text/javascript"/>
            <script src="${contextPath}/js/?scripts=jquery.js|opensocial/cookies.js|opensocial/util.js|opensocial/gadgets.js|opensocial/cookiebaseduserprefstore.js|opensocial/jquery.opensocial.gadget.js" type="text/javascript"/>
    
            <div class="gadget-agenda gadgets-gadget-chrome"/>
            <script type="text/javascript">
              $('.gadget-agenda').openSocialGadget({
                baseURL: '${contextPath}' + '/',
                language: '${Context.locale.language}',
                gadgetDefs: [{
                  specUrl : '${Runtime.getProperty('nuxeo.loopback.url')}/site/gadgets/agenda/agenda.xml',
                  userPrefs: { },
                  displayTitleBar: false,
                  width: '100%'
                }]
              });
            </script>
          </code>
        </documentation>
        <internalGadget disabled="false" name="agenda">
          <mountPoint>/agenda</mountPoint>
          <entryPoint>agenda.xml</entryPoint>
          <category>gadget.category.utilities</category>
          <icon>gadget-agenda.png</icon>
        </internalGadget>
      </extension>
  • nuxeo-rating-gadget-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
    
        <internalGadget disabled="false" name="mostLiked">
          <documentation>
            This gadget allows user to list most liked document from a Social Workspace or from a SuperSpace if it is added in the User Home.
            It's possible to display most liked documents from a range of date:
            - this week
            - this month
            - last week
            - last month
            - ever
    
            The following user preferences can be used to configure it:
            - contextPath: stores the last selected SuperSpace in case that the gadget is not in a Social Workspace (targetContextPath empty.)
            - dateRange: default dateRange selected, possible value: ever, this_week, this_month, last_week, last_month. Ever is the default one.
    
            How to include mostLiked gadget in a JSF context:
            <code>
              <div class="gadget-mostLiked threeQuarterWidth"/>
              <script type="text/javascript">
                jQuery('.gadget-mostLiked').openSocialGadget({
                  baseURL: '#{baseURL}',
                  language: '#{localeSelector.language}',
                  gadgetDefs: [
                    { specUrl: '#{gadgetsBaseURL}/site/gadgets/mostLiked/mostLiked.xml',
                      title: 'My most liked document',
                      userPrefs: {
                        contextPath: {
                          value: '/default-domain/'
                        },
                        dateRange: {
                          value: 'last_week'
                        }
                      },
                      displayTitleBar: false,
                      width: '100%'
                    }
                  ]
                });
              </script>
            </code>
    
            How to include the wall gadget in a WebEngine page:
            <code>
              <link href="${contextPath}/css/opensocial/light-container-gadgets.css" rel="stylesheet"/>
              <script src="${contextPath}/opensocial/gadgets/js/rpc.js?c=1" type="text/javascript"/>
              <script src="${contextPath}/js/?scripts=jquery.js|opensocial/cookies.js|opensocial/util.js|opensocial/gadgets.js|opensocial/cookiebaseduserprefstore.js|opensocial/jquery.opensocial.gadget.js" type="text/javascript"/>
    
              <div class="gadget-mostLiked gadgets-gadget-chrome"/>
              <script type="text/javascript">
                $('.gadget-mostLiked').openSocialGadget({
                  baseURL: '${contextPath}' + '/',
                  language: '${Context.locale.language}',
                  gadgetDefs: [{
                    specUrl : '${Runtime.getProperty('nuxeo.loopback.url')}/site/gadgets/mostLiked/mostLiked.xml',
                    userPrefs: {
                      contextPath: {
                        value: '/default-domain/'
                      },
                      dateRange: {
                        value: 'last_week'
                      }
                    },
                    displayTitleBar: false,
                    width: '100%'
                  }]
                });
              </script>
            </code>
          </documentation>
          <mountPoint>/mostLiked</mountPoint>
          <entryPoint>mostLiked.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>gadget-mostLiked.png</icon>
        </internalGadget>
    
      </extension>
  • nuxeo-poll-gadget-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
    
        <internalGadget disabled="false" name="polls">
          <mountPoint>/polls</mountPoint>
          <entryPoint>polls.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>gadget-polls.png</icon>
        </internalGadget>
    
      </extension>
  • nuxeo-social-workspace-gadgets-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
    
        <internalGadget disabled="false" name="articles">
          <mountPoint>/articles</mountPoint>
          <entryPoint>articles.xml</entryPoint>
          <category>gadget.category.social.workspace.private</category>
          <icon>gadget-article.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="publicarticles">
          <mountPoint>/publicarticles</mountPoint>
          <entryPoint>publicarticles.xml</entryPoint>
          <category>gadget.category.social.workspace.public</category>
          <icon>gadget-article.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="news">
          <mountPoint>/news</mountPoint>
          <entryPoint>news.xml</entryPoint>
          <category>gadget.category.social.workspace.public</category>
          <icon>gadget-news.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="join">
          <mountPoint>/join</mountPoint>
          <directory>join</directory>
          <entryPoint>join.xml</entryPoint>
          <category>gadget.category.social.workspace.public</category>
          <icon>gadget-join.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="members">
          <mountPoint>/members</mountPoint>
          <directory>members</directory>
          <entryPoint>members.xml</entryPoint>
          <category>gadget.category.social.workspace.private</category>
          <icon>members.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="usersocialworkspaces">
          <mountPoint>/usersocialworkspaces</mountPoint>
          <directory>usersocialworkspaces</directory>
          <entryPoint>usersocialworkspaces.xml</entryPoint>
          <category>gadget.category.social.workspace.private</category>
          <icon>user_socialworkspaces.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="publicdocuments">
          <mountPoint>/publicdocuments</mountPoint>
          <directory>publicdocuments</directory>
          <entryPoint>publicdocuments.xml</entryPoint>
          <category>gadget.category.social.workspace.public</category>
          <icon>publicdocuments.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="publicsocialworkspaces">
          <mountPoint>/publicsocialworkspaces</mountPoint>
          <directory>publicsocialworkspaces</directory>
          <entryPoint>publicsocialworkspaces.xml</entryPoint>
          <category>gadget.category.social.workspace.public</category>
          <icon>public_social_workspaces.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="socialworkspaceactivitystream">
          <documentation>
            This gadget displays the activities of a Social Workspace.
    
            The following user preferences can be used to configure it:
            - nuxeoTargetContextPath: the path of the Social Workspace for which
              to retrieve the activities
            - activityLinkBuilder: activity link builder name to use to generate
              documents and user URLs
    
            How to include the socialworkspaceactivitystream gadget in a JSF context:
            <code>
              <div class="gadget-socialworkspaceactivitystream threeQuarterWidth"/>
              <script type="text/javascript">
                jQuery('.gadget-socialworkspaceactivitystream').openSocialGadget({
                  baseURL: '#{baseURL}',
                  language: '#{localeSelector.language}',
                  gadgetDefs: [
                    { specUrl: '#{gadgetsBaseURL}/site/gadgets/socialworkspaceactivitystream/socialworkspaceactivitystream.xml',
                      title: '',
                      userPrefs: {
                        activityLinkBuilder: {
                          value: 'default'
                        },
                        nuxeoTargetContextPath: {
                          value: '#{currentDocument.pathAsString}'
                        }
                      },
                      displayTitleBar: false,
                      width: '100%'
                    }
                  ]
                });
              </script>
            </code>
    
            How to include the socialworkspaceactivitystream gadget in a WebEngine page:
            <code>
              <link href="${contextPath}/css/opensocial/light-container-gadgets.css" rel="stylesheet"/>
              <script src="${contextPath}/opensocial/gadgets/js/rpc.js?c=1" type="text/javascript"/>
              <script src="${contextPath}/js/?scripts=jquery.js|opensocial/cookies.js|opensocial/util.js|opensocial/gadgets.js|opensocial/cookiebaseduserprefstore.js|opensocial/jquery.opensocial.gadget.js" type="text/javascript"/>
    
              <div class="gadget-socialworkspaceactivitystream gadgets-gadget-chrome"/>
              <script type="text/javascript">
                $('.gadget-socialworkspaceactivitystream').openSocialGadget({
                  baseURL: '${contextPath}' + '/',
                  language: '${Context.locale.language}',
                  gadgetDefs: [{
                    specUrl : '${Runtime.getProperty('nuxeo.loopback.url')}/site/gadgets/socialworkspaceactivitystream/socialworkspaceactivitystream.xml',
                    userPrefs: {
                      activityLinkBuilder: {
                        value: 'default'
                      },
                      nuxeoTargetContextPath: {
                        value: '${doc.pathAsString}'
                      }
                    },
                    displayTitleBar: false,
                    width: '100%'
                  }]
                });
              </script>
            </code>
          </documentation>
    
          <mountPoint>/socialworkspaceactivitystream</mountPoint>
          <directory>socialworkspaceactivitystream</directory>
          <entryPoint>socialworkspaceactivitystream.xml</entryPoint>
          <category>gadget.category.social.workspace.private</category>
          <icon>gadget-socialworkspaceactivitystream.png</icon>
        </internalGadget>
    
        <internalGadget disabled="false" name="socialworkspaceminimessages">
          <documentation>
            This gadget displays the mini messages of a Social Workspace.
    
            The following user preferences can be used to configure it:
            - nuxeoTargetContextPath: the path of the Social Workspace for which
              to retrieve the mini messages
            - activityLinkBuilder: activity link builder name to use to generate
              documents and user URLs
    
            How to include the socialworkspaceminimessages gadget in a JSF context:
            <code>
              <div class="gadget-socialworkspaceminimessages threeQuarterWidth"/>
              <script type="text/javascript">
                jQuery('.gadget-socialworkspaceminimessages').openSocialGadget({
                  baseURL: '#{baseURL}',
                  language: '#{localeSelector.language}',
                  gadgetDefs: [
                    { specUrl: '#{gadgetsBaseURL}/site/gadgets/socialworkspaceminimessages/socialworkspaceminimessages.xml',
                      title: '',
                      userPrefs: {
                        activityLinkBuilder: {
                          value: 'default'
                        },
                        nuxeoTargetContextPath: {
                          value: '#{currentDocument.pathAsString}'
                        }
                      },
                      displayTitleBar: false,
                      width: '100%'
                    }
                  ]
                });
              </script>
            </code>
    
            How to include the socialworkspaceminimessages gadget in a WebEngine page:
            <code>
              <link href="${contextPath}/css/opensocial/light-container-gadgets.css" rel="stylesheet"/>
              <script src="${contextPath}/opensocial/gadgets/js/rpc.js?c=1" type="text/javascript"/>
              <script src="${contextPath}/js/?scripts=jquery.js|opensocial/cookies.js|opensocial/util.js|opensocial/gadgets.js|opensocial/cookiebaseduserprefstore.js|opensocial/jquery.opensocial.gadget.js" type="text/javascript"/>
    
              <div class="gadget-socialworkspaceminimessages gadgets-gadget-chrome"/>
              <script type="text/javascript">
                $('.gadget-socialworkspaceminimessages').openSocialGadget({
                  baseURL: '${contextPath}' + '/',
                  language: '${Context.locale.language}',
                  gadgetDefs: [{
                    specUrl : '${Runtime.getProperty('nuxeo.loopback.url')}/site/gadgets/socialworkspaceminimessages/socialworkspaceminimessages.xml',
                    userPrefs: {
                      activityLinkBuilder: {
                        value: 'default'
                      },
                      nuxeoTargetContextPath: {
                        value: '${doc.pathAsString}'
                      }
                    },
                    displayTitleBar: false,
                    width: '100%'
                  }]
                });
              </script>
            </code>
          </documentation>
          <mountPoint>/socialworkspaceminimessages</mountPoint>
          <directory>socialworkspaceminimessages</directory>
          <entryPoint>socialworkspaceminimessages.xml</entryPoint>
          <category>gadget.category.social.workspace.private</category>
          <icon>gadget-socialworkspaceminimessages.png</icon>
        </internalGadget>
    
      </extension>
  • nuxeo-wall-5.8.jar
    <extension point="gadget" target="org.nuxeo.opensocial.gadgets.service">
    
        <internalGadget disabled="false" name="wall">
          <documentation>
            This gadget displays a Wall for a given document
            (document created / modified, messages, ...)
    
            The following user preferences can be used to configure it:
            - nuxeoTargetContextPath: the path of the document on which to
            initialize the wall
            - activityStreamName: the activity stream to use to retrieve the
            configured list of activity verbs to get
    
            How to include the wall gadget in a JSF context:
            <code>
              <div class="gadget-wall threeQuarterWidth"/>
              <script type="text/javascript">
                jQuery('.gadget-wall').openSocialGadget({
                  baseURL: '#{baseURL}',
                  language: '#{localeSelector.language}',
                  gadgetDefs: [
                    { specUrl: '#{gadgetsBaseURL}/site/gadgets/wall/wall.xml',
                      title: '',
                      userPrefs: {
                        nuxeoTargetContextPath: {
                          value: '#{currentDocument.pathAsString}'
                        },
                        activityStreamName: {
                          value: 'defaultWallActivityStream'
                        }
                      },
                      displayTitleBar: false,
                      width: '100%'
                    }
                  ]
                });
              </script>
            </code>
    
            How to include the wall gadget in a WebEngine page:
            <code>
              <link href="${contextPath}/css/opensocial/light-container-gadgets.css" rel="stylesheet"/>
              <script src="${contextPath}/opensocial/gadgets/js/rpc.js?c=1" type="text/javascript"/>
              <script src="${contextPath}/js/?scripts=jquery.js|opensocial/cookies.js|opensocial/util.js|opensocial/gadgets.js|opensocial/cookiebaseduserprefstore.js|opensocial/jquery.opensocial.gadget.js" type="text/javascript"/>
    
              <div class="gadget-wall gadgets-gadget-chrome"/>
              <script type="text/javascript">
                $('.gadget-wall').openSocialGadget({
                  baseURL: '${contextPath}' + '/',
                  language: '${Context.locale.language}',
                  gadgetDefs: [{
                    specUrl : '${Runtime.getProperty('nuxeo.loopback.url')}/site/gadgets/wall/wall.xml',
                    userPrefs: {
                      nuxeoTargetContextPath: {
                        value: '${doc.pathAsString}'
                      },
                      activityStreamName: {
                        value: 'defaultWallActivityStream'
                      }
                    },
                    displayTitleBar: false,
                    width: '100%'
                  }]
                });
              </script>
            </code>
          </documentation>
    
          <mountPoint>/wall</mountPoint>
          <entryPoint>wall.xml</entryPoint>
          <category>Nuxeo</category>
          <icon>gadget-wall.png</icon>
        </internalGadget>
    
      </extension>