Author: knopp
Date: Wed Jul 2 15:28:35 2008
New Revision: 673531
URL: http://svn.apache.org/viewvc?rev=673531&view=rev
Log:
WICKET-1560
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupFragmentFinder.java
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupFragmentFinder.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupFragmentFinder.java?rev=673531&r1=673530&r2=673531&view=diff
==============================================================================
---
wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupFragmentFinder.java
(original)
+++
wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupFragmentFinder.java
Wed Jul 2 15:28:35 2008
@@ -21,7 +21,6 @@
import org.apache.wicket.markup.MarkupStream;
import org.apache.wicket.markup.html.border.Border;
import org.apache.wicket.markup.html.panel.Fragment;
-import org.apache.wicket.markup.repeater.AbstractRepeater;
/**
* Responding to an AJAX request requires that we position the markup stream
at the component
@@ -83,8 +82,7 @@
{
// WICKET-1560
Component parent =
component.getParent();
- if (parent instanceof
AbstractRepeater && id != null &&
-
id.equals(parent.getId()))
+ if (id != null &&
id.equals(parent.getId()))
{
return
markupStream;
}