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/01/08 18:23:10 UTC

[jira] Resolved: (WICKET-2668) UploadProgressBar component can't be removed or replaced easily

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

Igor Vaynberg resolved WICKET-2668.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M1
                   1.4.6

> UploadProgressBar component can't be removed or replaced easily
> ---------------------------------------------------------------
>
>                 Key: WICKET-2668
>                 URL: https://issues.apache.org/jira/browse/WICKET-2668
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4.5
>            Reporter: Sampo Kettunen
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.4.6, 1.5-M1
>
>
> When an UploadProgressBar component is removed, this exception is thrown: java.lang.IllegalStateException: No Page found for component
> There is a getPage() call inside an attribute modifier that is registered on the form:
> form.add(new AttributeModifier("onsubmit", true, new Model<String>() { 
> .... getPage() ....
> }
> Obviously one must remove the attribute modifier from the form when removing the UploadProgressBar.

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