Questions Tagged With ivyhttps://answers.axonivy.com/tags/ivy/?type=rss&user=tano9321questions tagged <span class="tag">ivy</span>enWed, 22 Mar 2017 10:47:38 -0400Portal Cases heighthttps://answers.axonivy.com/questions/2518/portal-cases-height<p>In the portal I have noticed that not all of the cases are shown as can be seen from the picture: </p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Untitled_Dz4CHlM.png"></p> <p>As I can understand the javascript is not measuring the height properly. Can you give me some guides how this can be fixed as I am afraid to do not break something else while trying to fix this, as it is the portal, Thanks</p>tano9321Wed, 22 Mar 2017 10:47:38 -0400https://answers.axonivy.com/questions/2518/portal-cases-heightivyPrimeFaces selectOneListBoxhttps://answers.axonivy.com/questions/2451/primefaces-selectonelistbox<p>Hello everyone ! In two of my html dialogs I have <code>selectOneListbox</code> element.These elements they both use as select items the same list: <code>selectItems value="#{data.data.requirementsDocuments}"</code> and in both of the views the user can add and delete items(in my case URLs). In the first view this thing is working perfectly. The problem is in the second view where I can add a item to the list but cannot delete. I realize that when I use different variable for the selected value from the list in the second view the deletion works. I cannot really understand why with the same variable is not working. So I had to create another variable just to use it in the second <code>selectOneListBox</code>. Can someone please explain this to me :) Thanks in advance :)</p>tano9321Fri, 17 Feb 2017 12:24:14 -0500https://answers.axonivy.com/questions/2451/primefaces-selectonelistboxivyAxon Ivy Modena Layouthttps://answers.axonivy.com/questions/2326/axon-ivy-modena-layout<p>Hello everyone :) Could please someone write down what are the steps of integrating the modena layout theme to a project. I have tried to do it but as I have 2 processes it works fine for the first one but not for the second one, I dont really know why. Whenever I am starting the second process the page is just loading and loading without any result. Here are the steps that I have followed, maybe I forgot to do something :/ </p> <ol> <li>webapps/ivy/WEB-INF/web.xml (uncomment the code block primefaces.THEME and changed modena-ivy to modena)</li> <li>Downloaded template.xhtml layoutmenu.xhtml topbar.xhtml and put them in webapps/ivy/WEB-INF/</li> <li>Downloaded the jar and put it in webapps/ivy/WEB-INF/lib</li> <li>Downloaded the modena-layout folder and put it in webapps/ivy/resources</li> </ol> <p>Thats it basically what i have done so far, please let me know if i miss some step or steps Thank you :)</p>tano9321Tue, 27 Dec 2016 07:59:28 -0500https://answers.axonivy.com/questions/2326/axon-ivy-modena-layoutivyDropdown autocomplete and ManagedBeanhttps://answers.axonivy.com/questions/2315/dropdown-autocomplete-and-managedbean<p>Hello everybody :) I am implementing a dropdown autocomplete. This is my code so far: </p> <pre><code>@ManagedBean public class MealBean { private String mealType; List&lt;MealType&gt; allMeals = DataHelper.getMealTypes(); public List&lt;String&gt; complete(String query) { List&lt;String&gt; filteredMeals = new ArrayList&lt;String&gt;(); for (int i = 0; i &lt; allMeals.size(); i++) { MealType mType = allMeals.get(i); if (mType.getTypeOfMeal() != null &amp;&amp; mType.getTypeOfMeal().toLowerCase().startsWith(query)) { filteredMeals.add(mType.getTypeOfMeal()); } } return filteredMeals; } public String getMealType() { return mealType; } public void setMealType(String mealType) { this.mealType = mealType; } } </code></pre> <p>The DataHelper actually is used for reading values from the database. The <code>complete</code> method is invoked each time user enters something. So the thing i am wondering is that: when user enters some character is the <code>DataHelper.getMealType()</code> method invoked,or just once when the bean is created, if so how I can optimize the code because it will be not a good practice to ask the database for result each type user enters something.</p> <p>Thanks :)</p>tano9321Thu, 22 Dec 2016 08:53:45 -0500https://answers.axonivy.com/questions/2315/dropdown-autocomplete-and-managedbeanivyAxon Ivy demos (Html Dialogs)https://answers.axonivy.com/questions/2256/axon-ivy-demos-html-dialogs<p>Hello everyone :) I am a beginner in Axon Ivy platform and trying to learn it. I am playing with the demos that are provided but got stuck at one place. The demo project that I am running now is called <em>HtmlDialogDemos</em>. I wanted to understand how can I deal with multiple views, and there is a option in the demo called <em>Multi View</em>, when I select it I have a form and a button. The thing that makes me confused, how the view is changed when I click the button there. I have checked the logic part and the html code but could not find anything except that there is a string value called nextView moving around.</p> <p>Thank you :)</p>tano9321Thu, 08 Dec 2016 09:08:48 -0500https://answers.axonivy.com/questions/2256/axon-ivy-demos-html-dialogsivy