I have Android 8.1 phone. When I take first picture it saves it ok, but next pictures are all saved as black images. What is the problem?
It's in web/xava/js/openxava.js openxava.executeActionConfirmLosesChangedData = function(application, module, confirmMessage, takesLong, action, argv, range, alreadyProcessed, inNewWindow) { if (openxava.dataChanged) { if (!confirm(openxava.confirmLoseChangesMessage)) return; openxava.dataChanged = false; } openxava.executeAction(application, module, confirmMessage, takesLong, action, argv, range, alreadyProcessed, inNewWindow); }
It's in xava/js/openxava.js openxava.executeActionConfirmLosesChangedData = function(application, module, confirmMessage, takesLong, action, argv, range, alreadyProcessed, inNewWindow) { if (openxava.dataChanged) { if (!confirm(openxava.confirmLoseChangesMessage)) return; openxava.dataChanged = false; } openxava.executeAction(application, module, confirmMessage, takesLong, action, argv, range, alreadyProcessed, inNewWindow); }
It's in web/js/openxava.js openxava.executeActionConfirmLosesChangedData = function(application, module, confirmMessage, takesLong, action, argv, range, alreadyProcessed, inNewWindow) { if (openxava.dataChanged) { if (!confirm(openxava.confirmLoseChangesMessage)) return; openxava.dataChanged = false; } openxava.executeAction(application, module, confirmMessage, takesLong, action, argv, range, alreadyProcessed, inNewWindow); }
Try getView().refresh(); Check what getView().getModelName() returns. It should be Bl201RepAllMat
Try getView().refresh(); Check what getView().getModelName() returns.
Try getView().refresh();
You can define custom editor(s) and use JavaScript for that, like onkeypress event. Have a look at https://www.openxava.org/OpenXavaDoc/docs/customizing_en.html#Customizing-Editors-JavaScript%20in%20editors Do you want to just notify user when he starts changing data (starts typing), or you need to compare data to database record, which would be very inefficient?