[opencms-dev] What sis wrong with "OpenCms.getWorkplaceManager().getMessages(locale)"? (in CmsExplorerContextMenu.java)

Brabenetz, Harald harald.brabenetz at bearingpoint.com
Mon Jul 17 12:57:51 CEST 2006


What is wrong with "OpenCms.getWorkplaceManager().getMessages(locale)" ?



in CmsExplorerContextMenu.CmsExplorerContextMenu has changed the
following lines:
6.0.X:
CmsMessages messages =
OpenCms.getWorkplaceManager().getMessages(locale);
into (6.2.X):
CmsMessages messages = Messages.get().getBundle(locale);




I have the following Problem:
I have create my own messages.properties into my Package
(com.mypackage.messages.properties)

Since 6.2.X The ContextMenue cannot interpret my Message-Resource-Keys
placed in my messages.properties:

The following Code doesn't work since 6.2.X:
<entry key="%MyMessageResourceKey%" uri="commons/myAction.jsp%" rules="d
d iiii iiii dddd" order="2" />




Thanks for your reply anyway.

With friendly regards,
Harald Brabenetz


***************************************************************************************************
The information in this email is confidential and may be legally privileged Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.
***************************************************************************************************




More information about the opencms-dev mailing list