Thanks Marten,
now I'm on your side.
As you said there is no connection between locale and theme.
I misinterpreted that point
by assuming that there is sth. like a fall-back behavior for...
Type: Posts; User: memento; Keyword(s):
Thanks Marten,
now I'm on your side.
As you said there is no connection between locale and theme.
I misinterpreted that point
by assuming that there is sth. like a fall-back behavior for...
Marten,
thank you again for your reply.
At first the rest of my "half backed I18N configuration".
<bean id="messageSource"...
Hello Marten,
maybe my previous post was not that clear. Sorry.
I do not want to switch the theme! Just the "i18n" of the current theme should switch.
The Spring documentation in "13.7.2....
Hello specialists,
I have a problem using Spring MVC ResourceBundleThemeSource and the LocaleChangeInterceptor.
I configured theme support and locale support in my servlet context the following...
Hey dart,
my solution was the one I provided above:
The service method contains the domain object in the signature and is annotated with @Secured. Spring's domain security will look for a...
Thanks chudak for this very good explanation.
I used the MethodInvocation approach which works fine for my purposes.
Thank you for the link to InheritableThreadLocalSecurityContextHolderStrategy.
The API leaks documentation of usage.
Does anyone know how to become a SecurityContext setup in a Thread started...
Thank you chudak.
That's clear but:
Hello!
Spring 2.5.4
Spring Security 2.0.3
In my application's service layer I have a service that starts a new Task by calling ThreadPoolTaskExecutor's execute() method.
Our Task implements...
I use Spring 2.5.4, Spring Security 2.0.3 and Hibernate 3.2.5.
I have the following Domain Object Structure:
AbstractDomainObject (abstract class implementing interface IDomainObject)
-...
Luke,
thank you for this hint. I had defined the wrong schemaLocation in my app-security.xml (was 2.0 instead of 2.0.2).
memento
Can anyone provide a working solution for this under spring-security-2.0.3.
The authentication-manager tag only allows the alias attribute.
So how can I wire my own ConcurrentSessionController...
Integrating your snippet results in:
SoU-Listeners: #1
SoU-Listeners: de.netzgiganten.giantsuite.gspim.persistence.audit.AuditableSaveOrUpdateListener@aab59f
Perfect!
Thanks for your answer Marten.
I could do so, but I wanted to check if the wiring of the LocalSessionFactoryBean to the TransactionManager is done correctly. That does not seem to be so,...
After scanning the forum for some similar threads without success I openend this one.
My problem in two sentences:
I want to save a new Entity by hibernate's saveOrUpdate() method and want the...
Correct!
We use CumulativePermission for combining BasePermission's for example.
CumulativePermission cp = new CumulativePermission();
cp.set(BasePermission.READ);...
The CharacterEncodingFilter only sets the charset encoding to the response if the web container uses servlet spec 2.4+. If a lower version is used no encoding is set to the response by the filter:
...
Perhaps you have to write your own Filter, setting the charset as documented here:
http://java.sun.com/products/servlet/2.3/javadoc/index.html
Hope that help...
I have a Spring 2.5 MVC web application using displaytag 1.1.1.
This is my i18n / localization configuration in the application context XML file:
<bean
id="localeResolver"
...
Where do you have your database driver jar file located?
If you use JNDI it must be located in the container specific library directory not in your application library directory.
E.g. for...
Followed your advice and I'm using the init-method solution now:
<bean
id="persistenceManager"
class="app.persistence.PersistenceManagerImpl"
...
Thanks for your quick answer wpoitras.
My Persistence layer design doesn't make use of Spring's HibernateDaoSupport class.
Here is a snippet of my persistence configuration XML file:
...
Hello Community!
I'm using Spring 2.5 + Hibernate 3 + MySQL in my web application.
Our database schema owns a revision number in a specific column of a METAINF table starting from 1 when the...
Thanks for this excellent explanation. There are a lot of former posts belonging this problem, but have not yet been answered.
I made the same mistake and put my...