0

Zul pages created in version 5.0.9 still needs IE compatibility even after migrated to version 6.5.0

asked 2012-12-10 06:55:21 +0800

callforjhed gravatar image callforjhed
15

Hello everyone,

Me and my friends used to develop a web app using ZK 5.0.9 and it works ok. The only catch is that IE compatibility mode should be turned on for the pages to be displayed else it returns blank page. We tried to migrate that to version 6.5.0 but still the concern remains. I've done some experiments like creating a blank project in 6.5.0 and copy the zul page to the old webapp. What I have noticed is that the page does not need the IE compatibility anymore compared to other pages. Does this mean that I have to re-create all the pages using 6.5.0? Please help me. Thanks.

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2012-12-10 07:17:04 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

If anything the issue should be with compatibility mode not the standard mode. Compatibility modes are unreliable. Can you post your zul page code? In the end you should try to make your web application work with Standard mode. Are you explicitly forcing your pages to be viewed in compatibility mode?

link publish delete flag offensive edit

answered 2012-12-10 08:14:42 +0800

callforjhed gravatar image callforjhed
15

Hi,

Below is the code. This page was created using ZK 5.0.9. The issue is that the page is blank in runtime but when I clicked the IE compatibility button it works fine. What are the possible changes to be made on the page for this work with v6.5.0? Thanks.

<?page title="${labels.SCREEN_SECURITY_ADMIN}" contentType="text/html;charset=UTF-8"?>
<?link rel="shortcut icon" type="image/x-icon" href="/bscr/images/favicon.ico"?>
<?link rel="icon" type="image/gif" href="/bscr/images/animated_favicon.gif"?>
<zk>
	<html>
		<![CDATA[<body scroll="no"></body>]]>
	</html>
	<style src="/bscr/style/style.css" />
	<div apply="com.isg.iseries.bscr.view.control.SecurityAdminControl">
		<borderlayout height="100%" sclass="main-layout">
			<north size="9%" border="0">
				<include src="/bscr/layout/header.zul" />
			</north>
			<center>
				<panel width="100%" border="normal" height="100%"
					title="SECURITY ADMINISTRATION" sclass="main">
					<panelchildren>
						<!-- TODO: UI Page Mapping from DB/xml START -->
						<menubar id="menubar" width="100%">
							<menu label="Add" width="100px"
								image="/bscr/images/add.png">
								<menupopup>
									<menuitem label="User Organization"
										id="addUserOrganizatin" image="/bscr/images/organization.png">
									</menuitem>
									<menuitem label="User Limits"
										id="addUserLimits" image="/bscr/images/userlimits.png">
									</menuitem>
									<menuitem label="User Group"
										id="addUserGroup" image="/bscr/images/usergroup.png">
									</menuitem>
									<menuitem label="User Profile"
										id="addUserProfile" image="/bscr/images/userprofile.png">
									</menuitem>
								</menupopup>
							</menu>

							<menuitem id="saglobal_search"
								label="Search" width="100px" visible="true"
								image="/bscr/images/view.png" />

							<!-- <menu label="Search" width="100px"
								image="/bscr/images/view.png">
								<menupopup>
								<menuitem label="User Organization"
								id="searchUserOrganization"
								image="/bscr/images/organization.png">
								</menuitem>
								<menuitem label="User Group"
								id="searchUserGroup" image="/bscr/images/usergroup.png">
								</menuitem>
								<menuitem label="User Profile"
								id="searchUserProfile" image="/bscr/images/userprofile.png">
								</menuitem>
								</menupopup>
								</menu> -->

							<menu label="Authorize" width="100px"
								image="/bscr/images/approve.png">
								<menupopup>
									<menuitem id="global_authorize"
										label="Queue" width="100px" image="/bscr/images/approve.png" />
									<menuitem id="saglobal_history"
										label="History" width="100px" image="/bscr/images/list.png" />
									<!-- <menuitem label="User Organization"
										id="authorizeUserOrganizatin"
										image="/bscr/images/organization.png">
									</menuitem>
									<menuitem label="User Group"
										id="authorizeUserGroup" image="/bscr/images/usergroup.png">
									</menuitem>
									<menuitem label="User Profile"
										id="authorizeUserProfile" image="/bscr/images/userprofile.png">
									</menuitem> -->
								</menupopup>
							</menu>
							
							<!-- <menuitem id="password_admin"
								label="Password Administration" width="100px" visible="false"
								image="/bscr/images/lock_edit.png" /> -->
							<menu id="user_admin" label="User Administration" width="100px"
								image="/bscr/images/lock.png">
								<menupopup>
									<menuitem id="reset_password"
										label="Reset Password" image="/bscr/images/approve.png" />
									<menuitem id="release_user"
										label="Release User ID" image="/bscr/images/approve.png" />
									<menuitem id="password_setting"
										label="Password Setting" image="/bscr/images/approve.png" />
								</menupopup>
							</menu>

							<menuitem id="login_history"
								label="Login History" width="100px" visible="true"
								image="/bscr/images/lock_edit.png" />

							<menuitem id="exit_sadmin" visible="true"
								label="Exit Security Administration" width="100px"
								sclass="ui-menu-item-r" image="/bscr/images/exit.png" />

						</menubar>

						<vlayout sclass="content">
							<div height="100%" self="@{insert(left)}">
							</div>
						</vlayout>
					</panelchildren>
				</panel>
			</center>
			<south border="none" class="footer" size="4%">
				<include src="/bscr/layout/footer.zul" />
			</south>
		</borderlayout>
	</div>
</zk>

link publish delete flag offensive edit

answered 2012-12-10 08:48:31 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

updated 2012-12-10 08:48:50 +0800

What IE version are you seeing this behavior on?

link publish delete flag offensive edit

answered 2012-12-10 13:37:26 +0800

callforjhed gravatar image callforjhed
15

I am using IE 9.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-12-10 06:55:21 +0800

Seen: 59 times

Last updated: Dec 10 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More