[opencms-dev] Webform Generator Module - Property File

Graeme Kidd coolkidd3 at hotmail.com
Thu Sep 15 20:24:12 CEST 2011



Looks like two things could be causing an issue here:
1) The filename needs to be in the format of:
workplace_refer-a-friend_en.properties

Then when you come to specify the properties file you can either specify the language or not e.g.
/com/alkacon/opencms/formgenerator/workplace_refer-a-friend

If you leave out the language suffix then when you specify another language it should automatically pick up the alternative languageĀ  file.

2) Make sure you properties files has been published and correctly placed in the classes folder e.g.
/system/modules/com.alkacon.opencms.formgenerator/classes/com/alkacon/opencms/formgenerator/workplace_refer-a-friend_en.properties

Then restart Tomcat as I suspect the file gets cached when OpenCMS starts.

Let me know if any of that helps.

Graeme
 		 	   		  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sitback-logo.jpg
Type: image/jpeg
Size: 8308 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110915/a461abd8/attachment.jpg>


More information about the opencms-dev mailing list