fix compile error
This commit is contained in:
parent
b74c711ebb
commit
f758bde077
1 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,8 @@ public class RestService {
|
||||||
throw new IllegalArgumentException("ActionDefinition needs to define a restCallType to use this action");
|
throw new IllegalArgumentException("ActionDefinition needs to define a restCallType to use this action");
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.getBuilder(action.definition.restCallType)
|
final RestCall<?>.RestCallBuilder builder = this.getBuilder(action.definition.restCallType);
|
||||||
|
return builder
|
||||||
.withURIVariable(
|
.withURIVariable(
|
||||||
API.PARAM_MODEL_ID,
|
API.PARAM_MODEL_ID,
|
||||||
action.pageContext().getAttribute(AttributeKeys.ENTITY_ID))
|
action.pageContext().getAttribute(AttributeKeys.ENTITY_ID))
|
||||||
|
|
Loading…
Reference in a new issue