adam
> Date: Sun, 12 Sep 2010 18:04:38 -0400
> Subject: Re: Array Input Fields
> From: davelnew...@gmail.com
> To: user@struts.apache.org
>
> Look at the type conversion docs: there's a difference between using
> [] and () in the JSP names.
>
> On Sunday, S
ok the params off the request myself in the
> action and updated the list - just thought i'd try and get to the bottom of
> it this time.
>
>
>
> i think it must be down to the input names i'm using or the methods i need to
> have available to the params inter
call.
adam
> Date: Sat, 11 Sep 2010 19:52:48 -0400
> Subject: Re: Array Input Fields
> From: davelnew...@gmail.com
> To: user@struts.apache.org
>
> Depends. The OP wasn't using index notation (parens instead of
> brackets) so there'd need to be a getUsers.
>
Depends. The OP wasn't using index notation (parens instead of
brackets) so there'd need to be a getUsers.
On Saturday, September 11, 2010, Chris Mawata
wrote:
> On 9/10/2010 1:08 PM, adam pinder wrote:
>
> public User getUser(int occ)
>
>
> Should the getter not return the collection rather tha
On 9/10/2010 1:08 PM, adam pinder wrote:
public User getUser(int occ)
Should the getter not return the collection rather than a single User?
Chris
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional co
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
It is, and it should be doing it automatically.
Can the OP post a minimal example showing the JSP and the action?
Dave
On Sat, Sep 11, 2010 at 11:22 AM, Burton Rhodes wrote:
> I don't think Struts is that 'smart'. I would look into creating your
> own StrutsTypeConverter. Very easy to do and yo
I don't think Struts is that 'smart'. I would look into creating your
own StrutsTypeConverter. Very easy to do and you can specifically
manipulate input variables from the form easily.
On 9/10/10, adam pinder wrote:
>
> Using Struts 2.0.11
>
>
>
> I have a jsp that creates elements like
>
>
>
>
8 matches
Mail list logo