You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Russell Morrisey (JIRA)" <ji...@apache.org> on 2011/04/21 16:26:05 UTC

[jira] [Created] (WICKET-3630) Patch to make ModalWindow's WindowClosedBehavior extensible

Patch to make ModalWindow's WindowClosedBehavior extensible
-----------------------------------------------------------

                 Key: WICKET-3630
                 URL: https://issues.apache.org/jira/browse/WICKET-3630
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-extensions
    Affects Versions: 1.4.17
            Reporter: Russell Morrisey
         Attachments: ModalWindow.java.patch

This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of the behavior's respond() method is made a member of ModalWindow, so that it can be called by custom implementers.

Use cases:

-Add an IAjaxCallDecorator w/script which disables UI controls on the containing page while the window closed behavior is being processed

-Substitute a behavior which submits the form on the containing page after the modal window is closed


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (WICKET-3630) Patch to make ModalWindow's WindowClosedBehavior extensible

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

Jeremy Thomerson reassigned WICKET-3630:
----------------------------------------

    Assignee: Jeremy Thomerson

> Patch to make ModalWindow's WindowClosedBehavior extensible
> -----------------------------------------------------------
>
>                 Key: WICKET-3630
>                 URL: https://issues.apache.org/jira/browse/WICKET-3630
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.17
>            Reporter: Russell Morrisey
>            Assignee: Jeremy Thomerson
>              Labels: IAjaxCallDecorator, ModalWindow, WindowClosedBehavior
>             Fix For: 1.4.18
>
>         Attachments: ModalWindow.java.patch, windowclosebehavior.zip
>
>
> This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of the behavior's respond() method is made a member of ModalWindow, so that it can be called by custom implementers.
> Use cases:
> -Add an IAjaxCallDecorator w/script which disables UI controls on the containing page while the window closed behavior is being processed
> -Substitute a behavior which submits the form on the containing page after the modal window is closed

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-3630) Patch to make ModalWindow's WindowClosedBehavior extensible

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

Russell Morrisey updated WICKET-3630:
-------------------------------------

    Attachment: ModalWindow.java.patch

> Patch to make ModalWindow's WindowClosedBehavior extensible
> -----------------------------------------------------------
>
>                 Key: WICKET-3630
>                 URL: https://issues.apache.org/jira/browse/WICKET-3630
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.17
>            Reporter: Russell Morrisey
>              Labels: IAjaxCallDecorator, ModalWindow, WindowClosedBehavior
>         Attachments: ModalWindow.java.patch
>
>
> This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of the behavior's respond() method is made a member of ModalWindow, so that it can be called by custom implementers.
> Use cases:
> -Add an IAjaxCallDecorator w/script which disables UI controls on the containing page while the window closed behavior is being processed
> -Substitute a behavior which submits the form on the containing page after the modal window is closed

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-3630) Patch to make ModalWindow's WindowClosedBehavior extensible

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

Russell Morrisey updated WICKET-3630:
-------------------------------------

    Attachment: windowclosebehavior.zip

Quickstart demonstrating a custom WindowClosedBehavior implementation

> Patch to make ModalWindow's WindowClosedBehavior extensible
> -----------------------------------------------------------
>
>                 Key: WICKET-3630
>                 URL: https://issues.apache.org/jira/browse/WICKET-3630
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.17
>            Reporter: Russell Morrisey
>              Labels: IAjaxCallDecorator, ModalWindow, WindowClosedBehavior
>         Attachments: ModalWindow.java.patch, windowclosebehavior.zip
>
>
> This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of the behavior's respond() method is made a member of ModalWindow, so that it can be called by custom implementers.
> Use cases:
> -Add an IAjaxCallDecorator w/script which disables UI controls on the containing page while the window closed behavior is being processed
> -Substitute a behavior which submits the form on the containing page after the modal window is closed

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-3630) Patch to make ModalWindow's WindowClosedBehavior extensible

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

Russell Morrisey updated WICKET-3630:
-------------------------------------

    Attachment:     (was: ModalWindow.java.patch)

> Patch to make ModalWindow's WindowClosedBehavior extensible
> -----------------------------------------------------------
>
>                 Key: WICKET-3630
>                 URL: https://issues.apache.org/jira/browse/WICKET-3630
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.17
>            Reporter: Russell Morrisey
>              Labels: IAjaxCallDecorator, ModalWindow, WindowClosedBehavior
>         Attachments: ModalWindow.java.patch
>
>
> This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of the behavior's respond() method is made a member of ModalWindow, so that it can be called by custom implementers.
> Use cases:
> -Add an IAjaxCallDecorator w/script which disables UI controls on the containing page while the window closed behavior is being processed
> -Substitute a behavior which submits the form on the containing page after the modal window is closed

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (WICKET-3630) Patch to make ModalWindow's WindowClosedBehavior extensible

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

Jeremy Thomerson resolved WICKET-3630.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.18

> Patch to make ModalWindow's WindowClosedBehavior extensible
> -----------------------------------------------------------
>
>                 Key: WICKET-3630
>                 URL: https://issues.apache.org/jira/browse/WICKET-3630
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.17
>            Reporter: Russell Morrisey
>            Assignee: Jeremy Thomerson
>            Priority: Minor
>              Labels: IAjaxCallDecorator, ModalWindow, WindowClosedBehavior
>             Fix For: 1.4.18
>
>         Attachments: ModalWindow.java.patch, windowclosebehavior.zip
>
>
> This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of the behavior's respond() method is made a member of ModalWindow, so that it can be called by custom implementers.
> Use cases:
> -Add an IAjaxCallDecorator w/script which disables UI controls on the containing page while the window closed behavior is being processed
> -Substitute a behavior which submits the form on the containing page after the modal window is closed

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-3630) Patch to make ModalWindow's WindowClosedBehavior extensible

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

Jeremy Thomerson updated WICKET-3630:
-------------------------------------

    Priority: Minor  (was: Major)

> Patch to make ModalWindow's WindowClosedBehavior extensible
> -----------------------------------------------------------
>
>                 Key: WICKET-3630
>                 URL: https://issues.apache.org/jira/browse/WICKET-3630
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.17
>            Reporter: Russell Morrisey
>            Assignee: Jeremy Thomerson
>            Priority: Minor
>              Labels: IAjaxCallDecorator, ModalWindow, WindowClosedBehavior
>             Fix For: 1.4.18
>
>         Attachments: ModalWindow.java.patch, windowclosebehavior.zip
>
>
> This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of the behavior's respond() method is made a member of ModalWindow, so that it can be called by custom implementers.
> Use cases:
> -Add an IAjaxCallDecorator w/script which disables UI controls on the containing page while the window closed behavior is being processed
> -Substitute a behavior which submits the form on the containing page after the modal window is closed

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-3630) Patch to make ModalWindow's WindowClosedBehavior extensible

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

Russell Morrisey updated WICKET-3630:
-------------------------------------

    Attachment: ModalWindow.java.patch

> Patch to make ModalWindow's WindowClosedBehavior extensible
> -----------------------------------------------------------
>
>                 Key: WICKET-3630
>                 URL: https://issues.apache.org/jira/browse/WICKET-3630
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.17
>            Reporter: Russell Morrisey
>              Labels: IAjaxCallDecorator, ModalWindow, WindowClosedBehavior
>         Attachments: ModalWindow.java.patch
>
>
> This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of the behavior's respond() method is made a member of ModalWindow, so that it can be called by custom implementers.
> Use cases:
> -Add an IAjaxCallDecorator w/script which disables UI controls on the containing page while the window closed behavior is being processed
> -Substitute a behavior which submits the form on the containing page after the modal window is closed

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira