Search:

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

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    887

    LDAP additionalAuthenticationChecks

    ĄThanks a lot!,

    I've tried with the second approach and I think it works.
  2. Replies
    2
    Views
    887

    LDAP additionalAuthenticationChecks

    Hello,

    In Acegi Security I've been using the additionalAuthenticationChecks method from the LdapAuthenticationProvider class to perform some additional checks.
    But now I am migrating to Spring...
  3. Replies
    2
    Views
    1,367

    Hello Alph, thanks for the replay. I am still...

    Hello Alph, thanks for the replay.

    I am still getting the same error when I try to use the match function, I've tried with the sample code you posted but nothing changes. Have you ever seen a...
  4. Replies
    2
    Views
    1,367

    Valang, validate numbers

    Hello,

    I want to validate that a string has a numeric format using valang. But I do not find the correct way.

    I tried to use a regular expression:

    { field : match('^\\d+$',?) is true : '' :...
  5. Replies
    7
    Views
    11,125

    Thanks a lot, I think this should be the right...

    Thanks a lot, I think this should be the right way.
  6. Replies
    7
    Views
    11,125

    Hello mdeinum! thank you for the reply. I...

    Hello mdeinum! thank you for the reply.

    I think I understand.

    So I should change my question: which is the usual way for error handling the view code? There is something built like...
  7. Replies
    7
    Views
    11,125

    Hello robcos! thank you for the reply. You are...

    Hello robcos! thank you for the reply.

    You are right, the xml is not well formed, I did it to test the SimpleMappingExceptionResolver behaviour.
    This is an error that on production could happen...
  8. Replies
    7
    Views
    11,125

    More information

    When the error happens in the controller everything works fine, but when the error happens in the view ( an AbstractXsltView) the error page does not appears.
  9. Replies
    7
    Views
    11,125

    SimpleMappingExceptionResolver configuration

    Hello,
    I have configured a SimpleMappingExceptionResolver in my dispatcher-servlet context this way:

    <bean id="exceptionMapping"...
  10. Replies
    0
    Views
    4,445

    How to configure ehCache

    Hello,

    I've followed this tutorial:
    http://opensource.atlassian.com/confluence/spring/display/DISC/Caching+the+result+of+methods+using+Spring+and+EHCache but I'am not able to configure ehCache...
  11. Replies
    2
    Views
    937

    Thank you for the reply, If I remove the...

    Thank you for the reply,

    If I remove the classpath*: prefix from:

    - the "import tag" I get the following result: java.io.FileNotFoundException: Could not open ServletContext resource...
  12. Replies
    2
    Views
    937

    Bean definitions inside a jar file

    Hello,

    I have created a jar file with some bean definitions inside.

    In a external project I:
    - add the jar
    - use <import resource="classpath*:...
  13. Replies
    1
    Views
    2,863

    Finally I could solve it this way: ...

    Finally I could solve it this way:

    model.put("myBeanData", beanData);
    model.put("format", format);
    model.put(JRParameter.REPORT_RESOURCE_BUNDLE , resourceBundle);
  14. Replies
    1
    Views
    2,863

    JasperReports REPORT_LOCALE

    Hello,

    I'm trying to create reports using locales different from the actual locale in the WebApplicationContext.
    I use a MultiActionController :

    model.put("myBeanData", beanData);
    ...
  15. Replies
    0
    Views
    736

    Report in MSWord format

    Hello,

    I need to create reports in MSWord format in a web application.
    I have tried to use JasperReports with RTF Format, but I do not find the way to execute it from Spring. The...
  16. Replies
    1
    Views
    2,793

    I found it!

    I found it!

    <bean id="messageSource"
    class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
    <property name="basename" value="/WEB-INF/literales"/>...
  17. Replies
    1
    Views
    2,793

    NoSuchMessageException

    Hello,

    I'm trying to use the spring's i18n features, but i'm allways getting:

    org.springframework.context.NoSuchMessageException: No message found under code 'xxxxxx' for locale 'xxxxxx'....
Results 1 to 17 of 17