reload XML Temlpate

Discuss building things with or for the Mozilla Platform.
Post Reply
luchs3
Posts: 1
Joined: March 3rd, 2009, 10:28 am

reload XML Temlpate

Post by luchs3 »

Hi,
I'm new with XUL and try to reload an XML Template but it doesn't work.
The documentation is quite poor.

my XUL File:

Code: Select all

<listbox flex="1" id="list12" datasources="http://10.0.0.4:2020/abfrage/neu/test.php?id=2" ref="*" querytype="xml">
  <template>
    <query/>
    <action>
      <listitem  onclick="a(this.value)" uri="?" label="?IAR_NAME" value="?IAR_ARTNR"/>
    </action>
  </template>
</listbox>


my JS File:

Code: Select all

function a(ab) {
   document.getElementById('thelist').appendItem(ab, "thu"+ab);
   alert("bla");
   document.getElementById('list12').reload();
}
aspr1n
Posts: 192
Joined: November 13th, 2002, 8:06 am
Location: London, UK
Contact:

Re: reload XML Temlpate

Post by aspr1n »

"any activity becomes creative when the doer cares about doing it right or doing it better".
Post Reply