You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sander Plas (JIRA)" <ji...@apache.org> on 2012/05/31 14:05:22 UTC
[jira] [Updated] (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 ]
Sander Plas updated WICKET-4578:
--------------------------------
Attachment: invisibleStatefulTest.zip
A *very* basic quickstart showing a page with an invisible link that becomes stateful.
> 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
> Priority: Minor
> Attachments: 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