Hmmm - ok I'm basically trying to think of the questions India will ask when
they get this tonight (the team doing most of the work is there).
I re-read the docs - and I think the way I understood it is correct but does
not contradict what you said.
Given:
<dataset
src="../work/runstatistics.xml"
id="dcrunstatdataset" name="dcrunstatdataset"
request="true">
</dataset>
How can I restructure the src parameter to be a "url" without having the
request information brought in? For instance I can't code in the lzx
Src="http://machineX:8085/visionaeldatacollector/work/runstatistics.xml"
Because the port, machine, are both things that are different for each
install. I'm guessing the request object has to be used to get the url?
-----Original Message-----
From: P T Withington [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 3:43 PM
To: Andy Chandler
Cc: [email protected]
Subject: Re: [Laszlo-user] DataSet - type = http
If you specify the url without a protocol, the app protocol will be merged
in.
On 2006-07-24, at 15:49 EDT, Andy Chandler wrote:
> (sorry - sent with work account before)
>
> When using a webapp that can be deployed either as http or https
> depending on the end users needs I've wondered if there isn't a better
> way for me to do the datasets.
>
> Most of our datasets that are file based are just relative referenced
> so
> they get compiled in when the page is compiled. However there are
> a couple
> that are more dynamic or might not be present - in this case it seems
> to work better (at least the page compiles) to use type=http or
> type=https.
> It would be nice if the dataset could just have an attribute like
> type="request" and it would automatically use http or https depending
> on how
> the app is being accessed. Has anyone seen something like that that
> already exists?
>
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user