You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sessionXForm :: SESSION * XForm [UNI]
CLASSIFY XFErfrecht ISA XForm
xfErfrechtNewPartyContactOK :: XFErfrecht * XFErfrecht [PROP]
[ ... stuff left out ... ]
INTERFACE "XFErfrecht": sessionXForm;I[XFErfrecht] cRud BOX <FORM>
[ ... more stuff left out ... ]
, "Toevoegen": V;"_SESSION";sessionXForm cRud BOX <PROPBUTTON>
[ label: TXT "OK"
, property: xfErfrechtNewPartyContactOK cRUd
]
They compile as expected and result in a running prototype. Clicking the button Toevoegen results in the following error, which I had not expected to occur:
Analysis
The expression in front of the BOX has a target atom of type of sessionXForm, which is the concept XForm.
The property-expression in the PROPBUTTON is xfErfrechtNewPartyContactOK, of which the source (and target) concept is XFErfrecht. There is no type-error as XFErfrecht ISA XForm. Therefore, there should be no problem in populating the property.
Workaround
A workaround for this problem is to insert I[XFErfrecht] before the BOX, as follows:
What happened
I have the following code fragments:
They compile as expected and result in a running prototype. Clicking the button
Toevoegen
results in the following error, which I had not expected to occur:Analysis
The expression in front of the
BOX
has a target atom of type ofsessionXForm
, which is the conceptXForm
.The property-expression in the PROPBUTTON is
xfErfrechtNewPartyContactOK
, of which the source (and target) concept isXFErfrecht
. There is no type-error asXFErfrecht ISA XForm
. Therefore, there should be no problem in populating the property.Workaround
A workaround for this problem is to insert
I[XFErfrecht]
before the BOX, as follows:The text was updated successfully, but these errors were encountered: