Re: Cascading Nature of Templates and Themes

2015-05-06 Thread Lukasz Lenart
I have made an example app and it works https://github.com/lukaszlenart/struts2-theme-inherit 2015-05-05 8:12 GMT+02:00 Zoran Avtarovski : > Hi Lucasz, > >>>I had copied all the missing simple templates into my mobile template >> >>don't do it, Struts will find them. Just override those templates

Re: Cascading Nature of Templates and Themes

2015-05-04 Thread Zoran Avtarovski
Hi Lucasz, >>I had copied all the missing simple templates into my mobile template > >don't do it, Struts will find them. Just override those templates which >you need I don¹t think I was clear enough here. If I don¹t include the file the error is thrown. The issue I have is struts doesn¹t find t

Re: Cascading Nature of Templates and Themes

2015-05-04 Thread Lukasz Lenart
2015-05-05 7:19 GMT+02:00 Zoran Avtarovski : > I spoke too soon. > > I just replaced all instances of parameters.theme with > parameters.expandTheme. > > I had copied all the missing simple templates into my mobile template don't do it, Struts will find them. Just override those templates which yo

Re: Cascading Nature of Templates and Themes

2015-05-04 Thread Zoran Avtarovski
gt;this? >> >> We are using struts 2.3.20 and freemarker 2.3.19 if it makes any >>difference. > >Strange, the same mechanism is used by Struts itself. Can you show >project's structure? Or prepare a small demo app to represent your >case? > >Here you have some exa

Re: Cascading Nature of Templates and Themes

2015-05-04 Thread Zoran Avtarovski
9 if it makes any >>difference. > >Strange, the same mechanism is used by Struts itself. Can you show >project's structure? Or prepare a small demo app to represent your >case? > >Here you have some examples: >https://github.com/apache/struts-examples/tree/master/them

Re: Cascading Nature of Templates and Themes

2015-05-01 Thread Lukasz Lenart
r prepare a small demo app to represent your case? Here you have some examples: https://github.com/apache/struts-examples/tree/master/themes https://github.com/apache/struts-examples/tree/master/themes_override Regards -- Łukasz + 48 606 323

Cascading Nature of Templates and Themes

2015-04-30 Thread Zoran Avtarovski
We¹ve started a new project which required a custom theme which we call mobile and we set it to extend the simple theme by creating a theme.properties file and setting parent=simple. Unfortunately this isn¹t working. It has in the past without any issues. Has something changed in the latest versio

Re: /struts2examples/themes and Struts2-3-16

2013-12-19 Thread Chris
Hello, The/struts2examples/themes is ok now, since a new updated at 2013-12-13. Regards, Chris

Re: /struts2examples/themes and Struts2-3-16

2013-12-19 Thread Gavin
Chris yahoo.fr> writes: > > Hello, > > Problem since 2013-12-12 with the new version "themes" and Struts2.3.16 > > https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/themes > > in Struts-2.3.16 > The new version > A

Re: /struts2examples/themes and Struts2-3-16

2013-12-17 Thread Chris
I guess I know, now. It's the 4's team : Netbeans 7 - Tomcat 7 - Struts2.3.16 - DEBUG level in log4j.xml for com.opensymphony The Themes example is not the only one , with which I found thousand of lines in view server output. On my own old PC , more than 10 mn for 340 000 line

Re: /struts2examples/themes and Struts2-3-16

2013-12-16 Thread Lukasz Lenart
ild and deploy the new war. > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/12/15 Chris : >> Hello, >> >> Sorry, I didn't find any solution. >> Struts 2 Themes and Struts 2.3.16 are not working ( Netbeans 7 and Tomcat 7 &

Re: /struts2examples/themes and Struts2-3-16

2013-12-16 Thread Chris
deploy the new war. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/12/15 Chris : > Hello, > > Sorry, I didn't find any solution. > Struts 2 Themes and Struts 2.3.16 are not working ( Netbeans 7 and Tomcat 7 > ) > I believe I have to stop my tests. > >

Re: /struts2examples/themes and Struts2-3-16

2013-12-15 Thread Lukasz Lenart
122 http://www.lenart.org.pl/ 2013/12/15 Chris : > Hello, > > Sorry, I didn't find any solution. > Struts 2 Themes and Struts 2.3.16 are not working ( Netbeans 7 and Tomcat 7 > ) > I believe I have to stop my tests. > > But old version ( Struts2 Themes before 2013-12-13 ) and Struts

Re: /struts2examples/themes and Struts2-3-16

2013-12-15 Thread Chris
Hello, Sorry, I didn't find any solution. Struts 2 Themes and Struts 2.3.16 are not working ( Netbeans 7 and Tomcat 7 ) I believe I have to stop my tests. But old version ( Struts2 Themes before 2013-12-13 ) and Struts 2.3.15.3 only are working. The new files checkboxlist.ft

Re: /struts2examples/themes and Struts2-3-16

2013-12-15 Thread Lukasz Lenart
Hi, I cannot reproduce the problem, everything works as expected with my changes to the themes example - tried with Jetty and Tomcat 7 and JBoss 7.1 - works like charm. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl

Re: /struts2examples/themes and Struts2-3-16

2013-12-13 Thread Chris
13-12-12 with the new version "themes" and Struts2.3.16 > > https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/themes > > in Struts-2.3.16 > The new version > A    > struts2examples\themes\src\main\webapp\template\KUTheme_simple\theme.properti

Re: /struts2examples/themes and Struts2-3-16

2013-12-13 Thread Lukasz Lenart
Hi, I'm not sure if I get what you mean, but I have updated that example few hours ago - please update and check again. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/12/13 Chris : > Hello, > > > Problem since 2013-12-12 with the new version "th

/struts2examples/themes and Struts2-3-16

2013-12-13 Thread Chris
Hello, Problem since 2013-12-12 with the new version "themes" and Struts2.3.16 https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/themes in Struts-2.3.16 The new version A    struts2examples\themes\src\main\webapp\template\KUTheme_simple\theme.pr

Re: Using themes with s: select

2013-09-10 Thread Chris Pratt
Attachments don't appear to work through the mailing list. (*Chris*) On Tue, Sep 10, 2013 at 11:35 AM, Srineel Mazumdar wrote: > Hi Chris, > > Attached the images. > > Thanks, > Srineel > > > On Tue, Sep 10, 2013 at 1:17 PM, Chris Pratt wrote: > >> Srineel, your images didn't come through the

Re: Using themes with s: select

2013-09-10 Thread Srineel Mazumdar
Hi Chris, Attached the images. Thanks, Srineel On Tue, Sep 10, 2013 at 1:17 PM, Chris Pratt wrote: > Srineel, your images didn't come through the mail list, any chance you > could PasteBin them or put them somewhere else accessible? > (*Chris*) > > > On Tue, Sep 10, 2013 at 7:50 AM, Srineel

Re: Using themes with s: select

2013-09-10 Thread Chris Pratt
Srineel, your images didn't come through the mail list, any chance you could PasteBin them or put them somewhere else accessible? (*Chris*) On Tue, Sep 10, 2013 at 7:50 AM, Srineel Mazumdar wrote: > Hi Chris, > > Thanks for the help. But the change I need is bit different . > > What I need : >

Re: Using themes with s: select

2013-09-10 Thread Srineel Mazumdar
Hi Chris, Thanks for the help. But the change I need is bit different . What I need : [image: Inline image 1] What I am getting : [image: Inline image 2] Code for image 1 : <%@ include file="IncludeTop.jsp" %> <%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html"; %>

Re: Using themes with s: select

2013-09-08 Thread Chris Pratt
Try cssStyle="background-color:yellow;" (*Chris*) On Sun, Sep 8, 2013 at 9:54 PM, Srineel Mazumdar wrote: > Hi, > > I am using s:select to create a dropdown and then checked the html. I > wanted to add bgcolor as yellow. I referred to the following link > > http://struts.apache.org/release/2.2

Using themes with s: select

2013-09-08 Thread Srineel Mazumdar
Hi, I am using s:select to create a dropdown and then checked the html. I wanted to add bgcolor as yellow. I referred to the following link http://struts.apache.org/release/2.2.x/docs/struts-2-themes.html but still not sure how to put the background clour as yellow. Can anyone provide any pointe

[OT] Re: How to implement wordpress like themes?

2011-04-25 Thread Dave Newton
Same answer as the first time, although you might want to consider abstracting themes at a higher level instead of just hiding sections via CSS. But this is pretty off-topic. d On Apr 25, 2011 8:05 AM, "rocklee" wrote: > Hi Dave, > > Thanks for your reply. Different theme

Re: How to implement wordpress like themes?

2011-04-25 Thread rocklee
e > On Apr 25, 2011 3:29 AM, "rocklee" <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4338026&i=0&by-user=t>> > wrote: > > I want to implement wordpress like themes, one application has different > > themes, the template in each theme m

Re: How to implement wordpress like themes?

2011-04-25 Thread Dave Newton
Use CSS and include a different one for each theme. See the CSS Zen garden site for examples of what can be done with pure CSS. Dave On Apr 25, 2011 3:29 AM, "rocklee" wrote: > I want to implement wordpress like themes, one application has different > themes, the template in

How to implement wordpress like themes?

2011-04-25 Thread rocklee
I want to implement wordpress like themes, one application has different themes, the template in each theme maybe have different layout and contains different sections. User can select which theme to use. I thought there will be a folder with different themes, like following: web - WEB-INF

Re: Creating struts2 themes

2009-08-14 Thread mailtolouis2020-struts
http://www.packtpub.com/article/themes-and-templates-with-apache-struts2 From: spsarolkar To: user@struts.apache.org Sent: Friday, August 14, 2009 10:38:09 AM Subject: Creating struts2 themes I am learning struts2 and want to create custom themes. I am not

Creating struts2 themes

2009-08-14 Thread spsarolkar
I am learning struts2 and want to create custom themes. I am not able to find and documentation which tells how to create new themes. Can somebody tell me the link to the documentation where theme creation is explained step by step. Thanks in advance..:-) -- View this message in context: http

Re: Struts Themes Problem - help

2009-03-05 Thread Edward Song
I recently had to override the 'simple' template to remove the HTML list formatting. Try these links http://struts.apache.org/2.0.14/docs/themes-and-templates.html http://struts.apache.org/2.0.14/docs/template-loading.html I found them extremely helpful. HTH On Tue, Mar 3, 2009

Re: Struts Themes Problem - help

2009-03-03 Thread Jim Kiley
w the > field? > > >clientname > > -- > View this message in context: > http://www.nabble.com/Struts-Themes-Problem---help-tp18054982p22306342.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --

Re: Struts Themes Problem - help

2009-03-03 Thread sajidbigler
? clientname -- View this message in context: http://www.nabble.com/Struts-Themes-Problem---help-tp18054982p22306342.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr

Re: [S2] Issues with extending themes

2008-07-03 Thread Nick Scavelli
Thanks for your reply, you were right. Once freemarker has control it's unaware of the parent theme. Pretty much all controls have <#include "/${parameters.templateDir}/${parameters.theme}/controlheader.ftl" /> in their template. Once I added my own controlheader.ftl it worked. My other problem

Re: [S2] Issues with extending themes

2008-07-03 Thread Jeromy Evans
Nick Scavelli wrote: Here's what I've done: /WEB-INF/classes/struts.properties: struts.ui.theme=ccast2_0 struts.ui.templateDir=templates /templates/ccast2_0/theme.properties parent=css_xhtml Please advise because this is so annoying. I can't see anything wrong with that. I do the same th

[S2] Issues with extending themes

2008-07-02 Thread Nick Scavelli
I am struggling with the whole "extending theme" functionality in struts2. Either I'm doing something incredibly stupid or there's an issue with extending themes in struts2 (2.1.2 to be more clear). From what I've gathered from the Struts 2.x documentation is that I shou

Re: Struts Themes Problem - help

2008-06-29 Thread Narayana S
the tag you're using? > > http://struts.apache.org/2.x/docs/fielderror.html > > Did you look at the themes and templates documentation, the starting point > of which is: > > http://struts.apache.org/2.x/do

Re: Struts Themes Problem - help

2008-06-27 Thread Dave Newton
e.org/2.x/docs/fielderror.html Did you look at the themes and templates documentation, the starting point of which is: http://struts.apache.org/2.x/docs/themes-and-templates.html Dave "Never wanted to be a dentist, but pulls a lot of teeth" Newton ---

Re: Struts Themes Problem - help

2008-06-26 Thread Narayana S
in xhtml theme with simple theme ? On Fri, Jun 27, 2008 at 12:06 AM, Laurie Harper <[EMAIL PROTECTED]> wrote: > To repeat my previous question: > > >> How is it failing? Note that the 'simple' theme generates a lot less > >> markup, and doesn't

Re: Struts Themes Problem - help

2008-06-26 Thread Laurie Harper
To repeat my previous question: >> How is it failing? Note that the 'simple' theme generates a lot less >> markup, and doesn't generate everything the other themes do. Are I18N >> resources failing to get resolved, or is the theme just not generating the &g

Fwd: Struts Themes Problem - help

2008-06-25 Thread Narayana S
Hi Laurie / Dave, can you please help on this? -- Forwarded message -- From: Narayana S <[EMAIL PROTECTED]> Date: Tue, Jun 24, 2008 at 3:12 PM Subject: Re: Struts Themes Problem - help To: Struts Users Mailing List , [EMAIL PROTECTED] Hi

Re: Struts Themes Problem - help

2008-06-24 Thread Narayana S
is >> not getting any values from resource bundle.. >> > > How is it failing? Note that the 'simple' theme generates a lot less > markup, and doesn't generate everything the other themes do. Are I18N > resources failing to get resolved, or is the theme ju

Re: Struts Themes Problem - help

2008-06-23 Thread Laurie Harper
Narayana S wrote: Hi Dave, thanks for your reply, but when i use simple theme, my application is not getting any values from resource bundle.. How is it failing? Note that the 'simple' theme generates a lot less markup, and doesn't generate everything the other them

Re: Struts Themes Problem - help

2008-06-22 Thread Narayana S
Hi Dave, thanks for your reply, but when i use simple theme, my application is not getting any values from resource bundle.. will this problem be solved by extending theme ? can you provide any best link to extend a theme if it is the solution... ? On Sun, Jun 22, 2008 at 8:25 PM, Dave N

Re: Struts Themes Problem - help

2008-06-22 Thread Dave Newton
--- On Sun, 6/22/08, Narayana S <[EMAIL PROTECTED]> wrote: > The problem is here struts 2 is applying it's own styles to > my page, i want to give my own styles instead of using struts > default styles, The easiest answer is to just supply your own CSS styles. You can also extend an existing,

Struts Themes Problem - help

2008-06-22 Thread Narayana S
Hi, i am new to struts 2, developed sample application that is using resource bundle, i could configure application and labels are perfectly displayed with the values retrived from the resource bundle. The problem is here struts 2 is applying it's own styles to my page, i want to give my

RE: Struts 2 Themes

2007-10-09 Thread Jiang, Jane (NIH/NCI) [C]
Thank you, Sami. That helps a lot. Jane -Original Message- From: Sami Dalouche [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 1:55 PM To: Struts Users Mailing List Subject: RE: Struts 2 Themes Hi, your best bet is to look at S2's source code. You can start by looki

RE: Struts 2 Themes

2007-10-09 Thread Sami Dalouche
; Sent: Tuesday, October 09, 2007 12:57 PM > To: Struts Users Mailing List > Subject: Struts 2 Themes > > I am trying to get a better understanding of S2 themes. I read the > document and the create themes page in the cookbook. > > My question is how I can find the right

RE: Struts 2 Themes

2007-10-09 Thread Jiang, Jane (NIH/NCI) [C]
Message- From: Jiang, Jane (NIH/NCI) [C] Sent: Tuesday, October 09, 2007 12:57 PM To: Struts Users Mailing List Subject: Struts 2 Themes I am trying to get a better understanding of S2 themes. I read the document and the create themes page in the cookbook. My question is how I can find the

Struts 2 Themes

2007-10-09 Thread Jiang, Jane (NIH/NCI) [C]
I am trying to get a better understanding of S2 themes. I read the document and the create themes page in the cookbook. My question is how I can find the right template file for a tag. I tried to change text.ftl and found that ties to s:textfield. I am now trying to figure out what is the

[S2] Can a custom component have a body? or, using with themes

2007-10-02 Thread Jim Cushing
Is something like this legal in a Struts 2 custom component: Some text to be wrapped in my component. In other words, can act like, for example, ...s.form>? I'd like to create a HTML fieldset component that plays well with themes. But this doesn&

Re: THEMES AND TEMPLATES

2007-04-11 Thread Laurie Harper
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 theme

THEMES AND TEMPLATES

2007-04-10 Thread Juan Espinosa
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... Regards Juan Espinosa -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Dat

RE: Themes and templates

2006-11-29 Thread Juan Espinosa
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

Re: Themes and templates

2006-11-28 Thread Mark Menard
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

Re: Themes and templates

2006-11-28 Thread Mark Menard
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

Re: Themes and templates

2006-11-28 Thread Mark Shifman
wer your question of how to make themes and templates work for you :(. Juan Espinosa wrote: Hi to all, im building an struts2 based application and i dont understan the concept of themes an templates. In the past i used struts 1, and in the view i used jsp tags and struts tags like iterate and

Themes and templates

2006-11-28 Thread Juan Espinosa
Hi to all, im building an struts2 based application and i dont understan the concept of themes an templates. In the past i used struts 1, and in the view i used jsp tags and struts tags like iterate and others. Now in the application that im buildin i use tags provided by struts like s:action

Re: Extending Themes

2006-11-26 Thread Ian Roughley
My advice would be to look at the existing themes to see how they use the parameters. /Ian -- From Down & Around, Inc. Innovative IT Solutions Software Architecture * Design * Development ~ web: www.fdar.com email [EMAIL PROTE

Extending Themes

2006-11-22 Thread Tarek Nabil
Hi, I'm currently evaluating Struts 2 for our next project. Our UI people have laid out some standards for the markup generated by the application pages, which the XHTML theme does not satisfy. I started looking into the "Extending Themes" topic, but it seems that there's n

Multi-channels / Themes

2005-06-15 Thread Martin Ravell
Has anyone had any experiences with the Multi-Channels construct within Tiles? Any resources, experiences good or bad would be appreciated. Regards Marty

Themes

2005-06-14 Thread Martin Ravell
In looking into providing a Themes type functionality I've run across the idea of setting up a new DefinitionsFactory class. According to the section '8.4 Writing your own Definition Factory' of the document http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf this lo

RE: Themes

2005-06-14 Thread Abdullah Jibaly
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

RE: Themes

2005-06-14 Thread Wiebe de Jong
-Original Message- From: Martin Ravell [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 5:22 PM To: Struts User Mailing List Subject: Themes I have a requirement to build a 'Themes' (think 'skins') capability into the UI of my Struts app and would just like to poll t

Themes

2005-06-14 Thread Martin Ravell
Well, as promised here is some feedback. I recommend the article : http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf Especially the section 7.4.3 Dynamic L & F. Regards Marty

RE: Themes

2005-06-14 Thread Martin Ravell
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

RE: Themes

2005-06-14 Thread Martin Ravell
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

RE: Themes

2005-06-13 Thread David G. Friedman
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

RE: Themes

2005-06-13 Thread Martin Ravell
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:

RE: Themes

2005-06-13 Thread David G. Friedman
, June 13, 2005 8:22 PM To: Struts User Mailing List Subject: Themes I have a requirement to build a 'Themes' (think 'skins') capability into the UI of my Struts app and would just like to poll the list for ideas on the best way to approach such a mechanism. Multiple customers use t

Themes

2005-06-13 Thread Martin Ravell
I have a requirement to build a 'Themes' (think 'skins') capability into the UI of my Struts app and would just like to poll the list for ideas on the best way to approach such a mechanism. Multiple customers use the same app but they need to be presented with a view that