Questions tagged as 'jsf'

2
answers

Why can not I load static data in JSF dataTable?

This is my class: package com.algaworks.pedidovenda.controller; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; @ManagedBean @ViewScope...
asked by 11.05.2015 / 17:56
1
answer

Inline display does not work correctly with span

My display:inline does not work correctly I would like to know where I am wrong it should look like this here: ButIcannotfollowmycodebelow: .abertura-chamados li { display: inline; } .abertura-chamados li a img { width: 10%;...
asked by 08.06.2015 / 22:14
1
answer

Problem with currency mask in Primefaces

I'm using JSF, and my currency mask is not working, did I get into any of the code? here is the code below <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
asked by 17.03.2015 / 16:36
1
answer

Null pointer in Part filetype when uploading

I'm having a proplem using javax.servlet.http.Part . It is coming null when I upload. Test XHTML <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">...
asked by 27.02.2015 / 15:54
1
answer

Problem creating custom components in JSF

I'm having trouble creating custom components in JSF, it's actually the first time. I found some guides on the internet but it did not work. What I did was the following. I created custom.taglib.xml inside the folder WEB-INF...
asked by 26.11.2014 / 14:32
2
answers

Exception with Convert from a selectOneMenu of Primefaces

I created a dynamic selectOneMenu that receives an Author Object List that implements Serializable. The code is as follows: selectOneMenu XHTML <p:selectOneMenu id="autor_selecionado" value="#{pragaBean.autor}" style="width: 19%;"...
asked by 25.11.2014 / 13:21
1
answer

OutputText only refreshes after Tomcat Restart

I'm using Tomcat 7, Eclipse Juno (in Windows 7) and Primefaces 5 for my application. After registering some information in the database (vaccines for vaccination book), access a screen (vaccine-caderneta.xhtml) to view the status per patient...
asked by 21.11.2014 / 13:05
1
answer

How to set a Spinner value on an object

I have the following table: <p:dataTable id="tabelaDisciplinasSelelecionadas" var="disciplina" value="#{disciplinaBean.droppedDisciplinas}" rendered="#{not empty disciplinaBean.droppedDisciplinas}">...
asked by 29.01.2015 / 05:43
1
answer

SessionScope is not coming in Request

I have a bean to log in, when I try to get it in the filter class request it is coming null. The information that is coming from the console is these. 17:29:57,968 INFO [stdout] (http-/127.0.0.1:8080-1) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 1...
asked by 10.11.2014 / 20:38
1
answer

RichFaces fileUpload does not call the listener

I'm using the latest version of RichFaces, I've copied the show case example on the RichFaces website, and the example does not invoke the listener, I tried everything, could anyone help me? xhtml <rich:fileUpload fileUploadListener="#{f...
asked by 07.11.2014 / 18:41