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
Thanks. I didn't get too far with that either:
anonymous wrote : $ ant create-db
| Buildfile: build.xml
|
| prepare-build-dirs:
|
| prepare-database-properties:
| [delete] Deleting: /home/rich/.programming/java/ejb3-project/build/database.properties
|
| create-db:
|
| BUILD FAILED
| /home/rich/.programming/java/ejb3-project/build.xml:399: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown database 'ejb3-project'
|
| Total time: 0 seconds
Tell it to create the database and it complains it's unknown?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037679#4037679
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037679