|
|
Choosing A Webhost: |
nxthemes fragments / widgets (2006-10-17): msg#00062cms.nuxeo.general
I've just committed some code to manage fragment and widget views in the theme editor. * views can be registered by: - view name / provider name - engine type - element type (page, section, cell, fragment, ..) - model type (e.g. menu item) - format type (widget, layout, style, ...) * and fragments are registered by: - fragment name - model type this yields a number of compatible combinations between fragment and view types. The possible combinations are shown in the editor, as in the animation http://www.medic.chalmers.se/~jmo/nuxeo5/nxthemes-2006-10-17.html to test the demo, the HTML code between lines 25 and 33 in http://svn.nuxeo.org/trac/nuxeo/browser/NXThemes/NXThemesJsfEditor/trunk/resources/nxthemes/jsf/editor/widgets/page-frame.xml must be uncommented first. the "action fragment" are in .../Nuxeo/branches/nxthemes-fragments this is meant to encourage component reuse, for instance an "action fragment" can be displayed using several widgets (vertical / horizontal menu) as long as it provides a "menu item" model type.. Now there are some issues: - the action service / registry in NXRuntime returns action links that refer to templates on the filesystem (web/incl/breadcrumb.xhtml). What is the reason for that? - some fragments in Nuxeo contain hard-coded id attributes (e.g. <div id="nav">). And it is impossible under JSF to have two elements on a same page with the same id. So a workaround must be used for instance by making such widgets addable only once. /JM
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: NXCore : document life cycle, Julien Anguenot |
|---|---|
| Next by Date: | Re: [J-X] 50 subscribers to the mailing list :) // JCRExplorer, Sandro Böhme |
| Previous by Thread: | About patterns .., Bogdan Stefanescu |
| Next by Thread: | how to run ECMDemo?, Jean-Marc Orliaguet |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |