Questions Tagged With htmluserdialoghttps://answers.axonivy.com/tags/htmluserdialog/?type=rssquestions 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-moduleshtmluserdialoghtmldialogjavascriptFacesMessages within a html componenthttps://answers.axonivy.com/questions/3921/facesmessages-within-a-html-component<p>Dear All</p> <p>We are having problems with FacesMessages. Something like the below is working fine unless we use it within a component. </p> <pre><code>FacesMessage msg = new FacesMessage(in.steuerung.fehler.ErrorNachricht); msg.setSeverity(javax.faces.application.FacesMessage.SEVERITY_ERROR); FacesContext.getCurrentInstance().addMessage("form:idIcBanfLieferungen:idFsLieferungen",msg); </code></pre> <p>Then we are getting an error, instead of a message on the UI.</p> <p>There are some unhandled FacesMessages, this means not every FacesMessage had a chance to be rendered. These unhandled FacesMessages are: - Bitte geben Sie ein Lieferdatum an.</p> <p>Why is this not working?</p> <p>Many thanks in advance for your advice.</p> <p>Regards, P</p>peterw81Thu, 15 Aug 2019 02:59:51 -0400https://answers.axonivy.com/questions/3921/facesmessages-within-a-html-componenthtmluserdialogRefresh view in html dialoghttps://answers.axonivy.com/questions/3394/refresh-view-in-html-dialog<p>How a view in html dialog can be refreshed by coding?</p>Fancy progThu, 16 Aug 2018 09:07:06 -0400https://answers.axonivy.com/questions/3394/refresh-view-in-html-dialoghtmluserdialogHow to implement Primefaces TreeTable - Selection (CheckboxTreeNode) in Axon Ivy 7.0.1?https://answers.axonivy.com/questions/3369/how-to-implement-primefaces-treetable-selection-checkboxtreenode-in-axon-ivy-7-0-1<p>Hi,</p> <p>I have tried to implement Primefaces TreeTable - Selection (CheckboxTreeNode) The sample code are obtained from <a href="https://www.primefaces.org/showcase/ui/data/treetable/selection.xhtml">https://www.primefaces.org/showcase/ui/data/treetable/selection.xhtml</a> . In Axon Ivy 7.0.1 but it keeps getting the following error when I tried to navigate the tree. </p> <pre><code>ELException: Cannot convert [[Lorg.primefaces.model.TreeNode;@7d8d3a6a] of type [class [Lorg.primefaces.model.TreeNode;] to [class org.primefaces.model.CheckboxTreeNode] ContextAwareELException: javax.el.ELException: Cannot convert [[Lorg.primefaces.model.TreeNode;@7d8d3a6a] of type [class [Lorg.primefaces.model.TreeNode;] to [class org.primefaces.model.CheckboxTreeNode] Error during rendering of html dialog 'trial.TreeDataTryOut' </code></pre> <p>I did some googlings and someone suggested that it is due to PrimeFaces JAR files conflict. I have no idea how to resolve that in Axon Ivy. Could you help?</p> <p>Also, it would be great if there are sample Axon Ivy projects with TreeDataTable - Checkbox for reference?</p>wesingFri, 27 Jul 2018 03:19:19 -0400https://answers.axonivy.com/questions/3369/how-to-implement-primefaces-treetable-selection-checkboxtreenode-in-axon-ivy-7-0-1htmluserdialogSet "HTML Editor" to be default *.xhtml file associationhttps://answers.axonivy.com/questions/3018/set-html-editor-to-be-default-xhtml-file-association<p>Hi everyone,</p> <p>As I never use the <code>HTML Dialog Editor</code>, may I ask if we have a way to set default <code>*.xhtml</code> file association to <code>HTML Editor</code>? I tried to change the config but it doesn't affect when I double click on any <code>.xhtml</code> file or HTML Dialog View.</p> <p>Opening with HTML Dialog Editor cost a lot of time even with Source Only mode and HTML Editor is just a sec for a big view.</p> <p>Thanks</p>ToanLCWed, 06 Dec 2017 23:01:41 -0500https://answers.axonivy.com/questions/3018/set-html-editor-to-be-default-xhtml-file-associationhtmluserdialogvisualeditorBest practices to reduce the memory that is used by a single Html Dialog?https://answers.axonivy.com/questions/2987/best-practices-to-reduce-the-memory-that-is-used-by-a-single-html-dialog<p>We have a huge Html Dialog that uses around 80 MB memory per session on the engine side. The dialog is like a wrapper for the full application. It contains multiple tabs and modal dialogs <code>&lt;p:dialog /&gt;</code>. </p> <p>Why is this Dialog consuming so much memory? Are there any best practices to build lightweight JSF dialogs?</p>SupportIvyTeamMon, 20 Nov 2017 07:54:54 -0500https://answers.axonivy.com/questions/2987/best-practices-to-reduce-the-memory-that-is-used-by-a-single-html-dialoghtmluserdialogjsfmemoryEnd Page on User Dialoghttps://answers.axonivy.com/questions/2886/end-page-on-user-dialog<p>Hello Ivy Team,</p> <p>I have a business process starting with an User Dialog, where the user can submit a request. After that the process is doing a lot of background activities and it is assigning tasks.</p> <p>The application is part of the Portal application. Currently, when the user submit the request, he is redirected to the Task List of the Portal.</p> <p>Is it possible instead of redirecting int to the Task List, to show him some Thank You page ? The problem is that this process can be started by users that does not have Ivy user and in this case he is redirected to the Portal Login page. For these users this makes no sense.</p> <p>Best Regards, Yordan</p>Stelt0Tue, 26 Sep 2017 04:27:51 -0400https://answers.axonivy.com/questions/2886/end-page-on-user-dialoghtmluserdialogprocessportalHow to create cancel or park button in my Html Dialog?https://answers.axonivy.com/questions/2855/how-to-create-cancel-or-park-button-in-my-html-dialog<p>On what should I pay attention when I want to create a cancel or a park button in my Html Dialog?</p>Alex SuterFri, 08 Sep 2017 01:43:30 -0400https://answers.axonivy.com/questions/2855/how-to-create-cancel-or-park-button-in-my-html-dialoghtmluserdialoghtmldialogjsfDefault progress barhttps://answers.axonivy.com/questions/2790/default-progress-bar<p>Hello everyone, is there a way to change the default progress bar, because in one specific scenario i want to have different progress bar but not the default one?</p> <p>This is the progress bar that i want to change: <img alt="alt text" src="http://answers.axonivy.com/upfiles/ddaaaas.jpg"></p> <p>I want to do it for only one scenario, when the user presses a button and should wait for some methods to be executed. I have checked from primefaces showcase they provide some progress bar but I can put it somewhere in the screen and it is always there its not like this one in the image which takes the whole screen(makes the screen darker while loading and it is not possible to press anything) Thanks :)</p>Tano93Thu, 03 Aug 2017 01:20:15 -0400https://answers.axonivy.com/questions/2790/default-progress-barhtmluserdialogjsfportalCan we invoke Exit element programmatically?https://answers.axonivy.com/questions/2553/can-we-invoke-exit-element-programmatically<p>hi all</p> <p>I have html dialog and an event as below: <img alt="alt text" src="http://answers.axonivy.com/upfiles/Untitled_8UWSnHt.png"> It look quite simple because normally we don't put much code on ivy script, we handle most of them on java class (able to test, less confliction) But because of our business we need to reach Process End or Exit element by some conditions in order to continue workflow. Somehow in java class i need to produce this condition value and return it back to ivy data class in order to use on Alternative element. </p> <p>So my question is can we call process End or Exit element in java? or maybe just Exit element or should we do that?</p> <p>Thanks</p>trungdvThu, 30 Mar 2017 05:08:11 -0400https://answers.axonivy.com/questions/2553/can-we-invoke-exit-element-programmaticallyhtmluserdialogMechanism to resolve data and logic of HtmlUserDialoghttps://answers.axonivy.com/questions/2549/mechanism-to-resolve-data-and-logic-of-htmluserdialog<p>Hi ivyteam</p> <p>As you know in HtlmUserDialog we can use #{data} or #{logic} to access the attribute/method on ivy from view(xhtml). No matter which component/page you have, you can use #{data} and #{logic} anywhere and it always work in correct context, There is no mistake that you use #{data} from component A but it return data of component B. That's great.</p> <p>So i have two questions: - Can you share the mechanism how did you resolve those keywords in ivy (ex: some class that i can explore by myself), i guess that there is a managed bean(view scope) behind the scene? - If i have the page with some components as below picture, can i access #{data} of any components i want programmatically? I tried to resolve EL #{data} after the page has been loaded and it always return data of <em>Page A</em></p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Untitled_IZPJdpz.png"></p>trungdvWed, 29 Mar 2017 09:24:57 -0400https://answers.axonivy.com/questions/2549/mechanism-to-resolve-data-and-logic-of-htmluserdialoghtmluserdialogRecordset and Databasehttps://answers.axonivy.com/questions/2287/recordset-and-database<p>Hello everyone :) I have a data table which is editable. Near each record there are 2 buttons: edit and delete. I am using recordset in order to fill the table with some data, but the data i am taking it actually from a data base. My problem is for example: when I push the delete button, it deletes the entry from the database, but the user still can see it on the page, so i need to stop the process and start it again to have the updated values. How this issue can be fixed or any suggestion/approach would be fine :)</p>tano9321Wed, 14 Dec 2016 15:12:39 -0500https://answers.axonivy.com/questions/2287/recordset-and-databasehtmluserdialoghtmldialogdifference between method start and event starthttps://answers.axonivy.com/questions/2212/difference-between-method-start-and-event-start<p>Hi, what's the difference between method start and event start in userdialogue, and when we should use one of them instead of the other in perspective of performance ?</p> <p>Thank you </p>ameerTue, 22 Nov 2016 16:07:27 -0500https://answers.axonivy.com/questions/2212/difference-between-method-start-and-event-starthtmluserdialoga problem with user dialogueshttps://answers.axonivy.com/questions/2192/a-problem-with-user-dialogues<p>Hi, I want to ask two related questions: I have a problem when getting back from one user dialogue to the other, sometimes it shows a message that says the dialogue with this id does not exist, and sometime it gets back and i can see the view of the user dialogue, but the logic of the dialogue does not work</p> <p>And which is better: using many views in one user dialogue that share the same logic? or having different user dialogues ?</p> <p>Thank you a lot </p>ameerWed, 16 Nov 2016 14:52:45 -0500https://answers.axonivy.com/questions/2192/a-problem-with-user-dialogueshtmluserdialogOutOfScopeException: Cannot access scopedhttps://answers.axonivy.com/questions/2091/outofscopeexception-cannot-access-scoped<p>Hi all I'm using ivy 6.3.0 with JSF + Primefaces, when i test my website with multiple users at the same time, i got this:</p> <pre><code>12:36:49.661 ERROR [ch.ivyteam.ivy.dialog.execution.jsf.error] [http-nio-8443-exec-393] [requestId=2235134] Error during rendering of html dialog com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error in custom provider, com.google.inject.OutOfScopeException: Cannot access scoped [ch.ivyteam.ivy.dialog.execution.DialogRuntimeManager]. Either we are not currently inside an HTTP Servlet request, or you may have forgotten to apply com.google.inject.servlet.GuiceFilter as a servlet filter for this request. </code></pre> <p>We also get this problem when i embed my page to another by using <em>iframe</em> </p> <p>We don't use any api from <em>com.google.inject</em>, it could come from ivy library i guess.</p> <p>Does anyone have any idea why this exception occurred? Thanks all </p>trungdvTue, 11 Oct 2016 04:12:15 -0400https://answers.axonivy.com/questions/2091/outofscopeexception-cannot-access-scopedhtmluserdialogjsfprimefacesAxon ivy mobile experiencehttps://answers.axonivy.com/questions/1946/axon-ivy-mobile-experience<p>Hello Ivy Team,</p> <p>I want to provide some mobile experience to my users.</p> <p>There are currently 3 approaches in my head:</p> <p>1.Native Mobile Client - Native iOS and/or Android app - no Web View - communicating to Ivy via HTTP - only data returned, no HTML - offline support</p> <p>2.Hybrid Mobile Client - Phonegap or Ionic HTML SPA hosted on the device (web view) - communicating to Ivy via HTTP - only data returned, no HTML - offline support</p> <p>3.Mobile optimized web view - OOTB provided by Ivy web technologies - JSF and PrimeFaces - no offline support</p> <p>Option 3 is the easiest to implement and release, but it has the worse UX. My biggest concern for option 1 and 2 is the security in terms of session management.</p> <p>Witch approach would Ivy Team recommend ? I saw in the documentation about the Offline User Dialogs, but they goes to option 1</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Mon, 08 Aug 2016 10:26:03 -0400https://answers.axonivy.com/questions/1946/axon-ivy-mobile-experiencehtmluserdialogmobilerestError handler redirect to Web Page or User Dialog ?https://answers.axonivy.com/questions/1940/error-handler-redirect-to-web-page-or-user-dialog<p>Hello All,</p> <p>I have an interesting situation.</p> <p>I have a User Dialog with interactions and a bit complex Logic. There is a point in the process where I`m trowing an exception and I want to redirect the user to an error page: <img alt="alt text" src="http://answers.axonivy.com/upfiles/1.JPG"></p> <p>I want to catch the exception in the business process where to do the redirect. Here is the confusing part:</p> <ol> <li> <p>If I redirect to User Dialog, everything is working correctly: <img alt="alt text" src="http://answers.axonivy.com/upfiles/3.JPG"></p> </li> <li> <p>If I redirect to Web Page (JSP from the CMS) it is trowing an error. <img alt="alt text" src="http://answers.axonivy.com/upfiles/2.JPG"></p> </li> </ol> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/4.JPG"></p> <p>Is this a bug or wrong architecture from my side ?</p> <p>anyway, what is the best practice for managing exceptions in User Dialog`s Logic?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Thu, 04 Aug 2016 14:38:50 -0400https://answers.axonivy.com/questions/1940/error-handler-redirect-to-web-page-or-user-dialoghtmluserdialogbest-practiceerror-handlingTrigger activity - no taskhttps://answers.axonivy.com/questions/1905/trigger-activity-no-task<p>Hello All,</p> <p>I have a HTML Dialog. In the Logic I use the Trigger activity to call a Business Process. It works, but it creates a task. </p> <p>Is there a way to be invoked immediately and not create and assign a task ? My process is pure server-side logic.</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Wed, 20 Jul 2016 07:48:50 -0400https://answers.axonivy.com/questions/1905/trigger-activity-no-taskprocesshtmluserdialogtaskUsing Modern JavaScript Frameworkshttps://answers.axonivy.com/questions/1828/using-modern-javascript-frameworks<p>Hello Guys,</p> <p>I`m new to the BMP tool.</p> <p>Is there a way to work with modern JS frameworks (jQuery, KnockoutJS, AngularJS, ReactJS..etc.) in the HTML Dialog ? My goal is to "escape from the chains" of PrimeFaces and JSF. I want to be able to keep the client-side logic in JavaScript and the back-end logic in the BPM tool.</p> <p>Best Regards, Yordan</p>Stelt0Tue, 21 Jun 2016 15:47:02 -0400https://answers.axonivy.com/questions/1828/using-modern-javascript-frameworkshtmluserdialogjsfjavascriptAI Designer: Unable to open or create a Dialog Formhttps://answers.axonivy.com/questions/1800/ai-designer-unable-to-open-or-create-a-dialog-form<p>Hi all,</p> <p>I'm attemping to create a User Dialog process or create a HTML Dialog from File -&gt; New -&gt; HTML Dialog, but getting this error:</p> <p><code>12:18:11.783 ERROR [ch.ivyteam.ivy.awtGuiComponents.actions] [JavaFX Application Thread] [executionContext=SYSTEM] cannot open rich dialog browser dialog. java.lang.NullPointerException at ch.ivyteam.ivy.guiComponents.swt.inoutmapping.InOutMappingModel$Initializer.isVisible(InOutMappingModel.java:133) at ch.ivyteam.ivy.guiComponents.swt.inoutmapping.InOutMappingModel$Initializer.createNodesForFields(InOutMappingModel.java:93) at ch.ivyteam.ivy.guiComponents.swt.inoutmapping.InOutMappingModel$Initializer.createInOutMappingModel(InOutMappingModel.java:77) at ch.ivyteam.ivy.guiComponents.swt.inoutmapping.InOutMappingModel.createModelFrom(InOutMappingModel.java:38) at ch.ivyteam.ivy.designer.richdialog.ui.wizard.NewRichDialogInOutMappingWizardPage.updateMappingArea(NewRichDialogInOutMappingWizardPage.java:269) at ch.ivyteam.ivy.designer.richdialog.ui.wizard.NewRichDialogInOutMappingWizardPage.access$1(NewRichDialogInOutMappingWizardPage.java:248) at ch.ivyteam.ivy.designer.richdialog.ui.wizard.NewRichDialogInOutMappingWizardPage$1.modifyText(NewRichDialogInOutMappingWizardPage.java:97) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066) at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2987) at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4751) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4613) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5023) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2443) at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:260) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4705) at org.eclipse.swt.widgets.Text.windowProc(Text.java:2610) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5023) at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method) at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3473) at org.eclipse.swt.widgets.Text.setText(Text.java:2260) at ch.ivyteam.ivy.designer.richdialog.ui.wizard.NewRichDialogInOutMappingWizardPage.initializeCallerDataClass(NewRichDialogInOutMappingWizardPage.java:171) at ch.ivyteam.ivy.designer.richdialog.ui.wizard.NewRichDialogInOutMappingWizardPage.createControl(NewRichDialogInOutMappingWizardPage.java:120) at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:178) at ch.ivyteam.ivy.designer.ui.wizard.AbstractIvyResourceWizard.createPageControls(AbstractIvyResourceWizard.java:88) at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622) at org.eclipse.jface.window.Window.create(Window.java:435) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101) at org.eclipse.jface.window.Window.open(Window.java:797) at ch.ivyteam.ivy.guiComponents.swt.dialogs.search.userdialog.UserDialogCreateWizardBuilder.open(UserDialogCreateWizardBuilder.java:81) at ch.ivyteam.ivy.awtGuiComponents.actions.ActionFactory$16$1.run(ActionFactory.java:879) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465)</code></p> <p>Any idea about what is this error about? we are in a hurry with this </p> <p>BR</p>jirazazabalMon, 13 Jun 2016 12:24:12 -0400https://answers.axonivy.com/questions/1800/ai-designer-unable-to-open-or-create-a-dialog-formhtmluserdialogdesignerBest way to jump between user dialogshttps://answers.axonivy.com/questions/1720/best-way-to-jump-between-user-dialogs<p>what is the best way to jump between user dialogs?</p> <p>i want to have a main page with a menu. a click on the menu buttons should open a user dialog. from the user dialog you should also be able to jump to a different user dialog. At the end i want to show a page with all the entered values.</p> <p>i have tried to use ivy.html.startref, but every time i jump to a different user dialog, but with this method i cant show all the entered values at the end.</p> <p>Thank you for your answers</p>joha0123Thu, 07 Apr 2016 19:42:02 -0400https://answers.axonivy.com/questions/1720/best-way-to-jump-between-user-dialogshtmluserdialogJSF Exit End not closing parent Dialoghttps://answers.axonivy.com/questions/1546/jsf-exit-end-not-closing-parent-dialog<p>Hello ivy team, is it possible to "broadcast" a button click event to a parent window in jsf? We would like to create a toolbar (save, cancel, continue) in a seperate Dialog in order to reuse it later. The toolbar is a child dialog of the main window. If I click a button in the toolbar which is connected to an "Exit End", the main window will not be closed. What is the best way to fix this?</p>Florian HeinrichMon, 09 Nov 2015 13:34:38 -0500https://answers.axonivy.com/questions/1546/jsf-exit-end-not-closing-parent-dialoghtmluserdialogjsfHow can I access the attributes of a ivy HTML Dialog component from its logic?https://answers.axonivy.com/questions/1523/how-can-i-access-the-attributes-of-a-ivy-html-dialog-component-from-its-logic<p>I have the following ivy HTML Dialog component:</p> <pre><code>&lt;cc:interface componentType="IvyComponent"&gt; &lt;cc:attribute name="location" type="ivy.Location" required="true"/&gt; &lt;/cc:interface&gt; </code></pre> <p>How can I access the attribute location from a logic process of the component?</p>Reto WeissTue, 20 Oct 2015 09:26:59 -0400https://answers.axonivy.com/questions/1523/how-can-i-access-the-attributes-of-a-ivy-html-dialog-component-from-its-logichtmluserdialogAttributes from pe:layoutPane have no effecthttps://answers.axonivy.com/questions/1510/attributes-from-pe-layoutpane-have-no-effect<p>I decided to use pe:layout instead of p:layout because i was having problems re-sizing a p:layoutUnit with an iframe. </p> <p>After adding gson-2.2.4.jar to the &lt;designer&gt;\webapps\ivy\WEB-INF\lib folder it started to work. But the attributes size, initClose, closable, minSize, maxSize have no effect.</p> <pre><code>&lt;pe:layout fullPage="true" &gt; &lt;pe:layoutPane size="800" initClosed="true" closable="true" position="north"&gt; &lt;h3&gt;Test&lt;/h3&gt; &lt;/pe:layoutPane&gt; &lt;pe:layoutPane position="center"&gt; &lt;h:form id="form"&gt; &lt;h:panelGrid columns="2" &gt; &lt;f:facet name="header"&gt; &lt;p:messages&gt;&lt;/p:messages&gt; &lt;/f:facet&gt; &lt;p:outputLabel for="description" value="Description"/&gt; &lt;p:inputText id="description" value=""&gt;&lt;/p:inputText&gt; &lt;p:outputLabel for="expire" value="Expire"/&gt; &lt;p:calendar id="expire" value="" pattern="dd.MM.yyyy HH:mm" size="16"&gt; &lt;f:convertDateTime pattern="dd.MM.yyyy HH:mm" /&gt; &lt;/p:calendar&gt; &lt;p:commandButton actionListener="#{logic.close}" value="Proceed" update="form" icon="ui-icon-check" /&gt; &lt;/h:panelGrid&gt; &lt;/h:form&gt; &lt;/pe:layoutPane&gt; &lt;pe:layoutPane position="east" size="50%" closable="true"&gt; &lt;iframe src="http://answers.axonivy.com/" height="100%" width = "100%" /&gt; &lt;/pe:layoutPane&gt; </code></pre> <p>&lt;/pe:layout&gt;</p>tiagoMon, 12 Oct 2015 15:59:04 -0400https://answers.axonivy.com/questions/1510/attributes-from-pe-layoutpane-have-no-effecthtmluserdialogprimefaces500 Server Error when hitting history back button of browserhttps://answers.axonivy.com/questions/1450/500-server-error-when-hitting-history-back-button-of-browser<p>I have the problem, that if you have two or more dialog calls in a process, you cannot use the history back button of the browser, as soon as you are past the first dialog.</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/2015-08-26_08_41_15-Process_Development_-_Workflows_processes_Start_Processes_Main.mod_-_Axon.ivy_De.png"></p> <p>In this example, as soon as you reach Education, it does not work anymore.</p> <p>I think the reason for this is, that the dialog instance is closed, when you leave a dialog and move further (Dialog Close event).</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/2015-08-26_08_44_18-Apache_Tomcat_7.0.55_-_Error_report_-_Internet_Explorer.png"></p> <p>I think that this is ivy specific, becuase as far as I know, it works properly with plain PF/JSF. In my opinion, the back button should work allways, becaus of the usability, and the developer should take care of what happens with data and so on.</p> <p>Anyway, does anybody have a solution for this?</p>Marcel von WylWed, 26 Aug 2015 08:47:31 -0400https://answers.axonivy.com/questions/1450/500-server-error-when-hitting-history-back-button-of-browserhtmluserdialogprocessHow to set the ID an Ivy Primefaces Component?https://answers.axonivy.com/questions/1443/how-to-set-the-id-an-ivy-primefaces-component<p>I have a form containing a compontent. The form has the html ID "form" and the table in the component has the ID "table". I am not able to set an ID on the component, or to omit the components ID.</p> <p>Therefore, if I want to update the table in the component it does not work. The reason for this is, that the tables ID is not "form:table" as expected, but "form:j_id_1j_1_1_2p:table".</p> <p>How can I set or omit the components ID?</p> <p>Thanks for your inputs.</p>Marcel von WylMon, 17 Aug 2015 15:34:58 -0400https://answers.axonivy.com/questions/1443/how-to-set-the-id-an-ivy-primefaces-componenthtmluserdialogcomponentprimefacesDoes ivy5 support custom validator with annotation without registering in the faces-config.xml?https://answers.axonivy.com/questions/1413/does-ivy5-support-custom-validator-with-annotation-without-registering-in-the-faces-config-xml<p>Hello ivy-team, I've created a <strong>custom validator</strong> with the @FacesValidator("ch.soreco.validator.EmailValidator") <strong>annotation</strong> and registerd the validator on a component using a validator tag and references the ID of the validator. Unfortunately i got a exception with unknown id if the page called. The validator only works if i registere it in the faces-config.xml. But for a <strong>custom converter</strong> a registration in the faces-config is not necessary.</p> <p>Could you please explain it? Thank you!</p> <p>PS: I created both components and ran the tests with ivy designer 5.1.6</p>nwk2TeamMon, 27 Jul 2015 10:18:57 -0400https://answers.axonivy.com/questions/1413/does-ivy5-support-custom-validator-with-annotation-without-registering-in-the-faces-config-xmlhtmluserdialogjsfdesigner