Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread revival, but have you found an answer? ...

    Thread revival, but have you found an answer? I'm facing the same issue and it's really annoying. I assume Spring does some kind of masking, but I really have no idea how to access a variable in...
  2. Replies
    1
    Views
    629

    Sources for 0.4

    A few years ago, someone added Spring Rich Client to our project. Up till now, everything's been working fine. However, we're trying to migrate our project to Spring 3.0, but SRP doesn't like that...
  3. Were you able to solve it? I'm having the same...

    Were you able to solve it? I'm having the same problem in my application.
  4. Replies
    1
    Views
    569

    AOP with Acegi

    I don't know whether these two are interfering with eachother, but it's the best I can come up with.

    In our application, Acegi is configured through an XML. We're using Acegi since it's a rather...
  5. Replies
    8
    Views
    25,651

    Does anyone know if there's an up-to-date version...

    Does anyone know if there's an up-to-date version of this document? This one was written in 2004 and maybe there are other ways of using Ehcache in conjunction with Spring.
  6. Replies
    4
    Views
    1,454

    I need to learn how to rephrase my issues :-). ...

    I need to learn how to rephrase my issues :-). What I want to do is map several requests to 1 method, instead of 1 method per request.

    For instance /secure/user.html and /user.html should both...
  7. Replies
    4
    Views
    1,454

    I should've changed the title of this thread to...

    I should've changed the title of this thread to "Map several URL's to 1 controller", because that's what I want to do. Using a multi action controller is an option, but then I would have 2 methods...
  8. Replies
    4
    Views
    1,454

    Map several requests to 1 controller

    We're using annotations in our project and I was wondering if it's possible to map different paths to 1 controller.

    For instance, I have a Controller which handles a form. In that Controller we...
  9. Replies
    9
    Views
    1,333

    Did you add this piece of code to a Controller? ...

    Did you add this piece of code to a Controller?



    ServletRequestDataBinder binder = createBinder( request, provider);
    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");...
  10. Replies
    9
    Views
    1,333

    Give us parts of your code so we can have a look...

    Give us parts of your code so we can have a look at it. Either your property editor isn't registered correctly or it doesn't work correctly.

    Try debugging your property editor and see if it...
  11. Replies
    9
    Views
    1,333

    What do you mean by "date validation"?

    What do you mean by "date validation"?
  12. I have a somewhat related issue...

    I have a somewhat related issue.

    How do you register your property editors?
  13. Replies
    3
    Views
    1,681

    It's also possible (and maybe easier) to create a...

    It's also possible (and maybe easier) to create a SimpleDateFormat instance and set lenient to false. If you enter a wrong date (like in your example), an exception will be thrown.
  14. Replies
    7
    Views
    1,614

    No one? It seems rather weird to me that no one...

    No one? It seems rather weird to me that no one (even the staff) knows a solution to this problem.
  15. Replies
    7
    Views
    1,614

    I'm going to revive this thread again. For the...

    I'm going to revive this thread again. For the moment, our application uses the old skool method <s:bind ...><input value="<fmt ... />" /></s:bind> to show dates in our form.

    I want to remove the...
  16. Replies
    2
    Views
    1,461

    We fixed this by adding a field which is empty. ...

    We fixed this by adding a field which is empty. Every time a user deletes a row, we search for that field and add "true" to it.

    In our onBind method (in the form controller), we loop through the...
  17. Replies
    0
    Views
    539

    Displaying Doubles

    I have an input field, in which a user can enter a Double. The problem is, users have to enter a Double with a comma (14,75). So far so good, when you enter a double 14,75, validation doesn't fail....
  18. Thread: custom editor

    by Bjorn121
    Replies
    5
    Views
    1,871

    I apologize for the thread hijack, but I have...

    I apologize for the thread hijack, but I have another problem with a custom editor.

    In our form, we have a field in which you can enter a Double. The problem is, when you enter text in that field...
  19. Replies
    5
    Views
    1,652

    I think I know what the problem is. This is my...

    I think I know what the problem is.

    This is my property editor:



    public class CustomDateEditor extends PropertyEditorSupport
    {
    /** Dateformat for the given date */
    private...
  20. Replies
    5
    Views
    1,652

    The magical concept of debugging ;-). I've added...

    The magical concept of debugging ;-). I've added a breakpoint at the start of those two methods (getAsText and setAsText), and when I press submit, I enter the setAsText method twice, but the...
  21. Replies
    5
    Views
    1,652

    Yes they are.

    Yes they are.
  22. Replies
    5
    Views
    1,652

    PropertyEditor for dates

    In our application we have a class, which extends another class.

    Simple:



    public class ObjA
    {
    private Date d;
  23. Thread: Multiple tabs

    by Bjorn121
    Replies
    3
    Views
    859

    Because we don't use Webflow since our...

    Because we don't use Webflow since our application is not complicated enough to use it. It's too late to change that decision, so I have to find a solution for Spring MVC.
  24. Thread: Multiple tabs

    by Bjorn121
    Replies
    3
    Views
    859

    Found a better solution...

    Found a better solution.

    However, there is still a problem:


    Our flow is like this:

    page contains link => Regular Controller adds user object to ModelAndView, show page containing the...
  25. Thread: Multiple tabs

    by Bjorn121
    Replies
    3
    Views
    859

    Multiple tabs

    I think this is something that has happened before, so I hope that someone has a solution for this problem.

    In our application it's possible to open a list of users. From those users it's...
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4