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

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

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
            Priority: Minor


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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-2668:
-------------------------------------

    Assignee: Igor Vaynberg

> 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
>
> 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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798080#action_12798080 ] 

Igor Vaynberg commented on WICKET-2668:
---------------------------------------

give it a test...

> 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.