| Author |
how to set a ArrayLIst property of form from jsp
|
sudheer kiran
Ranch Hand
Joined: Jun 26, 2008
Posts: 237
|
|
it is giving the error HtmlOptionsForm.setNewList - argument type mismatch
i have checked in different examples,it is not working.
is it not possible to set a ArrayList property.
thanks
|
Sudheer
SCWCD, SCJP 5
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
sudheer kiran wrote:it is giving the error HtmlOptionsForm.setNewList - argument type mismatch
What is the signature of method HtmlOptionsForm.setNewList() ?
sudheer kiran wrote:
is it not possible to set a ArrayList property.
Try using simple array , instead.
Also, the "name" attribute in <html:link> tag looks for bean with "Map" that contains one or more query parameter ids and corresponding values. Look here for details:
http://struts.apache.org/1.3.10/struts-taglib/tagreference.html#html:link
|
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
|
 |
sudheer kiran
Ranch Hand
Joined: Jun 26, 2008
Posts: 237
|
|
hi thasnks for the reply.
method signature is correct.
i have read the specifications,it says only the strings and string arrays are only allowed
simple array is working,and also all other properties are working except arraylist type.
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
sudheer kiran wrote:i have read the specifications,it says only the strings and string arrays are only allowed
simple array is working,and also all other properties are working except arraylist type.
Right, so I think you got your answer
|
 |
 |
|
|
subject: how to set a ArrayLIst property of form from jsp
|
|
|