Title: Message
Hi,
 
I am trying to use tacos:TableView inside AjaxForm and i am having problems in updating the search results
in my search page. Here is the code i am using in my search page. Am i missing anything?
 
.html
 
<form jwcid="searchForm">
<div jwcid="[EMAIL PROTECTED]" id="searchresults">
 <table jwcid="[EMAIL PROTECTED]:Table"
        effects="template:{highlight:{any:'[255,255,184], 500, 500'}}"
        source="ognl:searchList"
        columns="name:Name:name>         
                                     
 </table>
</div>
</form>
 
.page
 
    <inject property="webRequest" object="infrastructure:request"/>
    <inject property="listenerInvoker" object="infrastructure:listenerInvoker"/>
    <inject property="ajaxWebRequest" object="service:tacos.AjaxWebRequest" />
    <property name="baseURL" initial-value="webRequest.contextPath" />
    <property name="searchResults" persist="session"/>
    
    <component id="searchForm" type="tacos:AjaxForm" >
        <binding name="listener" value="listener:searchNames" />
        <binding name="updateComponents" value="ognl:{'searchresults'}" />       
        <binding name="delegate" value="ognl:beans.delegate" />             
    </component>
 
.java
 
public abstract Collection getSearchList(); 
public abstract AjaxWebRequest getAjaxWebRequest();
 
public void pageBeginRender(PageEvent event)  {
   ......    
   .......
  setSearchList(list);        
  
}
 
Thanks,
Venu.

______________________________________________________________________
This e-mail has been scanned by The Leukemia & Lymphoma Society Managed Email Content Service, provided by MCI and Message Labs.

NOTICE: This message, including all attachments transmitted with it, is for the use of the addressee only. It may contain proprietary, confidential and/or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, you must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message. If you believe you have received this message in error, please delete it and all copies of it from your system and notify the sender immediately by reply e-mail. Thank you.


Reply via email to