Great, thanks for the feedback! Have a lot of fun with tapestry ;)
On 20.08.2010 18:27, bugxiaoya wrote:
thanks,it works. 2010/8/20 Alexander Muthmann [via Tapestry]< ml-node+2641993-90986904-102...@n5.nabble.com<ml-node%2b2641993-90986904-102...@n5.nabble.com>Hi bugxiaoya, I think you can solve this problem by setting the inPlace parameter of your grid. This causes your grid to act like a ajax component and prevents reloading the whole site. http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html <t:grid ... t:inplace:"true"...>...</t:grid> greeting On 20.08.2010 06:43, bugxiaoya wrote:I am using Tapestry 5.1 Grid Component for data display. the problem is: when click the sort icon in the table head,it is just redirected to the Start page. set the SymbolConstants.SUPPRESS_REDIRECT_FROM_ACTION_REQUESTS to be"true"in AppModule.contributeApplicationDefaults() can resolve this problem,butisthere any other way? P.S:the same problem when click the paging label of grid component. the source code is as follows: <t:grid source="users" row="user" add="delete" rowsPerPage="2" pagerPosition="bottom" exclude="id"> <p:nameCell> <t:pagelink page="edit" context="user.id">${user.name} </t:pagelink> </p:nameCell> <p:deleteCell> <t:actionlink t:id="delete" context="user.id">${message:delete-label} </t:actionlink> </p:deleteCell> </t:grid>http://tapestry.1045711.n5.nabble.com/file/n2641788/%E6%90%9C%E7%8B%97%E6%88%AA%E5%9B%BE_2010-08-20_12-41-38.bmp<http://tapestry.1045711.n5.nabble.com/file/n2641788/%E6%90%9C%E7%8B%97%E6%88%AA%E5%9B%BE_2010-08-20_12-41-38.bmp?by-user=t&by-user=t> *smime.p7s* (6K) Download Attachment<http://attachment/2641993/0/smime.p7s> ------------------------------ View message @ http://tapestry.1045711.n5.nabble.com/tapestry-grid-problem-when-sorting-redirected-to-Start-page-tp2641788p2641993.html To unsubscribe from tapestry grid problem,when sorting,redirected to Start page, click here<http://tapestry.1045711.n5.nabble.com/template/NodeServlet.jtp?tpl=unsubscribe_by_code&node=2641788&code=YnVneGlhb3lhQGdtYWlsLmNvbXwyNjQxNzg4fC0xNjY4NjgyNzY4>.
smime.p7s
Description: S/MIME Cryptographic Signature