You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Major Peter (JIRA)" <ji...@apache.org> on 2010/08/15 17:18:17 UTC

[jira] Updated: (WICKET-2990) AjaxFallbackLink with NonCachingImage makes component state-unaware

     [ https://issues.apache.org/jira/browse/WICKET-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Major Peter updated WICKET-2990:
--------------------------------

    Attachment: wicket-2990.tar.gz

Simple quickstart reproducing the problem.
Usage:
mvn jetty:run
click on the image more then once, the pic should be work as a toggle so on/off states after each other.
I've tried to create a TestCase for this, but again the test worked, and the browser didn't.
This project could be easily backported to 1.4.10, with which it's working.

> AjaxFallbackLink with NonCachingImage makes component state-unaware
> -------------------------------------------------------------------
>
>                 Key: WICKET-2990
>                 URL: https://issues.apache.org/jira/browse/WICKET-2990
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>            Reporter: Major Peter
>         Attachments: wicket-2990.tar.gz
>
>
> If you have an AjaxFallbackLink containing a NonCachingImage, then if your onClick stores some state in the link object, then this change will be lost on the next click.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.