2 Replies Latest reply on Jun 7, 2008 2:40 PM by Francois Eric

    WebRemote and inheritance

    Francois Eric Novice


      I'm trying to access a method through the @WebRemote in an inherited class but am unable to.

      For example:

      public class Person {
          public String getName() {
              return "Frank";
      public class Employee extends Person {
          public String getNumber() {
              return "123";

      The getNumber method is visible but not the getName from the component in my javascript code:

      //Does not work

      Is this a known bug?  Is there a workaround?

      Thank you,