Hi,

Still experimenting with OL.

Could you help me in this very simple question:

 

No data is showing in my grid. Why?

 

<?xml version="1.0" encoding="UTF-8" ?>

<canvas debug="true">

 

      <splash>

            <view resource="yeah.png"/>

      </splash>

      <greenstyle name="greencolors"/>

    <bluestyle name="bluecolors"/>

    

      <include href="WindowLib.lzx"/>

 

      <dataset name="dsprokb" request="true" type="http"
src="http:cust.xml"/>

      <window name="main" title="ProKWeb" fontsize="11"

                  width="650"

                  height="350" resizable="true"

                  closeable="false" 

                  bgcolor="0xFFFFCC">     

                  

            <tabs style="bluecolors">

                  <tabpane> Solutions

                                    

                        <grid name="mygrid"
datapath="dsprokb:/Customers/Customer/" sizetoheader="false"
showvlines="true" 

                                bgcolor0="$once{greencolors.basecolor}">

                              <gridtext datapath="@custnum"> Kb. Id.
</gridtext>

                                          <gridtext datapath="@Name"> Name
</gridtext>

                                                

                                    <handler name="onselect">


                                                      var childwindow = new
lz.Childwindow(canvas);

 
childwindow.datapath.setFromPointer ( this.getSelection()[0] );

                                                </handler>


                        </grid>

                  </tabpane>

                  <tabpane> Error </tabpane>

            </tabs>

      </window>

 

</canvas>

 

The XML Doc looks like:

<?xml version="1.0"?>

<Customers><Customer Name="Lift Tours" Country="USA"
custnum="1"/></Customers>

 

Thanks a lot, any help is greatly appreciated.

 

Sincerely.

 

pedro

Reply via email to