Yes,I have update the source of grid component when the event of search is called.as following:
public void onSelectedFromSearchButton(){ allCustomers=customerManager.getCustomersByKey(searchKey); } In tml as following: <t:form id="customersBeanForm"> ${message:label_searchKey}<input type="text" t:type="TextField" t:id="searchKey" /> <input type="submit" t:type="Submit" t:id="searchButton" t:value="Search" /> </t:form> <table t:id="grid" t:source="allCustomers" t:rowsPerPage="1" width="99%"> </table> But it can not refresh the grid content. -----邮件原件----- 发件人: Marcelo Lotif [mailto:[EMAIL PROTECTED] 发送时间: 2008年6月11日 20:06 收件人: Tapestry users 主题: Re: 答复: About refresh action of grid component Have you tried to submit the form and update the grid's list with the information you entered? 2008/6/11 滕训华 <[EMAIL PROTECTED]>: > Hi,friends,please give me some idea,thanks. > > -----邮件原件----- > 发件人: 滕训华 [mailto:[EMAIL PROTECTED] > 发送时间: 2008年6月11日 9:04 > 收件人: 'Tapestry users' > 主题: About refresh action of grid component > > Hi: > > I have a question about the grid component of T5.I made a page with a > grid component and a search filed.At first the grid display all data from > one table,but i do not know how to refresh the grid component when enter > some words and get the sub recordset.Who can give me some idea about this > question. Thanks a lot. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Atenciosamente, Marcelo Lotif --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]