It's not a secret anymore!
The moose likes Struts and the fly likes Display:table tag in Struts application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Display:table tag in Struts application" Watch "Display:table tag in Struts application" New topic

Display:table tag in Struts application

deep kulkarni

Joined: Dec 05, 2007
Posts: 18
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="/" 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

Joined: Feb 19, 2008
Posts: 2904

Please, CarefullyChooseOneForum.

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link:
subject: Display:table tag in Struts application
It's not a secret anymore!