Questions asked by NickSingerhttps://answers.axonivy.com/questions/asked-by/346/nicksinger/?type=rssQuestions asked by <a href="/users/346/nicksinger" >NickSinger</a>enThu, 10 Jul 2014 13:42:10 -0400Use a PrimeFaces with a ivy-date as datatypehttps://answers.axonivy.com/questions/846/use-a-primefaces-with-a-ivy-date-as-datatype<p>Hello everyone, </p> <p>how is it possible to use the primefaces &lt;p:calendar&gt;-element with a "date"-object (ch.ivyteam.ivy.scripting.objects.Date) as destination to save the entered date? In the example on <a href="http://www.xpertivy.ch/releases/Xpert.ivy/5.0.latest/documents/DesignerGuideHtml/ivy.htmldialogs.html#Converters">THIS</a> page (see section "Converters") they used</p> <pre><code>&lt;f:convertDateTime pattern="dd.MM.yyyy" /&gt; </code></pre> <p>this solution worked well on my local Xpert.ivy Designer, but does not on our testserver - it just crashed with an error, that it can't convert a java.util.Date-object into a ch.ivyteam.ivy.scripting.objects.Date-object which is a obviously message, that the "converteDateTime" does not work.</p> <p>In <a href="http://vimeo.com/95734833">THIS</a> video, someone showed that it is definitively possible to save the value of an calendar-component into a ivy-date. Unfortunately i have no possibility to take a look on the automatic generatred code of the Designer.</p> <p>Looking forward for your answers, <br>Nick</p>NickSingerThu, 10 Jul 2014 13:42:10 -0400https://answers.axonivy.com/questions/846/use-a-primefaces-with-a-ivy-date-as-datatypedataclassjsfprimefaces