Results 1 to 3 of 3

Thread: spring:bind tag problem

  1. #1
    Join Date
    Dec 2005
    Posts
    7

    Default spring:bind tag problem

    I get org.springframework.beans.NullValueInNestedPathExc eption.
    I want to bind path like bean.property(Object).property(ofObject) but i get above exception. I used spring:nestedPath tag and Oject is null.
    Any ideas?

    Thank for help.

  2. #2
    Join Date
    Dec 2005
    Posts
    7

    Default

    I reply to myself))
    The nested Object should be created as new.
    Code:
    public class SomePOJO{
    private NestedObj = new NestedObj();
    }
    Sorry for disturbing You.

  3. #3
    Join Date
    Oct 2005
    Location
    Amsterdam
    Posts
    81

    Default

    Hi Sebryk,

    I am having the same problem, is it a requirement that the nested object is instantiated? Is that the same for java.util.Set's for instance?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •