📄 b30-2024223.zul
字号:
<?xml version="1.0" encoding="UTF-8"?>
<window>
<html><![CDATA[
<p>
1. You shall see a button "Click Me!".<br/>
2. Click the button, and you shall see an error window popup: "arg0 has to be String, Component, or Page: null".<br/>
3. Done.<br/>
</p>
]]></html>
<button label="Click Me!">
<attribute name="onClick"><![CDATA[
final Window zulUI= (Window) Executions.createComponents(
"B30_2024223_1.zul", null, null);
try
{
zulUI.doModal();
}
catch (SuspendNotAllowedException e)
{
return;
}
catch (InterruptedException e)
{
return;
}
]]></attribute>
</button>
</window>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -