[Kotlin studio] Possible problem with handlers for facets

I say ‘possible’ because I’m not sure if this is a bug or not.

I’ve added an OptionDialogFacet to a page, and I’ve added a couple of actions to it:

       <optionDialog id="taskAbortedYesNoDialog"
               <action id="yes" caption="msg://captionYes" primary="false"/>
               <action id="no" caption="msg://captionNo" primary="true"/>

So far so good. The problem is that I cannot add handlers to it through the Studio. The Handlers box in the facet properties appears to be blank.

I can go to the code and Install the handler manually though, and although the IDE gives me an Invalid Installed Delegate inspection error, the code does seem to work.


Comprehensive support for the OptionDialogFacet will be added to the Studio in the upcoming release 14.0, and for platform versions 7.2.5+ (also not released yet).

1 Like