Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

How about ...

by Moron (Curate)
on Feb 26, 2007 at 17:05 UTC ( [id://602168]=note: print w/replies, xml ) Need Help??


in reply to posting from POE to XUL

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: How about ...
by rvosa (Curate) on Feb 26, 2007 at 23:22 UTC
    Thanks, erm, Moron :)

    In this case, though, the idea is that the log is tailed in a non-blocking way, so that rather than having to periodically check it - halting everything else - it's done either in multitasking environment (hence POE), or through something like threads (but sharing widget objects is painful).

    The solution that I've found to sort of work is to have spawn a poe log tail wheel and a light poe http server that receives the tail in a buffer. The server than writes out the buffer in a page that periodically refreshes, and this page is served up in an iframe inside the xul app. The downside is that it's a bit jerky with the refreshing, but it gets the job done.
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://602168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-24 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found