The addParameterDefinitions method implementation is required in all cases, even if no parameters are used. To add parameters to an action, you must perform the following steps:
1. Implement the addParameterDefinitions method.
2. Use the parameters in the business logic contained in the executeImpl method.To implement the addParameterDefinitions method, you must go into its definition and create a new ParameterDefinition object, as shown in the following code example.This example shows how to use the parameter list to add a new parameter definition. In this example, PARAM_TAGS contains the name of the parameter./** The parameter names */public static final String PARAM_TAGS = "tags";protected void addParameterDefinitions(List<ParameterDefinition> paramList){// Specify the parametersparamList.add(new ParameterDefinitionImpl(PARAM_TAGS,DataTypeDefinition.TEXT, true, getParamDisplayLabel(PARAM_TAGS)));}
| Programming with LiveCycle ES (LiveDocs) |
| Adobe LiveCycle ES Update 1 |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/001567.html