Announcement Announcement Module
Collapse
No announcement yet.
spring BIND for collection of objects Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring BIND for collection of objects

    Hello all,

    I am wondering if it is possible to have binding for collection of objects. I am having following command object.

    private int id;
    private Set<String> serverList = null;
    private Set<WsUrlData> wsUrlDataList = new HashSet<WsUrlData>();

    And WsUrlData looks like this

    private int id;
    private String configName;
    private String wsUrl;
    private String portNumber;

    I Know How to create binding to display this command, but can anybody please give me hint how can i create binding for wsUrlDataList? Following is the scenario for more details
    - I am generating entries for WsUrlData dynamically using java script when ever user clicks on Add button. so for every click on ADD I am populating 3 fields. How can i bind
    private Set<WsUrlData> wsUrlDataList, so that I can add new record.

    I have spent many hours to look for this answer but I havn't came up with elegant solution. I am Hopeing to find answer here.

    thanks
Working...
X