I've never done this in Webware, but you should be able to do what you want
with some combination of:

  - something in wmail.sendMessage to write to the browser
  - something after each call to wmail.sendMessage
  - flushing stdout (or whatever the response.write method is writing to)

I doubt that it applies here, but one thing I learned about how browsers
render is that if you're building a table, there's NO rendered output until
the </table> tag.  So if you're building a long table but want it to show up
incrementally, you need to start and end the table often.

Take any or all of this with a grain of salt--I'm no expert.

Cheers!
--
David Hancock | [EMAIL PROTECTED] | 410-266-4384


-----Original Message-----
From: Rolf Hanson [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, May 19, 2002 9:18 PM
To: [EMAIL PROTECTED]
Subject: [Webware-discuss] streaming .psp output?


Is it possible to stream the output of a psp page?

I have a page which sends email to a variable number of users.
like:

<% for user_id in user_ids : {%> <%=wmail.sendMessage(user_id,message)%>
<%}%>

sendMessage() returns a string that describes if the mail was a success 
or error.

Right now, the page does not render until the for loop has completed. 
I'd like to stream the results of the mailing to the user who is using 
the system.

Thanks,

Rolf


_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
Webware-discuss mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to