compared with
Current by Vladimir Alexiev
on Feb 16, 2012 18:59.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (9)

View Page History
- Nuxeo Themes is implemented in WebEngine
- WebEngine is a lightweight framework, and comes empty: there's nothing in it. To switch from the current framework (JSF SEAM) to WebEngine means to give up all the functionality and reimplement in WebEngine
- There is a [Themes JSF|http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewComponent/org.nuxeo.theme.jsf] [theme.jSF|http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewComponent/org.nuxeo.theme.jsf] component that implements themes in JSF SEAM.
-- proof: Nuxeo 5.3 documentation [12.4.2.1. "Styling the theme using the editor"|http://community.nuxeo.com/5.3/books/nuxeo-book/html/theme-service.html#d2452e3421] shows Theme Editor working in something looking suspiciously similar to Nuxeo DM:
!Nuxeo-theme-editor.png!
- SEAM and WebEngine can be mixed and used together (but not on the same page). In fact they are mixed in the default install: Nuxeo DM is written in SEAM, while the Theme Editor is written in WebEngine.
-- proof: [Themes Editor|http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewBundle/org.nuxeo.theme.editor] View META-INF/MANIFEST.MF
-- proof: [theme.editor|http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewBundle/org.nuxeo.theme.editor], View META-INF/MANIFEST.MF
{code}
Bundle-Name: NXThemes editor

- The theme editor is integrated within Nuxeo 5.5 and it works with the JSF/Seam UI.
!theme_manager.png!
!theme_manager.png|width=800!

- Unfortunately, it seems rather unstable and I could not create a new theme with it.
- The editor is a graphical tool for editing the theme xml file. We can edit the config XML manually to achieve a desired layout

!theme_manager_xml.png|width=600!

h4. Customizing a theme
inside the section frame table.

See [jsf--views|http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.3.2/viewContribution/org.nuxeo.theme.jsf--views|http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.3.2/viewContribution/org.nuxeo.theme.jsf--views]

As for the "tabs" - we add in theme-contrib.xml:

- [Theme doc|http://doc.nuxeo.com/display/NXDOC/Theme]
- [ui--shortcuts|http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.3.2/viewContribution/org.nuxeo.theme.editor.ui--shortcuts] ( (Interesting\!)
Interesting\!)