public class AddListAttributeModel extends Object
Declare a list that will be pass as an attribute.
Declare a list that will be pass as an attribute . List elements are added using the tag 'addAttribute' or 'addListAttribute'. This tag can only be used inside 'insertTemplate', 'insertDefinition' or 'definition' tag.
| Constructor and Description |
|---|
AddListAttributeModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String role,
Request request,
ModelBody modelBody)
Executes the model.
|
public void execute(String role, Request request, ModelBody modelBody) throws IOException
role - The comma-separated list of roles that can use the list attribute.request - The request.modelBody - The body.IOException - If the body cannot be evaluated.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.