Was this the same issue that you had before, which we solved with a mime
type header?


> Thank you for your suggestion.

My trouble was just a cross-domain issue.

I still tried the app(proxied="false") on the dev console.

When I deploy DHTML-SOLO files into the web server, DHTML app works
correctly.


header('Content-type: application/xml; charset=utf-8');

is needed for php actually.

If this does not exist, the dhtml app does not display the return from php.



On Mon, Feb 15, 2010 at 5:43 AM, ason <[email protected]> wrote:

> hi.
>
> I am using OpenLaszlo4.6.1/DHTML/SOLO.
> I want to fetch data from the known web services on the DHTML SOLO apps.
>
> When I compile the dhtml app as SOLO,  "http://....."; src of a dataset
> does not work at all.
>
>
> Any help?
>
> regards,
> minamotonoason
>
>
> ---------------------------------
> main.lzx
> ---------------------------------
> <canvas proxied="false" debug="true">
>  <!--4.6.1/DHTML/SOLO-->
>  <dataset name="ds" src="http://localhost/test4dhtml.php?data=hello";
> request="true" ondata="Debug.write(dsd.data)" />
> </canvas>
>
> ---------------------------------
> test4dhtml.php
> ---------------------------------
> <?php
> $data = $_GET['data'];
> print "<root><data d='" . $data . "'/></root>";
> ?>
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to