1
我認爲這是錯誤,但我不知道也許我做錯了。上傳按鈕不起作用在第二個tabpanel
PS。如果你知道如何改變它,並保持功能和可見性,請讓我知道
<?page title="Preumowa" contentType="text/html;charset=UTF-8"?>
<zk>
<window id="mainWindow" border="normal" apply="org.zkoss.bind.BindComposer">
<button label="works" upload="true,maxsize=50000, multiple=true, native" onUpload="@command('addDocument',typDokumentu='PU')"/>
<tabbox>
<tabs>
<tab label="tab1"/>
<tab label="tab2"/>
</tabs>
<tabpanels>
<tabpanel>
<button label="works" upload="true,maxsize=50000, multiple=true, native" onUpload="@command('addDocument',typDokumentu='PU')"/>
</tabpanel>
<tabpanel>
<button label="doesn't work" upload="true,maxsize=50000, multiple=true, native" onUpload="@command('addDocument',typDokumentu='PU')"/>
</tabpanel>
</tabpanels>
</tabbox>
</window>
</zk>
該問題已在ZK 7.0.2中修復,請嘗試使用ZK 7.0.2新版本。這是ZK團隊現在的迴應。 – chillworld