Hi,

Can someone tell what is wrong in this code. The write tag gives 'No getter
method for property empname in bean... '

 <logic:iterate id="employee" name="employees" scope="request"
type="org.apache.commons.beanutils.DynaBean">
        <bean:write name="employee" property="empname"/>
  </logic:iterate>

Below code works fine. I just use employeebean.get method and it seems to
work fine.

 <logic:iterate id="employee" name="employees" scope="request"
type="org.apache.commons.beanutils.DynaBean">
           <%=employee.get("empname")%>
  </logic:iterate>

I am using org.apache.commons.beanutils.RowSetDynaClass downloaded from
http://jakarta.apache.org/builds/jakarta-commons/nightly/commons-beanutils
(and Struts 1.1)

I am using RowSetDynaClass as explained in this archive
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg53068.html

Any help on this would be appreciated.

TK

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

Reply via email to