I have heard rumblings of some problem with BeanUtils in an earlier post.  Can you 
upgrade to using an up-to-date commons-beanutils?  Also, while you are at it, try one 
of the recent nightlines.

Sri

> -----Original Message-----
> From: Sundar Narasimhan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 7:17 PM
> To: Sri Sankaran; [EMAIL PROTECTED]
> Subject: Re: nest sytax.. looks cool but does it work? :)
> 
> 
> Hi, Sri: Thanks much for responding to my post.
> 
> You write..
> <nested:form action=3D"/someAction.do">
>   <%-- print the userFormName property of UserForm --%>
>   <nested:write property=3D"userFormName"/>
>   <%-- Iterate over all the UserPrefForms --%>
>   <nested:iterate property=3D"userPrefForms">
> 
> I almost have this but my selected preference is a property
> of the top level form.. I essentially have 
>        <nested:form action="/empPrefs">
> 
>           <nested:nest property="selectedPreference">
>                 <nest:text property="someattribute"
> 
> From all I've read this should work. But it doesn't. I get
> the exception shown below.. Any help would be much appreciated.
> 
> Thanks.
> -
> 
> javax.servlet.ServletException: BeanUtils.populate
> at
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:980)
> at org.apache.struts.action.RequestProcessor.processPopulate(Requ
> estProcessor.java:779)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProce
> ssor.java:246)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava:1292)
> at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> <blah de blah> :)
> 

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

Reply via email to