Questions tagged as 'jsf'

1
answer

Increase the menubutton box

As you can see in the image, the last line has popped the box border, where can I increase the width of the box? Thecodeisasfollows:<p:menuButtonid="documentos" value="#{messages['estada.modal.documentos']}" > <p:menuitem>...
asked by 06.01.2016 / 16:33
1
answer

Null object fields when trying to persist with JSF and JPA

I'm trying to persist an entity and when I try to persist it throws a constraint violation error, performing the debug, I noticed that the object is instantiated because the fields are null. Entities: @MappedSuperclass public abstract class...
asked by 06.11.2015 / 01:23
1
answer

Login with JAAS + Tomcat

I have done the JAAS configuration procedures in my JSF project, when I try to access it, it shows the information that user and password does not give, but I already created the user table. context.xml<Contextpath="/FastChoice"> <...
asked by 06.11.2015 / 17:33
1
answer

Update graphicImage after fileupload

I'm trying to update the form of the photo when I send the image through the dialog via fileupload. The photo only appears after I press F5 . <h:form id="form"> <h:inputHidden id="idPessoa" value="#{pessoaBean.pessoa.idPessoa}"...
asked by 21.10.2015 / 16:40
2
answers

Doubt of how to submit a form in JSF using p: confirmDialog

I would like to know how I can send a Form using p:comfirmdialog . The idea is to get the message tem certeza ? , with the options sim or não . If you click sim , then it sends the form. <p:commandButton v...
asked by 21.10.2015 / 13:22
1
answer

How to break to the end of the line checkBox

The courses are going out without formatting, there are more courses and they are not appearing on the registration screen. HowtobreakthisintoXHTML?Code:<h:panelGridcolumns="2" cellpadding="5"> <p:outputLabel value="Cursos" for="cur...
asked by 12.11.2015 / 19:25
2
answers

Redirect JSF error

To trying to pass two parameters to another example page: <p:commandButton icon="ui-icon-pencil" action="form?faces-redirect=true&id=cargo.id"></p:commandButton> But I get this error: A referência à entidade "id" deve term...
asked by 06.10.2015 / 15:49
1
answer

Attribute update issues

Good afternoon. I'm having a problem instantiating a new object of an X type every time I click the "New" button. I'll attach the bean, the view, and two prints (upgrade and new). Edit New ManagedBean@ManagedBean(name="controleBean") @...
asked by 01.10.2015 / 18:02
1
answer

Target Unreachable, 'reply' returned null - SelectOneRadio

I can not get the value of my selectOneRadio , it comes as null : <p:dataTable id="exibePerguntas" var="questao" paginator="true" rowsPerPageTemplate="2,3,5,10,12" paginatorPosition="bottom" value...
asked by 30.10.2015 / 15:43
1
answer

Problem with autocomplete Primefaces

I have <p:autoComplete> working, and I have a commandButton that opens dialog so I can make a new one. The dialog opens, I fill in the fields however at the time of saving this exception is thrown:    SEVERE:...
asked by 28.08.2015 / 14:13