[Laszlo-user] XMLHttpRequest Question

Henry Minsky henry.minsky at gmail.com
Mon Jun 4 15:23:46 PDT 2007


There is a boolean flag on dataset called "nsprefix", which if you set to
true, is supposed to preserve
namespace prefixes

<dataset nsprefix="true" ...>

Try that and see if it removes  the difference in behavior of  DHTML vs SWF
results, if not please file a bug!


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? 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.
> >
>
> Thanks for all of the help today -  direct call to the browser's
> XMLHttpRequest does work if I take the time to move some things
> around on my web server so FF allows me from the same URL.
> The ActiveX references weren't quite right, you need to work
> with the version of MS XML installed, but I knew how to get
> around that.
>
> So in the mean time I promised to try the Dataset manual
> load method, palying around to get my own XML into the
> doRequest() and after the entire day do have that working.
> It's amazing how picky programming environments have gotten,
> but I mean that about the XML, not Laszlo.  So lots of
> debugging of XML formatting but I can get it to work.
> It's darn ugly code though.  The DHTML's a bit flaky
> with respect to the ondata event so that's a bit of fun.
>
> But more than that, the dataset that's returned is different
> comparing SWF to DHTML - the SWF version removes the name
> spacing prefixes on the XML tags.  DHTML does not.  So
> my datapath's are different depending on which environment
> it runs in.  From what we've been talking about, it looks
> to me like that might be a bit tricky to change.  But if
> we can get it standardized, I believe the world would be
> a better place. ;-)
>
> Thanks again.  Looking forward to trying out the feature
> we discussed to see if that won't pretty up my code a bit.
>
>
>
> =======================================================================
> Geoff Crawford                          Phone:         (973) 361 - 4224
>
>                   ProcessWare ERP for the Chemical Industry
>
>
>


-- 
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/b7117707/attachment.html


More information about the Laszlo-user mailing list