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_REVIEWER_ID, PARAM_ASSIGNER_ID, and PARAM_REVIEW_DESC contain the names of the parameters.// action parameters// reviewer namepublic static final String PARAM_REVIEWER_ID = "reviewer-id";// assigner namepublic static final String PARAM_ASSIGNER_ID = "assigner-id";// review descriptionpublic static final String PARAM_REVIEW_DESC = "review-desc";protected void addParameterDefinitions(List<ParameterDefinition> paramList) {paramList.add(new ParameterDefinitionImpl(PARAM_REVIEWER_ID, DataTypeDefinition.TEXT, false, getParamDisplayLabel(PARAM_REVIEWER_ID)));paramList.add(new ParameterDefinitionImpl(PARAM_ASSIGNER_ID, DataTypeDefinition.TEXT, false, getParamDisplayLabel(PARAM_ASSIGNER_ID)));paramList.add(new ParameterDefinitionImpl(PARAM_REVIEW_DESC, DataTypeDefinition.TEXT, false, getParamDisplayLabel(PARAM_REVIEW_DESC)));}
| 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_2.html