Questions asked by Florian Heinrichhttps://answers.axonivy.com/questions/asked-by/580/florian-heinrich/?type=rssQuestions asked by <a href="/users/580/florian-heinrich" >Florian Heinrich</a>enSat, 16 Jun 2018 08:09:31 -0400Pass Recordsets as start parameter to ui:compositionhttps://answers.axonivy.com/questions/3331/pass-recordsets-as-start-parameter-to-ui-composition<p>Hello Ivy Team,</p> <p>I would like to pass a Recordset from a View to a ui:composition View. But I get this error. </p><pre>IllegalArgumentException: Could not assign value '[Record(Some Record Data)]' with type 'ch.ivyteam.ivy.dialog.execution.jsf.controller.IvyRecordsetResolver$RecordsetListWrapper' from class loader 'org.eclipse.osgi.internal.loader.EquinoxClassLoader@422e14ad[ch.ivyteam.ivy.dialog.jsf:7.0.3.201801301123(id=46)]' to member 'recordset' with type 'ch.ivyteam.ivy.scripting.objects.Recordset' </pre><p></p> <p>Is it possible to pass a Recordset by reference to a UI Composition View?</p>Florian HeinrichSat, 16 Jun 2018 08:09:31 -0400https://answers.axonivy.com/questions/3331/pass-recordsets-as-start-parameter-to-ui-compositionrecordsethtmldialogbouncycastle bcprov-jdk15on-1.56https://answers.axonivy.com/questions/2585/bouncycastle-bcprov-jdk15on-1-56<p>Hello Ivy Team,</p> <p>I would like to sign PDF files using apache pdfbox. Apache pdfbox requires the bcprov-jdk15on for encryption and signing. When I try to run the signing example (<a href="https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/)">https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/)</a> i get a <code> Exception in thread "main" java.lang.SecurityException: class "org.bouncycastle.asn1.ASN1Primitive"'s signer information does not match signer information of other classes in the same package at java.lang.ClassLoader.checkCerts(Unknown Source) </code></p> <p>I think this exception occurs because the designer has a bcprov-jdk15-1.45.jar already included, but this is not the jar pdfbox expects. (bcprov-jdk15 and bcprov-jdk15on)</p> <p>When I try to delete this jar it is automatically recreated on startup.</p> <p>Could you please help me to solve this problem.</p> <p>I am using the ivy Designer 5.1.8</p> <p>Thank you and best regards Florian</p>Florian HeinrichFri, 21 Apr 2017 06:11:03 -0400https://answers.axonivy.com/questions/2585/bouncycastle-bcprov-jdk15on-1-56javaLogin Process for SSOhttps://answers.axonivy.com/questions/1867/login-process-for-sso<p>Hi All,</p> <p>Is it possible to send system events in the login process to load user specific settings in Applications using SSO? I added a ScriptStep in JsfWorkflowUi &gt; HTML Dialogs &gt; Login Logic. This works fine but only for non-SSO Applications.</p> <p>Best Regards, Florian</p>Florian HeinrichTue, 05 Jul 2016 13:25:08 -0400https://answers.axonivy.com/questions/1867/login-process-for-ssossosystemeventaccess cms content in css filehttps://answers.axonivy.com/questions/1611/access-cms-content-in-css-file<p>Hi all,</p> <p>is it possible to access cms content in css files? I have tried something like that: </p><pre>.info { color: "#{ivy.cms.co('/Layouts/color/info')}" } </pre><p></p> <p>Thank you</p>Florian HeinrichWed, 30 Dec 2015 08:50:51 -0500https://answers.axonivy.com/questions/1611/access-cms-content-in-css-filecmscssHibernate show_sqlhttps://answers.axonivy.com/questions/1585/hibernate-show_sql<p>Hello Ivy-Team,</p> <p>how can I configurate the hibernate.show_sql property? I tried to configurate it in the persistence configuration editor but nothing happened. Is there something else I have to do?</p> <p>Thanks for answers<img alt="alt text" src="http://answers.axonivy.com/upfiles/Unbenannt_FWwrALz.png"></p>Florian HeinrichFri, 04 Dec 2015 15:42:51 -0500https://answers.axonivy.com/questions/1585/hibernate-show_sqlhibernateloggingJSF 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-dialoghtmluserdialogjsfRuntime Exception Handlinghttps://answers.axonivy.com/questions/1532/runtime-exception-handling<p>Hello ivy-team, is it possible to handle unexpected Exceptions like RuntimeExceptions? For example, we would like to send an email with all exception information to our developer team and display a specific error message. We would like to display this message in the current user dialog (JSF) and not redirect to an other error page. I tried to create a CustomExceptionHandlerFactory and set this class as exception-handler-factory in the faces-config.xml. Doing this in the Project webContent/WEB-INF/faces-config.xml has no effect. Doing this in the Designer webapps/ivy/WEB-INF/faces-config.xml throws a ClassNotFoundException. Could you please explain how to do this or is there a nicer way?</p>Florian HeinrichFri, 30 Oct 2015 15:19:35 -0400https://answers.axonivy.com/questions/1532/runtime-exception-handlingexceptionhandlingruntimefaces-config.xmlerror-handling