Hello,
I think that problem is - multibox
in my jsp:
<logic:iterate id="item" name="reportForm" property="guaranteeItems" >
<html:multibox property="selectedGuaranteeItems" onclick="blankImage()">
<bean:write name="item"/>
</html:multibox>
<bean:write name="item"/>
</logic:iterate>
in my Form:
public ArrayList getGuaranteeItems() {
return guaranteeItems;
}
public void setGuaranteeItems(ArrayList guaranteeItems) {
this.guaranteeItems = guaranteeItems;
}
private ArrayList guaranteeItems;
private ArrayList selectedGuaranteeItems;
public ArrayList getSelectedGuaranteeItems() {
return this.selectedGuaranteeItems;
}
public void setSelectedGuaranteeItems(ArrayList selectedGuaranteeItems) {
this.selectedGuaranteeItems = selectedGuaranteeItems;
}
----------------------------------
looks like that "multibox" doesn't understand type ArrayList - isn't it?
tnx a lot
Best Regards.
Michael.
-----Original Message-----
From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 12:44 PM
To: 'Struts Users Mailing List'
Subject: RE: [Q] how to know which one?
java.lang.IllegalArgumentException : argument type mismatch
What does your ReportForm look like?
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Q] how to know which one?
> java.lang.IllegalArgumentException : argument type mismatch
>
>
> Hello,
>
> based on stack trace - I don't see any calls to my classes at all.
> I use ReportForm extends ValidatorForm.
>
> java.lang.IllegalArgumentException: argument type mismatch
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
> Utils.java:1789)
> at
> org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
> Utils.java:1684)
> at
> org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
> java:1713)
> at
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924
> )
> at
> org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:729)
> at
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1097)
> at
> org.apache.struts.action.RequestProcessor.processPopulate(RequestProc
> essor.java:798)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
> va:254)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:142
> 2)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:262)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:198)
> at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
> rvletContext.java:2637)
> at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
> pl.java:2359)
> at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
> -----Original Message-----
> From: James Mitchell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 12:18 PM
> To: 'Struts Users Mailing List'
> Subject: RE: [Q] how to know which one?
> java.lang.IllegalArgumentException: argument type mismatch
>
>
> Can you provide more details?
>
> Specifically, your DynaActionForm declaration.
> If you've subclassed, can you show that as well?
>
>
>
> --
> James Mitchell
> Software Developer
> Struts Technical Support
> A division of The Apache Software Foundation
> (ok, not really ;)
> http://www.apache.org/struts
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> Sent: mercredi 26 f�vrier 2003 15:19
> To: [EMAIL PROTECTED]
> Subject: [Q] how to know which one?
> java.lang.IllegalArgumentException: argument type mismatch
>
>
> hello,
>
> I'm getting:
>
>
> Root cause of ServletException
> java.lang.IllegalArgumentException: argument type mismatch
> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
> Utils.java:1789)
> at
> org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
> Utils.java:1684)
> at
> org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
> java:1713)
> at
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924
> )
>
> tnx
>
> Best Regards.
> Michael.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]