Questions asked by tano9321https://answers.axonivy.com/questions/asked-by/740/tano9321/?type=rssQuestions asked by <a href="/users/740/tano9321" >tano9321</a>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-heightivyCustom error messagehttps://answers.axonivy.com/questions/2485/custom-error-message<p>I am trying to make a custom message for the required input fields. The steps that I have done so far: -</p> <ul> <li> <p>created a .properties file with this content inside it: <code>javax.faces.component.UIInput.REQUIRED = {0}: Validation Error: some custom message here.</code></p> </li> <li> <p>modified the <code>faces-config.xml</code> I have added there a tag message-bundle with content conf.MyMessage</p> </li> <li>And here is my project structure</li> <li><img alt="alt text" src="http://answers.axonivy.com/upfiles/Usssssssssntitled.png"></li> </ul> <p>I dont really know what is wrong and why my custom error message is not working, if you have any suggestions would be nice :)</p>tano9321Tue, 07 Mar 2017 14:14:41 -0500https://answers.axonivy.com/questions/2485/custom-error-messageaxon.ivyPrimeFaces upgrade versionhttps://answers.axonivy.com/questions/2468/primefaces-upgrade-version<p>Hello everyone :) I want to use the textEditor element which is provided by PrimeFaces, but it us supported after version 6.0.6 of PrimeFaces. My current version in Axon Ivy is 5.3, how can I upgrade PrimeFaces version in Axon Ivy or is there other way to achieve the functionality of te textEditor element?</p>tano9321Thu, 23 Feb 2017 10:01:43 -0500https://answers.axonivy.com/questions/2468/primefaces-upgrade-versionaxon.ivyPrimeFaces 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-selectonelistboxivySaving state in Axon Ivyhttps://answers.axonivy.com/questions/2405/saving-state-in-axon-ivy<p>Hello everyone :)</p> <p>Lets say I have a task where the user can fill some input fields. The thing that I want to achieve is that, lets say the user enters some data to the input fields, and closes the browser without finishing the task. When the user opens again the page the input that he or she add must be still there. Is that even possible to do ?</p> <p>Thanks :)</p>tano9321Mon, 30 Jan 2017 15:19:24 -0500https://answers.axonivy.com/questions/2405/saving-state-in-axon-ivyaxon.ivyAxon Ivy Multi Portalhttps://answers.axonivy.com/questions/2375/axon-ivy-multi-portal<p>Hello everyone :) I am trying to implement multiple portals as describen here: <a href="http://developer.axonivy.com/doc/latest/PortalKitHtml/axonivyportal.settings.html#axonivyportal.settings.adminsettings">http://developer.axonivy.com/doc/latest/PortalKitHtml/axonivyportal.settings.html#axonivyportal.settings.adminsettings</a></p> <p>I am at point where I have alreadt added server(connector) but now its time for the application but I am not sure what is the input field <strong>Portal link</strong> used for which is required one. I could not find anything about it, could someone please describe it in more detail so that I know how to fill it.</p> <p>Thank you</p>tano9321Fri, 13 Jan 2017 09:51:10 -0500https://answers.axonivy.com/questions/2375/axon-ivy-multi-portalaxon.ivyAxon 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-managedbeanivyRecordset and Databasehttps://answers.axonivy.com/questions/2287/recordset-and-database<p>Hello everyone :) I have a data table which is editable. Near each record there are 2 buttons: edit and delete. I am using recordset in order to fill the table with some data, but the data i am taking it actually from a data base. My problem is for example: when I push the delete button, it deletes the entry from the database, but the user still can see it on the page, so i need to stop the process and start it again to have the updated values. How this issue can be fixed or any suggestion/approach would be fine :)</p>tano9321Wed, 14 Dec 2016 15:12:39 -0500https://answers.axonivy.com/questions/2287/recordset-and-databasehtmluserdialoghtmldialogAxon 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