Questions asked by A1234https://answers.axonivy.com/questions/asked-by/22/a1234/?type=rssQuestions asked by <a href="/users/22/a1234" >A1234</a>enThu, 03 Mar 2016 11:05:08 -0500Show or hide temporarily a tabhttps://answers.axonivy.com/questions/1675/show-or-hide-temporarily-a-tab<p>We wish to temporarily hide a tab of a RTabbedPane.</p> <p>We know how to hide its content with the visible attribute, but we want it to disappear completely from the tab bar, without removing it.</p> <p>This is like trying to prepare in advance a tab and to show or hide it depending on whether a certain condition is met or not.</p> <p>Has anyone a suggestion about how to do it?</p>A1234Thu, 03 Mar 2016 11:05:08 -0500https://answers.axonivy.com/questions/1675/show-or-hide-temporarily-a-tabrtabbedpanegetProcessElement() not found when migrating to Ivy 6https://answers.axonivy.com/questions/1592/getprocesselement-not-found-when-migrating-to-ivy-6<p>Hello,</p> <p>While testing migration of various projects to Ivy 6.0, I encountered a problem with a method that does not exist anymore.</p> <pre><code> /** * Find the current process name. * * @return fully qualified process name * @throws Exception */ public static String getName() throws Exception { return SecurityManagerFactory.getSecurityManager().executeAsSystem(new Callable&lt;String&gt;() { public String call() { IProcess process = ProcessNavigationUtil.getProcess(MetaData.getProcessElement()); if (process != null) return process.getPath(); return null; } }); } </code></pre> <p>In the previous code, the method <strong>MetaData.getProcessElement()</strong> is not found. By looking in Ivy 5.1.7, it was implemented as:</p> <pre><code> public static ZObject getProcessElement() { return (ZObject)IvyThreadContext.getIvyThreadLocalValue("processElement"); } </code></pre> <p>Now the method has been removed, and a new method <strong>getProcessElementId()</strong> was added, but with a new signature:</p> <pre><code> public static PID getProcessElementId() { return (PID)IvyThreadContext.getIvyThreadLocalValue("processElement"); } </code></pre> <p>I didn't found this change in the migration documentation. Can I know the reason for removing the previous method and what are the alternative in order to get the current process name? Thanks.</p>A1234Mon, 14 Dec 2015 15:03:18 -0500https://answers.axonivy.com/questions/1592/getprocesselement-not-found-when-migrating-to-ivy-6ivy6x-migrationHow can I update Subclipse in Ivy with 1.8.x client?https://answers.axonivy.com/questions/1436/how-can-i-update-subclipse-in-ivy-with-1-8-x-client<p>Hello,</p> <p>I read <a href="">How can I update Subclipse in Ivy? - Axon.ivy | Q&amp;A</a> and tried to apply a similar receipt to update Subclipse to get the 1.8 client.</p> <p>Unfortunately, the Update function does not found anything.</p> <p>If I install <a href="http://subclipse.tigris.org/update_1.10.x">http://subclipse.tigris.org/update_1.10.x</a> and select both Subclipse (Required) and Subversion Client Adapter (Required), the install succeeds.</p> <p>But when I select Subversion JavaHL Native Library Adapter, the install fails with the following message:</p> <pre><code>An error occurred while collecting items to be installed session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,javax.activation,1.1.0.v201108011116 No repository found containing: osgi.bundle,javax.annotation,1.1.0.v201108011116 No repository found containing: osgi.bundle,javax.ejb,3.0.0.v201203061215 No repository found containing: osgi.bundle,javax.mail.glassfish,1.4.1.v201108011116 No repository found containing: osgi.bundle,javax.persistence,2.0.5.v201212031355 No repository found containing: osgi.bundle,org.apache.catalina,7.0.26.v201205021508 No repository found containing: osgi.bundle,org.apache.coyote,7.0.26.v201205030742 No repository found containing: osgi.bundle,org.apache.el,7.0.26.v201205020640 No repository found containing: osgi.bundle,org.apache.jasper,7.0.26.v201205030742 No repository found containing: osgi.bundle,org.apache.juli.extras,7.0.26.v201205020640 No repository found containing: osgi.bundle,org.apache.tomcat.api,7.0.26.v201205020640 No repository found containing: osgi.bundle,org.apache.tomcat.util,7.0.26.v201205030742 No repository found containing: osgi.bundle,org.eclipse.equinox.concurrent,1.0.300.v20120912-130548 </code></pre> <p>I tried to install from the URL and from a local ZIP (<a href="http://subclipse.tigris.org/files/documents/906/49431/site-1.10.9.zip),">http://subclipse.tigris.org/files/documents/906/49431/site-1.10.9.zip),</a> but it always fails with the same error.</p> <p>Could you please provide a way to update the Subversion client in Ivy Designer 1.5.7 in order to leverage the 1.8 client feature (and working copy format)? Thanks.</p> <p><a href="http://answers.axonivy.com/questions/449/how-can-i-update-subclipse-in-ivy">http://answers.axonivy.com/questions/449/how-can-i-update-subclipse-in-ivy</a></p>A1234Tue, 11 Aug 2015 17:43:12 -0400https://answers.axonivy.com/questions/1436/how-can-i-update-subclipse-in-ivy-with-1-8-x-clientsubversionI would like to modify a log level in production without having to restart the serverhttps://answers.axonivy.com/questions/1065/i-would-like-to-modify-a-log-level-in-production-without-having-to-restart-the-server<p>Sometimes we want to change the level of logging of a server in production.</p> <p>I am not sure this is possible without restarting the server, which is often difficult to manage depending of the customer.</p> <p>I know that log4j supports a way to dynamically reload the configuration when a file change has been detected. See <a href="http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/DOMConfigurator.html#configureAndWatch%28java.lang.String,%20long%29">configureAndWatch</a>.</p> <p>Is it supported in Ivy 4.x/5.x? Is there something we can do to enable this feature?</p>A1234Fri, 28 Nov 2014 16:49:39 -0500https://answers.axonivy.com/questions/1065/i-would-like-to-modify-a-log-level-in-production-without-having-to-restart-the-serverloggingserverDebugging a RD process running on a remote serverhttps://answers.axonivy.com/questions/1034/debugging-a-rd-process-running-on-a-remote-server<p>Hello,</p> <p>I followed the directives to debug a remote server, as described in <a href="http://answers.axonivy.com/questions/21/how-can-i-debug-my-java-class-in-the-designer">How can I debug my Java class in the Designer?</a>.</p> <p>That works well, I can set breakpoints on Java class statements, and debug the code.</p> <p>I would like to know if it possible to also debug a RD process by setting breakpoints on process elements?</p> <p>I don't see how to have my breakpoints stop when they are executed. I started the engine, but that does not work.</p>A1234Fri, 14 Nov 2014 09:58:28 -0500https://answers.axonivy.com/questions/1034/debugging-a-rd-process-running-on-a-remote-serverdebuggingIs Java 8 client-side supported with Ivy 5.0 and 5.1 RIA applications?https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applications<p>Several customer ask to remove Java 7 and install Java 8 on their desktops.</p> <p>Is it officially supported with Ivy 5.0/5.1 applications ? Do issues have already been identified?</p>A1234Tue, 11 Nov 2014 14:03:43 -0500https://answers.axonivy.com/questions/1031/is-java-8-client-side-supported-with-ivy-5-0-and-5-1-ria-applicationsjavaHow to get web resouces images defined in a CSS file?https://answers.axonivy.com/questions/85/how-to-get-web-resouces-images-defined-in-a-css-file<p>Hello,</p> <p>In an HTML dialog, if I use either of the following instructions for importing a style: </p> <pre><code>&lt;h:outputStylesheet name="portlet/css/presential.css"/&gt; </code></pre> <p>or</p> <pre><code>&lt;link rel="stylesheet" href="#{resource['portlet/css/presential.css']}" type="text/css"/&gt; </code></pre> <p>the CSS file is loaded (see line #1 below) with the request attribute "<strong>?ln=xpertivy-14-WebContent</strong>".</p> <p>Unfortunately, it cannot find the images defined in the CSS (see 2 last lines). Notice that the request attribute above is not appended to the image request. <img alt="alt text" src="/upfiles/2013-11-18_17_14_13-screenshot.png"></p> <p>This could be important because if I manually request the following URL: <strong><code>http://localhost:8082/ivy/faces/javax.faces.resource/portlet/images/clock24.png?ln=xpertivy-14-webContent</code></strong></p> <p>I can successfully get the clock24.png image.</p> <p>Is it actually a bug, or is there a particular way to do it?</p> <p>Thanks.</p>A1234Mon, 18 Nov 2013 17:18:36 -0500https://answers.axonivy.com/questions/85/how-to-get-web-resouces-images-defined-in-a-css-filehtmluserdialogcssHow to set icons in PrimeFaces tree nodeshttps://answers.axonivy.com/questions/78/how-to-set-icons-in-primefaces-tree-nodes<p>Hello,</p> <p>I would like to set icons in PrimeFaces tree nodes. My icons are configured in the project CMS.</p> <p>Unfortunately, the Resource Demo doesn't help me.</p> <pre><code>&lt;p:tree id="treeSingle" value="#{treeBean.root}" var="node" selectionMode="single" selection="#{treeBean.selectedNode}"&gt; &lt;p:treeNode icon=""&gt; &lt;h:outputText value="#{node.name}" /&gt; &lt;/p:treeNode&gt; &lt;/p:tree&gt; </code></pre> <p>In &lt;p:treenode&gt; I need to set the icon attribute with a syntax that will retrieve icons from the CMS.</p>A1234Fri, 15 Nov 2013 12:05:59 -0500https://answers.axonivy.com/questions/78/how-to-set-icons-in-primefaces-tree-nodesprimefaces