Theme « Web « Spring Q&A





1. Java, Spring setting up themes confusing and not working    stackoverflow.com

spring-servlet.xml setting up theme beans:

<bean id="themeSource"
class="org.springframework.ui.context.support.ResourceBundleThemeSource">
    <property name="basenamePrefix" value="theme-" />  // also tried WEB-INF.resources.theme- and WEB-INF/resources/theme- here, same problem
</bean>

<bean id="themeChangeInterceptor"
    class="org.springframework.web.servlet.theme.ThemeChangeInterceptor">
    ...

2. Switching Themes/Layouts within Tiles    forum.springsource.org

Switching Themes/Layouts within Tiles Hello, I want to have to different layouts to be used with my Spring Roo project. Therefore I added my new layout to the "layouts.xml" generated by ...

3. Velocity & Themes    forum.springsource.org

Hello, How do I call the theme on a velocity template? Like using JSP yo do something like: " type="text/css"/> But I don't see any Spring tag to ...

4. Spring 3 - Themes are not working!    forum.springsource.org

5. Spring themes and application context errors    forum.springsource.org

Aug 23rd, 2011, 12:19 AM #1 stimpy View Profile View Forum Posts Private Message Member Join Date Aug 2010 Posts 61 Spring themes and application context errors Apologies for the length. ...

6. Theme Based View Resolver    forum.springsource.org

I have the need to load custom views based upon the current "theme" a user is using? I am currently using Spring 3.0.4 along with Tiles 2.2. I also need to ...

7. Theme based ViewResolver?    forum.springsource.org

What I'm trying to implement is a custom ViewResolver wich resolve views based on the current theme. Example: View "page.vm" -> "WEB-INF/themes/default/page.vm", etc. To do so, I need to access the ...

8. Icicle theme has broken search    forum.springsource.org

When searching and having theme "icicle" some parameters seems to be ignored. E.g. parameter to limit a search to particular forum and whether to search for any or all forms. When ...

9. How to use themes with velocity?    forum.springsource.org

Hi, I'm having difficult to use the Spring themes with Velocity. I've searched here in forum, but without success... does anyone can show me an example? Also, I didn't found anything ...





10. Themes    forum.springsource.org

Themes I want to use themes for my application but I have the error message: javax.servlet.ServletException: Theme 'default': No message found under code 'base' for locale 'en_US'. my theme resolver and ...

11. Theme resolution    forum.springsource.org

12. one theme per browser?    forum.springsource.org

one theme per browser? Hi, A colleague is working on building up some css for our web app. He reckons it is quite a struggle to get a style that works ...

13. Themes working but have some questions    forum.springsource.org

Themes working but have some questions I've been working with Spring (1.2.3) for a few months now and have just looked into themes. I've got it working but have some questions. ...

14. One webapplication, multiple urls, multiple themes    forum.springsource.org

One webapplication, multiple urls, multiple themes Maybe not quite a Spring question (maybe more a JBoss question), but I'm going to put it here anyway. Currently I'm working on an web ...

15. Problem using themes    forum.springsource.org

Jul 28th, 2006, 10:53 AM #1 Chaps View Profile View Forum Posts Private Message Senior Member Join Date Jun 2006 Posts 109 Problem using themes Hi all! I'm currently trying to ...

16. Theme concept in springs framework    forum.springsource.org

Theme concept in springs framework Hi, I need to use theme for my jsp in spring frame work. I have properties file with name messages.properties. in that i have values background=/themes/cool/img/coolBg.jpg ...





17. Javascript and CSS Themes in spring    forum.springsource.org

Javascript and CSS Themes in spring Hi, I am facing problems in accessing css styles in my jsp. I have included the following code to link my theme:

18. Themes Problem    forum.springsource.org

Dec 21st, 2006, 02:52 PM #1 jebscar View Profile View Forum Posts Private Message Member Join Date Nov 2006 Posts 63 Themes Problem I am getting the following exception when trying ...

19. Howto: Themes in Spring Framework    forum.springsource.org

Howto: Themes in Spring Framework Hi, I have been trying to get themes up and running but they're not working the way they are simplistically defined in the SpringFramework one page ...

20. Spring, Velocity and themes    forum.springsource.org

hi all, can anyone tell me how can i use themes with velocity? with jsb, normally JSTL is used to include spring tag library, Code: <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> ...

21. Velocity Macro and Spring Theme Support    forum.springsource.org

Does anyone have any idea how to retrieve spring's 'theme' data when using Velocity Macro? I've poked around everywhere I can think of, but haven't had any luck tracking it down... ...

22. Theme css URL resolution    forum.springsource.org

Apologies if this is going over old ground, but I've got a problem with Spring theme resolution not resolving CSS files to the right url:- How do I make a CSS ...

23. Theme doesn't stay    forum.springsource.org

Theme doesn't stay I have several themes defined in my application. I can change the theme from one to another on the theme change page. The problem is the theme doesn't ...

24. theme can`t work in Spring 2.0.6    forum.springsource.org

theme can`t work in Spring 2.0.6 The theme can wrok in Spring 2.0.1 .When i update to the Spring 2.0.6,the first login page can be show correctly except the password not ...

25. themes    forum.springsource.org

Hi to everyone! I've got a problem using themes in spring MVC. I've got in my dispatcher servlet the themeResolver and the themeSource defined Code: theme ...

26. Theme problem in Spring 2.0.6    forum.springsource.org

Sep 5th, 2007, 03:44 PM #1 ericjs View Profile View Forum Posts Private Message Junior Member Join Date Sep 2007 Posts 12 Theme problem in Spring 2.0.6 Upgrading my Java 1.5 ...

27. Problem Defining a Changable Theme    forum.springsource.org

Problem Defining a Changable Theme Hi Guys, I have tried to define a theme given advice from the following post; http://forum.springframework.org/showthread.php?t=9965 My code is as follows; app context Code:

28. Refresh the themes    forum.springsource.org

Is there a way to refresh the theme resource bundles? I'm using themes in Spring 2.0.7 and on occasion, I have to change a property in one of my themes. (i.e. ...

29. Theme refresh    forum.springsource.org

Hi, I am planning to add something like "preferences" in the menu. The user can change the theme dynamically without restarting the application. Is it possible? The initial theme will be ...

30. Changing a Theme    forum.springsource.org

Hi, I'm fairly new to spring an am trying to get the ThemeResolver to work. I am able to get the default theme loaded but am having trouble getting the theme ...

31. Resolve views based on the theme    forum.springsource.org

Resolve views based on the theme I have a bit of an odd situation where I want to treat themes as though they are 'versions' of the application. I want to ...

32. Using Theme resolver    forum.springsource.org

I am very new to spring and i am trying to style my jsp pages using theme resolver. I have read the documentation a number of times but still unable to ...

33. Theme per entry    forum.springsource.org

I would like to add a theme option as a user entry data field. Based on the reference documentation, the ThemeChangeInterceptor seems to be the only option to let this feature ...

34. Problme in Custom Theme Resolver    forum.springsource.org

Jan 8th, 2010, 06:55 AM #1 Brinda View Profile View Forum Posts Private Message Junior Member Join Date Dec 2009 Posts 13 Problme in Custom Theme Resolver Hai all, I am ...

35. Simple Themes Question    forum.springsource.org

Simple Themes Question I'm trying to use the Spring themes from the excerpt in the reference documentation, but I keep getting this error: "Theme 'cool': No message found under code 'stylesheet' ...

36. Theme Resolver - show current theme name    forum.springsource.org

I have a strange requirement where different sections of an application need to have different color schemes. I was thinking of creating a theme for each area. Can someone give me ...

37. velocity + spring:theme    forum.springsource.org

Hi, i have configured spring with veocity, add ResourceBundleThemeSource to applicationContext, but I don't know how to use spring:theme using velocity i.e.: " type="text/css"/> Thanks in advance.

38. Theme resolving problem    forum.springsource.org

Theme resolving problem Hello I have the following requirement; in a biolab app an Operator will be able to access the application resources either via a handheld device (Windows CE with ...

39. Set a wrong theme on purpose:how to manage error ?    forum.springsource.org

Set a wrong theme on purpose:how to manage error ? Hello, I'm using Spring 3.0.1 with ThemeChangeInterceptor. To change a theme, I have just to add "?theme=theme1" to a page and ...

40. Themes need a good explanation...Help if you can    forum.springsource.org

Themes need a good explanation...Help if you can Thank you in advance for reading this post and helping if you can. I started my Spring work by reading Spring In Action ...

41. velocity + spring:theme    forum.springsource.org

42. Themes    forum.springsource.org

yep. here's what seems to be the minimum to get them going, based on my slightly hit and miss approach. 1. setup handlerMapping, themeInterceptor and themeResolver in *-servlet.xml Code:

43. How to implement Custom Theme Source    forum.springsource.org

Hi Guys, I have got the sample themes working with my Spring web app using the ResourceBundleThemeSource which reads the property file and loads the css. All good. Now I'm trying ...