Portlet Factory, Version 6.1.2


 

Providing access to a model action from an external URL request

Refer to the following example to expose a method action in your model so that the method or action can be accessed from an external URL request. For method action that is not public in the following a request: http://localhost:8080/alert6/webengine/sampleModel/Action!doSomething, you can:

  1. Place a Model Action Access builder in the model that contains the action you wish to expose.

  2. Use the builder's Explicit Public Actions input to select the desired method action in your model.

  3. Click Apply or OK to apply your public action changes. The action will be stored on the WebApp property bowstreet.PublicActions and IBM® WebSphere Portlet Factory will use this list at runtime to allow access to the selected action.

Parent topic: Model Action Access builder


Library | Support |