Questions Tagged With designerhttps://answers.axonivy.com/tags/designer/?type=rss&user=jirazazabalquestions tagged <span class="tag">designer</span>enThu, 30 Nov 2017 12:17:34 -0500How to save a list from a Dialog?https://answers.axonivy.com/questions/3011/how-to-save-a-list-from-a-dialog<p>Hi all,</p> <p>I have a form (dialog) that it's dynamic. In a field, the user can insert one or multiple values. For example, user has a textfield and an Add button. When the user pushes the Add button, another texfiled shuold appear in order to complete another value for the same (array/list) field.</p> <p>What's the best way to save this multiple dynamic values in a Data object from a Dialog form?</p> <p>Thanks in advance</p>jirazazabalThu, 30 Nov 2017 12:17:34 -0500https://answers.axonivy.com/questions/3011/how-to-save-a-list-from-a-dialoghtmldialogdesignerSplit a process in two lines with Forms in each onehttps://answers.axonivy.com/questions/2980/split-a-process-in-two-lines-with-forms-in-each-one<p>Hi all,</p> <p>I'm needing a way to parallelize to lines of a process, with different logic in each line that includes user dialogs calls and many other logic steps. Split component is not valid as documentation referes. How can I do that? after each line completes the process steps in each one, they are joined with a join component in orther to continue the process execution.</p> <p>Thanks in advance</p>jirazazabalWed, 15 Nov 2017 11:20:14 -0500https://answers.axonivy.com/questions/2980/split-a-process-in-two-lines-with-forms-in-each-onedesignerDB Table to populate a List of valueshttps://answers.axonivy.com/questions/1823/db-table-to-populate-a-list-of-values<p>Hi all,</p> <p>I'm newbie about AI designer. I'm trying to do something that it should be easy. I want to load a list of values in a Dialog (selectOneMenu) from a DB table. Suppose I have some employees. I want to create a new employee, so I need to assign it to amn existing department. So, I need an object List&lt;department&gt; in the Dialog interface to use it in the selectOneMenu control and save department code when I save this employee data to database.</p> <p>I'm not finding the way to connect the DB step when I make this query to the dialog step.</p> <p>Can you help me? Any documentation about this kind of tasks?</p> <p>BR</p>jirazazabalFri, 17 Jun 2016 15:53:54 -0400https://answers.axonivy.com/questions/1823/db-table-to-populate-a-list-of-valuesdesignerlistAI 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-formhtmluserdialogdesigner