Revision history [back]

click to hide/show revision 1
initial version

asked 2020-10-26 21:21:21 +0800

FuttererJ gravatar image FuttererJ

Migrating from ZK 3.6 to ZK 8.5

Hi all,

after 10 years we have migrated our UI from ZK 3.6 to 8.5

I guess something fundamentally must have changed? When I try to invoke a function on an object I get the following error:

Attempt to resolve method: onSelectListbox() on undefined variable or class name: AppListWindow

Our zul code is unchanged and worked with version 3.6:

<window use="de.xxx.xxx.admin.zk.controller.AppListWindow" xmlns:h="...//www.w3.org/1999/xhtml" id="AppListWindow"> ... ... ... <hbox> <vbox> <listbox model="@{appList}" selecteditem="@{AppListWindow.selectedApp}" id="appListbox" onselect="AppListWindow.onSelectListbox()" width="450px">

Any advices?

Regards Jens

Migrating from ZK 3.6 to ZK 8.5

Hi all,

after 10 years we have migrated our UI from ZK 3.6 to 8.5

I guess something fundamentally must have changed? When I try to invoke a function on an object I get the following error:

Attempt to resolve method: onSelectListbox() on undefined variable or class name: AppListWindow

Our zul code is unchanged and worked with version 3.6:

<window use="de.xxx.xxx.admin.zk.controller.AppListWindow" xmlns:h="...//www.w3.org/1999/xhtml" id="AppListWindow"> ... ... ... <hbox> <vbox> <listbox model="@{appList}" selecteditem="@{AppListWindow.selectedApp}" id="appListbox" onselect="AppListWindow.onSelectListbox()" width="450px">

So why does it claim that AppListWindow is undefined? Any advices?

Regards Jens

Migrating from ZK 3.6 to ZK 8.5

Hi all,

after 10 years we have migrated our UI from ZK 3.6 to 8.5

I guess something fundamentally must have changed? When I try to invoke a function on an object I get the following error:

Attempt to resolve method: onSelectListbox() on undefined variable or class name: AppListWindow

Our zul code is unchanged and worked with version 3.6:

<window use="de.xxx.xxx.admin.zk.controller.AppListWindow"

<window
    use="de.xxx.xxx.admin.zk.controller.AppListWindow"
    xmlns:h="...//www.w3.org/1999/xhtml" id="AppListWindow">
...
...
...
        <hbox>
          <vbox>
            <listbox model="@{appList}" selecteditem="@{AppListWindow.selectedApp}" id="appListbox" onselect="AppListWindow.onSelectListbox()" width="450px">

model="@{appList}" selectedItem="@{AppListWindow.selectedApp}" id="appListbox" onSelect="AppListWindow.onSelectListbox()" width="450px">

So why does it claim that AppListWindow is undefined? Any advices?

Regards Jens

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