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 (16)

View Page History
{toc}

h1. Nuxeo Themes

- 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

h1. Theme Editor

- The theme editor is integrated within Nuxeo 5.5 and it works with the JSF/Seam UI.
!theme_manager.png|width=800!
!theme_manager.png!
-- - Unfortunately, it seems rather unstable and I could not create a new theme with it.
TODO: report to the NUXEO Jira, and check if it's already reported and track 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=800!

- 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

These are the steps that I have found working for modifying the layout.
- I downloaded the theme-galaxy.xml from the Theme Editor. This is the default 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:

h1. Links

- [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!)