Thibaut Soulcié wrote:

Le 13 nov. 06 à 19:57, Jean-Marc Orliaguet a écrit :

I've added a region name for setting the page title:

simply add on page:

<ui:define name="page title">Write your title here</ui:define>

obviously the content whether obtained via JSF EL or in another way must be in plain text.



okay, do I have to do it for on each page ?

couldn't we do something like :
defining once page title (Nuxeo 5 EP sounds fine :-) and add the current doc title. That would give for example:
Nuxeo 5 EP: Workspaces

The questions are: where do we define the first title and will it the domain name (since there is no "portal title" anymore/yet?

++

tibo


Hi, you know how much I like hard-coded strings and circular dependencies between products? NXThemes has no notion of portal, of NXCore, or of JCR nodes, etc and it should not have any. The only pattern is to push data into the template, not to pull data from the application, or to register specific components in the client application via extension points..

So I would do it explicitly on every page to have the freedom to do it the way I like, maybe using the EL if needed or a specific title component. but NXThemes should delegate this logic entirely to the client application. You might want to do translations too?

/JM









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

Reply via email to