@Retention(value=RUNTIME) @Target(value=METHOD) public @interface ActionViewDataMappings
JiraWebActionSupport
action.
This allows you to specify multiple views that the method gives data to.
@ActionViewDataMappings({"success","fail"})
By default the name of the method is used as the data key. If the method is a JavaBean getter then the de-capitalised name will be used otherwise the method name is taken as is. You can use the key="xxx" attribute to override the key name used
getAddress() --> "address" myAddress() --> "myAddress
public abstract String[] value
public abstract String key
Copyright © 2002-2022 Atlassian. All Rights Reserved.