I got it to work! So here are the changes I made to the code: I should have attached the listener to deductionsModel:
InfModel infModel = ModelFactory.createInfModel(r,model); infmodel.getDeductionsModel().register(L); infmodel.rebind(); infmodel.prepare(); On Thursday, November 7, 2013 3:44 PM, Andy Seaborne <[email protected]> wrote: On 07/11/13 19:22, Parastoo Delgoshaei wrote: > Here is my main file: Chris asked for a "minimal, complete example". Your code isn't minimal, does not compile (it is badly broken by email) and is not complete (no MyModelChangedListener). If you want someone to help you, don't make them do a lot of work recreating a runnable example. Minimal - just what is needed to illustrate the problem. In doing this you may even find the problem your self. Complete - someone can get it to run with as little work as possible, typical cut-and-paste into Eclipse. Andy
