1 Reply Latest reply on May 26, 2009 2:52 PM by Steve Schreiner

    Why extended @WebRemote method don't work, short question.

    Gregory Nikle Apprentice

      Hi.
      I use simple POJO.


      Why @WebRemote annotaded method in pojo works fine, but if I move this method to upper abstract class this method not working. Why?


      POJO:


           @WebRemote
           public List<String> checkStockProduct(String code) {


      this works fine.


      But if this method is annotated in upper class in My Invoice



      public class StockAction extends Invoice {



      Method is not visible in js:


      Seam.Component.getInstance("stockAction").checkStockProduct(newCode, checkCodeCallback);