showFormInDialog generates error in Internet Explorer 8

Hi,

I am encountering an issue when running the application i build in Servoy 3.5.7 for the Web Client in IE8 browser: when a dialog should appear (method: application.showFormInDialog - since i can’t use Dialog plugin with the Web Client) the browser is redirected to address “http:///”. This is very strange, do you know why this happens and what is the solution to display the form in dialog correctly?
Thanks in advance for the answer!

DB

what javascript code do you use (maybe there is an error in there) ?

I am using only Servoy code, and the method for showing the dialog is:
application.showFormInDialog(‘form_name’, null, null, null, null, i18n.getI18NMessage(‘label_name’), false, null, null, null)

diana.bodnarescu:
I am using only Servoy code, and the method for showing the dialog is:
application.showFormInDialog(‘form_name’, null, null, null, null, i18n.getI18NMessage(‘label_name’), false, null, null, null)

You can try application.showFormInDialog(‘form_name’) and see if it works. Also, the call should be something like:

application.showFormInDialog(‘form_name’, -1,-1, -1, -1, i18n.getI18NMessage(‘label_name’), false, false, null,true) .

I did the modifications but unfortunately the same error occurred when the dialog should have been popped: IE8 browser was redirected to “http:///”.

Does this happen with any form ? What if you set modal to false ? Do you have any special characters in the javascript code that may fail the call ?

This happens with any form and I do not use any special characters.
If i set the modal to “false” it displays the pop-up in IE8, only it looks like it is opened in another browser window instead of the clean look that modal dialogs have (I just want to pop a warning message). And the only way I can close the non-modal dialog is by clicking on X (close). (There is no method similar to application.closeFormDialog, or am I wrong?)
DB

There is a js function: application.closeFormDialog. You can add a case in our support about this.

Thank you for your answers so far!
application.closeFormDialog does not close a non-modal dialog. Is this the issue you recommend me to file a case in your support system? Or the fact that a modal dialog can’t be shown in IE8?
DB

diana.bodnarescu:
Thank you for your answers so far!
application.closeFormDialog does not close a non-modal dialog. Is this the issue you recommend me to file a case in your support system? Or the fact that a modal dialog can’t be shown in IE8?
DB

I guess modal window doesn’t show in IE8 is the main thing. If you want/need, you can also add a case about closeFormDialog doesn’t close non modal window in webclient.

Thank you for your clearings Laurian!
I will file a case in your support system.
Diana

The problem of with modal dialogs and IE8 is already solved.
It already works in 4.1.3 but for 3.5 you have to wait for 3.5.10

a quick fix would be to get the 2 wicket.jars from a 4.1.3 release and use those in your 3.5.9 release.

It already works in 4.1.3…

Johan,

Not so fast…

We are experiencing the same exact problem using Servoy 4.1.3!

That is, ShowFormInDialog gets redirected to ‘http:///’ in IE8 and no form in dialog appears. Once IE8 is redirected to address ‘http:///’, you cannot go ‘back’ to the previous page and are stuck there…the only option is to quit IE8 and restart the web solution.

FYI…we have 3 sets of wicket.jar files in the following locations:

\Servoy\application_server\lib
\Servoy\developer\configuration\org.eclipse.osgi\bundles\132\1.cp\lib
\Servoy\developer\configuration\org.eclipse.osgi\bundles\192\1.cp\lib

I have no idea if these are the right ones.

if you clean your cache from IE8 or really do a hard refresh in the browser
So that you really have the latest javascript libs. Do you still have that problem?

I am using IE8 and i dont see any problems when i play with model dialogs.