You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/11/09 01:00:10 UTC

[jira] Commented: (WICKET-1382) Image could be made ajax aware..

    [ https://issues.apache.org/jira/browse/WICKET-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929836#action_12929836 ] 

Igor Vaynberg commented on WICKET-1382:
---------------------------------------

looks good, lets apply

> Image could be made ajax aware..
> --------------------------------
>
>                 Key: WICKET-1382
>                 URL: https://issues.apache.org/jira/browse/WICKET-1382
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: Nino Martinez
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 1.5-M4
>
>         Attachments: WICKET-1382.patch
>
>
> It could be very cool if Image could be made ajax aware(so that it would add the random noise if it's added in ajax context).. Currently if you add a new image via ajax it's not updated(because the browser doesnt know it has to reload it). Normal procedure are to use noncaching image instead, but its confusing a lot of people.
> Pasted from mailinglist:
> most people want stable urls for their images i would imagine, so they
> can be cached by the browser.
> ...."
> in case of ajax this doesnt work because the url has to change so that
> browser needs to know to refresh it.
> maybe image can know if its requested within an ajax request and
> automatically add random noise to the url...there maybe room for
> improvement here.
> "......

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