Hi,

I am getting the following error when I submit the html form:
<Sep 30, 2003 5:10:01 PM EDT> <Error> <HTTP> <101017> 
<[ServletContext(id=7779161,name=omr,co
ntext-path=/omr)] 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(PropertyUtils.java:17
89)
        at 
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:16
84)
        at 
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)
        at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019)
        at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
        at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)
        at 
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:82
1)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)



It is not displaying the line number(or tag name) in the JSP file.
Is there anything wrong in using nested tags in my JSP page?

I have following in the JSP file under html:form:
<td>
<logic:iterate name="manageProfileForm" property="availChannelGroup" id="cg">
<html:radio name="manageProfileForm" property="availChannelGroup" value="key" 
idName="cg">&nbsp;<bean:write name="cg" property="value"/></html:radio> 
         </logic:iterate>
        </td>

<td>
                    <html:select name="manageProfileForm" property="availDepts">
                 <logic:iterate name="manageProfileForm" property="availDepts" id="dt">
<html:option value="key"><bean:write name="dt" property="value"/></html:option>  
            </logic:iterate> 
            </html:select> 
                </td>

<td>
                        <logic:iterate name="manageProfileForm" property="availRoles" 
id="roles">
                  <html:checkbox name="roles" property="key">
                      <bean:write name="roles" property="value"/><br>
                  </html:checkbox>    
            </logic:iterate>
                </td>

<td>
                        <logic:iterate name="manageProfileForm" property="availRoles" 
id="roles">
                  <html:checkbox name="roles" property="key">
                      <bean:write name="roles" property="value"/><br>
                  </html:checkbox>    
            </logic:iterate>
                </td>


manageProfileForm is the form bean defined in the struts-config.xml as shown below:
<form-bean       name="manageProfileForm"
                     type="com.qwest.omt.actionForm.ManageProfileForm">
       
      <form-property name="availChannelGroup" type="java.util.HashMap"/>
      <form-property name="availDepts" type="java.util.HashMap"/>
      <form-property name="availRoles" type="java.util.HashMap"/>
      <form-property name="availBranches" type="java.util.HashMap"/>
      <form-property name="pendingAccess" type="java.util.HashMap"/>
                   
    </form-bean>

I appreciate your help.

Thanks,
Srini 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to