[opencms-dev] Module Properties / Parameters ?
s.prousteau at eurelis.com
Thu May 10 18:49:14 CEST 2012
These .config file in the module with editable parameters are used to set some properties on ADE functionalities on the pages. You can set it on this file in your module or in the .config file in the /sites/default/...
This is a functionality to let you edit properties of resources by indicating which are the properties you want to edit by ADE.
In the API http://files.opencms.org/javadoc/core/index.html?overview-summary.html <http://files.opencms.org/javadoc/core/index.html?overview-summary.html> you can read org.opencms.module.CmsModule
You have the function
java.lang.String getParameter(java.lang.String key, java.lang.String defaultValue)
to read these parameters, and other functions.
The 2 sort of parameters doesn't have any relation. First is for resources properties, second is for administration modules properties.
Hope I am clear ^^.
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Carlos Eduardo Atencio Torres
Envoyé : jeudi 10 mai 2012 18:30
À : The OpenCms mailing list
Objet : [opencms-dev] Module Properties / Parameters ?
I was playing with the configuration module file and I noticed that it has a property tab, where I can set some properties. What is this for ? / How can I use it ?
Another question I have is how can I use the module parameters that I set in the Administration View of the module?
I only found
"Module parameters are intended to add further custom configuration settings to your module, which you later read out in your Java code. "
in : http://www.bng-galiza.org/opencms/opencms/alkacon-documentation/documentation_modules/administrate_modules.html
but I didn't find any example code.
Carlos E. A. Torres
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opencms-dev