1 Reply Latest reply on Apr 16, 2007 6:37 PM by Marcus Adair

    Getting the metamodel for a specific component instance

    Marcus Adair Newbie

      Is there a way to get the metamodel org.jboss.seam.Component instance for a class instance rather than for the original class?

      For instance:

      String realName = Seam.getComponentName(this); // doesn't work


      Rather than:

      String originalName = Seam.getComponentName(this.getClass());


      I think I'm missing something really obvious. What I'd like most is to get the true instance component name rather than the original class' @Name() value.