Save Participant for popup window on cancel work Item using server extensions.
Hi All.
Till now I have seen in SaveworkItem partcipant (at server side) we can valiadate the input data and show error message or update some other value depending on current save operation.
Is there way I can show popup message/window to proceed save operation or not when work item is canceled/rejected/invalidated.
Thanks,
Kavita
One answer
Comments
Hl All,
I have worked on preconditions and follow up conditions. as per my knowledge we can not show pop up window and button in window with "Yes" or "No" to proceed Save operation.
And I feel the script vaildators is only on attribute. So my above requrement can be accoplished by Script validator?
Thanks,
Kavita
Hello Kavita,
javascript validators return true or false. the system has defined behavior for handling either those two responses.
I don't know the runtime internals of the web UI and dojo enough, but 'maybe' you could extend the internals of the validator to use dojo to put up some interactive message? but the UI would be 'hung' at that point waiting for the validator to return. this will not work on the Eclipse UI.
Hi Eric,
My requirement is Whenever work ticket is cacelled want to show pop up window ( with "Yes" and "No" buttons) to make confermation. If Yes button is pressed Should perform save operation otherwise should not save work ticket.
Thanks,
Kavita
Hello Kavita,
Comments
sam detweiler
Jun 25 '14, 11:17 a.m.No.. popup windows are not supported. you can check and reject the save (advisor), or you can check and fix the data and save again (participant).
you can also use the script vaildators (field by field advisor). but they only put up the same errors.
you would have to write a java extension.
https://jazz.net/library/article/1000