struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <>
Subject Re: Array Input Fields
Date Sat, 11 Sep 2010 16:40:54 GMT
>>> <input type="text" id="user[1].name" name="user[1].name" value="smith"
>>> size="20" />

>>> therefore i'd expect the params interceptor to make calls like
>>> getUser(1).setName("smith") for the above input field sent to the server....
>>> but it doesn't set the value or error - the params interceptor debug shows
>>> the correct name/value pair of user[1].name =>  [smith]

I'd bet that the list of users is null, so getUser(1) fails, and 
therefore the setName() call doesn't fire.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message