Thanks, I was completely focused on finding an event type to do this,
so I have overseen that simple possibility.

On Thu, Aug 28, 2008 at 9:53 PM, Thiago H. de Paula Figueiredo
<[EMAIL PROTECTED]> wrote:
> 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]
>
>

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

Reply via email to