-
Sep 10th, 2008, 04:18 PM
#1
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules