Re: HTML simple question ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: HTML simple question ?

Blair McGlashan
"Bruno" <[hidden email]> wrote in message
news:attkf4$2n1a3$[hidden email]...
> Hi all,
>
> Is there any way in Dolphin to display aString (in HTML format) in
> aURLPresenter without creating a File on hard drive ?
>

     presenter := URLPresenter createIn: shell.
     browser := presenter view controlDispatch.
     "We must wait until the browser has loaded the blank document..."
     [browser readyState == READYSTATE_COMPLETE]
        whileFalse: [SessionManager inputState pumpMessages].
     "... and then we can stuff in the HTML"
     browser document body innerHTML: stream contents

HTH

Blair


Reply | Threaded
Open this post in threaded view
|

Re: HTML simple question ?

Bruno Brasesco
Thanks every one.

"Blair McGlashan" <[hidden email]> escribió en el mensaje
news:atv5k9$30pf4$[hidden email]...

> "Bruno" <[hidden email]> wrote in message
> news:attkf4$2n1a3$[hidden email]...
> > Hi all,
> >
> > Is there any way in Dolphin to display aString (in HTML format) in
> > aURLPresenter without creating a File on hard drive ?
> >
>
>      presenter := URLPresenter createIn: shell.
>      browser := presenter view controlDispatch.
>      "We must wait until the browser has loaded the blank document..."
>      [browser readyState == READYSTATE_COMPLETE]
>         whileFalse: [SessionManager inputState pumpMessages].
>      "... and then we can stuff in the HTML"
>      browser document body innerHTML: stream contents
>
> HTH
>
> Blair
>
>