[opencms-dev] org.opencms.templates: getMessages in jsp template

Rolf Becker becker at iwk.uka.de
Wed Jul 23 15:21:00 CEST 2003


Hi,
I am new to OpenCms. To get used to it I am playing a bit with the 
opencms-demo module and the templates it is using. I tried to manipulate 
the jsp template 
/system/modules/org.opencms.templates/jsptemplates/opencms-standard.jsp 
by modifying parameters (properties) in 
/system/modules/org.opencms.templates/classes/org/opencms/templates/messages.properties 
but I saw no effect after having published the offline project.
I thought the statement
CmsMessages messages = cms.getMessages("org.opencms.templates.messages", 
locale);
in the jsp template would initialize the object "messages" with the 
content of the property file mentioned above but it does not seem so.
Where does getMessages get its data from? What is wrong?
Thank you for your support,
Regards,
Rolf




More information about the opencms-dev mailing list