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 templat
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
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 bu
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 Strut
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 since the theme cleverly puts the valida
ECTED]
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, layout
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
-O
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 a tiles controller. It
can insert pieces (putList) in
ROTECTED]
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 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 (sessi
ssage-
From: Martin Ravell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 14, 2005 2:09 AM
To: 'Struts Users Mailing List'
Subject: RE: Themes
Thanks for the links David.
The app is already using Tiles extensively and as a result I need something
that integrates well with this framework.
I
gards
Marty
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 14 June 2005 2:58 PM
To: Struts Users Mailing List
Subject: RE: Themes
Martin,
Have you looked at any of these?
a) Tiles
http://struts.apache.org
b) SiteMesh:
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, June
12 matches
Mail list logo