• Post Reply Bookmark Topic Watch Topic
  • New Topic

Display:table tag in Struts application

deep kulkarni
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am designing Struts application and in JSP i have used <html:form>tag and for form data i used <display:table > tag. Now data is showing properly but when i am editing form data and submitting to action that time i am unable to get submitted form data instead i m getting old form which was set in session . Following is code for ref.

<html:form name="fmCustomerMaster" type="com.algo.struts.form.CustomerForm" action="/CustomerAction.do" method="post">
<display:table id="customerList" name="sessionScope.CustomerForm.customerList" pagesize="10" >
<display:column title="<input type='checkbox' name='selectall' onclick=\"selectAll(0,'chkEdit',UpdateRow, this.checked, 7)\" />">
<input type="checkbox" name="chkEdit"
value='<bean:write name="customerList" property="customerCode"/>'>
<display:column title="Customer Code" sortable="true">
<html:text name="customerList" property="customerCode"></html:text>
Sagar Rohankar
Ranch Hand
Posts: 2907
Java Spring Ubuntu
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!