[jboss-user] [JBoss Seam] - Getting the metamodel for a specific component instance

gcomnz do-not-reply at jboss.com
Mon Apr 16 14:54:48 EDT 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037680#4037680

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037680



More information about the jboss-user mailing list