[opencms-dev] Module Properties / Parameters ?

Carlos Eduardo Atencio Torres caratos at gmail.com
Thu May 10 19:35:01 CEST 2012


Thanks!


2012/5/10 Sandrine Prousteau <s.prousteau at eurelis.com>

> Question 1:****
>
> 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.****
>
> ** **
>
> Question 2:****
>
> In the API 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 ?****
>
> ** **
>
> Hello guys,
>
> 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****
>
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>


-- 
Carlos E. A. Torres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120510/37dea3d9/attachment.htm>


More information about the opencms-dev mailing list