<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Courier New \;color\:black";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Preformattato HTML Carattere";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PreformattatoHTMLCarattere
{mso-style-name:"Preformattato HTML Carattere";
mso-style-priority:99;
mso-style-link:"Preformattato HTML";
font-family:Consolas;
color:black;
mso-fareast-language:EN-US;}
span.StileMessaggioDiPostaElettronica20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=IT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><a name="_MailEndCompose"><span style='color:#1F497D'>This works for me:<o:p></o:p></span></a></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>public</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>class</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> CmsAdeVideoGalleryWidget </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>extends</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> <span style='background:silver;mso-highlight:silver'>A_CmsAdeGalleryWidget</span> {</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'>/** Type name of the download gallery. */</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>public</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>static</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>final</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> String </span><i><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000C0;mso-fareast-language:IT'>GALLERY_NAME</span></i><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> = </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#2A00FF;mso-fareast-language:IT'>"video"</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>;</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'>/** The log object for this class. */</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F;mso-fareast-language:IT'>//private static final Log LOG = CmsLog.getLog(CmsAdeVideoGalleryWidget.class);</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'>/**</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> * Constructor.</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F7F9F;mso-fareast-language:IT'><p></span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> */</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>public</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> CmsAdeVideoGalleryWidget() {</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>this</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>(</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#2A00FF;mso-fareast-language:IT'>""</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>);</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> }</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'>/**</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> * Creates a new gallery widget with the given configuration.</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F7F9F;mso-fareast-language:IT'><p></span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> * </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> * </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F9FBF;mso-fareast-language:IT'>@param</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> configuration the configuration to use</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> */</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>protected</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> CmsAdeVideoGalleryWidget(String configuration) {</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>super</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>(configuration);</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> }</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'>/**</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> * </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F9FBF;mso-fareast-language:IT'>@see</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> org.opencms.widgets.A_CmsAdeGalleryWidget#getGalleryName()</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> */</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#646464;mso-fareast-language:IT'>@Override</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>public</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> String <span style='background:silver;mso-highlight:silver'>getGalleryName</span>() {</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>return</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><i><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000C0;mso-fareast-language:IT'>GALLERY_NAME</span></i><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>;</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> }</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'>/**</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> * </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F9FBF;mso-fareast-language:IT'>@see</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> org.opencms.widgets.I_CmsADEWidget#getWidgetName()</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> */</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#646464;mso-fareast-language:IT'>@Override</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>public</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> String <span style='background:silver;mso-highlight:silver'>getWidgetName</span>() {</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>return</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> CmsAdeDownloadGalleryWidget.</span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>class</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>.getName();</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> }</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'>/**</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> * </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F9FBF;mso-fareast-language:IT'>@see</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> org.opencms.widgets.I_CmsWidget#newInstance()</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> */</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>public</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> I_CmsWidget <span style='background:silver;mso-highlight:silver'>newInstance</span>() {</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>return</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>new</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> CmsAdeVideoGalleryWidget(getConfiguration());</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> } </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'>/**</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> * </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F9FBF;mso-fareast-language:IT'>@see</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> org.opencms.widgets.A_CmsAdeGalleryWidget#getGalleryTypes()</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F5FBF;mso-fareast-language:IT'> */</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#646464;mso-fareast-language:IT'>@Override</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>protected</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> String <span style='background:silver;mso-highlight:silver'>getGalleryTypes</span>() {</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>return</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> CmsResourceTypeVideo.</span><i><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000C0;mso-fareast-language:IT'>RESOURCE_TYPE_NAME</span></i><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>;</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> }</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#646464;mso-fareast-language:IT'>@Override</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>protected</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> JSONObject <span style='background:silver;mso-highlight:silver'>getAdditionalGalleryInfo</span>(CmsObject arg0,</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> CmsMessages arg1, I_CmsWidgetParameter arg2) </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>throws</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> JSONException {</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>return</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>null</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>;</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> }</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#646464;mso-fareast-language:IT'>@Override</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>public</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>boolean</span></b><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> <span style='background:silver;mso-highlight:silver'>isInternal</span>() { </span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>return</span></b><span style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;mso-fareast-language:IT'>false</span></b><span style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>;</span><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'> }</span><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext;mso-fareast-language:IT'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";mso-fareast-language:IT'>}</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Bye, Lisa<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='color:windowtext;mso-fareast-language:IT'>Da:</span></b><span style='color:windowtext;mso-fareast-language:IT'> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b>Per conto di </b>Tobias Karrer<br><b>Inviato:</b> giovedě 5 giugno 2014 20.45<br><b>A:</b> opencms-dev@opencms.org<br><b>Oggetto:</b> Re: [opencms-dev] Custom widgets and the new acacia editor<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Everyone seems to have these problems, but looks like nobody is able to solve it... :-(<br><br>Am 23.01.2013 14:49, schrieb <a href="mailto:lruggeri@maticad.it">lruggeri@maticad.it</a>:<span style='font-size:12.0pt;mso-fareast-language:IT'><o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal>after upgrading to OpenCms 8.5, my custom widgets don’t show in the interface of the new Acacia editor.<o:p></o:p></p><p class=MsoNormal>For example i have a widget defined as follows:<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>CmsAdeVideoGalleryWidget extends A_CmsAdeGalleryWidget {…}<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>If i switch to the default editor for xmlcontent then i see the button to open the custom gallery and everything works fine.<o:p></o:p></p><p class=MsoNormal>In the Acacia editor i see just an input field without the button to open the gallery.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Maybe something is changed that breaks compatibility?<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Bye, Lisa<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New ;color:black","serif"'> </span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:IT'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>This mail is sent to you from the opencms-dev mailing list<o:p></o:p></pre><pre>To change your list options, or to unsubscribe from the list, please visit<o:p></o:p></pre><pre><a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:IT'><o:p> </o:p></span></p></div></body></html>