PDA

View Full Version : Form Fields Render Twice in https



g_papasavva
4 May 2009, 12:37 AM
Hi,
Sometimes form fields render twice in https.
Form input fields appear twice.
Could anyone give an advice

Condor
4 May 2009, 12:40 AM
Are you using Ext 2.2?

Ext 2.2 would execute Ext.onReady twice if it throws a javascript error.

I would recommend upgrading to Ext 2.2.1 (and you need to find the javascript error in your code).

gp28tech
4 May 2009, 12:50 AM
I am using 2.2 Library
I managed to reproduce the error.
When the page is loaded, a message appears saying "The page contains both secure and non-secure items. Do you want to display the nonsecure items?".
If i click "yes", then the form renders ok. No double input fields
If i click "no", then input fields appear twice

Condor
4 May 2009, 12:55 AM
Are you using any unsecure urls (did you change your Ext.BLANK_IMAGE_URL to point to a secure s.gif?).

ps. Any I still recommend upgrading to Ext 2.2.1 to fix the double execute.

gp28tech
5 May 2009, 2:31 AM
Thank you. It worked