Posts by Rafael • 2,875 points
79 posts
- 
		3 votes1 answer334 viewsA: How to strip table edges Primefaces?Create a css class: .semBorda tr, .semBorda td { border: none !important; } And add to your panelGrid. 
- 
		1 votes1 answer851 viewsA: How to build a Complex Layout in JSF2?<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"… 
- 
		0 votes2 answers1109 viewsA: Change the Label color of a chart in PrimefacesYou’ll have to overwrite the css, try this: .jqplot-series-canvas { background:green; } Editing: Then try the following: .jqplot-title{ color: #FF0000; } .jqplot-xaxis-label{ color: #FF0000; }… 
- 
		2 votes2 answers215 viewsA: Graphics in Primefaces@Techies, I think with this you will know how many status of each you have: private int contadorFinalizado = 0; private int contadorPausado = 0; public void contarLista() { for (Tarefa tarefa :… 
- 
		1 votes2 answers205 viewsA: Table does not update correctly after editingI will explain what is happening. First your dataTable is calling the listaTarefa but when you call the method pausarTarefa() you’re not updating your listaTarefa and its dataTable. What you can do… 
- 
		0 votes2 answers2083 viewsA: Pick selected line from datatableFirst: I created an objectSelected in your Bean. According to: <p:column > <p:commandButton oncomplete="PF('dlg3').show();" icon="ui-icon-search" title="View">… 
- 
		0 votes2 answers390 viewsA: Use or not use "Backing Bean"/"Manage Bean" with JSF?It depends a lot on your application, I recommend using a @ManagedBean and set a life cycle for your bean(@ViewScoped, @RequestEscoped or @SessionScoped), with this you can already develop a quiet… 
- 
		5 votes1 answer473 viewsA: Problem with redirect JSF+PrimefacesChange your method sair() for : public void sair() { usuarioLogado = null; ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext(); ec.redirect(ec.getRequestContextPath() +… 
- 
		1 votes1 answer653 viewsA: What is Read Process Memory?This is a comprehensive and complex question, but Read Process Memory is the process of reading memory, in your case the life of the character that is stored in memory. The first step would find the… 
- 
		4 votes1 answer945 viewsA: Is URL friendly with JSF, Facelets and Bootstrap possible?With Prettyfaces you can do it, link here. Example of configuration given by the site: <pretty-config xmlns="http://ocpsoft.org/schema/rewrite-config-prettyfaces"… 
- 
		0 votes2 answers663 viewsA: How to make 3 nested Selectonemenu?That atheist valueChangeListener is only called when the user selects an option, and you did not update your second select, so it will not load the new information. My suggestion add in your first… 
- 
		3 votes1 answer383 views
- 
		2 votes1 answer864 views
- 
		33 votes5 answers63261 viewsA: How to clean the console in Python?Try this: import os os.system('cls' if os.name == 'nt' else 'clear') Follow the Soen link, here, has other alternatives as well.… 
- 
		2 votes1 answer1182 viewsA: Exception <p:ajax> Unable to attach behavior to non-ClientBehaviorHolder ParentThis error is happening because your version of the primefaces still does not support these Ajax events for the component <p:orderList>. If I’m not kidding, only version 5.1.5+ is supported.… 
- 
		1 votes1 answer587 viewsA: JSF agenda with datatable containing data from different listsYou can create an auxiliary object to use in your datatable, in this object you place the column objects before yesterday, yesterday, etc... So you make a list of these auxiliary objects and put… 
- 
		0 votes2 answers528 viewsA: Web application chat with Java and PrimefacesJust taking a complementary look at the Chat that Primefaces has in their showcase, follows the link, who knows can help you.… 
- 
		0 votes2 answers2639 viewsA: confirmDialog does not workTry to use it like this: <p:column style="width: 100px; text-align: center"> <p:button icon="ui-icon-pencil" title="Editar" /> <p:commandButton icon="ui-icon-trash" title="Excluir>… 
- 
		3 votes1 answer531 viewsA: Datatable does not update immediately after "action"You have to clear your list because with the @ViewScoped the bean is maintained until the application navigates to another page, and depending on how you navigate it does not wipe the data.… 
- 
		1 votes1 answer1093 viewsA: Background image does not appear when running the projectProbably the image path. I recommend leaving images in the system’s Resources folder. Example : resources/images. Thus using the #{resource[]} it takes the root path to the folder. Example:… 
- 
		6 votes2 answers1312 viewsA: Open Dialog in primefaces as soon as the screen opensWith the remoteCommandyou can do this. Follow an example. <p:dialog widgetVar="dlg" width="300" height="300" modal="false"> teste dialog </p:dialog> <p:remoteCommand autoRun="true"… primefacesanswered Rafael 2,875
- 
		2 votes1 answer163 viewsA: Do not display another row in the table when status equals "Canceled"You have to process the data that will be displayed in the tables before sending them. Datatable has no support for hiding lines. 
- 
		2 votes1 answer450 viewsA: <p:datatable> with variable column amountThe primefaces have the component <p:columns>. Follow the link to the showcase here… 
- 
		1 votes2 answers728 viewsA: Error in converting JSFIf you are using this convert in a selectOneMenu, follow an example of code: <p:selectOneMenu value="#{bean.lista}" converter="pessoaConverter"> <f:selectItem itemLabel="Selecione"… 
- 
		1 votes1 answer238 viewsA: Update an h:outputText from a p:autocomplete databaseTry adding to your autocomplete: <p:ajax event="itemSelect" update="IDdoOutPutText" process="@this"/> If you do not set the patient, add a Systener to set the patient in your bean in that same… 
- 
		1 votes2 answers76 viewsA: Strange page after adding PrimefacesCheck your web.xml, in my I’m setting index.xhml as the home page: <welcome-file-list> <welcome-file>index.xhtml</welcome-file> </welcome-file-list>… 
- 
		1 votes1 answer778 viewsA: Dynamic update in Primefaces component via autocompleteI already used autocomplete, to update another component I used: <p:ajax event="itemSelect" update="componenteID"/> 
- 
		1 votes3 answers2125 viewsA: Override CSS Component PrimefacesThe Calendar component has the size attribute, you can change the size of the input that is generated by the component. Example: <p:calendar pattern="dd/MM/yyyy" mode="popup" required="true"… 
- 
		1 votes2 answers1870 viewsA: Dialog does not openI already had this problem, I solved by putting the modal = "false". I can not explain why the problem with the modal = "true". <p:dialog widgetVar="teste" resizable="false" header="Fabricante -… primefacesanswered Rafael 2,875