Create Your Own Filters

Visual LANSA Framework

Create Your Own Filters

Framework Programming

Tutorials:

VLF006WIN - Snapping in A Real Windows Filter

VLF006WAM - Snapping in A Real WAM Web Filter

When you turn your prototype to a real application, you snap in your custom made filters which provide the actual filtering.

WINDOWS: You create the filter as a reusable part, compile it and then snap it in the Framework.

WAM: You create the filter as a Web Application Module, compile it and then snap it in the Framework

Use the Program Coding Assistant in the Framework to generate the filter code for you or define it manually

Snap it in the Framework:
  • Start the Framework executing (as a designer).
  • Display the Filters tab for the business object you are working with.
  • Select the mock up filter that you wish to replace with your real filter. Click on the Filter Snap-in Settings Tab.
  • Use the Windows group box to associate a Windows real filter to the selected Business Object filter. Use the Web Browser group box to associate a WAM real filter to the currently selected Business Object filter.
  • Click the radio button of one of the real handler types.
  • Type the handler name into the property field if it is known.
  • Alternatively, click on the Find button to open the repository search dialogue. Enter a partial name and/or description and click the Find button to restrict the of return repository objects matching those strings.
  • Locate your filter handler in the object list and select it by double clicking on it or selecting it and clicking the OK button.
  • Check the WAM Component radio button to associate a WAM real filter handler to the currently selected Business Object filter.
  • Save the Framework.

Your filter is now snapped into the Framework and usable. Test, modify, debug and recompile your filter as you would any component.