Hi, thks for your answer, although it's not on the original
post. (?)
I've chosen to use Nuxeo because I noticed Webengine to
generate my websites.
Webengine examples on the doc with jax-rs and the Automation
Client appeared to be the good way to achieve my purpose.
I think I needn't to use an extern solution, I have my plans
on Nuxeo, and I've just met the problem of using webengine
to manage styles. My ftl pages with my contents are well
generated.
I use this kind of code:
public class MyWebAppRoot {
@GET
public Object doGet() {
return new TemplateView(this,
"index.ftl").arg("country", "France").arg("city", "Paris");
}
}
AND would like use this one:
@WebObject(type = "Users")
@Produces("text/html;charset=UTF-8")
public class Users extends DefaultObject {
@GET
public Object doGet() {
return getView("index");
}
@Path("\{name\}")
@GET
public Object getUser(@PathParam("name") String
username) {
return getView("user").arg("user", username);
}
As I saw in
http://doc.nuxeo.com/display/NXDOC/WebEngine+%28JAX-RS%29,
the beginning of the page well-concerned my work (a bundle
added in the nxserver/plugins folder), but from the
paragraph 'Module structure' I am lost with this structure
with 'module.xml' and 'skin' folder. BUT this skin folder
appears to be the solution to my style problem.
So my question is "Where should I store my styles about
Webengine project in Nuxeo 5.4.2?"
Apparently from Nuxeo 5.4.1, the way of implementing a
Webengine project is nbot the same as before, so I don't use
the deprecated "module" way to do.
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/