I think you want to write:
<dataset name="baseball"
 
src="http://localhost:8080/lps-3.1.1/charts/src/test/data/pie-data2.xml";
    request="true"/>

When you supply a relative path, the xml file is compiled into the app. 
With an HTTP URL it is fetched at runtime.  By default, it is only 
fetched when you call doRequest() on the dataset.

Sarah

On Mon, Feb 27, 2006 at  2:56 PM, rjain wrote:

>
> Hi
> I am running the Laszlo chart application. If I change the url from 
> <dataset name="baseball" src="../../data/pie-data2.xml"/>
>
> to     <dataset name="baseball"
> 
> src="http://localhost:8080/lps-3.1.1/charts/src/test/data/pie-data2.xml"/>
>
> it doesn't work. I can get to the XML file from my browser.
> Why doesn't HTTP URL work? Do I need to do something specific....
>
> regards
> Rajesh
>
> --
> View this message in context: 
> http://www.nabble.com/Dataset-URL-t1196162.html#a3154644
> Sent from the OpenLaszlo - User forum at Nabble.com.
>
> _______________________________________________
> 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

Reply via email to