omic
10-21-2005, 11:14 PM
Hi,
It seems that I have a problem with <nodes datapath="....">
The following works fine :)
<!-- DATASET -->
<dataset name="dsetDeviation" type="http" autorequest="true" src="http:jsp/profile/dataDeviation.jsp"/>
<!-- DISPLAY -->
<view datapath="dsetDeviation:/data/profile">
<text text="$path{'text()'}"/>
</view>
But if I put a datapath attribute in the node tag, it returns a error:
-> "couldn't find dataset for dsetDeviation:/data/profile/defaultRules/rule"
<!-- DATASET -->
<dataset name="dsetDeviation" type="http" autorequest="true" src="http:jsp/profile/dataDeviation.jsp"/>
<!-- NODE -->
<node id="dataDeviation" datapath="dsetDeviation:/data/profile">
<attribute name="field1" value="$path{'text()'}"/>
</node>
<!-- DISPLAY -->
<view>
<text text="${dataDeviation.field1}"/>
</view>
I'am a bit confusing why it doesn't work <nodes datapath="....">... Instantiation timing problem ?
I read your suggestions with pleasure.
Fabien
It seems that I have a problem with <nodes datapath="....">
The following works fine :)
<!-- DATASET -->
<dataset name="dsetDeviation" type="http" autorequest="true" src="http:jsp/profile/dataDeviation.jsp"/>
<!-- DISPLAY -->
<view datapath="dsetDeviation:/data/profile">
<text text="$path{'text()'}"/>
</view>
But if I put a datapath attribute in the node tag, it returns a error:
-> "couldn't find dataset for dsetDeviation:/data/profile/defaultRules/rule"
<!-- DATASET -->
<dataset name="dsetDeviation" type="http" autorequest="true" src="http:jsp/profile/dataDeviation.jsp"/>
<!-- NODE -->
<node id="dataDeviation" datapath="dsetDeviation:/data/profile">
<attribute name="field1" value="$path{'text()'}"/>
</node>
<!-- DISPLAY -->
<view>
<text text="${dataDeviation.field1}"/>
</view>
I'am a bit confusing why it doesn't work <nodes datapath="....">... Instantiation timing problem ?
I read your suggestions with pleasure.
Fabien