You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2008/02/12 13:49:11 UTC

[jira] Closed: (WICKET-1340) Bogus LocalizedImageResource#isStateless()

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

Johan Compagner closed WICKET-1340.
-----------------------------------

    Resolution: Invalid
      Assignee: Johan Compagner

this is not true.

an Image is statefull if it doesn't have a ResourceReference
If it does have a resource reference then it is a shared resources with a shared resource reference url and then it is stateless.

Look at the method: protected void onComponentTag(final ComponentTag tag) of Image if the image doesn't have a RR then 
it will generate a callback to itself and that mean statefull

> Bogus LocalizedImageResource#isStateless()
> ------------------------------------------
>
>                 Key: WICKET-1340
>                 URL: https://issues.apache.org/jira/browse/WICKET-1340
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-final, 1.3.1
>            Reporter: Marat Radchenko
>            Assignee: Johan Compagner
>         Attachments: ImageTest.java
>
>
> Image without resource/resource reference should be stateless.
> Bug is located in LocalizedImageResource#isStateless(), which should read "return resourceReference == null;"
> Test case is attached.

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