Questions tagged as 'jsf'

1
answer

Insert arrow into an input submit for when jsf rendering appears on the button

I've done a whole layout in HTML5 and I have a "next" button where I have an arrow in it, however the developers are doing it in JSF and rendering < in> commandButton becomes a input type submit and the arrow no longer appears. Does...
asked by 22.04.2016 / 18:59
1
answer

Tree Selection PrimeFaces

I want to make a feature in the application that lists folders and files in a directory, so I thought about the Tree Selection of the Primefaces, however I want to expand the Tree Selection at the folder level and the files to be opened next to...
asked by 16.06.2016 / 02:10
2
answers

Change whether or not item appears in p: Datatable

Good morning. I have the following datatable: CouldyougivemeaglimpseofwhatIcoulddotomakethisExpansionappearonlyforthefirsttwolines?Theothershavenodetailstoappearintheexpansion.Ithoughtaboutusingrenderedifthelineisgreaterthan2(or1,Idonotknowi...
asked by 27.12.2015 / 15:32
1
answer

Problem with JPA using Wildfly 9 and JTA

It's the first time I try to use JTA using the Wildfly container and so far I have not been able to run my code right. When I publish the application (start Wildfly) it perfectly matches, generates the table and such. But when I enter the screen...
asked by 14.12.2015 / 15:55
1
answer

How to solve "Type mismatch: can not convert from object type to Message"?

I was studying JSF and found this site where it teaches to create a basic chat using JSF, primefaces and ajax: link I have the MessageManager class public class MessageManager implements MessageManagerLocal { private final List messa...
asked by 18.02.2016 / 21:41
1
answer

Problems setting up Table with CSS

I'm creating a commercial project in JSF, and to start the project I started to create the layout of the pages, to create the project, I'm doing it in pieces, and in each piece of the project I'm creating small projects that will be part of a si...
asked by 08.12.2015 / 14:59
1
answer

Manipulating a dataTable JSF + PrimeFaces

How do I dataTable only be displayed after I click on Simulate Reply? When I load the page, dataTable logo first is already displayed, I do not even have any questions on it. I have a Command Button : <p:column header...
asked by 02.11.2015 / 02:32
1
answer

Problems with p: poll that does not find Id

Folks, I have a div that needs to be refreshed in 5s periods, but it is giving error that ID is not found. <h:form id="form"> <br /> <center><h:outputLabel value="Visão Geral" class="titlePrincipal" /></c...
asked by 27.10.2015 / 16:09
1
answer

generic styleClass in table

I'm putting together a table and I wanted to know the following: I want to put a css style in the column headers, do I need to use a styleClass in each header or can I declare a generic for all headers? <p:dataTable styleClass="tabela">...
asked by 23.10.2015 / 15:13
1
answer

Send message to all managed beans

What features might I be using to display a notification on a page if an Exception occurs inside a ServletContextListener that runs a thread? The idea is to warn the user that something is out of the ordinary and stay fixed until the problem...
asked by 03.10.2015 / 08:26