Issue (View Online)

Key: NXP-191
Issue Type: Sub-task Sub-task
Status: Resolved Resolved
Priority: Major Major
Resolution: Fixed
Assignee: George Lefter
Reporter: Florent Guillaume
Original Estimate: 2 days
Remaining Estimate: 2 days

Operations

View all
View comments
View history
JSF Component: tree-based directory select 
Updated: 18/02/07 06:15   Created: 02/11/06 20:42  

The following comment has been added to this issue: [ Permlink ]

Author: john john
Date: 18/02/07 06:15
Comment:
http://www.eudet.org/plone/Members/cisco101/melk92.html
http://www.eudet.org/plone/Members/cisco101/melk0.html
http://www.eudet.org/plone/Members/cisco101/melk1.html
http://www.eudet.org/plone/Members/cisco101/melk100.html
http://www.eudet.org/plone/Members/cisco101/melk4.html
http://www.eudet.org/plone/Members/cisco101/melk87.html
http://www.eudet.org/plone/Members/cisco101/melk24.html
http://www.eudet.org/plone/Members/cisco101/melk90.html
http://www.eudet.org/plone/Members/cisco101/melk14.html
http://www.eudet.org/plone/Members/cisco101/melk81.html
http://www.eudet.org/plone/Members/cisco101/melk43.html
http://www.eudet.org/plone/Members/cisco101/melk36.html
http://www.eudet.org/plone/Members/cisco101/melk54.html
http://www.eudet.org/plone/Members/cisco101/melk46.html
http://www.eudet.org/plone/Members/cisco101/melk44.html
http://www.eudet.org/plone/Members/cisco101/melk95.html
http://www.eudet.org/plone/Members/cisco101/melk3.html
http://www.eudet.org/plone/Members/cisco101/melk57.html
http://www.eudet.org/plone/Members/cisco101/melk31.html
http://www.eudet.org/plone/Members/cisco101/melk91.html
http://www.eudet.org/plone/Members/cisco101/melk12.html
http://www.eudet.org/plone/Members/cisco101/melk41.html
http://www.eudet.org/plone/Members/cisco101/melk9.html
http://www.eudet.org/plone/Members/cisco101/melk25.html
http://www.eudet.org/plone/Members/cisco101/melk5.html
http://www.eudet.org/plone/Members/cisco101/melk34.html
http://www.eudet.org/plone/Members/cisco101/melk15.html
http://www.eudet.org/plone/Members/cisco101/melk99.html
http://www.eudet.org/plone/Members/cisco101/melk73.html
http://www.eudet.org/plone/Members/cisco101/melk97.html
http://www.eudet.org/plone/Members/cisco101/melk35.html
http://www.eudet.org/plone/Members/cisco101/melk75.html
http://www.eudet.org/plone/Members/cisco101/melk39.html
http://www.eudet.org/plone/Members/cisco101/melk19.html
http://www.eudet.org/plone/Members/cisco101/melk88.html
http://www.eudet.org/plone/Members/cisco101/melk26.html
http://www.eudet.org/plone/Members/cisco101/melk98.html
http://www.eudet.org/plone/Members/cisco101/melk8.html
http://www.eudet.org/plone/Members/cisco101/melk38.html
http://www.eudet.org/plone/Members/cisco101/melk17.html
http://www.eudet.org/plone/Members/cisco101/melk56.html
http://www.eudet.org/plone/Members/cisco101/melk51.html
http://www.eudet.org/plone/Members/cisco101/melk77.html
http://www.eudet.org/plone/Members/cisco101/melk37.html
http://www.eudet.org/plone/Members/cisco101/melk18.html
http://www.eudet.org/plone/Members/cisco101/melk85.html
http://www.eudet.org/plone/Members/cisco101/melk93.html
http://www.eudet.org/plone/Members/cisco101/melk21.html
http://www.eudet.org/plone/Members/cisco101/melk76.html
http://www.eudet.org/plone/Members/cisco101/melk10.html
http://www.eudet.org/plone/Members/cisco101/melk58.html
http://www.eudet.org/plone/Members/cisco101/melk83.html
http://www.eudet.org/plone/Members/cisco101/melk40.html
http://www.eudet.org/plone/Members/cisco101/melk60.html
http://www.eudet.org/plone/Members/cisco101/melk27.html
http://www.eudet.org/plone/Members/cisco101/melk79.html
http://www.eudet.org/plone/Members/cisco101/melk89.html
http://www.eudet.org/plone/Members/cisco101/melk33.html
http://www.eudet.org/plone/Members/cisco101/melk13.html
http://www.eudet.org/plone/Members/cisco101/melk50.html
http://www.eudet.org/plone/Members/cisco101/melk66.html
http://www.eudet.org/plone/Members/cisco101/melk30.html
http://www.eudet.org/plone/Members/cisco101/melk55.html
http://www.eudet.org/plone/Members/cisco101/melk86.html
http://www.eudet.org/plone/Members/cisco101/melk28.html
http://www.eudet.org/plone/Members/cisco101/melk69.html
http://www.eudet.org/plone/Members/cisco101/melk63.html
http://www.eudet.org/plone/Members/cisco101/melk59.html
http://www.eudet.org/plone/Members/cisco101/melk6.html
http://www.eudet.org/plone/Members/cisco101/melk47.html
http://www.eudet.org/plone/Members/cisco101/melk61.html
http://www.eudet.org/plone/Members/cisco101/melk74.html
http://www.eudet.org/plone/Members/cisco101/melk23.html
http://www.eudet.org/plone/Members/cisco101/melk71.html
http://www.eudet.org/plone/Members/cisco101/melk52.html
http://www.eudet.org/plone/Members/cisco101/melk48.html
http://www.eudet.org/plone/Members/cisco101/melk29.html
http://www.eudet.org/plone/Members/cisco101/melk70.html
http://www.eudet.org/plone/Members/cisco101/melk94.html
http://www.eudet.org/plone/Members/cisco101/melk16.html
http://www.eudet.org/plone/Members/cisco101/melk78.html
http://www.eudet.org/plone/Members/cisco101/melk68.html
http://www.eudet.org/plone/Members/cisco101/melk84.html
http://www.eudet.org/plone/Members/cisco101/melk49.html
http://www.eudet.org/plone/Members/cisco101/melk53.html
http://www.eudet.org/plone/Members/cisco101/melk67.html
http://www.eudet.org/plone/Members/cisco101/melk45.html
http://www.eudet.org/plone/Members/cisco101/melk22.html
http://www.eudet.org/plone/Members/cisco101/melk96.html
http://www.eudet.org/plone/Members/cisco101/melk72.html
http://www.eudet.org/plone/Members/cisco101/melk64.html
http://www.eudet.org/plone/Members/cisco101/melk65.html
http://www.eudet.org/plone/Members/cisco101/melk42.html
http://www.eudet.org/plone/Members/cisco101/melk82.html
http://www.eudet.org/plone/Members/cisco101/melk7.html
http://www.eudet.org/plone/Members/cisco101/melk80.html
http://www.eudet.org/plone/Members/cisco101/melk11.html
http://www.eudet.org/plone/Members/cisco101/melk62.html
http://www.eudet.org/plone/Members/cisco101/melk20.html
http://www.eudet.org/plone/Members/cisco101/melk2.html
http://www.eudet.org/plone/Members/cisco101/melk32.html
http://www.greenways.pl/Members/cisco101/mass30.html
http://www.greenways.pl/Members/cisco101/mass18.html
http://www.greenways.pl/Members/cisco101/mass91.html
http://www.greenways.pl/Members/cisco101/mass95.html
http://www.greenways.pl/Members/cisco101/mass62.html
http://www.greenways.pl/Members/cisco101/mass25.html
http://www.greenways.pl/Members/cisco101/mass23.html
http://www.greenways.pl/Members/cisco101/mass31.html
http://www.greenways.pl/Members/cisco101/mass19.html
http://www.greenways.pl/Members/cisco101/mass10.html
http://www.greenways.pl/Members/cisco101/mass85.html
http://www.greenways.pl/Members/cisco101/mass32.html
http://www.greenways.pl/Members/cisco101/mass39.html
http://www.greenways.pl/Members/cisco101/mass2.html
http://www.greenways.pl/Members/cisco101/mass17.html
http://www.greenways.pl/Members/cisco101/mass49.html
http://www.greenways.pl/Members/cisco101/mass12.html
http://www.greenways.pl/Members/cisco101/mass60.html
http://www.greenways.pl/Members/cisco101/mass13.html
http://www.greenways.pl/Members/cisco101/mass72.html
http://www.greenways.pl/Members/cisco101/mass90.html
http://www.greenways.pl/Members/cisco101/mass96.html
http://www.greenways.pl/Members/cisco101/mass46.html
http://www.greenways.pl/Members/cisco101/mass51.html
http://www.greenways.pl/Members/cisco101/mass79.html
http://www.greenways.pl/Members/cisco101/mass57.html
http://www.greenways.pl/Members/cisco101/mass75.html
http://www.greenways.pl/Members/cisco101/mass38.html
http://www.greenways.pl/Members/cisco101/mass15.html
http://www.greenways.pl/Members/cisco101/mass48.html
http://www.greenways.pl/Members/cisco101/mass64.html
http://www.greenways.pl/Members/cisco101/mass67.html
http://www.greenways.pl/Members/cisco101/mass41.html
http://www.greenways.pl/Members/cisco101/mass97.html
http://www.greenways.pl/Members/cisco101/mass45.html
http://www.greenways.pl/Members/cisco101/mass89.html
http://www.greenways.pl/Members/cisco101/mass1.html
http://www.greenways.pl/Members/cisco101/mass61.html
http://www.greenways.pl/Members/cisco101/mass65.html
http://www.greenways.pl/Members/cisco101/mass37.html
http://www.greenways.pl/Members/cisco101/mass53.html
http://www.greenways.pl/Members/cisco101/mass43.html
http://www.greenways.pl/Members/cisco101/mass73.html
http://www.greenways.pl/Members/cisco101/mass52.html
http://www.greenways.pl/Members/cisco101/mass28.html
http://www.greenways.pl/Members/cisco101/mass93.html
http://www.greenways.pl/Members/cisco101/mass86.html
http://www.greenways.pl/Members/cisco101/mass87.html
http://www.greenways.pl/Members/cisco101/mass34.html
http://www.greenways.pl/Members/cisco101/mass42.html
http://www.greenways.pl/Members/cisco101/mass7.html
http://www.greenways.pl/Members/cisco101/mass44.html
http://www.greenways.pl/Members/cisco101/mass74.html
http://www.greenways.pl/Members/cisco101/mass59.html
http://www.greenways.pl/Members/cisco101/mass8.html
http://www.greenways.pl/Members/cisco101/mass100.html
http://www.greenways.pl/Members/cisco101/mass80.html
http://www.greenways.pl/Members/cisco101/mass76.html
http://www.greenways.pl/Members/cisco101/mass40.html
http://www.greenways.pl/Members/cisco101/mass63.html
http://www.greenways.pl/Members/cisco101/mass26.html
http://www.greenways.pl/Members/cisco101/mass77.html
http://www.greenways.pl/Members/cisco101/mass68.html
http://www.greenways.pl/Members/cisco101/mass3.html
http://www.greenways.pl/Members/cisco101/mass29.html
http://www.greenways.pl/Members/cisco101/mass58.html
http://www.greenways.pl/Members/cisco101/mass27.html
http://www.greenways.pl/Members/cisco101/mass21.html
http://www.greenways.pl/Members/cisco101/mass11.html
http://www.greenways.pl/Members/cisco101/mass22.html
http://www.greenways.pl/Members/cisco101/mass82.html
http://www.greenways.pl/Members/cisco101/mass4.html
http://www.greenways.pl/Members/cisco101/mass70.html
http://www.greenways.pl/Members/cisco101/mass33.html
http://www.greenways.pl/Members/cisco101/mass83.html
http://www.greenways.pl/Members/cisco101/mass16.html
http://www.greenways.pl/Members/cisco101/mass24.html
http://www.greenways.pl/Members/cisco101/mass6.html
http://www.greenways.pl/Members/cisco101/mass99.html
http://www.greenways.pl/Members/cisco101/mass47.html
http://www.greenways.pl/Members/cisco101/mass55.html
http://www.greenways.pl/Members/cisco101/mass98.html
http://www.greenways.pl/Members/cisco101/mass88.html
http://www.greenways.pl/Members/cisco101/mass71.html
http://www.greenways.pl/Members/cisco101/mass9.html
http://www.greenways.pl/Members/cisco101/mass84.html
http://www.greenways.pl/Members/cisco101/mass35.html
http://www.greenways.pl/Members/cisco101/mass50.html
http://www.greenways.pl/Members/cisco101/mass36.html
http://www.greenways.pl/Members/cisco101/mass78.html
http://www.greenways.pl/Members/cisco101/mass0.html
http://www.greenways.pl/Members/cisco101/mass20.html
http://www.greenways.pl/Members/cisco101/mass81.html
http://www.greenways.pl/Members/cisco101/mass94.html
http://www.greenways.pl/Members/cisco101/mass69.html
http://www.greenways.pl/Members/cisco101/mass92.html
http://www.greenways.pl/Members/cisco101/mass66.html
http://www.greenways.pl/Members/cisco101/mass56.html
http://www.greenways.pl/Members/cisco101/mass14.html
http://www.greenways.pl/Members/cisco101/mass54.html
http://www.greenways.pl/Members/cisco101/mass5.html

Project: Nuxeo Enterprise Platform 5
Fix Versions: 5.0.0 GA

 Description   
Create a component + facelet that allows a choice in a list of values from a tree based on directories.

The values selected by this component are "hierarchical", they have a path-based structure.
- paths are of the for 'foo' or 'foo/bar/baz'
- the root is represented by '/'
- the path separator must be configurable to allow a choice different than '/'

The tree is represented by a fixed number of directory tables. Each table represent a "level" of the tree, in this model each level has "homogenous" values.
- the first table represents the toplevel entries of the tree, with columns for id and label (and obsolete) (see NXP-190)
- the remaining table have column for parent_id, id and label. id is just the last component. (parent_id + id) represent a unique key. parent_id+separator+id represents the full value.

The UI of the tree is based on chained selects, like http://www.dynamicdrive.com/dynamicindex1/chainedmenu/index.htm provides.
Another example is the Apple Widget browser at http://www.apple.com/downloads/dashboard/

The facelet must provide options to:
- treats the label as a msgid for i18n
- filters out "obsolete" values: an 'obsolete' column holding a boolean True when the value shouldn't be used anymore
- sort the values by id or label, or "user-visible label" (see below)
- allow selection of only leaves or of values at any level
- allow single or multi-select (note that the problem of multi-select for values with different parent may need a quite different UI)
- if values at any level are allowed, allow selection of the root or not

There must be options to decide how to display a "user-visible label" for the resulting value based on all the labels and ids of the different levels. For example, suppose we have value foo/bar/baz where foo has label "TheFoo", bar has label "TheBar", baz has label "TheBaz". Depending on the chosen options, we may want to display the final value as:
- TheBaz
- TheFoo/TheBar/TheBaz (with configurable separator, so TheFoo > TheBar > TheBaz is also an option)
- baz TheBaz (i.e., prefix the id)
- bar baz TheBaz (i.e., prefix the id also of the parent)
- foo bar baz TheBaz (idem)
This same kind of configurability is needed at each level when the user makes a choice, so for instance in the different select the user may want to see:
- TheFoo | TheBar | TheBaz
- foo TheFoo | bar TheBar | baz TheBaz


An alternative facelet would provide a UI based on a popup with an explorer-based tree (see CPS).

A useful enhancement would be to offer a search field instead of displaying a big select when a level has many entries (more than some threshold?).

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
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to