Questions asked by nghianguyenhttps://answers.axonivy.com/questions/asked-by/54/nghianguyen/?type=rssQuestions asked by <a href="/users/54/nghianguyen" >nghianguyen</a>enThu, 20 Feb 2014 08:42:23 -0500NoClassDefFoundError always show on console log (IDE)https://answers.axonivy.com/questions/535/noclassdeffounderror-always-show-on-console-log-ide<p>After rendering the view (HtmlDialog), my Desinger's console always has this error (v5.0.8):</p> <p>NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config Error during rendering of html dialog 'xxx.xxx.xxx'</p> <p>On console log, I see on "request" column, it shows "/ivy/faces/instances/144.../RES_NOT _FOUND" </p> <p>And, stacktrace is bellow:</p> <p>java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config at org.apache.myfaces.view.jsp.JspViewDeclarationLanguage.buildView(JspViewDeclarationLanguage.java:91) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:78) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241) at org.apache.myfaces.extensions.validator.core.startup.ExtValLifecycleWrapper.render(ExtValLifecycleWrapper.java:79) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79) ...</p> <p>But the screen is rendered well on the browsers</p> <p>How can i solve it? Thanks</p>nghianguyenThu, 20 Feb 2014 08:42:23 -0500https://answers.axonivy.com/questions/535/noclassdeffounderror-always-show-on-console-log-idedesigneris it possible to find IRoles by using "contains" or "like" as SQL statement?https://answers.axonivy.com/questions/485/is-it-possible-to-find-iroles-by-using-contains-or-like-as-sql-statement<p>In currently, we can find exactly an IRole by using "ivy.wf.getSecurityContext().findRole()"</p> <p>But, how can we get a list of IRoles that having same prefix name, or using a keyword to get all IRoles into a list?</p> <p>Thank you very much.</p>nghianguyenWed, 22 Jan 2014 08:34:48 -0500https://answers.axonivy.com/questions/485/is-it-possible-to-find-iroles-by-using-contains-or-like-as-sql-statementroleHow can I create a role at runtime dynamically?https://answers.axonivy.com/questions/264/how-can-i-create-a-role-at-runtime-dynamically<p>Is there any public APIs to make an IRole at runtime by programming? </p> <p>Because in our project, we need a process to handle add/remove IRole automatically (no need to login to Ivy Server and create it by manually)</p> <p>Thank you so much.</p>nghianguyenMon, 20 Jan 2014 07:47:27 -0500https://answers.axonivy.com/questions/264/how-can-i-create-a-role-at-runtime-dynamicallyapirole