Questions tagged as 'java-ee'

1
answer

Javascript on page JSF - PrimeFace

HTML code - JAVASCRIPT It read a txt file from the computer and puts its value into an html input <input type="file" id="files" name="files[]" multiple /> <input type="text" required name="txtstart" style="width:150px" value=""> &...
asked by 09.03.2016 / 04:02
2
answers

How to load reload page when selecting dropdownlist item from jquery list passing parameters?

I have a select <select id="selecao" name="tipoLocal"> <option value="casa">Casa</option> <option value="predio">Predio</option> <option value="predio">Terreno</option>...
asked by 18.02.2016 / 14:28
2
answers

Error running Java program - Mapping Servlet Web.xml

I have the following software, it should allow me to pass a file, it will issue a message in the console just to positively access a class and list the result on the page, I'm starting and I do not know the reason for the following error: Th...
asked by 28.10.2015 / 23:42
1
answer

SQL / JPQL Query

Friends, good afternoon. I have a table in the database called Questao Inside the table I have two columns that are ID and Question . I have a filter that I can not specifically bring only code and asks because the method return is an ob...
asked by 13.10.2015 / 21:06
2
answers

Why is not my Bean receiving the submit form?

Why my Bean is not recognizing the attribute of a simple selectOneMenu: I created in my Bean the private Long areaprevencaoId attribute. This attribute is associated with a <p:selectOneMenu> xhtml <h:selectOneMenu...
asked by 14.10.2015 / 02:03
1
answer

Why does my selectOnMenu of primefaces get rendered differently?

Why are not my components equal to% primefaces rendered in full? Normal component of primefaces: Myrenderedcomponent: Imageoftheproblem.Howtochangetheprimecss?     
asked by 15.10.2015 / 01:55
1
answer

Prime-faces does not run the "SAM" theme

When I run my main.xhtml page, the theme does not appear next to The project tree is attached. Web.xmlfile<?xmlversion="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java....
asked by 23.01.2016 / 14:07
1
answer

How to render a jsf component through Bean?

I need to render a jsf component (Primefaces) through the Bean. I have a selectOneMenu that changes the type of person (physical / legal) and I need to render the field "CPF", since I use the same field for CPF / CNPJ and when changing the type,...
asked by 06.11.2015 / 23:17
1
answer

Do not move the mouse with p: dialog

Question beast but I did not find it in any corner, I would not allow the user to move the p: open dialog. <p:dialog header="#{MyBean.select.projetos.nome}" widgetVar="lanDialog" modal="false" showEffect="blind" resizable="false"> ...me...
asked by 17.07.2015 / 03:10
1
answer

Problem with taglig in Java

I'm building a page JSP , however, I'm having a problem referencing my taglib of jstl . I'm referencing it this way: <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> But in Eclipse I'm getting t...
asked by 28.11.2015 / 15:55