max  Creating user-defined grid-rule functions

Chapter 1: Developer Features

Using @OP tags with grid rules

Another useful feature is the ability to use @OP tags when defining grid rules. An @OP tag is replaced at run-time with a value passed to the portlet as an input parameters. The @OP tags are useful for building SQL queries, because they enable the portlet to use parameterized queries.The @OP tags can also be used in grid rules to parameterize the grid rules, enabling portlets to use input parameters as a way of altering the run-time behavior of the rules associated with the portlet.

See “Portlet parameters” in Chapter 4 of the Enterprise Portal Developer’s Guide, for instructions on using @OP tags.





Copyright © 2004. Sybase Inc. All rights reserved. Creating user-defined grid-rule functions

View this book as PDF