Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XML template example

Skip to first unread message

Matjaž Ostroveršnik

unread,
Sep 28, 2006, 4:50:09 PM9/28/06
to
Hi all,

Is there some complete example how to load the template with XML file
and not rdf based source? I was only able to find some fragments how
this should be used and not a whole working example.

Thanks in advance

Matjaž

Matjaž Ostroveršnik

unread,
Sep 28, 2006, 6:19:33 PM9/28/06
to
Matjaž Ostroveršnik pravi:

Here is my non working example:

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://alf/skin/alf.css" type="text/css"?>
<window
id ="main-application"
orient ="vertical"
xmlns
="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
width ="1024"
height ="768"
persist ="width height screenX screenY"
>
<button label="hi"/>
<data id="data">
<label name="A" />
<label name="B" />
<label name="C" />
<label name="D" />
<label name="E" />
</data>
<vbox >
<button label="kva"/>
<vbox datasources="#data" ref="."
querytype="xml" flex="1">
<template>
<button uri="?" label="?name"/>
</template>
</vbox>
</vbox>
</window>

Hi and kva buttons are displayed, other five are not. What I am doing wrong?

I am working with : Mozilla XULRunner 1.9a1_2006092823

Thanks in advance

Matjaž

Neil Deakin

unread,
Sep 29, 2006, 11:09:22 AM9/29/06
to

That feature isn't available yet. The code that implements it is waiting
to be reviewed. See bug https://bugzilla.mozilla.org/show_bug.cgi?id=321171

Neil

Matjaž Ostroveršnik

unread,
Sep 29, 2006, 1:54:13 PM9/29/06
to
Neil Deakin pravi:
Yeah, it's a long week indeed. ;-)

So this is just in your branch ?
Could you give an instructions how to /where to put your patch ?
I am building the xulrunner almost nightly, adding some additional files
should't make a big change. :-)

Regards

Matjaž

Matjaž Ostroveršnik

unread,
Oct 8, 2006, 7:01:06 PM10/8/06
to
Neil,

The patch is not valid for trunk builds any more. Could you refresh it a
bit?

Thanks in advance

Matjaž


Neil Deakin pravi:

0 new messages