Jean-Marc Orliaguet wrote:
OK, what I can do - to begin with the infrastructure - is to replace 'root_uid' (String) with 'root_uids' (String List) and use a line widget in the UI to begin with (as in the action portlet)
then getNavigationItems.py will go through all the root uids one by one. and the portlet will display several trees simultaneously.
this is needed by the way for the default theme (I noticed it yesterday) that shows a link to both sections and workspaces at the same time.
Thanks, that would be nice :)
can you then design a widget that does the multiselection? if none already exists?
Yes, but I have no idea on how to design a multiselect widget that would let us choose the list order as well: the html markup is too poor to allow such a behavior but on the other hand, the use of javascript would reduce the accessibility of such a widget ... This might not be a huge problem for CPSSkins since its an administrator oriented interface, but it is one if we want to reuse such a widget in documents ... Does any UI guru around here have a clue on how to tweak the MultiSelect Widget to add reordering support while keeping its accessibility?
In the mean time, I think the Lines widget with an appropriate 'default_expr' in the schema/field is the best solution we haveso far.
Best,
Olivier _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
