Questions tagged as 'jsf'

1
answer

commandLink does not create a link on the screen

I'm starting with sf and I'm having a problem with this project. The following command does not create the link on the screen that I need to go to the next page, just give me "New user" written on the screen: <?xml version="1.0" encoding...
asked by 23.06.2016 / 14:36
1
answer

Change default behavior of p element: confirmDialog

I need to change the default behavior of the p: confirmDialog element. When you click yes, it must complete the request by passing a value and clicking on no, you must complete the request by passing another value. <p:commandButton value="C...
asked by 08.04.2016 / 14:45
1
answer

Error using lapis JSF Exporter

I'm trying to implement the Lapis JSF Exporter I use PrimeFaces 5.3 In version jsf version 2.1.20 error occurs and the project does not go up ...    Apr 26, 2016 5:29:21 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLoca...
asked by 26.04.2016 / 22:23
1
answer

Generate Url through form

I have the following url: www.teste.com/username=xxxx I have to type the user's name in xxxx, I'm creating a form in html with the username field, I want it when the user types his name in this form he manages the automatic link for exampl...
asked by 17.03.2016 / 15:46
1
answer

Primefaces does not see methods in my class

Here's my problem: In the xhtml below (list.xhtml) when I put it this way, it does not recognize the method I did in my Bean (the bean method returns a list). The JSF together with the primefaces is shown on the screen perfectly, only not ret...
asked by 19.04.2016 / 03:20
0
answers

Error as @ManyToMany (com.sun.jdi.InvocationException occurred invoking method) - JSF

Galera, I am trying to change the password of an employee, in my ManyToMany is giving an error: com.sun.jdi.InvocationException occurred invoking method Can anyone help me? OfficialBean @ManyToMany @JoinTable(name = "tbl_funcionario_h...
asked by 18.04.2016 / 15:23
0
answers

Null field error - Java Web

In the project I am studying is based on the book "Programming Java for Web" where a strange error happens, then the error appears after filling the entire form, where it appears in the log that the user field is null. I made changes as the book...
asked by 23.03.2016 / 01:44
0
answers

Tomcat message with JSF error 403

I'm using NetBeans 8.1 to develop an application in JSF, but when I run the facelets template page the message I'm posting in the forum appears. My tomcat was installed along with netbeans , and I already researched some forums instr...
asked by 15.01.2016 / 17:04
1
answer

Right-aligned table rows

I want the rows in my table to be right-aligned and the column heading centralized, can anyone help? The code looks like this: <p:column sortBy="totalApontado"> <f:facet name="header"> <h:outputText id="columnHeader_totalAp...
asked by 10.12.2015 / 19:15
1
answer

Problems with p: editable datatable

Good evening. I'm having trouble updating an editable datatable I created here. It reads the values, but does not assign them to the ManagedBean object so I can persist. Follow the Bean Code public void onCellEdit(CellEditEvent event) {...
asked by 09.01.2016 / 03:49