<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>I'm not at all familiar with SmallFaces, but maybe try something along these lines:<br><br>onSuccess: (<br>&nbsp;&nbsp;&nbsp;&nbsp;updateComponentsWithJavaScript onComplete: (displayReady).<br>).<br><br>RS<br><br>> Date&#58; Wed, 9 Dec 2009 20&#58;21&#58;52 -0800<br>> From&#58; timothy&#64;churchmilitant.org<br>> To&#58; seaside&#64;lists.squeakfoundation.org<br>> Subject&#58; Re&#58; &#91;Seaside&#93; Implement &#34;please wait&#34; message using smallfaces.<br>> <br>> Ok now I know why it&#39;s doing it.  I have a collection of panes I need to <br>> be refreshed &#40;when&#58; send&#58; to&#58; refresh&#58;&#41; and the message will be <br>> refreshed during the processing of the collection.  What I need it to do is&#58;<br>> <br>> 1. update the message to working status<br>> 2. on success refresh the remaining panes<br>> 3. when the panes are all refreshed &#40;including the hit list&#41;<br>> 4. update the message to a ready status.<br>> <br>> Hmmm can this be done in SmallFaces using &#40;when&#58;send&#58;to&#58;refresh&#58;&#41;&#63;  Or <br>> do I just evaluate javascript &#40;when&#58; evaluateJavascript&#58;&#41;&#63;<br>> <br>> Timothy James Ziebart wrote&#58;<br>> &#62; Thanks Robert I will give it a try - never used it before.<br>> &#62;<br>> &#62; Robert Sirois wrote&#58;<br>> &#62;&#62; Are you able to use an &#35;onSuccess&#58; type message is your system&#63; &#40;Ajax <br>> &#62;&#62; request.&#41;<br>> &#62;&#62;<br>> &#62;&#62; RS<br>> &#62;&#62;<br>> &#62;&#62; &#62; Date&#58; Wed, 9 Dec 2009 16&#58;19&#58;47 -0800<br>> &#62;&#62; &#62; From&#58; timothy&#64;churchmilitant.org<br>> &#62;&#62; &#62; To&#58; seaside&#64;lists.squeakfoundation.org<br>> &#62;&#62; &#62; Subject&#58; &#91;Seaside&#93; Implement &#34;please wait&#34; message using smallfaces.<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; Hi all. I&#39;ve built a fairly complex interface using SmallFaces<br>> &#62;&#62; &#62; components.<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; 9 listboxes, 4 buttons, 3 labels, 1 panel and two custom components<br>> &#62;&#62; &#62; &#40;subclasses of SFAbstractWidget - search results and a map&#41;. Selecting<br>> &#62;&#62; &#62; an option in one listbox results in a chain of events being executed -<br>> &#62;&#62; &#62; the contents of two other listboxes are updated, a search conducted <br>> &#62;&#62; on a<br>> &#62;&#62; &#62; remote server and the results being displayed including label and <br>> &#62;&#62; button<br>> &#62;&#62; &#62; statuses being updated. There are no submit or search buttons -<br>> &#62;&#62; &#62; selecting a listbox option starts the process &#40;I will be adding the<br>> &#62;&#62; &#62; functionality to include the search button should the user not have<br>> &#62;&#62; &#62; javascript on&#41;. There are no forms. It works well - that is not the<br>> &#62;&#62; &#62; problem.<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; The challenge I have is due to the delay in getting data from the <br>> &#62;&#62; remote<br>> &#62;&#62; &#62; server I would like to implement a &#34;please wait&#34; message while the <br>> &#62;&#62; data<br>> &#62;&#62; &#62; is being retrieved. I am not having any success getting it to work.<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; I tried a SUPeriodical object reading a variable holding updated <br>> &#62;&#62; message<br>> &#62;&#62; &#62; text but, it stops while the data is being retrieved and will display<br>> &#62;&#62; &#62; the content only when the remaining components are updated -- too <br>> &#62;&#62; late.<br>> &#62;&#62; &#62; Is it possible to have an element update the content and display the<br>> &#62;&#62; &#62; results before the remainder of the requests are processed&#63; What would<br>> &#62;&#62; &#62; that look like&#63; Does SUEvaluater&#47;updater update content and render<br>> &#62;&#62; &#62; before processing the next script&#63;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; I was looking at Ramon Leon&#39;s Ajax Polling and Concurrency articles<br>> &#62;&#62; &#62; thinking I may have to head in that direction. Is that the direction I<br>> &#62;&#62; &#62; need to head in&#63; Any suggestions would be helpful.<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; As you can tell I am confused about the sequence when a element on a<br>> &#62;&#62; &#62; page has it&#39;s content updated and when the browser displays the <br>> &#62;&#62; results<br>> &#62;&#62; &#62; using ajax.<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; Thank you for the help.<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; Tim<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; _______________________________________________<br>> &#62;&#62; &#62; seaside mailing list<br>> &#62;&#62; &#62; seaside&#64;lists.squeakfoundation.org<br>> &#62;&#62; &#62; http&#58;&#47;&#47;lists.squeakfoundation.org&#47;cgi-bin&#47;mailman&#47;listinfo&#47;seaside<br>> &#62;&#62;<br>> &#62;&#62; ------------------------------------------------------------------------<br>> &#62;&#62; Windows LiveT Hotmail is faster and more secure than ever. Learn <br>> &#62;&#62; more. <br>> &#62;&#62; &#60;http&#58;&#47;&#47;www.microsoft.com&#47;windows&#47;windowslive&#47;hotmail_bl1&#47;hotmail_bl1.aspx&#63;ocid&#61;PID23879&#58;&#58;T&#58;WLMTAGL&#58;ON&#58;WL&#58;en-ww&#58;WM_IMHM_1&#58;092009&#62; <br>> &#62;&#62;<br>> &#62;&#62; ------------------------------------------------------------------------<br>> &#62;&#62;<br>> &#62;&#62; _______________________________________________<br>> &#62;&#62; seaside mailing list<br>> &#62;&#62; seaside&#64;lists.squeakfoundation.org<br>> &#62;&#62; http&#58;&#47;&#47;lists.squeakfoundation.org&#47;cgi-bin&#47;mailman&#47;listinfo&#47;seaside<br>> &#62;&#62;   <br>> &#62;<br>> &#62; _______________________________________________<br>> &#62; seaside mailing list<br>> &#62; seaside&#64;lists.squeakfoundation.org<br>> &#62; http&#58;&#47;&#47;lists.squeakfoundation.org&#47;cgi-bin&#47;mailman&#47;listinfo&#47;seaside<br>> &#62;<br>> <br>> _______________________________________________<br>> seaside mailing list<br>> seaside&#64;lists.squeakfoundation.org<br>> http&#58;&#47;&#47;lists.squeakfoundation.org&#47;cgi-bin&#47;mailman&#47;listinfo&#47;seaside<br>                                               <br /><hr />Chat with Messenger straight from your Hotmail inbox. <a href='http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_4:092009' target='_new'>Check it out</a></body>
</html>