Hi,
I wrote custom converter for entity class. convertToObject() works fine,
but I have problem with convertToString(). Since i have different
implementations for my entity (immutable and mutable version) I work
with their common interface in my web layer and wicket seems not to
recognize that it should convert entity with converter and always uses
default converter. By the way converter is registered globally for whole
application. Is there any way how to solve this or i have to set
converter for each component which uses it? Thanks for help.
example:
interface IEntity {
getName();
}
class Entity implements IEntity{
getName(){};
}
interface IMutableEntity extends IEntity{
setName(String name);
}
class MutableEntity implements IMutableEntity {
getName(){};
setName(){};
}
my converter is registered for IEntity interface.
Jan