Hi ,
I'm using JDeveloper 11.1.1.7.0
I have defined a button like this:
<af:commandToolbarButton id="launchButton"
text="#{uiBundle.LAUNCH}"
actionListener="#{LaunchPlanBean.planDialogSetUp}"
accessKey="L"
binding="#{KanbanPlanBean.planReadOnly}">
<af:showPopupBehavior popupId="launchPopup"
triggerType="click"/>
</af:commandToolbarButton>
In some conditions, I need to disable the button programmatically. I've tried this:
RichCommandToolbarButton readOnly;
....
....
readOnly.setdisable(true);
My issue is that, when running the page, it seems to work and button shows disabled with my right conditions.
But, if I click on the disabled button, popup appears. I have tried this with RichCommandButton and it is working fine but not with RichCommandToolbarButton.
How can I solve this?
Thanks & Regards