Hi Danilo,

No there's no appropriate construct for this. I'm thinking I should add it, 
something like this:

@DialogFactories
public class MyDialogFactories {
    @DialogFactory
    public void bannerDialog(...) {}
}

Or have a post create callback on classes annotated with @DialogFactory.

Can you tell me about the use case, will the number of tabs differ depending on 
where the dialog is used, who the user is or something else?

// Tobias

On Jul 12, 2011, at 6:14 PM, Danilo Ghirardelli wrote:

> 
> Is there a way to use Blossom DialogFactory annotation without @TabFactory 
> outside templates?
> @DialogFactory works great if you know exactly how many tabs you are going to 
> set in you dialog, but in @Templates you have the little extra that you can 
> define everything (even the number of tabs, that are dynamically created) in 
> the method annotated with @DialogFactory. Is there any way to avoid the 
> @TabFactory annotation inside a class annotated with @DialogFactory and call 
> a method with DialogBuilder param?
> The only way I found seems to be to define a fake template, never available, 
> just to define the DialogFactory...
> 
> Regards, Danilo.
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to