Pre-defined Handler Classes
You are required to use the pre-defined handler classes below.
Web app in an editor: com.sabre.edge.cf.webapp.services.WebEditorForwardingService
Web app in a view: com.sabre.edge.cf.webapp.services.WebViewForwardingService
Registering Your Service
Add a dependency to the plug-in com.sabre.edge.cf.webapp.services to manifest file.
Add a Service entry to the CFBundle entity within your redapp.xml file, as shown below.
<Service name="EMU_COMMAND" action_code="HOT" handler_name="com.sabre.edge.cf.webapp.services.WebViewForwardingService" status="" desc=""> <ExternalHandler target="com.sabre.redapp.example.cf.webapp.services.view:process:callback" force_focus=ťfalseť/> </Service>
This sample registers the EMU_COMMAND service with the
HOT command prefix for the action code. The handler represents a web app that is wrapped as a view.
To send Sabre system special characters as action codes, map the characters in
redapp.xml as UTF-8. For more information, see Sabre System Special Characters.
Obtaining and Modifying a Service Context