Questions tagged as 'jsf'

0
answers

Authentication automatically using JCIFS in JAVA

I am building a solution in Java where the goal is to be able to have users logged in to a Windows domain automatically authenticate with their Windows credentials when starting a web application. For this I am using the JCIFS library. But when...
asked by 22.01.2015 / 15:15
1
answer

JSF - Parameter passing

I have a form in JSF and I need to insert the data of it into the database I have already researched in several ways, but it is not working Could you give me a hand in what I'm doing wrong? JSF Form I am not able to pass the parameter...
asked by 05.07.2017 / 18:41
1
answer

Error loading JSF project: URL changing by itself

When I run my project in netbeans, my project is being loaded in the http://localhost:8080/loogix// URL when it should actually load http://localhost:8080/loogix/faces/index.xhtml . The Log to run is: Listening for transport dt...
asked by 01.12.2017 / 02:18
1
answer

Close modal JSF

I need to make my deleteConfirmationModal close. It only works by clicking NO . I need to make it execute the SIM action and close the modal. <p:commandLink title="#{label.REMOVE}" process="@this" styleClass="btn-remove" oncom...
asked by 05.12.2017 / 13:02
1
answer

Maven changing faces-config.xml

I have an EJB project and my maven is changing the faces-config.xml when I run "mvn install", maven changes everything inside it leaving without the paths I specify, it follows my "pom" file WEB project <project xmlns="http://maven.apache.o...
asked by 17.11.2015 / 19:31
2
answers

Edit with Radio button in jsf

Well, I'm starting to develop with JSF and I'm having a question about how to do it for my method. edit receive the right object from the radio button, the way it's implemented it always takes the first one from the table and not the one selecte...
asked by 20.01.2018 / 15:02
1
answer

How to access a ManagedBean through an external js file?

How do I access a managed bean jsf through an external javascript file? I'm trying to access it as follows: $("#botaoCadastroMaterial").click(function(){ '#{cadastroMaterialController.salvar()}'; }); but it is not working. Below is...
asked by 20.08.2016 / 20:12
1
answer

An error occurred while performing resource injection in the managed state beanController

When I try to run java, this error occurs. I'll send the code. MODEL: package com.pi.drogaria.model; import javax.persistence.Column; import javax.persistence.Entity; @SuppressWarnings("serial") @Entity public class Estado extends Codi...
asked by 08.08.2018 / 05:10
1
answer

Page does not list items

For some reason the XHTML page does not list the #{nomesMB.nomes} items. Codes: XHTML : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=...
asked by 19.07.2017 / 03:20
1
answer

Arithmetic operations in Java with data from the database [closed]

What is the best way to calculate values in java? I need to make a method that returns the sum of all input and output and subtraction. Example: Insert all entries in Double in column X, and all double output in column Y (get the total of each c...
asked by 25.05.2017 / 22:09