Hello!

I have a comments list page with 3 columns:

<display:table name="fileCommentResultsList"
requestURI="" scope="session" sort="list"
pagesize="10" width="100%" cellpadding="0"
cellspacing="0" border="0">

              <display:column align="left"
property="createdUserName" title="Author's Name"
sortable="true" headerClass="sortable" width="15%" />   
              <display:column align="left"
property="createdDate" title="Created Date|Time"
sortable="true" headerClass="sortable" width="15%" />   
              <display:column align="left" property="comment"
title="Comments" sortable="true"
headerClass="sortable" width="70%" />
 
</display:table>

When the user visits the page for the first time, the
sorting works fine. This screen has a "SAVE" button.
The user can add a new comment and save it. After
saving the new comment, when the user returns to this
page, and attempts to sort on any column, the just
added new comment gets added once more. Every time the
user attempts to sort, the last added comment gets
added to the list again.
Why does this happen?
How can I prevent this from happening?

Thanks in advance!
Sumitha



        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to