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

Besides that problem.

When listing and navigating between different pages the url generated was 
getting
huge with all the params added by displaytag, like it was referred by steff.

Beside that problem I had another one. When I was editing some record of the
table a submit is produced (to update the record). The problem was that next
time I navigate throw the list all the params of the form were being added to
the url generated by th dispalytag (in DefaultRequestHelper.java) which 
generated
an exception since it was producing another form submit.

So I included the attrbiute excludedParams="*" and the problem was solved. Now
the only params added are the ones needed for the pagination without 
duplications
and form params.

Here is my table definition:

<display:table class="contentsMainTableGreat" name="${actionBean.villages}"
export="true" defaultsort="2" defaultorder="descending"
                    
requestURI="/admin/geolocalization/Village.html?loadAllVillages" pagesize="2"
excludedParams="*">
   <display:column property="name" title="Nombre"
href="/admin/geolocalization/Village.html?loadVillageById"
                paramId="village.id" paramProperty="id" sortable="true"/>
   <display:column property="municipality.name" title="Municipality"
sortable="true"/>
   <display:column property="municipality.province.name" title="Province"
sortable="true"/>
   <display:setProperty name="export.pdf" value="true"/>
</display:table>

I hope that this helps.

diogui


______________________________________________________________________
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=249318

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to