[Laszlo-user] XMLHttpRequest Question
Henry Minsky
henry.minsky at gmail.com
Mon Jun 4 08:38:43 PDT 2007
Oh, here's an issue, to use XMLHTTPRequest in DHTML, you need to put this
compiler pragma in the code block
{
#pragma "passThrough=true"
this.req = window.XMLHttpRequest? new XMLHttpRequest(): new
ActiveXObject("Microsoft.XMLHTTP");
}
Because our compiler does a transformation on "new SomeClassName()" to make
it into a call to SomeClassName.make(),
for obscure reasons.
On 6/4/07, Geoff Crawford <geoff at innov8cs.com> wrote:
>
> At 11:28 AM 6/4/2007, Henry Minsky wrote:
> >Which version of LPS are you using, and are you using SWF or DHTML
> runtime?
>
> 4.0.2 and it has to be SWF, since I just posted the issue that
> DHTML gives errors when trying to use XMLHttpRequest.
>
> > There were some changes to the LFC (runtime library) code to allow
> > real raw content posting in SWF, and there were also some other
> > fixes. These are mostly in LPS 4, not in the 3.x branches.
>
> That could be the issue then, it's SWF and 4.0.2 - is there an
> open issue in Jira on it? Or has it already been addressed
> in some of the latest builds?
>
> Thanks.
>
>
> =====================================================================
> Geoff Crawford Phone: (973) 361 - 4224
> Innov8 Computer Solutions, LLC FAX: (973) 537 - 6946
> 711 Route 10 East, Suite 204 Email: geoff at innov8cs.com
> Randolph NJ 07869 Web: http://www.innov8cs.com
>
> Progress Blog: http://blogs.ittoolbox.com/database/progress/
>
> Take a Step Up to StepUp Accounting
>
>
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20070604/37e75e63/attachment.html
More information about the Laszlo-user
mailing list