Questions asked by Maxim Shttps://answers.axonivy.com/questions/asked-by/831/maxim-s/?type=rssQuestions asked by <a href="/users/831/maxim-s" >Maxim S</a>enFri, 02 Jun 2017 10:49:40 -0400Number as nullhttps://answers.axonivy.com/questions/2669/number-as-null<p>Dear Ivy Team.</p> <p>We faced with the autounboxing problem. On UI side we have input field for number:<br> &lt;pe:inputNumber value=#{data.num}/&gt;<br> or &lt;p:inputText value=#{data.num}&gt;</p> <p>On data model, the field 'num' has type Number. When a user saves data, then we get value 0 in this field. Can we store null value?</p> <p>We read question:<br> <a href="http://answers.axonivy.com/questions/1674/auto-initialisation-number-0-from-jsf-view">http://answers.axonivy.com/questions/1674/auto-initialisation-number-0-from-jsf-view</a></p> <p>We tried set COERCE_TO_ZERO=false in: \AxonIvyDesigner6.5.0.53277\webapps\ivy\WEB-INF\web.xml</p> <pre><code>&lt;context-param&gt; &lt;param-name&gt;org.apache.el.parser.COERCE_TO_ZERO&lt;/param-name&gt; &lt;param-value&gt;false&lt;/param-value&gt; &lt;/context-param&gt; </code></pre> <p>in %JAVA_OPTS%: -Dorg.apache.el.parser.COERCE_TO_ZERO=false<br> in process code, as: System.setProperty("org.apache.el.parser.COERCE_TO_ZERO", Boolean.FALSE.toString());</p> <p>But it didn't help for us.<br> Could you correct us, what do we need do any more for Designer and then for Engine?</p> <p>Where do we need set variable <strong>ivy.vm.additional.options</strong>?</p>Maxim SFri, 02 Jun 2017 10:49:40 -0400https://answers.axonivy.com/questions/2669/number-as-nulldatabindingErrorHandler for "Dialog instance is not available anymore"https://answers.axonivy.com/questions/2661/errorhandler-for-dialog-instance-is-not-available-anymore<p>Dear Ivy Team.</p> <p>Is it possible to catch error "Dialog instance is not available any more" via ErrorHandler process?</p> <p>I made ErrorHandler the similar as in example ErrorHandlingDemos with error code: "ivy:error". But it's not working. We would like to move user to home page when that error happens. We use SVN for a project in workspace and we wouldn't want to change web.xml in the designer (for example to replace error page) because it is beyond SVN.</p> <p>Thanks!</p>Maxim SFri, 02 Jun 2017 02:55:24 -0400https://answers.axonivy.com/questions/2661/errorhandler-for-dialog-instance-is-not-available-anymoreerror-handling