<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(68,68,68)">Hello everyone, I have one problem with the class CmsWidgetDialog that every time I try to instance the class appears an error, someone can help me?</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(68,68,68)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(68,68,68)">Code:</div><div class="gmail_default" style=""><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><%@page import="java.io.UnsupportedEncodingException"%></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><%@ page taglibs="cms" import="org.opencms.i18n.*,</font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><span class="" style="white-space:pre">                                                         </span>org.opencms.util.*,</font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><span class="" style="white-space:pre">                                                              </span>org.opencms.workplace.*,</font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><span class="" style="white-space:pre">                                                         </span>org.opencms.jsp.*,</font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><span class="" style="white-space:pre">                                                               </span>org.opencms.main.*</font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><span class="" style="white-space:pre">                                                               </span>"%></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><%</font></div><div class="gmail_default" style=""><span class="" style="color:rgb(68,68,68);font-family:tahoma,sans-serif;white-space:pre">     </span><span style="color:rgb(68,68,68);font-family:tahoma,sans-serif">CmsJspActionElement jAction = new CmsJspActionElement(pageContext, request, response);</span><br></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><span class="" style="color:rgb(68,68,68);font-family:tahoma,sans-serif;white-space:pre">      </span><span style="color:rgb(68,68,68);font-family:tahoma,sans-serif">CmsDialog jWidget = new CmsDialog(jAction);</span><br></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><span class="" style="white-space:pre">    </span>CmsWidgetDialog wShow = new CmsWidgetDialog(jAction);</font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif">%></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><html></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><head></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"></head></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><body></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><%</font></div><div class="gmail_default" style=""><span class="" style="color:rgb(68,68,68);font-family:tahoma,sans-serif;white-space:pre">    </span><span style="color:rgb(68,68,68);font-family:tahoma,sans-serif">jWidget.htmlStart();</span><br></div><div class="gmail_default" style=""><span class="" style="white-space:pre"><font color="#444444" face="tahoma, sans-serif">           </font></span></div><div class="gmail_default" style=""><span class="" style="color:rgb(68,68,68);font-family:tahoma,sans-serif;white-space:pre"> </span><span style="color:rgb(68,68,68);font-family:tahoma,sans-serif">jWidget.htmlEnd();</span><br></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif">%></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"></body></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style=""><font color="#444444" face="tahoma, sans-serif"></html></font></div></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(68,68,68)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(68,68,68)">Error:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(68,68,68)"><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)">Unable to compile class for JSP: </span><br style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)"><br style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)"><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)">An error occurred at line: 15 in the jsp file: /WEB-INF/jsp/offline/sites/default/.content/functions/widgetsDevelopment.jsp</span><br style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)"><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)">Cannot instantiate the type CmsWidgetDialog</span><br style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)"><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)">12: </span><br style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)"><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)">13: </span><br style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)"><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)">14: CmsDialog jWidget = new CmsDialog(jAction);</span><br style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)"><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(240,240,240)">15: CmsWidgetDialog wShow = new CmsWidgetDialog(jAction);</span><br></div><div><br></div><div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(68,68,68)">​Why this class not instantiate? This code is wrong?​</div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">----------------------------<div><div>masterkey747747747 (at) gmail (dot) com<br><div><b>Washington Farias</b></div></div><div>Brazil</div></div></div></div>
</div>