Edit broadcasting
Denis Laprise <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.rdf |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Hi, I'd like to know if there is any way to make XUL elements having the same datasource to update their content upon edition. I doubt it would be possible with a broadcaster since I'm using a template. What I would like is to have the textboxes from the example below showing the same ?authorfirstname syncing their content. Do I have to manually update the datasource with javascript? <vbox datasources="bookstore_ext.rdf.php?classname=Book bookstore_ext.rdf.php?classname=Author" ref="http://localhost/genericStore/Book"> <label value="test" /> <template> <rule> <conditions> <content uri="?uri"/> <member container="?uri" child="?book"/> <triple subject="?book" predicate="http://localhost/genericStore/Book#Author" object="?author"/> <triple subject="?book" predicate="http://localhost/genericStore/Book#Title" object="?title"/> <triple subject="?book" predicate="http://localhost/genericStore/Book#ISBN" object="?isbn"/> </conditions> <bindings> <binding subject="?book" predicate="http://localhost/genericStore/Book#Publisher" object="?publisher" /> <binding subject="?publisher" predicate="http://localhost/genericStore/Publisher#Name" object="?publishername"/> <binding subject="?author" predicate="http://localhost/genericStore/Author#LastName" object="?authorlastname"/> <binding subject="?author" predicate="http://localhost/genericStore/Author#FirstName" object="?authorfirstname"/> </bindings> <action> <label uri="?book" value="?title" /> <textbox uri="?book" value="?authorfirstname" /> </action> </rule> </template> </vbox> Thank you for your help! Denis Laprise