Hi Kevin,

[I'm cc'ing this to laszlo-user, in case other people have similar
questions or want to chime
in with suggestions]

There are a couple of ways to post raw data back to the server.  With
the 4.2 lz.dataset API,
there is a new call setPostBody, which takes a string which will
become the contents of the
post. There were some issues with this in SOLO mode in swf8, due to
the fact that there
was not actually any Flash API for a raw post, so the data ended up
having to be XML-escaped.

However, in SWF9, raw data should be post-able via this API, in either
proxied or SOLO mode.

You can serialize a dataset to a string via the dataset.serialize()
call, so you would have something
like

mydataset.setPostBody(mydataset.serialize())

The 'old' way of setting a raw post contents was to set a magic query
arg called 'lzpostbody', you may
see references in the documentation to that, but that mechanism is
deprecated (or will be soon).



There is a lower level  (non-public)  kernel API, LzHTTPLoader, which
is analogous more or less
to browser XMLHTTPRequest, but the intent was that lz.dataset should
provide a way for the developer
to pass straight XML, so I want to make sure it works.

If there's some problem with the lz.dataset API that is preventing you
from getting raw XML post
to work, I definitely want to know about it, so please give this a try
and tell me what happens.


On Fri, Feb 27, 2009 at 2:07 PM, Kevin Armstrong <[email protected]> wrote:
> Hello Henry,
>
>
>
> Here is a link to the latest beta: http://www.rmenuz.net/UW_PROJECT_A/
>
>
>
> Feel free to test drive it.  Please remember there are still bugs
> uncheckedL  For best results use the following test scenario:
>
>
>
> Step 1:   Search -> Trees -> Tree number -> 1 ->Done
>
>
>
> Step 2:   Right click on the Map push point -> Select “Proximity Search” ->
> [ select a proximity ] -> Trees - > All Trees
>
>
>
> Step 3:  Select Tree No. 1 from the “Map Points” tab (this will open the
> google info window)
>
>
>
> Step 3a:  Select tab Point -> Media …
>
>
>
> What ya think?
>
>
>
> Sooo, I’m ready to tackle my next (almost final code block)…and I don’t know
> how to ask other than to just ask…
>
>
>
> I will need to post raw XML back to the server for processing.  Currently I
> encode stuff and pass it to the server as a “QueryString” value.
> Unfortunately, this process is both awkward and inefficient.  But, I have
> not been able to find a functioning example for swf9 (solo)…kind sir, would
> u-know of such a gem?
>
>
>
>
>
> Regards,
>
>
>
> Kevin Armstrong
>
> RMENUZ.com
>
> W: 888.827.7780
>
> F:   888.827.7781
>
>
>
> http://www.RMenuz.com
>
>
>
>
>
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to