Questions Tagged With htmluserdialoghttps://answers.axonivy.com/tags/htmluserdialog/?type=rss&user=TareqKquestions tagged <span class="tag">htmluserdialog</span>enThu, 16 Jul 2020 06:52:59 -0400Problem with Primefaces SelectCheckboxMenuhttps://answers.axonivy.com/questions/4640/problem-with-primefaces-selectcheckboxmenu<p>Hello, When we use a selectCheckboxMenu and submit it, the pills/selected values change from the label to the value. This has been fixed in primefaces in this issue</p> <p><a href="https://github.com/primefaces/primefaces/issues/3678">https://github.com/primefaces/primefaces/issues/3678</a></p> <p>but the problem is still here on axon ivy <img alt="alt text" src="https://answers.axonivy.com/upfiles/image-2020-07-07-12-52-47-990.png"></p>TareqKThu, 16 Jul 2020 06:52:59 -0400https://answers.axonivy.com/questions/4640/problem-with-primefaces-selectcheckboxmenuhtmluserdialogprimefacesPrimefaces Upload In Dialog Issueshttps://answers.axonivy.com/questions/4544/primefaces-upload-in-dialog-issues<p>Hello, We are trying to use primefaces upload inside a dialog/modal. On chrome, it is asking for a file twice, and on firefox nothing is showing at all. Has this ever happened before?</p> <p><a href="https://stackoverflow.com/questions/61496181/problems-with-primefaces-upload-inside-dialogs">https://stackoverflow.com/questions/61496181/problems-with-primefaces-upload-inside-dialogs</a></p>TareqKWed, 29 Apr 2020 03:18:53 -0400https://answers.axonivy.com/questions/4544/primefaces-upload-in-dialog-issueshtmluserdialogjsfprimefacesUsing the Dialog REST api for Datahttps://answers.axonivy.com/questions/4458/using-the-dialog-rest-api-for-data<p>Hello, So as I know, each HTML dialog has a rest api to access its methods using the /rest/method/methodName relative to the dialog base. I was wondering if it is possible to do the same with data, using /rest/data/dataParam in the same way. </p>TareqKThu, 19 Mar 2020 05:56:52 -0400https://answers.axonivy.com/questions/4458/using-the-dialog-rest-api-for-datahtmluserdialogrestLoading ES6 imports and Moduleshttps://answers.axonivy.com/questions/4431/loading-es6-imports-and-modules<p>Hello, So i was follwoing the xample in the HTMLDialogDemos, and I tried to create an es6 module and import it. This worked, however, the imports that my module require are not being imported correctly. This is due to the fact that ES6 imports dont automatically ad the "ln=xpertivy-3-webContent" query param that its calling module got. </p> <p>To be clear, i imported page.js via </p> <pre><code>&lt;h:outputScript a:type="module" library="js/PureHtmlDialog" name="page.js"&gt; &lt;/h:outputScript&gt; </code></pre> <p>which gets the file at</p> <pre><code><a href="http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/PureHtmlDialog/page.js?ln=xpertivy-3-webContent&amp;xv=124700577218">http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/PureHtmlDialog/page.js?ln=xpertivy-3-webContent&amp;xv=124700577218</a> </code></pre> <p>which attempts to import </p> <pre><code>import {Button,Column,Header} from "../component.js"; </code></pre> <p>which in turn gets the URL</p> <pre><code><a href="http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/component.js">http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/component.js</a> </code></pre> <p>if I try to visit the URL</p> <pre><code><a href="http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/component.js?ln=xpertivy-3-webContent">http://localhost:8081/ivy/faces/javax.faces.resource/resources/js/component.js?ln=xpertivy-3-webContent</a> </code></pre> <p>then i can see the file correctly. </p> <p>I also tried to, inside the folder of the HTML dialog itself, to put a javascript file and import it with a plain script tag. This didnt work, and actually crashed the page. </p> <p>Is there a better way to do javascript file imports and es6 imports?</p>TareqKFri, 28 Feb 2020 07:44:51 -0500https://answers.axonivy.com/questions/4431/loading-es6-imports-and-moduleshtmluserdialoghtmldialogjavascript