[oXygen-sdk] On-demand values for Form controls
Alex Jitianu
alex_jitianu at sync.ro
Mon Jul 20 04:19:43 CDT 2015
Hello Nathan,
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.
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).
[1]
http://oxygenxml.com/doc/versions/17.0/ug-editor/#topics/dg-author-content-completion-handler.html
[2]
http://www.oxygenxml.com/doc/versions/17.0/ug-editor/#topics/configuring-content-completion-proposals.html
[3]
http://blog.oxygenxml.com/2015/07/controlled-attribute-values-for-your.html
Best regards,
Alex
--
Alex Jitianu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 7/18/2015 3:53 AM, Nathan wrote:
> Hi,
> 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?
>
> Thanks,
> Nathan
>
>
> _______________________________________________
> oXygen-sdk mailing list
> oXygen-sdk at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-sdk/attachments/20150720/283aef3b/attachment.html>
More information about the oXygen-sdk
mailing list