I have a script which binds a slice component string to a datumRange using a converter. This binding is inserted into the dom when it cannot be represented in the dom. The .vap is saved and the .vap is not loadable.
fromorg.jdesktop.beansbindingimportConvertersetScriptTitle('Binding Converter Vap Bug')setScriptDescription('''Binding registers the binding in the .vap, so thatit can be restored later. But when it has a converter,it should not be registered.''')a0=annotation(0,text='one')a1=annotation(1,text='eno',anchorOffset='1em,4em')classReverseBC(Converter):defconvertForward(self,c):printc,'->',c[::-1]returnc[::-1]defconvertReverse(self,c):printc,'->',c[::-1]returnc[::-1]bind(a0,'text',a1,'text',ReverseBC())printlen(dom.bindings)
Last edit: Jeremy Faden 1 day ago
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The script:
Last edit: Jeremy Faden 1 day ago
This is fixed and will be in v2026a_10.