Olivier Grisel wrote: > 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 :)
it's in the cvs. You can experiment a bit. It also works with the sitemap display mode, folder subcontents, etc.. > >> 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 there's currently a Lines widget with a default schema of ['sections', 'workspaces']. otherwise such a widget should be ok, shouldn't it? http://www.siteexperts.com/tips/elements/ts32/page1.asp best /JM _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
