Em Thu, 28 Aug 2008 07:03:43 -0300, Markus Joschko
<[EMAIL PROTECTED]> escreveu:

Not sure if I get this. Wouldn't that make it quite hard to get hold
of the BeanModelSource service?

Sorry, I'm not following you.

I always do something like this:

@Inject
private BeanModelSource beanModelSource;

@Inject
private ComponentResources componentResources;

public BeanModel getBeanModel() {
        BeanModel model = beanModelSource.create(YourClass.class, false,
componentResources);
        ...
        return model;
}

Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to