I think you might want to use LzHTTPDataRequest. See the
documentation at
http://labs.openlaszlo.org/trunk-nightly/docs/reference/
LzHTTPDataRequest.html
This new stuff is not well documented (yet), but Henry knows it very
well.
-ben
On Dec 19, 2007, at 2:47 PM, Steve Knox wrote:
I'm trying to pass a string to a php program from my openlaszlo
application. I use the "get" method to pass it. The argument name
is "qs". The php program writes out the value as null.
Am I not passing the string "stuff" correctly?
The php program snipit is:
$qs=$_GET["qs"];
fwrite($errorHandle,"get returned: $qs"); This writes out a null
string for $qs.
The laszlo script is:
<dataset name="ds" request="false"
src="http://www.../sr.php?qs=stuff" />
<window x="10" y="1" resizable="true" width="600" height="500" >
<form id="f2" height="200">
<submit name="sr" data="${a}"/>
<statictext fontstyle="bold" >
Enter keyword(s)?
</statictext>
<edittext width="175" />
<button text="Submit" isdefault="true"
onclick="parent.sr.submit()" />
</form>