Vocabularies List

View: New views
14 Messages — Rating Filter:   Alert me  

Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello,

I *was* using nuxeo-ep-5.2.1-SNAPSHOT before and my registered directories were well in the page "vocabularies". The user could manage those.
------------------------------
I'm using nuxeo-dm-5.2.1-I20090907_0306  now.
in the page "vocabularies" I have a vocabulary list with generals info (topics, subjects, ..).
-----------------------------------------
I would like to add my registered directories in the vocabularies 's list.


At now, I use a OSGI-INF/directories-contrib.xml with this :

 <extension target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory"
    point="directories"
  >
  <directory name="excipients">
      <schema>vocabulary</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <table>excipients</table>
      <idField>id</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <dataFile>directories/excipients.csv</dataFile>
      <createTablePolicy>on_missing_columns
      </createTablePolicy>
    </directory>
</extension>

thanks
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8285>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
This change is part of http://jira.nuxeo.org/browse/NXP-2654 which is not finished yet, but will be (as well as properly documented) for the 5.2.1 release.
Directories using the "vocabulary" or "xvocabulary" used to be displayed on the vocabulary management screen directly. This is now done with additional configuration using layouts, so that some vocabularies can be hidden, and also so that vocabularies using other schemas can be displayed.
The xml contribution will probably not change until the 5.2.1 release (but other stuff will). You can try to configure it as for default vocabularies, see: http://hg.nuxeo.org/nuxeo/nuxeo-dm/file/df9b7b3ba5d2/nuxeo-platform-default-config/src/main/resources/OSGI-INF/nxdirectories-contrib.xml (see the end of the file).

To sum up, add a contribution with:
<extension target="org.nuxeo.ecm.directory.ui.DirectoryUIManager" point="directories">
  <directory name="excipients" layout="vocabulary" sortField="label" />
</extension>
--
Posted by "atchertchian" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8292>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I make the changes about my directories-contrib. but without results when nuxeo is deploying. The directory is wel registred but I can't see it in the section "vocabularies".

Question : Have I to register a layout "vocabulary" ?

I tried this one :

_*directories-contrib.xml :*_
 
<component name="be.pcsol.directoryKeywords">

  <extension target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory"
    point="directories"
  >
    <directory name="excipients">
      <schema>vocabulary</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <table>excipients</table>
      <idField>id</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <dataFile>directories/excipients.csv
      </dataFile>
      <createTablePolicy>on_missing_columns
      </createTablePolicy>
    </directory>
   
  </extension>


  <extension target="org.nuxeo.ecm.directory.ui.DirectoryUIManager"
    point="directories" >

    <directory name="excipients" layout="vocabulary"
      sortField="label" />

  </extension>


</component>
----------------------------------------------------------------------------------------------------------------------------

_*Result in server.log :* _

*[ComponentManager] Registering component: service:be.pcsol.directoryKeywords*
10:09:30,546 INFO  [SQLDirectoryFactory] Registered directory: excipients
10:09:30,547 INFO  [SQLDirectoryFactory] Registered directory: excipients
...
10:09:46,110 INFO  [Initialization] Installing components...
10:09:46,126 INFO  [Component] Component: FileManageActions, scope: EVENT, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.filemanager.FileManageActionsBean
10:09:46,141 INFO  [Component] Component: NuxeoSeamConfigurator, scope: APPLICATION, type: JAVA_BEAN, class: org.nuxeo.ecm.platform.ui.web.util.SeamConfigurator
10:09:46,144 INFO  [Component] Component: SeamRemotingJSBuilderService, scope: STATELESS, type: JAVA_BEAN, class: org.nuxeo.ecm.platform.ui.web.seamremoting.SeamRemotingJSBuilderComponent
10:09:46,146 INFO  [Component] Component: WebcontainerThemeActions, scope: PAGE, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.webcontainer.ThemeActionsBean
10:09:46,147 INFO  [Component] Component: actionContextProvider, scope: STATELESS, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.action.ActionContextProvider
10:09:46,150 INFO  [Component] Component: actionManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.delegate.ActionManagerBusinessDelegate
10:09:46,154 INFO  [Component] Component: adminPublishActions, scope: CONVERSATION, type: JAVA_BEAN, class: org.nuxeo.ecm.platform.publisher.web.AdministrationPublishActions
10:09:46,159 INFO  [Component] Component: anonymousLoginManager, scope: SESSION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.security.AnonymousLoginManager
10:09:46,163 INFO  [Component] Component: appNameFactory, scope: STATELESS, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.helpers.NuxeoProductNameFactory
10:09:46,163 INFO  [Component] Component: blobHolderGenerator, scope: EVENT, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.filemanager.BlobHolderGenerator
10:09:46,166 INFO  [Component] Component: breadcrumbActions, scope: STATELESS, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.navigation.BreadcrumbActionsBean
10:09:46,168 INFO  [Component] Component: chainSelectActions, scope: SESSION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.directory.ChainSelectActionsBean
10:09:46,175 INFO  [Component] Component: clipboardActions, scope: SESSION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.clipboard.ClipboardActionsBean
10:09:46,185 INFO  [Component] Component: commentManagerActions, scope: CONVERSATION, type: JAVA_BEAN, class: org.nuxeo.ecm.platform.comment.web.CommentManagerActionsBean
10:09:46,189 INFO  [Component] Component: contentHistoryActions, scope: EVENT, type: JAVA_BEAN, class: org.nuxeo.ecm.platform.audit.web.listener.ejb.ContentHistoryActionsBean
10:09:46,196 INFO  [Component] Component: contentRootsActions, scope: SESSION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.contentbrowser.ContentRootsActionsBean
10:09:46,204 INFO  [Component] Component: conversationDocumentsListsManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.documentsLists.ConversationDocumentsListsManager
10:09:46,206 INFO  [Component] Component: conversationIdGenerator, scope: SESSION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.helpers.ConversationIdGenerator
10:09:46,208 INFO  [Component] Component: conversationTrashManager, scope: APPLICATION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.trashManagement.ConversationTrashManager
10:09:46,209 INFO  [Component] Component: conversionActions, scope: EVENT, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.action.ConversionActionBean
10:09:46,228 INFO  [Component] Component: createDocumentRestlet, scope: EVENT, type: JAVA_BEAN, class: org.nuxeo.ecm.platform.ui.web.restAPI.CreateDocumentRestlet
10:09:46,230 INFO  [Component] Component: creationContainerListRestlet, scope: EVENT, type: JAVA_BEAN, class: org.nuxeo.ecm.platform.ui.web.restAPI.CreationContainerListRestlet
10:09:46,234 INFO  [Component] Component: dashboardActions, scope: CONVERSATION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.dashboard.DashBoardActionsBean
10:09:46,239 INFO  [Component] Component: deleteActions, scope: EVENT, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.action.DeleteActionsBean
10:09:46,243 INFO  [Component] Component: directoryTreeManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.directory.DirectoryTreeManagerBean
10:09:46,246 INFO  [Component] Component: directoryUIActions, scope: CONVERSATION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.directory.DirectoryUIActionsBean
10:09:46,249 INFO  [Component] Component: directoryUIManager, scope: SESSION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.delegate.DirectoryUIManagerBusinessDelegate
10:09:46,251 INFO  [Component] Component: documentActions, scope: CONVERSATION, type: JAVA_BEAN, class: org.nuxeo.ecm.webapp.contentbrowser.DocumentActionsBean
...
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8295>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

after a few moment test, I can see in my server.log the layout "vocabulary" is well registred.

there is extract of server.log :

11:30:11,405 INFO  [ComponentManager] Registering component: service:org.nuxeo.ecm.platform.forms.layouts.webapp
11:30:11,407 INFO  [WebLayoutManagerImpl] Registered layout: heading
11:30:11,407 INFO  [WebLayoutManagerImpl] Registered layout: dublincore
11:30:11,407 INFO  [WebLayoutManagerImpl] Registered layout: file
11:30:11,407 INFO  [WebLayoutManagerImpl] Registered layout: note
11:30:11,407 INFO  [WebLayoutManagerImpl] Registered layout: files
11:30:11,407 INFO  [WebLayoutManagerImpl] Registered layout: user
11:30:11,407 INFO  [WebLayoutManagerImpl] Registered layout: group
11:30:11,407 INFO  [WebLayoutManagerImpl] Registered layout: user_group_suggestion
11:30:11,407 INFO  [WebLayoutManagerImpl] Registered layout: user_group_prefixed_suggestion
11:30:11,408 INFO  [ComponentManager] Registering component: service:org.nuxeo.ecm.platform.webapp.core.ExceptionHandlingContrib
11:30:11,413 INFO  [ComponentManager] Registering component: service:org.nuxeo.ecm.platform.webapp.lifecycle.listener
11:30:11,416 INFO  [ComponentManager] Registering component: service:org.nuxeo.ecm.platform.ui.web.SeamRemotingJSBuilderComponent.coreContrib
11:30:11,417 INFO  [ComponentManager] Registering component: service:org.nuxeo.ecm.webapp.directory.directoryUI
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered widget: vocabulary_id
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered widget: vocabulary_label
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered widget: vocabulary_obsolete
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered widget: vocabulary_order
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered widget: xvocabulary_id
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered widget: xvocabulary_label
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered widget: xvocabulary_obsolete
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered widget: xvocabulary_order
*11:30:11,418 INFO  [WebLayoutManagerImpl] Registered layout: vocabulary*
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered layout: country_vocabulary
11:30:11,418 INFO  [WebLayoutManagerImpl] Registered layout: subtopic_vocabulary
11:30:11,485 INFO  [JBossOSGiAdapter] Installing OSGi bundle: file:/Users/mgd/Servers/nuxeo-dm-5.2.1-I20090907_0306/server/default/deploy/nuxeo.ear/system/nuxeo-platform-syndication-5.2.1-I20090907_0306.jar
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8296>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

and now ...
it works
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8298>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

with common vocabulary It likes working.
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8299>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry I don't understand.
Does it work correctly? Did you get any problem?
--
Posted by "atchertchian" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8313>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yes it works . tyvm.
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8335>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How does it works to update automatically the nxdir cbx in my layouts with the vocabularies edit ?
I explain a little more :
I have some cbx using nxdir tags, relayed to directories.
If I the end-user use his browser to modify or add some vocabularies, the relayed info in the cbx does not udpate.

Can someone give me some help to update all my cbx with vocabulary ? thanks
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8580>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

update ?
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8581>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by Vincent Dutat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I recently opened a Jira issue about it :
http://jira.nuxeo.org/browse/NXP-4171

--


Vincent Dutat

for any given software, the moment you manage to master it, a new
version appears.

jiveforums-ecm@... wrote:

> How does it works to update automatically the nxdir cbx in my layouts with the vocabularies edit ?
> I explain a little more :
> I have some cbx using nxdir tags, relayed to directories.
> If I the end-user use his browser to modify or add some vocabularies, the relayed info in the cbx does not udpate.
>
> Can someone give me some help to update all my cbx with vocabulary ? thanks
> --
> Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8580>
> _______________________________________________
> ECM mailing list
> ECM@...
> http://lists.nuxeo.com/mailman/listinfo/ecm
> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>


_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Vocabulary entries are cached, so that may be the problem.
Can you confirm that after a server restart, new values are availble?
Thanks
--
Posted by "atchertchian" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8583>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, after the restart the new entries aren't updates.
Modify works well.
--
Posted by "meghRF4" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8584>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Vocabularies List

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This will be fixed for 5.3 GA, see http://jira.nuxeo.org/browse/NXP-4171
--
Posted by "fguillaume" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2855#8588>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm