Carlos_Informatica La Reina a écrit : > Hi all! > > I want Nuxeo uses a theme for PC and other theme for Mobile Devices. > > It must be computed with "negotiation". But not found documentation. It > seems to be around > org.nuxeo.theme/nuxeo-theme-jsf/src/main/java/org/nuxeo/theme/jsf/negotiation > and don't know what to do. > > A second target: Can I select a default theme in a diferent way that > changing in theme-contrib.xml? > > Any help?
Currently implemented negociation engines either used cookies, query parameters (e.g. http://my_nuxeo_url?theme=theme_id/page_id ), JSF view ids or the placeful service and hence are probably useless to discriminate between a mobile browser and a full blown browser. Do you know what info mobile browser give in their HTTP request to introduce them selves as such to the HTTP server? Maybe those browser would use a CSS declared special "media" attribute in the page headers? -- Olivier _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
