Juan Espinosa wrote:
Hi is there any theme repository ??? I want to change my theme, like putting
the field errors in red, in the right of the component (field) who cause the
error...
I'm not sure what you mean by a theme repository, but documentation on
customizing Struts 2 themes and
Thanks mark for your help, i will give a try to your advices
Regards Juan
-Mensaje original-
De: Mark Shifman [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 28 de Noviembre de 2006 05:20 p.m.
Para: Struts Users Mailing List
Asunto: Re: Themes and templates
If you set
struts.ui.theme
If you set
struts.ui.theme=simple in the struts.properties file
you won't fight with the templates and it will be sort of like good old
struts 1.
However, there are other gotchas in store. You have to get validation
errors on the screen yourself
using s:fielderror/ since the theme cleverly
On 11/28/06 4:04 PM, Juan Espinosa [EMAIL PROTECTED] wrote:
I want to know if render of buttons tables forms and other tags are based on
this templates..and how i could change it
Hi Juan,
The rendering of the buttons is based on the theme template. The templates
can be found in the Struts
On 11/28/06 4:06 PM, Mark Menard [EMAIL PROTECTED] wrote:
On 11/28/06 4:04 PM, Juan Espinosa [EMAIL PROTECTED] wrote:
I want to know if render of buttons tables forms and other tags are based on
this templates..and how i could change it
Hi Juan,
The rendering of the buttons is based on
: Tuesday, 14 June 2005 4:36 PM
To: Struts Users Mailing List
Subject: RE: Themes
Martin,
If you're using tiles already, be sure to check out a tiles controller. It
can insert pieces (putList) into your tile however you wish it, i.e. if the
path is /members, if you set a (session?) cookie, etc
theme page. This would get
out of hand awful fast.
Regards
Marty
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 14 June 2005 4:36 PM
To: Struts Users Mailing List
Subject: RE: Themes
Martin,
If you're using tiles already, be sure to check out
Use CSS. Use one JSP/tile to get your content together, then based on the
company setting, choose a CSS style sheet to go with it. The style sheet
would contain your graphics, fonts, layouts, etc.
Take a look at http://www.csszengarden.com/ to see the possibilities of this
approach.
Wiebe
]
Sent: Tuesday, June 14, 2005 11:48 AM
To: 'Struts Users Mailing List'
Subject: RE: Themes
Use CSS. Use one JSP/tile to get your content together, then based on the
company setting, choose a CSS style sheet to go with it. The style sheet
would contain your graphics, fonts, layouts, etc.
Take
Martin,
Have you looked at any of these?
a) Tiles
http://struts.apache.org
b) SiteMesh:
http://www.opensymphony.com/sitemesh
c) XKins:
http://xkins.sourceforge.net/
Regards,
David
-Original Message-
From: Martin Ravell [mailto:[EMAIL PROTECTED]
Sent: Monday,
10 matches
Mail list logo