Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3521766
By: poorav9

I am using Struts 1.2.7 and displaytag to display a list of objects. For 
example,
I have an ArrayList (methodList) of objects (Method) that I need to display.
For each row, I need to include a checkbox so that the user can select multiple
records.

Here is an excerpt of the JSP code -

<html:form action="/search.do" method="post">
<display:table name="methodList" requestURI="" sort="list" class="results"
id="table1">
<display:column title="<input type='checkbox' name='selectall' />"
class="results"><html:checkbox property="methodName"></display:column>
<display:column property="methodName" title="Method ID" sortable="true" 
width="80"
class="results"/>
<display:column property="methodDesc" title="Method Desc" width="120" 
sortable="true"
class="results"/>
<display:column property="status" title="Status" width="80" sortable="true"
class="results"/>
</display:table>
</html:form>

When I execute this page, it returns a blank page and the following error log -

javax.servlet.ServletException: No getter method for property methodName of
bean

What am I doing wrong?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249317


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to