transistor
10-15-2007, 02:21 PM
Hi.
Here's what I am trying to do:
I have a state, which consists of a view a dataset and a grid.
<state name="prodList" apply="false">
<view name="prodListView" width="100%" height="100%">
<dataset name="listaProd" type="http" request="false" src="http://127.0.0.1/dharma/administration/scripts/productos.php" />
<grid datapath="listaProd:/catalogo" contentdatapath="productos/item" />
</view>
</state>
They are located in a library file that is included in the main canvas
<include href="library.lzx"/>
This view is shown when a selection from the menu takes place
onselect = prodList.apply();
The project compiles ok, but when I select the menu, I get this error:
__LZgetNodes: p is null in Datapath for grid
If I place the dataset and grid inside the main canvas, it shows the grid just fine.
What am I doing wrong?
Thank you
Here's what I am trying to do:
I have a state, which consists of a view a dataset and a grid.
<state name="prodList" apply="false">
<view name="prodListView" width="100%" height="100%">
<dataset name="listaProd" type="http" request="false" src="http://127.0.0.1/dharma/administration/scripts/productos.php" />
<grid datapath="listaProd:/catalogo" contentdatapath="productos/item" />
</view>
</state>
They are located in a library file that is included in the main canvas
<include href="library.lzx"/>
This view is shown when a selection from the menu takes place
onselect = prodList.apply();
The project compiles ok, but when I select the menu, I get this error:
__LZgetNodes: p is null in Datapath for grid
If I place the dataset and grid inside the main canvas, it shows the grid just fine.
What am I doing wrong?
Thank you