Hi all,
I create a skin named my_skin with following directory structure :
my_skin
|-- pom.xml
`-- src
`-- main
`-- resources
|-- css
| `-- site.css
`-- images
Next I run mvn install command to package it to jar and add to my local
repository
Th
I've never created a skin, so I'd recommend looking at the online
guides to see if those help. I'd guess that you should put everything
in src/site, but I'm not sure.
Matt
On Tue, May 12, 2009 at 5:02 AM, Kenny Ha wrote:
>
> Hi all,
>
> I create a skin named my_skin with following directory stru
Hi all,
I want use to a dynamic variable, such as ${template}, in my
decorators.xml. Can I do it?
example:
/*
Regards!
Mauri.
I don't think you can do this, but you might want to confirm with the
SiteMesh mailing list.
Matt
On May 12, 2009, at 7:24 AM, Mauricio Ferreyra
wrote:
Hi all,
I want use to a dynamic variable, such as ${template}, in
my decorators.xml. Can I do it?
example:
Ok, Thanks Matt, another question.
Can I set in struts.xml a variable passed by request or session ?
example:
Action: getRequest().setAttribute("*template*", "test");
struts.xml: ${*template*}/test.jsp
I'm trying but the result is redirect to mainMenu.html
Thanks in advance.
Mauri.
On Tue
Yes, I believe you can do this, but I believe it's just a getter on
the Action, not something you need to stuff into a request or
anything.
Matt
On Tue, May 12, 2009 at 8:28 AM, Mauricio Ferreyra wrote:
> Ok, Thanks Matt, another question.
>
> Can I set in struts.xml a variable passed by request
hi Matt,
In UserDaoHibernate there is a method
public String getUserPassword(String username) {
SimpleJdbcTemplate jdbcTemplate =
new
SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));
Table table = AnnotationUtils.findAnnotation(User.class