Questions Tagged With htmldialoghttps://answers.axonivy.com/tags/htmldialog/?type=rss&user=hieulamquestions tagged <span class="tag">htmldialog</span>enWed, 04 Dec 2019 04:53:52 -0500How to call HTML dialog's method from javahttps://answers.axonivy.com/questions/4230/how-to-call-html-dialog-s-method-from-java<p>Dear Ivy team I would like to know is there any way to trigger a HTML dialog from java code. Lets me describe the situation: I have a page that contains a method named "run" <img alt="alt text" src="https://answers.axonivy.com/upfiles/2019-12-04_16h47_35.png"></p> <p>In HTML view I have a button to call a method from backing bean "Bean" <img alt="alt text" src="https://answers.axonivy.com/upfiles/2019-12-04_16h48_42.png"> Now what we need to how to trigger method "run" from the backing bean <img alt="alt text" src="https://answers.axonivy.com/upfiles/2019-12-04_16h49_17_Xq1duAv.png"></p> <p>We can achieve this only when the method belongs to an Ivy component by using something like this <img alt="alt text" src="https://answers.axonivy.com/upfiles/2019-12-04_16h52_34.png"> Unfortunately, this way only work for Ivy's component, not for the page. So my question is do we have any way to call HTML dialog's method from java?</p>hieulamWed, 04 Dec 2019 04:53:52 -0500https://answers.axonivy.com/questions/4230/how-to-call-html-dialog-s-method-from-javahtmldialogivy