Hello,

I found the way to add some nxdir:selectOneListbox in a new document type.
The widget has to be defined like this :

<widget jsfcomponent="nxdir:selectOneListbox" schemaname="profil"
          fieldname="continent" directory="continent" />

Note : I added in the profil.xsd schema a string type named "continent" just for
the exemple...
Note 2 : the directory name I chose was "continent" because it already exists.

But I realy want to create new directory type (more than country and continent
:) )
I heard that I have to define the directory and I have to create a SQL script to
fill a database.
To create the SQL script I think that I can use the file nxsqldirectory.script
and add inside a new TABLE and some data in the table.
But how to activate this new directory to be available in Nuxeo 5?

Thak you.

Damien
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to