You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "count negative (Created) (JIRA)" <ji...@apache.org> on 2011/12/20 11:29:30 UTC

[jira] [Created] (WICKET-4308) onNewBrowserWindow wanted

onNewBrowserWindow wanted
-------------------------

                 Key: WICKET-4308
                 URL: https://issues.apache.org/jira/browse/WICKET-4308
             Project: Wicket
          Issue Type: Wish
          Components: wicket
    Affects Versions: 1.5.3, 1.5.2, 1.5.1, 1.5.0
            Reporter: count negative
            Priority: Minor


I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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-4308) onNewBrowserWindow wanted

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

Martin Grigorov updated WICKET-4308:
------------------------------------

    Fix Version/s: 6.0.0-RC1
         Assignee: Martin Grigorov
    
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.0.0-RC1
>
>         Attachments: wicket-4308-demo.3.tgz, wicket-4308-demo.tgz, wicket-4308-demo.tgz
>
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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-4308) onNewBrowserWindow wanted

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

count negative commented on WICKET-4308:
----------------------------------------

I just want to detect if a user opens a second browser window. 
The use case is: A user can claim a process that he is working on in a work list. If a new window is opened (in the same session) the user must be informed that there is already one process claimed. In a second instance with a new session, this scenario is legal.

                
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Priority: Minor
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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-4308) onNewBrowserWindow wanted

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

Martin Grigorov updated WICKET-4308:
------------------------------------

    Attachment: wicket-4308-demo.tgz

Update the behavior to be assignable only to WebPages. 
                
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Priority: Minor
>         Attachments: wicket-4308-demo.tgz, wicket-4308-demo.tgz
>
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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-4308) onNewBrowserWindow wanted

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

count negative commented on WICKET-4308:
----------------------------------------

thanks Martin! This will work for me. and I'm fine with the JavaScript events because it's only for the rare possibilities where the user open a new tab <ctrl-t> in a browser, started via a separate icon on his desktop.
                
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Priority: Minor
>         Attachments: wicket-4308-demo.3.tgz, wicket-4308-demo.tgz, wicket-4308-demo.tgz
>
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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] [Resolved] (WICKET-4308) onNewBrowserWindow wanted

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

Martin Grigorov resolved WICKET-4308.
-------------------------------------

    Resolution: Fixed
    
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.0.0-beta2, 1.5.7
>
>         Attachments: wicket-4308-demo.3.tgz, wicket-4308-demo.tgz, wicket-4308-demo.tgz
>
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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-4308) onNewBrowserWindow wanted

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

Martin Grigorov updated WICKET-4308:
------------------------------------

    Fix Version/s: 1.5.7
    
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.0.0-beta2, 1.5.7
>
>         Attachments: wicket-4308-demo.3.tgz, wicket-4308-demo.tgz, wicket-4308-demo.tgz
>
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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-4308) onNewBrowserWindow wanted

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

Martin Grigorov commented on WICKET-4308:
-----------------------------------------

An improved version of NewWindowNotifier Ajax behavior is added in 6.x branch.
If there are no objections against it I'll downport it to 1.5.x soon.
                
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.0.0-RC1
>
>         Attachments: wicket-4308-demo.3.tgz, wicket-4308-demo.tgz, wicket-4308-demo.tgz
>
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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-4308) onNewBrowserWindow wanted

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

Martin Grigorov updated WICKET-4308:
------------------------------------

    Attachment: wicket-4308-demo.tgz

Here is a quickstart with simple behavior that implements this functionality.
Please try it and give feedback whether it helps for your use case.
                
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Priority: Minor
>         Attachments: wicket-4308-demo.tgz
>
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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-4308) onNewBrowserWindow wanted

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

Martin Grigorov updated WICKET-4308:
------------------------------------

    Attachment: wicket-4308-demo.3.tgz

a new version that fixes some problems in ver.2
Still it is not perfect since it requires setTimeout() and/or mix of onLoad/onDomReady events.
                
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Priority: Minor
>         Attachments: wicket-4308-demo.3.tgz, wicket-4308-demo.tgz, wicket-4308-demo.tgz
>
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

--
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-4308) onNewBrowserWindow wanted

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

Martin Grigorov commented on WICKET-4308:
-----------------------------------------

What is the use case ?
How you will use this callback ?
                
> onNewBrowserWindow wanted
> -------------------------
>
>                 Key: WICKET-4308
>                 URL: https://issues.apache.org/jira/browse/WICKET-4308
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.5.3
>            Reporter: count negative
>            Priority: Minor
>
> I can't find the onNewBrowserWindow method on WebPage or org.apache.wicket.markup.html.INewBrowserWindowListener. So how do I detect a new opened window/browser tab in wicket 1.5+

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