- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CMSDialog Replacement in FS 5.1
Hello All,
The de.espirit.firstspirit.common.gui.CMSDialog is deprecated in the FS5.1.
Please any one suggest the replacement for CMSDialog.
Thanks,
Kavin
- Labels:
-
Developers
- Tags:
- fs5.1
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
CMSDialog was never API.
you could/should use RequestOperation instead. starting with FS 4.2.427
see:
http://www.e-spirit.com/odfs51/dev/de/espirit/firstspirit/agency/SpecialistsBroker.html
http://www.e-spirit.com/odfs51/dev/de/espirit/firstspirit/agency/OperationAgent.html
http://www.e-spirit.com/odfs51/dev/de/espirit/firstspirit/ui/operations/RequestOperation.html
login credentials: https://community.e-spirit.com/docs/DOC-1041
final OperationAgent operationAgent = specialistsBroker.requireSpecialist(OperationAgent.TYPE);
final RequestOperation operation = operationAgent.getOperation(RequestOperation.TYPE);
final RequestOperation.Answer yes = operation.addYes();
final RequestOperation.Answer no = operation.addNo();
final RequestOperation.Answer ok = operation.addOk();
final RequestOperation.Answer answer = operation.perform("your question text showing in the request operation dialog.");
if (answer == yes) {
...
}
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
CMSDialog was never API.
you could/should use RequestOperation instead. starting with FS 4.2.427
see:
http://www.e-spirit.com/odfs51/dev/de/espirit/firstspirit/agency/SpecialistsBroker.html
http://www.e-spirit.com/odfs51/dev/de/espirit/firstspirit/agency/OperationAgent.html
http://www.e-spirit.com/odfs51/dev/de/espirit/firstspirit/ui/operations/RequestOperation.html
login credentials: https://community.e-spirit.com/docs/DOC-1041
final OperationAgent operationAgent = specialistsBroker.requireSpecialist(OperationAgent.TYPE);
final RequestOperation operation = operationAgent.getOperation(RequestOperation.TYPE);
final RequestOperation.Answer yes = operation.addYes();
final RequestOperation.Answer no = operation.addNo();
final RequestOperation.Answer ok = operation.addOk();
final RequestOperation.Answer answer = operation.perform("your question text showing in the request operation dialog.");
if (answer == yes) {
...
}
...

