Jean-Marc Orliaguet a écrit : > Hi, > > Here is a preview of the web widget implementation for nuxeo5 / nxthemes > > http://www.medic.chalmers.se/~jmo/nuxeo5/nxthemes-2007-11-15.html
Hi JMO, amazing work! This will be of a great tool to refactor the current dashboard theme page. As for the persistent widget providers what do you have in mind? The dashboard has currently 2 main types of page fragments, those based on Search Service queries (with query models) and those based on Workflow engine task or process listings. Worklow based fragments are functionnally quite static, ie, there is no need to store per-widget persistent parameters. As for the SearchService-based fragments they could be factorised as a single configurable widget type with the following parameters: - a title - the querymodel used to build the query - the document model instance used to store the stateful attributes of the querymodel (when it's not stateless) - the list of columns to display in the result (and the default sorting params) The natural way to store the document model is to use a dedicated folder of the core (maybe reuse the UserData folders?). For the remaining parameters, title, querymodel id and columns, I don't really have any opinion yet. -- Olivier _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
