Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    260

    Injecting Map with Enum keys.

    Hi,

    I have problem with injecting my property wich is a Map with Enum keys in my web application.

    My class with Map property:


    public class SomeServiceImpl implements SomeService{
  2. Try to use

    Try to use <form:form commandName="yourBackingObject"> tag.

    And use:


    <form:input path="children[${status.index}].firstName>
    inside <form:form ... > tag instead of yours <input name...>...
  3. OK, the problem is solved. Redirecting after...

    OK, the problem is solved. Redirecting after validation was wrong so there was no errors available on my JSP.
  4. Spring validation errors not displayed

    Hello,

    I've encountered some problems with displaying spring validation errors in JSP page. The problem is, that validation of command object works fine, but errors are not displayed in my JSP.
    ...
  5. OK, the solution of above problem is very simple...

    OK, the solution of above problem is very simple to achieve when the list contains String values.

    Example:



    public class BeanService{

    private List<String> list = new ArrayList<String>();...
  6. How to add values from several fields of one form to command object list.

    Hello,

    I am still new to Spring MVC and I have some problems with command object list.

    I have dynamically generated form in JSP witch contains some fields. I would like to add all values from...
Results 1 to 6 of 6