Hi all,

Is is possible to specify an interface for fb:insert-bean? Without this,
the binding is not able to find the correct method. E.g.

addProduct(Product product);            // Product is an interface

...

<fb:insert-bean
  class="ProductImpl"
  addmethod="addProduct"/>

Now, the insert bean binding tries to find a method matching
"addProduct(ProductImpl)", but it can't be found. So, is it possible to
specify the interface, e.g.

<fb:insert-bean
  class="ProductImpl"
  interface="Product"
  addmethod="addProduct"/>

Or, am I doing something wrong?

Thanks,
Bart.

Reply via email to