-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4908254
By: fstudent
Hello ZK experts,
I got a little page with 3 listboxes and two buttons. In FF it works as planned, but Internet Explorer just displays "Loading (4)" in a modal dialog that doesn't go away.
Is there some way to fix this?
If you need more details about the page, I can post it here.
Looking forward to your replies,
Sincerely,
Florian
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4908893
By: nalin1279
it's hard to give you an explaination without your code.
--
mickael
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4910541
By: fstudent
Hello Mickael, all,
Heres's the code:
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?> <window xmlns:a="http://www.zkoss.org/2005/zk/annotation" width="900px">
<!-- hide the loading progress indicator: <script type="text/javascript"><![CDATA[ window.Boot_progressbox = function (){} ]]></script> -->
<zscript>
import mycompany.*;
UserPojo[] persons = new Userlist().getUsers();
RolePojo[] roles = new Rolelist().getAllRoles();
selectedperson = null;
selectedassignedrole = null;
avrole = null;
</zscript>
<vbox>
<listbox width="1000px" height="400px" model="@{persons}"
selectedItem="@{selectedperson}" onSelect="selectedassignedrole = null; removebutton.setDisabled(true)">
<listhead>
<listheader label="First Name" width="200px"/>
<listheader label="Last Name" width="200px"/>
<listheader label="Unique Name" width="200px"/>
<listheader label="Email" width="200px"/>
</listhead>
<listitem self="@{each=person}">
<listcell label="@{person.firstName}"/>
<listcell label="@{person.lastName}"/>
<listcell label="@{person.uniqueName}"/>
<listcell label="@{person.email}"/>
</listitem>
</listbox>
<hbox>
<listbox width="430px" height="200px" model="@{selectedperson.roles}"
selectedItem="@{selectedassignedrole}"
onSelect="removebutton.setDisabled(false)">
<listhead>
<listheader label="Assigned Roles"/>
</listhead>
<listitem self="@{each=role}">
<listcell label="@{role.roleName}"/>
</listitem>
</listbox>
<vbox>
<button id="addbutton" label="Add role" width="125px" disabled="true"
onClick="if (avrole!=null) avrole.addUser(selectedperson);"/>
<button id="removebutton" label="Remove role" width="125px" disabled="true"
onClick="if (selectedassignedrole!=null) { selectedassignedrole.removeUser(selectedperson);}"/>
</vbox>
<listbox width="430px" height="200px" model="@{roles}" selectedItem="@{avrole}"
onSelect="addbutton.setDisabled(false)">
<listhead>
<listheader label="Available Roles"/>
</listhead>
<listitem self="@{each=role2}">
<listcell label="@{role2.roleName}"/>
</listitem>
</listbox>
</hbox>
</vbox>
</window>
When I uncomment the JavaScript at the top it doesn't show the progress indicator, but it hangs, nonetheless.
Any ideas?
Sincerely yours,
Florian
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4910556
By: fstudent
Another observation that might help to track down the problem:
When I open a new instance of IE an paste the URL, it hangs. If I press reload then, it works. Same with all subsequent reloads, the problem really just occurs the first time.
Also, before I used the Y-Grid. There, I had basically the same hanging at the beginning, only that it was much more severe: Reload didn't work and I had to kill IE.
Any ideas?
yeah patric2zk in weblogic 10.3.0 dont work. why?
this error is not only en IExplorer in FF 3.0.5 has the same result
sorry for my english!!!
Hi, fsutudent
Maybe you can turn on IE's javascript debugging feature by:
Tools->Internet Options…->Advanced->Disable Script Debugging
to see if there's any javascript error happened during loading this page in IE.
Hi,
Could you tell me which zk version do you use?
/Jumper
Hi All,
It seems to be Weblogic 10.3 bug.
Workaround: set server locale to en_US
/Jumper
Asked: 2008-04-16 11:01:14 +0800
Seen: 285 times
Last updated: Jan 07 '09