Questions tagged as 'jsf'

1
answer

Change button after clicking JSF

I've got the following problem, I have these two buttons that do: X: Retrieves the value of a graph +: Adds the value of a graph Ineedittolooklikethis:WhenIclicktheXbutton Itswitchestothe+button,astheyhavedifferentfunctionsasyoumightnotic...
asked by 17.10.2016 / 20:01
1
answer

What does "@" mean in JSF?

What does this mean in JSF pages? Ex: process="@this" update="@form"     
asked by 05.06.2016 / 05:25
1
answer

Use external css file in JSF

given my template page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:...
asked by 01.06.2016 / 19:00
1
answer

Login screen problem, if user logged in redirect to home screen

Good afternoon, I have a system, I was able to filter in case the user is not logged in, redirect to the login screen. But now I'm trying to do the opposite, in case the user is logged in and he tries to access the login screen, redirect to the...
asked by 01.06.2016 / 21:19
1
answer

Addition in an autocomplete

I have an autocomplete with the code below. <p:outputLabel styleClass="rotulos" value="Fornecedor:" /> <p:autoComplete id="inputfornecedor" update="msgcontapagar" value="#{contapagarBean.object.fornecedor}" effect=...
asked by 21.06.2016 / 20:00
1
answer

Error in properties file configuration

I'm trying to set up a properties file. I followed some tutorials but without success. I'm having the following error:    Caused by: java.util.MissingResourceException: Can not find bundle for   base name src.main.resources.properties.message...
asked by 08.06.2016 / 05:23
1
answer

ManagedBean methods are not processed

Good morning, I'm the following problem. I have an application that has several ManagedBeans that are working normally. Today I was creating a new bean for testing and this bean does not execute either @PostConstruct or any other method; I cr...
asked by 21.05.2016 / 15:30
1
answer

Doubt (Hibernate) - JSF

I am making an employee registration, and in that register already have departments registered in the bank. So, at that moment I run the bank to present the data in the view, but when I finish the registration, this previously selected "departme...
asked by 18.05.2016 / 13:45
1
answer

Show itemLabel instead of an ivemValue in DataTable - JSF, Primefaces

Well, I'm working on a project and when saving a record using the selectOneMenu of primefaces, an Id is displayed instead of the field name that was selected, I need to know how to display only the field name. Here's my xhtml: <p:outputL...
asked by 04.05.2016 / 16:27
1
answer

How to simulate p-click effect: commandLink?

On the buttons in the firstfaces there is an effect, the user sees it being clicked (sink), the same does not occur when I click on commandLink: <p:commandLink id="logs" immediate="true" value="Event" onclick="showModalPopUp();"...
asked by 10.05.2016 / 15:35