[magnolia-dev] Re: mgnl 4.5.x how to use MyMessagesManager instead of DefaultMessagesManager?

2012-12-17 Thread Tobias Mattsson (via Magnolia Forums)
Hi Fabrizio,

I can't reproduce this problem. I've used the same xml snippet, although a 
different replacement implementation and I get the init() call from 
ConfigLoader.

Could you file a ticket for this with the exact version where you're seeing the 
problem?

// Tobias

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=23d7fd89-dedd-450e-9e77-c741088713fd



For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com




[magnolia-dev] Re: mgnl 4.5.x how to use MyMessagesManager instead of DefaultMessagesManager?

2012-12-10 Thread Fabrizio Giustina (via Magnolia Forums)
Hi Tobias,
tested adding

[code]  components
idsystem/id
component
  typeinfo.magnolia.cms.i18n.MessagesManager/type
  
implementationnet.sourceforge.openutils.mgnlmessages.i18n.MultiBundleMgnlMessagesManager/implementation
/component
  /components[/code]

but the behavior doesn't change. The new messageManager is used but init() gets 
never called.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=23d7fd89-dedd-450e-9e77-c741088713fd



For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com




[magnolia-dev] Re: mgnl 4.5.x how to use MyMessagesManager instead of DefaultMessagesManager?

2012-11-13 Thread Tobias Mattsson (via Magnolia Forums)
Hi Luca,

You can override the MessagesManager in your module descriptor like this:

  components
idsystem/id
component
  typeinfo.magnolia.cms.i18n.MessagesManager/type
  implementationmy.package.MyMessagesManager/implementation
/component
  /components

// Tobias

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=23d7fd89-dedd-450e-9e77-c741088713fd



For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com