Le mardi 20 mars 2007 à 18:26 +0100, Jean-Marc Orliaguet a écrit :
> Thibaut Soulcié wrote:
> > Hi list, hi Jean-Marc,
> >
> > I'm working on a project needing a print.css. So the usual solution 
> > since CPSSkins will be to make a 'print' page in the theme and display 
> > the current view with this page from cliking on a "print this page" link.
> > Would you have an idea/solution to include in the <head> a real <link 
> > rel="stylesheet" type="text/css" media="print" href="print.css" /> 
> > without having to make a link + a page in the future ?
> >
> > regards,
> >
> > tibo
> >
> 
> Hi,
> the <head> in theme-view.xhtml needs to be cleaned up.
> 
> currently there is:
> - a slot for a base url
> - a slot for a bookmark url
> 
> in your example there is also a need for:
> <link rel="stylesheet" type="text/css" media="print" href="print.css" />
> 
> The current solution using ui:insert is not optimal ... I was thinking 
> of replacing all that with a JSF component that reads registered 
> contributions.
> 
>    <nxthemes:head />
> 
> Contributions should be registrable by theme, page, ... and be written 
> in java to access the request, the context, ....
> 
When nxthemes and nuxeo will be sharing the same seam context,
contributions could be simply done by some xml containing an EL
expression, no?

Tiry
> /JM
> 
>  
> 
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
> 

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to