The /examples/wiki code does this with an isInstance(String) method on the entity. Check
model.WikiNode and subclasses. I don't think there is a better way.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123856#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...