Issue (View Online)

Key: NXP-888
Issue Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Bogdan Tatar
Reporter: Florent Guillaume

Operations

View all
View comments
View history
Recursive directory vocabulary select 
Updated: 25/04/07 14:29   Created: 25/04/07 14:29  

Project: Nuxeo Enterprise Platform 5
Fix Versions: 5.1 M3

 Description   
The purpose of this task is to provide an extension of NXP-191 (tree-based selects) but based on a single underlying directory which represents the whole hierarchy.

The structure of the directory is also based on the schema "xvocabulary" but the column "parent" has a different meaning than for NXP-191. In our case, we want the parent to be a reference to the "id" of another row, or NULL. So for example the table:

parent id label
----------------------
NULL foo Foo
foo bar Bar
bar gee Gee

Would represent a tree with the entries:
foo
foo/bar
foo/bar/gee

And these values (concatenated with an appropriate separator, not necessarily '/') are the ones to store in the document when a value is selected.

Note:
- a value can be selected at any level
- the cases of nxdir:selectOneListbox and nxdir:selectManyListbox must both be taken into account
- the same label configuration options than in NXP-191 must be available

Regarding the UI, JSF will require a fixed set of components even though we want them to dynamically appear/disappear when a level is selected. It's acceptable to have in the xhtml a fixed limited number of nxdir:chainSelectListbox, most of which would be hidden from view until selected.

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to