You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/06/03 05:23:23 UTC
[jira] [Resolved] (WICKET-4578) Link always causes Page to become
stateful, regardless of visibility
[ https://issues.apache.org/jira/browse/WICKET-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4578.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.8
6.0.0-RC1
Assignee: Martin Grigorov
> Link always causes Page to become stateful, regardless of visibility
> --------------------------------------------------------------------
>
> Key: WICKET-4578
> URL: https://issues.apache.org/jira/browse/WICKET-4578
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.6
> Reporter: Sander Plas
> Assignee: Martin Grigorov
> Priority: Minor
> Fix For: 6.0.0-RC1, 1.5.8
>
> Attachments: WICKET-4578.diff, invisibleStatefulTest.zip
>
>
> Despite the changes made in WICKET-4468 , an invisible Link still causes a Page to become stateful.
> The problem seems to be that Component#isStateless does this before even checking the visibility:
> if (!getStatelessHint())
> {
> return false;
> }
> ... and Link#getStatelessHint() just contains just "return false" .
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira