Thanks!<br><br><br><div class="gmail_quote">2012/5/10 Sandrine Prousteau <span dir="ltr"><<a href="mailto:s.prousteau@eurelis.com" target="_blank">s.prousteau@eurelis.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="FR"><div><pre><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Question 1:<u></u><u></u></span></pre><pre><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">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/…<u></u><u></u></span></pre>
<pre><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">This is a functionality to let you edit properties of resources by indicating which are the properties you want to edit by ADE.<u></u><u></u></span></pre>
<pre><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></pre><pre><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Question 2:<u></u><u></u></span></pre>
<pre><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">In the API </span><a href="http://files.opencms.org/javadoc/core/index.html?overview-summary.html" target="_blank"><span lang="EN-US">http://files.opencms.org/javadoc/core/index.html?overview-summary.html</span></a> <span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">you can read </span><b><span style="font-size:9.0pt" lang="EN-US">org.opencms.module.CmsModule</span></b><span style="font-size:9.0pt" lang="EN-US"><u></u><u></u></span></pre>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">You have the function <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> java.lang.String getParameter(java.lang.String key, java.lang.String defaultValue)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">to read these parameters, and other functions.<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">The 2 sort of parameters doesn’t have any relation. First is for resources properties, second is for administration modules properties.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hope I am clear ^^.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a>] <b>De la part de</b> Carlos Eduardo Atencio Torres<br>
<b>Envoyé :</b> jeudi 10 mai 2012 18:30<br><b>À :</b> The OpenCms mailing list<br><b>Objet :</b> [opencms-dev] Module Properties / Parameters ?<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hello guys, <br><br>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 ?<br><br>Another question I have is how can I use the module parameters that I set in the Administration View of the module?<br>
<br>I only found<br>"Module parameters are intended to add further custom configuration settings to your module, which you later read out in your Java code. "<br>in : <a href="http://www.bng-galiza.org/opencms/opencms/alkacon-documentation/documentation_modules/administrate_modules.html" target="_blank">http://www.bng-galiza.org/opencms/opencms/alkacon-documentation/documentation_modules/administrate_modules.html</a><br>
but I didn't find any example code.<br><br><br clear="all"><br>-- <br>Carlos E. A. Torres<u></u><u></u></p></div></div></div></div><br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Carlos E. A. Torres<br>