Hi fellow devs,<br><br>I've created forms from scratch (JSPs) and then embedded them in OpenCMS, but now I'm using this webform generator module to achieve the same.<br><br>The thing is that in my 100%-JSP webforms I was able to the <%@page import="org.opencms.main.CmsLog"%> library to insert a new entry in the log in key steps of the form usage, like when connecting to the DB, when submitted successfully, when the user failed writing the captcha letters, etc.<br>
<br>I was making an instance of that class at the beginning of my code like this:<br><br>Log log = CmsLog.getLog("com.mysite");<br><br>And then I was writing entries in the log like this all over my code:<br><br>
log.debug("My Webform - statement executed. Number of inserted rows to the database: " + numRows);<br><br><br><br>My question is, how can I apply the CmsLog class in this Webform generator module?<br><br>Thanks in advance,<br>
Francisco.<br clear="all"><br>-- <br><font><font color="#888888"><span style="color:rgb(107, 107, 107)"><div style="color:rgb(107, 107, 107)"><font color="#6B6B6B"><b><br><br></b></font></div><div style="color:rgb(107, 107, 107)">
<font size="3"><span style="font-size:12px"><font color="#6B6B6B"><b><span>Paco Santos</span></b> | Sitback | Developer | m: 0450 871 390 | p: 9247 2223 | <span style="color:rgb(68, 68, 68);line-height:15px"><a href="http://sitbacksolutions.com.au/" target="_blank">http://sitbacksolutions.com.au</a></span></font></span></font></div>
<div style="color:rgb(107, 107, 107)"><font color="#6B6B6B"><br><span style="color:rgb(0, 0, 0)"></span><span></span><span></span><span></span><span></span><span><img src="cid:65C1DBB7-5BE6-4AF9-9B5D-374696A8FA40" height="57" width="150"></span>
</font></div></span></font></font><br>