You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Schliesing (JIRA)" <ji...@apache.org> on 2007/07/04 09:11:04 UTC

[jira] Commented: (WICKET-720) AjaxLink not updating Image

    [ https://issues.apache.org/jira/browse/WICKET-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510092 ] 

Sven Schliesing commented on WICKET-720:
----------------------------------------

"Unfortunately" the Test (ImageChangePageTest.java) works and shows no error. But testing the ImageChangePage "in real" does not work.

When debugging the model get's set to the new value. But the Ajax Debug Window shows the old value being sent over and over again:
INFO: focus set on imageToggle1
INFO:
INFO: Initiating Ajax GET request on ?wicket:interface=:5:imageToggle::IBehaviorListener:0:&random=0.33772988532487525
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (226 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><component id="image0" ><![CDATA[<img id="image0" src="resources/wicketexample.spring.ImageChangePage/gfx/online.gif" wicket:id="image"></img>]]></component></ajax-response>
INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: Calling focus on imageToggle1
INFO: focus set on imageToggle1
INFO:
INFO: Initiating Ajax GET request on ?wicket:interface=:5:imageToggle::IBehaviorListener:0:&random=0.028128668642927623
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (226 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><component id="image0" ><![CDATA[<img id="image0" src="resources/wicketexample.spring.ImageChangePage/gfx/online.gif" wicket:id="image"></img>]]></component></ajax-response>
INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: Calling focus on imageToggle1

> AjaxLink not updating Image
> ---------------------------
>
>                 Key: WICKET-720
>                 URL: https://issues.apache.org/jira/browse/WICKET-720
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta2
>            Reporter: Sven Schliesing
>         Attachments: ImageChangePage.html, ImageChangePage.java, ImageChangePageTest.java
>
>
> Changing the source (model) of an image in an AjaxFallbackLink does not change the image shown on the webpage.

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