Search:

Type: Posts; User: memento; Keyword(s):

Search: Search took 0.01 seconds.

  1. Thanks Marten, now I'm on your side. As you...

    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...
  2. Marten, thank you again for your reply. At...

    Marten,

    thank you again for your reply.

    At first the rest of my "half backed I18N configuration".



    <bean id="messageSource"...
  3. Hello Marten, maybe my previous post was not...

    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....
  4. ResourceBundleThemeSource and LocaleChangeInterceptor

    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...
  5. Replies
    3
    Views
    2,045

    Hey dart, my solution was the one I provided...

    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...
  6. Thanks chudak for this very good explanation. ...

    Thanks chudak for this very good explanation.

    I used the MethodInvocation approach which works fine for my purposes.
  7. Thank you for the link to...

    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...
  8. Thank you chudak. That's clear but:

    Thank you chudak.
    That's clear but:
  9. Missing Authentication object after new Thread invocation

    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...
  10. Replies
    3
    Views
    2,045

    @Secured meets Domain Object

    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)
    -...
  11. Replies
    6
    Views
    1,940

    Luke, thank you for this hint. I had defined...

    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
  12. Replies
    6
    Views
    1,940

    Can anyone provide a working solution for this...

    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...
  13. Integrating your snippet results in: ...

    Integrating your snippet results in:



    SoU-Listeners: #1
    SoU-Listeners: de.netzgiganten.giantsuite.gspim.persistence.audit.AuditableSaveOrUpdateListener@aab59f

    Perfect!
  14. Thanks for your answer Marten. I could do...

    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,...
  15. Hibernate event listeners and AbstractTransactionalJUnit4SpringContextTests problem

    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...
  16. Replies
    1
    Views
    1,048

    Correct! We use CumulativePermission for...

    Correct!

    We use CumulativePermission for combining BasePermission's for example.



    CumulativePermission cp = new CumulativePermission();
    cp.set(BasePermission.READ);...
  17. Replies
    5
    Views
    1,407

    The CharacterEncodingFilter only sets the charset...

    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:
    ...
  18. Replies
    5
    Views
    1,407

    Perhaps you have to write your own 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...
  19. DisplayTag, I18nSpringAdapter and LocaleChangeInterceptor

    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"
    ...
  20. Where do you have your database driver jar file...

    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...
  21. Followed your advice and I'm using the...

    Followed your advice and I'm using the init-method solution now:



    <bean
    id="persistenceManager"
    class="app.persistence.PersistenceManagerImpl"
    ...
  22. Solution for database revision check

    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:



    ...
  23. Check database revision number on Spring application startup

    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...
  24. MessageSourceAware with ReloadableResourceBundleMessageSource problem solution

    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...
Results 1 to 24 of 24