Hey guys!
I need so much of your help, let me detail the work that I have to do:
There is an user screen (use case) that has many different use cases that are shown there (sub use cases) such as Refuse Quotation, Formalize Quotation and Print Quotation, however
is not permitted two or more than two users accessing the Quotation in the same time... How could you do this? A guy said to us the following possibility: When an user selects an item as Refuse Quotation, behind that item there is a link that invokes the method named isBlock, a type of boolean, in case that still not blocked it will invoke the method named insertBlock
and after that operation when the user will go out of the application will be called the method deleteBlock. Unfortunately there are small kind of bugs present because in real world the user can go out of the applicatoin by clicking on back botton or clicking on close window from the brownser and this way that blocked fuction/user screen will keep blocked because the method deleteBlock will not invoke when the user click on back botton or close window that action works only when the user click on ok button. We heard about the onunload event from
Java Script and lock of table as a solution but it must be thinked with more dateil for avoid some problems.
Thanks for your attention!
take care,
André AS