0

access same button in multiple zul files

asked 2015-11-24 12:25:16 +0800

aliabbas gravatar image aliabbas
1 1

Hi I am facing a problem , I have one zul file which contains listbox and also buttons row at the top and bottom , I want <include id="botton_actions" src="partials/_listing_action_partial.zul"/>

While action buttons contains this code

<button id="unselect" label="Clear Selection" onclick="un_select()" sclass="button btn btn-warning btn-submit"/>

<zscript><![CDATA[

void un_select() {
    box.clearSelection();
    download.setDisabled(true); 


}

]]></zscript>

While when I click on top it only disable the top row button not the bottom it should do all at botton and down, any proffered way

Thanks

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-12-21 06:43:13 +0800

Darksu gravatar image Darksu
1991 1 4

Hello aliabbas,

Probably this happens because it can not reference the each other.

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2015-11-24 12:25:16 +0800

Seen: 51 times

Last updated: Dec 21 '15

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