Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    10
    Views
    9,389

    Hi Lana, It's not necessary to add the...

    Hi Lana,

    It's not necessary to add the "locale" param in every request. You just need to add it once, at the first time, or when you want your application language to be changed.

    Once you...
  2. Replies
    1
    Views
    1,128

    "Spring way" for 403 error

    Hi,

    I'd like to know if there is a "Spring way" to send an 403 error.

    I'm trying


    response.sendError(403);

    but it's not working.
  3. Isn't your browser caching the form data? That...

    Isn't your browser caching the form data? That thing happens only in mozzila browser, or also in ie?

    Mauricio
  4. Replies
    5
    Views
    1,029

    I think you could make this way: ...

    I think you could make this way:


    RedirectView rv = new RedirectView("/secure/main.htm",true);

    Map myModel = new HashMap();
    myModel.put("reason", e.getMessage());

    ...
  5. Replies
    5
    Views
    1,029

    Have you tried this? return new RedirectView(....

    Have you tried this?
    return new RedirectView(....
  6. Replies
    1
    Views
    1,112

    Refreshing a bean

    Hello,

    I have my "tilesConfigurer" bean, which is declared in applicationContext, and which's "basenames" property has the "/WEB-INF/definition1.xml" value for instance.

    Well, I'd like to know...
  7. Replies
    10
    Views
    9,389

    Hi Lana. Some weeks ago I had the same ...

    Hi Lana.

    Some weeks ago I had the same questions you're having now. Then, I just took a look at the "countries" application, which is in the "samples" folder of "springframewor with...
  8. Replies
    1
    Views
    1,046

    How to define a default language??

    Hello,

    I'm using spring's ResourceBundleViewResolver and ResourceBundleMessageSource for implementing a multilanguage application. The language change is working well. However, I'd like to know...
  9. Replies
    2
    Views
    1,211

    Thanks for trying to help me, delnoij The...

    Thanks for trying to help me, delnoij

    The solution I found was get spring 1.2.1 (until now, I was working on 1.1.3), which MultiActionController's can have an initBinder method, so I could...
  10. Replies
    2
    Views
    1,211

    Property Editor

    Hello,

    I'm trying to create a "StatePropertyEditor", which is supposed to transform a string (the id of the state) that comes from a dropdown of state selection. This property editor needs to...
  11. Replies
    4
    Views
    1,113

    Hi Alef, I've registered it in the...

    Hi Alef,

    I've registered it in the initBinder() method of my SimpleFormContrloller, and now I've added the spring:bind tags to my jsp. SetAsText is called, but getAsText doesn't.

    But, after...
  12. Replies
    4
    Views
    1,113

    I expected it to be called before the date be...

    I expected it to be called before the date be shown in my jsp. In my function getAsText, I'd like to acess my resourcebundle, get the date format for that user's locale, and put the timestamp, that I...
  13. Replies
    4
    Views
    1,113

    getAsText not called

    Hello.

    I made my own Date property editor, but I'm having some problems about that. My "getAsText" method is not being called. "setAsText" works fine.

    Could anybody help me? Why does...
  14. An example

    Hey Rexxe,

    Could you post an example of how you pass the arguments?

    I've tried two ways:

    code="fmt.date" arguments="${person.dateDeactivated}"

    and
Results 1 to 14 of 14