[opencms-dev] Trying to change workplace-properties file for Alkacon Formgenerator

Andreas Gehrig andreas.gehrig at hannecke-its.de
Wed Aug 19 09:59:09 CEST 2009


Hi Sven,

your suggestion didn't solve my problem, but it gave me a decisive hint:
I only need to use the path beginning right after the classes subfolder,
e.g.

message=/com/alkacon/opencms/formgenerator/workplace

This one works for other modules, too.

Anyways, thanks for your help!

Andreas


-----Ursprüngliche Nachricht-----
Von: Sven Kiesow <Sven.Kiesow at interone.de>
Gesendet: Thu, 13 Aug 2009 15:57:18 +0200
An: The OpenCms mailing list <opencms-dev at opencms.org>
Betreff: Re: [opencms-dev] Trying to change workplace-properties file for
Alkacon Formgenerator

Hi Andreas,

just try

"message=/system/modules/com.alkacon.opencms.formgenerator/classes/com/alkac
on/opencms/formgenerator/workplace"

instead.

In com.alkacon.opencms.formgenerator.CmsFormHandler.java the
message-parameter is loaded using the following java code:

String para =
module.getParameter("message","/com/alkacon/opencms/formgenerator/workplace"
);


Greetings

Sven

Sven Kiesow
Technical Project Manager


Interone Worldwide GmbH
Thebaeerstr. 17
De-50823 K?ln

phone: +49-221-5 49 60  139
fax: +49-221-5 49 60 27
sven.kiesow at interone.de
http://www.interone.de

AG M?nchen HRA 79582

Gesch?ftsf?hrer: Martin Gassner, Marcus Kikisch, Thomas Schaefer, Eckhard 
Schneider, Franziska von Lewinski

Information contained in this message is confidential and may be legally 
privileged. If you are not the addressee indicated in this message (or 
responsible for the delivery of the message to such person), you may not 
copy, disclose or deliver this message or any part of it to anyone, in any 
form. In such case, you should delete this message and kindly notify the 
sender by reply Email. Opinions, conclusions and other information in this 
message that does not relate to the official business of Interone 
Worldwide shall be understood as neither given nor endorsed by it.




"Andreas Gehrig" <andreas.gehrig at hannecke-its.de> 
Sent by: opencms-dev-bounces at opencms.org
13.08.2009 15:41
Please respond to
The OpenCms mailing list <opencms-dev at opencms.org>


To
<opencms-dev at opencms.org>
cc

Subject
[opencms-dev] Trying to change workplace-properties file for    Alkacon 
Formgenerator






Hi all,
 
hopefully you can answer my following question:
 
I want to use my own workplace.properties ? file fort he OAMP Webform 
Module. Therefore I have to set a special module parameter to 
com.alkacon.opencms.formgenerator module.
This parameter is called ?message?. But when I set it in administration 
interface, the webform frontend get?s blown up, as obviously the passed 
parameter value cannot be found.
Even if I try to set the value to the original file, it doesn?t work.
 
Here?s what i entered:
 
message=/system/modules/com.alkacon.opencms.formgenerator/classes/com/alkaco
n/opencms/formgenerator/workplace.properties
 
This should be correct, shouldn?t it? Could someone help me finding my 
mistake?
 
Thanks for answers,
Andreas
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.opencms.org/pipermail/opencms-dev/attachments/20090813/793f628e
/attachment-0001.htm





More information about the opencms-dev mailing list