Hello cocoon users,
 
I wonder if this is possible.
 
I have an xml document which simple contains:
 
<?xml version="1.0" encoding="UTF-8"?>
<themes>
<theme>
<id>1</id>
<name>Jaren 66</name>
<selected>false</selected> 
</theme>
etc
</theme>
 
then i want to couple this xml document to an multivaluefield.
<fd:multivaluefield id="theme"> 
<fd:label>Theme:</fd:label>
<fd:datatype base="xml"/> 
<fd:selection-list type="flow-jxpath" list-path="themes/theme" 
label-path="name" value-path="id" dynamic="true" />
</fd:multivaluefield> 
 
I have the following js script:
 
var form = new Form("form/notificationSelect_definition.xml");
var doc = loadDocument('form/theme.xml');
form.createBinding("form/themeBinding.xml");    ?? Don't know how this file 
should be implemented!
form.load(doc);
form.showForm("show-notification-registration2");
 
How can i achieve this if it's possible. Any helps is very very welcome,
 
Thanks in advance,
Amon

 
 
_________________________________________________________________
Get the new Windows Live Messenger!
http://get.live.com/messenger/overview

Reply via email to