You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Paul Jackson (JIRA)" <ji...@apache.org> on 2011/03/28 12:22:05 UTC

[jira] [Created] (WICKET-3563) Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility

Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility
-----------------------------------------------------------------------------------

                 Key: WICKET-3563
                 URL: https://issues.apache.org/jira/browse/WICKET-3563
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 1.4.16
            Reporter: Paul Jackson


I've just discovered what I think is a bug with
IAjaxRegionMarkupIdProvider. We are using it on a Behavior that provides
a border to form components (label, mandatory marker, etc), which for
the most part works great.

We have encountered a problem when toggling the visibility of a form
component with this behavior via ajax. 

The component is first sent out visible and the markup is all correct.

A change elsewhere on the page causes the component to be set to not
visible and redrawn via ajax. The ajax response contains a tag with a
markupid generated via renderPlaceholderTag. This does not take into
account the  IAjaxRegionMarkupIdProvider behaviour.

Another change happens on the page causing the component to become
visible, and the ajax replace can't happen because the component with
the correct markupId is not present.


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

[jira] [Resolved] (WICKET-3563) Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility

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

Martin Grigorov resolved WICKET-3563.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC4
                   1.4.18

> Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-3563
>                 URL: https://issues.apache.org/jira/browse/WICKET-3563
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.4.16
>            Reporter: Paul Jackson
>            Assignee: Martin Grigorov
>             Fix For: 1.4.18, 1.5-RC4
>
>         Attachments: fix-WICKET-3563.patch, markupid.zip
>
>
> I've just discovered what I think is a bug with
> IAjaxRegionMarkupIdProvider. We are using it on a Behavior that provides
> a border to form components (label, mandatory marker, etc), which for
> the most part works great.
> We have encountered a problem when toggling the visibility of a form
> component with this behavior via ajax. 
> The component is first sent out visible and the markup is all correct.
> A change elsewhere on the page causes the component to be set to not
> visible and redrawn via ajax. The ajax response contains a tag with a
> markupid generated via renderPlaceholderTag. This does not take into
> account the  IAjaxRegionMarkupIdProvider behaviour.
> Another change happens on the page causing the component to become
> visible, and the ajax replace can't happen because the component with
> the correct markupId is not present.

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

[jira] [Updated] (WICKET-3563) Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility

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

Paul Jackson updated WICKET-3563:
---------------------------------

    Attachment: fix-WICKET-3563.patch
                markupid.zip

> Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-3563
>                 URL: https://issues.apache.org/jira/browse/WICKET-3563
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.4.16
>            Reporter: Paul Jackson
>         Attachments: fix-WICKET-3563.patch, markupid.zip
>
>
> I've just discovered what I think is a bug with
> IAjaxRegionMarkupIdProvider. We are using it on a Behavior that provides
> a border to form components (label, mandatory marker, etc), which for
> the most part works great.
> We have encountered a problem when toggling the visibility of a form
> component with this behavior via ajax. 
> The component is first sent out visible and the markup is all correct.
> A change elsewhere on the page causes the component to be set to not
> visible and redrawn via ajax. The ajax response contains a tag with a
> markupid generated via renderPlaceholderTag. This does not take into
> account the  IAjaxRegionMarkupIdProvider behaviour.
> Another change happens on the page causing the component to become
> visible, and the ajax replace can't happen because the component with
> the correct markupId is not present.

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

[jira] [Assigned] (WICKET-3563) Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility

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

Martin Grigorov reassigned WICKET-3563:
---------------------------------------

    Assignee: Martin Grigorov

> Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-3563
>                 URL: https://issues.apache.org/jira/browse/WICKET-3563
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.4.16
>            Reporter: Paul Jackson
>            Assignee: Martin Grigorov
>         Attachments: fix-WICKET-3563.patch, markupid.zip
>
>
> I've just discovered what I think is a bug with
> IAjaxRegionMarkupIdProvider. We are using it on a Behavior that provides
> a border to form components (label, mandatory marker, etc), which for
> the most part works great.
> We have encountered a problem when toggling the visibility of a form
> component with this behavior via ajax. 
> The component is first sent out visible and the markup is all correct.
> A change elsewhere on the page causes the component to be set to not
> visible and redrawn via ajax. The ajax response contains a tag with a
> markupid generated via renderPlaceholderTag. This does not take into
> account the  IAjaxRegionMarkupIdProvider behaviour.
> Another change happens on the page causing the component to become
> visible, and the ajax replace can't happen because the component with
> the correct markupId is not present.

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

[jira] [Commented] (WICKET-3563) Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility

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

Paul Jackson commented on WICKET-3563:
--------------------------------------

I have uploaded a quickstart showing the issue and a patch to the wicket-1.4.x branch that fixes the problem.


> Interaction betwen IAjaxRegionMarkupIdProvider, renderPlaceholderTag and visibility
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-3563
>                 URL: https://issues.apache.org/jira/browse/WICKET-3563
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.4.16
>            Reporter: Paul Jackson
>         Attachments: fix-WICKET-3563.patch, markupid.zip
>
>
> I've just discovered what I think is a bug with
> IAjaxRegionMarkupIdProvider. We are using it on a Behavior that provides
> a border to form components (label, mandatory marker, etc), which for
> the most part works great.
> We have encountered a problem when toggling the visibility of a form
> component with this behavior via ajax. 
> The component is first sent out visible and the markup is all correct.
> A change elsewhere on the page causes the component to be set to not
> visible and redrawn via ajax. The ajax response contains a tag with a
> markupid generated via renderPlaceholderTag. This does not take into
> account the  IAjaxRegionMarkupIdProvider behaviour.
> Another change happens on the page causing the component to become
> visible, and the ajax replace can't happen because the component with
> the correct markupId is not present.

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