Good morning Rickard, Le 8 déc. 2009 à 05:42, Rickard Öberg a écrit :
> On 2009-12-07 23.19, philippe van dyck wrote: >> Ok, I found something fishy, dunno if it is the only source of the problem. >> >> In ValueCompositeType : >> >> if (!value.getClass().getInterfaces()[0].getName().equals( type.name() )) > > Values will only implement one interface, so order is not important. See > previous response on why it uses SerializableType. Is this a good practice ? I modeled some values to have HasEmail or HasDetails interfaces. Those interfaces are then used on the wicket layer to draw the UI (adding a like to the detail and an "email me" link too) BTW they are values, they have no identity. How should it be done ? phil > > /Rickard > > _______________________________________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/qi4j-dev _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

