I'm trying to supply the list of items for an oxy_popup() from an xml file relative to my framework extension folder.
This works fine if the xml file is relative to the edited topic.
Code: Select all
ph[info=specification] {
content : oxy_popup(
edit, '#text',
values, oxy_xpath('string-join(doc("commun/listes/specifications_techniques.xml")//div[@id=\'liste_specifications\']/ul/li/text(), ",")'),
selectionMode, 'single',
fontInherit, true
);
visibility:-oxy-collapse-text;
}
From my understanding of the post below, this should work in Oxygen 19
topic14141.html)
Code: Select all
ph[info=specification] {
content : oxy_popup(
edit, '#text',
values, oxy_xpath('string-join(doc("${frameworkDir(fr_name)}/specifications_techniques.xml")//div[@id=\'liste_specifications\']/ul/li/text(), ",")'),
selectionMode, 'single',
fontInherit, true
);
visibility:-oxy-collapse-text;
}
Now I'm having a really hard time trying to make it work with oxy_url() as suggested in this post.
post40812.html#p40900
I would really like to have those list with the framework extension, along with the css files.
Can it be done in Oxygen 18?
Thank you,
Raymond