public class DynamicPageDefinition extends PageDefinition
Constructor and Description |
---|
DynamicPageDefinition(java.lang.String name)
creates a dynamic page definition with an empty list of input arguments
|
Modifier and Type | Method and Description |
---|---|
void |
addInputParameter(ArgumentContent parameter) |
NamedList<ArgumentContent> |
getPageAttributes()
This method should be overriden by page types that allow inputattributes
|
void |
linkPageToAction(ActionDefinition actiondefinition) |
generateToFile, getAttributeMethodAddon, getClassAddon, isAutogenerated, setNoAddOn, setSpecificAddon
changeName, cleanName, equals, getName
public DynamicPageDefinition(java.lang.String name)
name
- name of the page. Should be unique for the module and a valid
java namepublic void addInputParameter(ArgumentContent parameter)
parameter
- adds an input parameter to the page definitionpublic NamedList<ArgumentContent> getPageAttributes()
PageDefinition
getPageAttributes
in class PageDefinition
public void linkPageToAction(ActionDefinition actiondefinition)
actiondefinition
- automatically adds all the action output attributes
to the page. This allows to declare the attributes
passed from the action to the page only on the action