Hi
in an ItemChangeEvent I am calling something like:
getEditedEntity().setCustomer("testing");
how do I get the value to display on the screen ?
I what to simply display the full name of a customer when the value of the lookup field changes: so I have:
@Subscribe(id = "request_Dc", target = Target.DATA_CONTAINER)
private void onRequest_DcItemChange(InstanceContainer.ItemChangeEvent<EstimateRequestOrigin> event) {
notifications.create().withCaption(event.getItem().getCustomer().getName()).show();
seaFCLEstimateHeaderDc.getItem().setCustomer(event.getItem().getCustomer().getName()); }
the notification does show the new customer name each time but the screen field remains blank