[ http://jira.nuxeo.org/browse/NXP-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33153#action_33153 ]
Jean-Marc Orliaguet commented on NXP-2076: ------------------------------------------ fragments need to start with <html>, <body>, <table>, <tr>, <td>, or <div> otherwise no class or style attributes can by applied to them. The rendering engine could add a <div> by default if a valid HTML tag is missing but it doesn't feel right. So I've added a warning message that 's displayed during the rendering phase: 2008-02-14 16:32:12,877 WARN [org.nuxeo.theme.jsf.views.JSFView] First HTML tag of view template: incl/dashboard_user_workspaces.xhtml (<nxu:methodresult>) not one of <html>, <body>, <div>, <table>, <tr>, <td> 2008-02-14 16:32:12,882 WARN [org.nuxeo.theme.jsf.views.JSFView] First HTML tag of view template: incl/dashboard_user_documents.xhtml (<nxu:methodresult>) not one of <html>, <body>, <div>, <table>, <tr>, <td> 2008-02-14 16:32:12,885 WARN [org.nuxeo.theme.jsf.views.JSFView] First HTML tag of view template: incl/dashboard_last_documents.xhtml (<nxu:methodresult>) not one of <html>, <body>, <div>, <table>, <tr>, <td> 2008-02-14 16:32:12,928 WARN [org.nuxeo.theme.jsf.views.JSFView] First HTML tag of view template: incl/dashboard_last_published_documents.xhtml (<nxu:methodresult>) not one of <html>, <body>, <div>, <table>, <tr>, <td> 2008-02-14 16:32:12,930 WARN [org.nuxeo.theme.jsf.views.JSFView] First HTML tag of view template: incl/dashboard_user_sections.xhtml (<h:panelgroup>) not one of <html>, <body>, <div>, <table>, <tr>, <td> > Fragment starting with <nxu:methodResult name="provider" > value="#{resultsProvidersCache.get('USER_DOCUMENTS')}"> don't display css > style. > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: NXP-2076 > URL: http://jira.nuxeo.org/browse/NXP-2076 > Project: Nuxeo Enterprise Platform 5 > Issue Type: Bug > Components: Web UI > Reporter: Lise Kemen > Assignee: Jean-Marc Orliaguet > > We need to have simply, clear and friendly css. So, when i clean it, we > choose to make a theme with style joined to fragments, as possible as we can, > in order to have less repeated styles. > The platform' css , with all its new parts (picturebook, sandbox projects > ...), is gonna be more and more heavy. > That's why it's important to have the choice, for futur users, to add styles > directly on fragments. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nuxeo.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets