Fix NPE when pressing change scenario button
The zscript declaration had ben moved causing templateCtrl to not be defined when doing the apply for the div. FEA : ItEr64S03BugFixing
This commit is contained in:
parent
75059af8c1
commit
6c57bbcdf7
1 changed files with 6 additions and 5 deletions
|
|
@ -28,11 +28,6 @@
|
|||
|
||||
|
||||
<zk>
|
||||
<div xmlns:n="http://www.zkoss.org/2005/zk/native" apply="${templateCtrl}" height="100%">
|
||||
|
||||
<borderlayout height="100%" width="100%" >
|
||||
<north border="none">
|
||||
<n:div>
|
||||
<zscript>
|
||||
<![CDATA[
|
||||
contextPath = Executions.getCurrent().getContextPath();
|
||||
|
|
@ -40,6 +35,12 @@
|
|||
]]>
|
||||
</zscript>
|
||||
|
||||
<div xmlns:n="http://www.zkoss.org/2005/zk/native" apply="${templateCtrl}" height="100%">
|
||||
|
||||
<borderlayout height="100%" width="100%" >
|
||||
<north border="none">
|
||||
<n:div>
|
||||
|
||||
<scripts />
|
||||
|
||||
<n:table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue