Search:

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

Search: Search took 0.04 seconds.

  1. Replacing mvc:default-servlet-handler by mvc:resources mapping /** to /

    Hi,

    can <mvc:default-servlet-handler/> be replaced by <mvc:resources mapping="/**" location="/"/> ?

    (the latter has the advantage of controlling the caching).

    Edit: I think the answer is...
  2. Replies
    10
    Views
    1,259

    Ok, thanks, amazingly simple with brain switched...

    Ok, thanks, amazingly simple with brain switched on. ;-)

    Would be interesting now to limit the OpenId providers in this context, but this was already discussed in the thread...
  3. Replies
    10
    Views
    1,259

    Hi Rob, is it possible to use the "normal...

    Hi Rob,

    is it possible to use the "normal spring-security setup" with <openid-login login-page="myLoginPage"> where on myLoginPage a choice between a) the usual login with username and password...
  4. Hi Jack, I just wrote a comment (on Luke's...

    Hi Jack, I just wrote a comment (on Luke's comment) on https://jira.springsource.org/browse/SEC-1643.
  5. Impossible to access triggercontext when scheduling a runnable?

    Hi, for example when scheduling a runnable like this


    @Autowired
    ThreadPoolTaskScheduler scheduler;

    [...]

    final CronTrigger trigger = new CronTrigger("0/5 * * * * ?");
  6. I've just suggested an alternative setup in...

    I've just suggested an alternative setup in http://jira.springframework.org/browse/ROO-655.

    --dhukas
  7. Tiles2: One web.xml with two DispatcherServlets containing *disjunctive* Tiles-Defs?

    Hi, is that possible?

    In my web.xml I have


    <servlet>
    <servlet-name>portal</servlet-name>
    <servlet-class>
    org.springframework.web.servlet.DispatcherServlet
    </servlet-class>
  8. Yes, actually that's the way I'm doing it, but I...

    Yes, actually that's the way I'm doing it, but I thought it would be possible to find a more generic solution (using a PropertyEditor).

    Anyway, thanks for your investigation!

    Regards,
    ...
  9. ;) Of course it's not, but getAsText() has to...

    ;) Of course it's not, but getAsText() has to return a String (not String[]).

    Moreover setAsText(String text) is called with "1,4" if the form is submitted with options 'one' and 'four' selected....
  10. Hello Jörg, thanks for your answer! ...

    Hello Jörg, thanks for your answer!

    Implementing setAsText() instead of setValue() works, but "the other direction" is still not working.

    In my JSP I would like to write something like...
  11. Very special custom PropertyEditor (PropertyEditorSupport)

    Hello,

    I would like to write some custom property editor (extending PropertyEditorSupport) which transforms between String[] and long in the following way (by example):

    {"1", "4"} <-> (long)5 =...
Results 1 to 11 of 12