You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Michal Wegrzyn (Created) (JIRA)" <ji...@apache.org> on 2012/03/26 12:11:26 UTC

[jira] [Created] (WICKET-4470) problem with loading lazy components

problem with loading lazy components
------------------------------------

                 Key: WICKET-4470
                 URL: https://issues.apache.org/jira/browse/WICKET-4470
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.5
            Reporter: Michal Wegrzyn




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn updated WICKET-4470:
-----------------------------------

    Attachment:     (was: myproject.zip)
    
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Martin Grigorov commented on WICKET-4470:
-----------------------------------------

No, I mean each panel to have its own channel name (e.g. chan1, chan2 and chan3). Then any Ajax behavior in any panel should use the panel's channel name+type.
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-4470) problem with loading lazy components

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

Martin Grigorov updated WICKET-4470:
------------------------------------

    Comment: was deleted

(was: You said that you test it with 1.5.8 so you cannot use ACTIVE since it is only in 6.0.0...)
    
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Martin Grigorov commented on WICKET-4470:
-----------------------------------------

Can you describe again what is the requirement ?
Please give all details.
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn updated WICKET-4470:
-----------------------------------

    Attachment: myproject.zip
    
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Martin Grigorov commented on WICKET-4470:
-----------------------------------------

It seems you need stable channel names. Each lazy load panel should use the same channel name as the Ajax behavior(s) in that panel. The channel type should be ACTIVE, i.e. until the lazy load panel fully loads no Ajax behavior should be executed on it and its children.
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn commented on WICKET-4470:
----------------------------------------

ok, with stable channel names only one lazy panel is loaded.

In my case I have IndicatingAjaxLink and I add AjaxLazyLoadPanel to it.

Maybe that does matter?
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn updated WICKET-4470:
-----------------------------------

    Description: 
It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.

If I override ajax channel like:

@Override
protected AjaxChannel getChannel() {
        return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }

Only last item is loaded and other items are in continuous loading state - see WICKET-4397.

With unique channel name:

@Override
protected AjaxChannel getChannel() {
        return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }

lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in Wicket-4227.

    
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in Wicket-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn updated WICKET-4470:
-----------------------------------

    Attachment: myproject.zip
    
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn updated WICKET-4470:
-----------------------------------

    Attachment: myproject.zip
    
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn commented on WICKET-4470:
----------------------------------------

with ACTIVE channel type none of items are loaded.
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn commented on WICKET-4470:
----------------------------------------

just added up-to-date quickstart.

It has 3 lazy loading stub panels. If you click on any during loading it will result in above-mentioned exception.

See ItemPanel class.

Thanks!

                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn commented on WICKET-4470:
----------------------------------------

Could you please reopen this issue or is it "won't fix"?
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn commented on WICKET-4470:
----------------------------------------

just checked this issue with Wicket 1.5.8. 
Fix for WICKET-4665 doesn't fix this issue - it is still reproducable.
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (WICKET-4470) problem with loading lazy components

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

Martin Grigorov resolved WICKET-4470.
-------------------------------------

    Resolution: Duplicate

Closing as duplicate of WICKET-4665
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (WICKET-4470) problem with loading lazy components

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

Martin Grigorov reopened WICKET-4470:
-------------------------------------


Reopening the ticket by request from the reporter.
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn commented on WICKET-4470:
----------------------------------------

indeed, but problem with same channel names is that only one lazy component is loading and other components are continuously loading.

So:

1) unique channel names - all lazy components are loading but click results in exception
2) same channel names - only one lazy component is loaded but click works without exception
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip, myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Martin Grigorov commented on WICKET-4470:
-----------------------------------------

They still have unique names as in your example above ?
    
     return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.ACTIVE );
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Martin Grigorov commented on WICKET-4470:
-----------------------------------------

Do you use the new channel type - ACTIVE ?
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn updated WICKET-4470:
-----------------------------------

    Description: 
It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.

If I override ajax channel like:

@Override
protected AjaxChannel getChannel() {
        return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }

Only last item is loaded and other items are in continuous loading state - see WICKET-4397.

With unique channel name:

@Override
protected AjaxChannel getChannel() {
        return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }

lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.


  was:
It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.

If I override ajax channel like:

@Override
protected AjaxChannel getChannel() {
        return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }

Only last item is loaded and other items are in continuous loading state - see WICKET-4397.

With unique channel name:

@Override
protected AjaxChannel getChannel() {
        return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }

lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in Wicket-4227.


    
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Martin Grigorov commented on WICKET-4470:
-----------------------------------------

You said that you test it with 1.5.8 so you cannot use ACTIVE since it is only in 6.0.0...
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (WICKET-4470) problem with loading lazy components

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

Michal Wegrzyn commented on WICKET-4470:
----------------------------------------

no they did not have unique names. 

Unfortunatelly changing names to unique results again in component not found exception ( like in WICKET-4227 ):

{code}

org.apache.wicket.request.handler.ComponentNotFoundException: Could not find component 'listContainer:item:11:itemPanel:folder:children' on page 'class com.company.HomePage
     at org.apache.wicket.request.handler.PageAndComponentProvider.getComponent(PageAndComponentProvider.java:181)
     at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.getComponent(ListenerInterfaceRequestHandler.java:92)
     at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:239)
     at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:784)
     at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
     at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
     at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)
     at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)
     at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)
     at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:244)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at com.company.RequestContextFilter.doFilter(ODMRequestContextFilter.java:45)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at com.company.PreAuthenticatedProcessingFilter.doFilter(ODMPreAuthenticatedProcessingFilter.java:40)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
     at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)
     at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostValve.java:127)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     at java.lang.Thread.run(Thread.java:662)

{code}
                
> problem with loading lazy components
> ------------------------------------
>
>                 Key: WICKET-4470
>                 URL: https://issues.apache.org/jira/browse/WICKET-4470
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Michal Wegrzyn
>         Attachments: myproject.zip
>
>
> It seems that probably WICKET-4227 is not fixed. I am still getting problems in 1.5.5.
> If I override ajax channel like:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( "0", AjaxChannel.Type.DROP ); }
> Only last item is loaded and other items are in continuous loading state - see WICKET-4397.
> With unique channel name:
> @Override
> protected AjaxChannel getChannel() {
>         return new AjaxChannel( String.valueOf( System.currentTimeMillis() ), AjaxChannel.Type.DROP ); }
> lazy items are loaded asynchronously, however if I try to do action which results in drop, I am getting the same exception as in WICKET-4227.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira