Hi,

Le 24 juin 09 à 11:52, [email protected] a écrit :

*What I want* : in place of the layout_default_template.xhtml , I want to create my custom_layout_template.xhtml.

Your XHTML fragment must be deployed to nuxeo.war directory in your application server.
so if you put that :
<template mode="any">mypath/mytemplate.xhtml</template>
Your file must be in
nuxeo.ear/nuxeo.war/mypath/mytemplate.xhtml

So in your project eclipse, you have to :
- put this file in my-project/src/main/resources/nuxeo.war/mypath/ mytemplate.xhtml - ask to the runtime to deploy this file in nuxeo.war with appending that in your deployment-fragment :

  <install>
    <unzip from="${bundle.fileName}" to="/">
      <include>nuxeo.war/**</include>
    </unzip>
  </install>


For your widget you do the same.

Hope this help.

________________________________________________________________
Benjamin JALON,
Software Engineer,
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com/ - http://www.nuxeo.org - +33 (0)1 40 33 79 87
--
http://lists.nuxeo.com/mailman/listinfo/dev

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to