<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Nathan,<br>
<br>
Yes, it's possible. By default, a form control gets its possible
values from the schema. You can implement a SchemaManagerFilter
[1] which reads a configuration file and contributes with values
from that configuration file.<br>
<br>
In Oxygen version 17.0 we've implemented such a
SchemaManagerFilter ourselves [1] (it reads an XML configuration
file) and we are already using it for DITA (amongt other
frameworks). Inside the blog post Controlled Attribute Values for
your DITA Project [3] you can see how this support is actually
used for DITA and how you can extend it yourself (if you are using
DITA).<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://oxygenxml.com/doc/versions/17.0/ug-editor/#topics/dg-author-content-completion-handler.html">http://oxygenxml.com/doc/versions/17.0/ug-editor/#topics/dg-author-content-completion-handler.html</a><br>
[2]
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/doc/versions/17.0/ug-editor/#topics/configuring-content-completion-proposals.html">http://www.oxygenxml.com/doc/versions/17.0/ug-editor/#topics/configuring-content-completion-proposals.html</a><br>
[3]
<a class="moz-txt-link-freetext" href="http://blog.oxygenxml.com/2015/07/controlled-attribute-values-for-your.html">http://blog.oxygenxml.com/2015/07/controlled-attribute-values-for-your.html</a>
<pre class="moz-signature" cols="72">Best regards,
Alex
--
Alex Jitianu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
On 7/18/2015 3:53 AM, Nathan wrote:<br>
</div>
<blockquote
cite="mid:CAAA7NDgnep4HHPMC=C5qdbbUUwOFGAJF=6S3_-ceoUo7DN8DXQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div> Would it be possible to get on-demand values for the form
controls from a config file? For example: could we have set
the values and labels of the oxy_combobox and oxy_editor to
receive the string from a java code which reads a config file?
If so, how could I go about doing this?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Nathan</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-sdk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-sdk@oxygenxml.com">oXygen-sdk@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk">http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk</a>
</pre>
</blockquote>
<br>
</body>
</html>