Adding form processing  Processing text to trigger events

Chapter 4: Advanced Application Creation

Adding a JSP filter

JSP filters allow you to write custom code to post-process application content using programming. When you create JSP filters, you look at an application’s content, enter the Java code to transform the content in any way you want, then save the code as a JSP template, which you can later select for post-processing.

StepsSelecting a JSP filter

  1. Log in to Mobile Web Studio and select Build | Applications from the menu in the left pane.

  2. In the detail pane, right-click the application to which you want to add post-processing and select Edit from the pop-up.

  3. When the Application Builder displays, right-click the application to which you want to add a JSP Filter and select Create JSP Filter from the pop-up.

    The JSP Editor appears with a preview of the application.

  4. Complete these options:

  5. Click Finish to associate the JSP Filter with the selected application.

You can add more than one JSP filter as post-processing elements on an application and you can apply the same JSP filters to numerous applications. When the JSP filters have been added, the application is saved under the same version, regardless of how the global versioning property is set. Once you assign a JSP filter for application postprocessing, the filter is listed in the Application Builder under the application name.





Copyright © 2005. Sybase Inc. All rights reserved. Processing text to trigger events

View this book as PDF