[ 
https://issues.apache.org/jira/browse/WICKET-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099131#comment-14099131
 ] 

Carl-Eric Menzel commented on WICKET-5265:
------------------------------------------

The problem in the Wizard is when you go one step forward by calling next() and 
then come back with previous(). next() causes onRemove() in the WizardStep and 
all its children, so the FencedFeedbackPanel clears the fence marker. When you 
come back to that WizardStep with previous() it is re-added to the page but 
obviously not re-initialized. The component has no way of knowing that this 
happened, so it can't reliably recreate the fence.

I have a quickstart for this that I'll upload, to illustrate.

> FencedFeedbackPanel is broken with RefreshingView(and it's implementations)
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-5265
>                 URL: https://issues.apache.org/jira/browse/WICKET-5265
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: vineet semwal
>            Assignee: Carl-Eric Menzel
>              Labels: DataView, FencedFeedbackPanel, RefreshingView
>         Attachments: 0001-WICKET-5265-recreate-fence-mark-when-needed.patch, 
> WICKET-5265.patch, second.patch
>
>
> FencedFeedbackPanel doesn't work correctly if inner form(s) are in 
> RefreshingView(or it's implementations)..
> in this case outerform feedbackpanel just starts including messages meant for 
> inner feedbackpanel.
> with ListView FencedFeedbackPanel works correctly..
> actually one user(Mike Dundee) created this issue in quickview 
> https://github.com/vineetsemwal/quickview/issues/19
>  so in that link he has described his problem and pasted the code you can use 
> to reproduce ...
> there i have also explained why it's broken with RefreshingView and it's 
> implementations currently(it's a little complex so i am trying to avoid 
> explaining all again ,also english is not my first language :-) ) 
> thank you !



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to