You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2017/07/19 09:41:00 UTC
[jira] [Created] (ISIS-1659) no-arg actions (eg toggle) don't
respect config property isRedirectOnlyIfSameObject=false
Dan Haywood created ISIS-1659:
---------------------------------
Summary: no-arg actions (eg toggle) don't respect config property isRedirectOnlyIfSameObject=false
Key: ISIS-1659
URL: https://issues.apache.org/jira/browse/ISIS-1659
Project: Isis
Issue Type: Improvement
Components: Core: Viewer: Wicket
Reporter: Dan Haywood
Priority: Minor
Fix For: 1.16.0
eg:
{code}
public SomeObject toggle() {
setFlag(! isFlag());
return this;
}
{code}
will cause a redirect to the same page, even though the same object is being rendered.
The reason is because the current viewer implementation does not expose the AjaxRequestTarget. Need some deep surgery somewhere...
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)