Messages interface

Hi i have a simple question: Messages interface is only avaliable on client tier? I have bean where i´d like to use this interface but it is not able to get messages from any properties.

Messages interface is located in the global module and can be used both on the middle and client tiers.


So how can i debug it if its not working? It is still returning only key of message.

Web and Core layers run independently and could not interact with each other’s classes or files. The Messages bean, along with other beans located in the global module, is instantiated twice in two different contexts.
Therefore, if you try to get messages located next to the screens from the core layer, then this will not work.