ComponentFeedBackPanel called to org.apache.wicket.util.lang.Objects.equals
to decide if there is a error message to show.
The implementation of this method is the following,
if (a == b)
{
return true;
}
if ((a != null) (b != null) a.equals(b))
{
return true;
}
return false;
For
Probably you are not refreshing the component but rather recreating
it. Hence the different eclipse debugger id's. If this is inside a
listview, setReuseItems(true)
This behavior is most certainly not a bug in the Objects.equals().
Martijn
On Wed, Mar 10, 2010 at 5:03 PM, Fernando Wermus
Martijn,
I am recreating the components as you mentioned. But there is a line
which I dont understand in Objects.equals,
if ((a != null) (b != null) a.equals(b))
I look for the implementation of equals in class Component and other classes
and I havent found any. Then this is equivalent