[opencms-dev] RES: opencms-dev Digest, Vol 306, Issue 3

Mario Jäger m.jaeger at alkacon.com
Thu Aug 19 09:16:36 CEST 2010


Hi Daniel,

The field value is set in the JavaScript method okPressed() in /system/workplace/galleries/imagegallery/js/integrator_widget.js. 
If this method would not be called in your OpenCms, then the gallery popup would not be closed after you use the "Ok" button.

Because, I can't reproduce your problem, you could add some debug outputs here, using the "alert" method. You should check the code 
for the simple image gallery widget. That is the code in the first if clause: if (initValues.widgetmode == "simple"). Here you should 
check if you run in the next if clause: if ( initValues.fieldid != null && initValues.fieldid != ""). Then, you could check the content 
of the variable "imgField" after the line: var imgField = window.opener.document.getElementById(initValues.fieldid). Then you could 
check the value of the variable "imagePath", before it is set as the field value in line: imgField.value = imagePath. For example, in 
that way:

// write the path with request parameters to the input field
alert(imagePath);
imgField.value = imagePath;


Tell us the results of your tests, please.

-- 
Kind Regards,
Mario.
 
-------------------
Mario Jäger
 
Alkacon Software GmbH  - The OpenCms Experts                    
http://www.alkacon.com - http://www.opencms.org


Daniel Cassiani Rezende schrieb:
> Hi, Mario, thanks for the concern,
>
>
> Yep, I still do have the same problem with FF3.6.8.
>
> No idea what's happening... it started after I upgrade from 7.0.5 to 7.5.2.
>
> Also, I'm at a Windows XP Professional 2002 SP3 and using a jboss-4.2.3.GA.
>
>
> Thanks,
>
> Daniel
>
>
> Date: Wed, 18 Aug 2010 08:34:15 +0200
> From: Mario J?ger <m.jaeger at alkacon.com>
> Subject: Re: [opencms-dev] ImageGalleryWidget 7.5.2 bug on Firefox
> 	3.6.7
> To: The OpenCms mailing list <opencms-dev at opencms.org>
> Message-ID: <4C6B7EE7.2070003 at alkacon.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Daniel,
>
> I checked your problem in FireFox 3.6.8. I could not reproduce your problem there.
>
> Do you also have this problem in FireFox 3.6.8?
>
>   
> ------------------------------------------------------------------------
>
> Esta mensagem e seus anexos podem conter informações confidenciais ou privilegiadas. Se você não é o destinatário dos mesmos você não está autorizado a utilizar o material para qualquer fim. Solicitamos que você apague a mensagem e avise imediatamente ao remetente. O conteúdo desta mensagem e seus anexos não representam necessariamente a opinião e a intenção da empresa, não implicando em qualquer obrigaçâo ou responsabilidade da parte da mesma. 
> This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. The contents of this message and its attachments do not necessarily express the opinion or the intention of the company, and do not implies any legal obligation or responsibilities from this company.   
>   
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list