[
https://issues.apache.org/jira/browse/CAUSEWAY-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17713273#comment-17713273
]
Daniel Keir Haywood commented on CAUSEWAY-1659:
-----------------------------------------------
This is intended to works also with `@PropertyLayout(repainting=false)`, where
a (typically) unchanging by expensive object to render - eg a PDF - can opt out
of being redrawn.
> [WicketViewer] Reinstate Support for RedirectFacet
> --------------------------------------------------
>
> Key: CAUSEWAY-1659
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-1659
> Project: Causeway
> Issue Type: Improvement
> Components: Viewer Wicket
> Reporter: Daniel Keir Haywood
> Assignee: Andi Huber
> Priority: Minor
> Fix For: 2.0.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
(v8.20.10#820010)