Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

nxthemes fragments / widgets (2006-10-17): msg#00062

cms.nuxeo.general

Subject: nxthemes fragments / widgets (2006-10-17)


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>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation