Questions tagged as 'jsf'

1
answer

Return person and phone list

I have an entity called Pessoa . This entity has a list of phones of the Telefone entity. How do I get the person's information and popular that person's phone list in select with only hql ? When using the query...
asked by 26.04.2017 / 19:10
0
answers

Stop processing in java

I have a processing with one class calling another. Example: I have the registry0100 . In it I call ED022 , ED021 , etc ... In this ED022 , I have some validations, for example: boolean achou = false; if (modulo.equals("2")) {...
asked by 18.04.2017 / 01:44
1
answer

Adjust input by text size

I have a autocomplete that has the option multiple as true . The problem is that when I choose a large text / word, the option to delete it is inhibited as follows a print: Mycodelookslikethis:<p:autoCompleteid="event"...
asked by 25.04.2017 / 14:12
1
answer

I make the verification of 2 more dates is persisting

I have a form, and before saving I want you to do a check that in this case would be two dates. However, when a check is made, it will send a message until it is OK. More ends up appearing another referent who managed to persist and ends up savi...
asked by 30.03.2017 / 19:13
1
answer

I can not do a postback in my project

I'm trying to make a postback in my project but I'm not getting it. When I submit the form, it continues to do select without precision. That is, it stayed the same way public class FacesUtil { /** * Método que avalia se é postBack. * @r...
asked by 29.03.2017 / 00:19
1
answer

Logical Javascript Error in JSF page

I have a JSF page where I use primefaces. When I use the logical operator in my javascript functions, it exhibits this problem: the entity name must immediately follow the '&' in the entity reference.     
asked by 06.04.2017 / 15:26
1
answer

problem using modal Primeface

I'm using a modal within the But when I close, it gets stuck components, I guess I must have done something wrong. Follow my code. <ui:composition template="/WEB-INF/template/layoutPadrao.xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns...
asked by 02.04.2017 / 23:51
1
answer

updating filling information after using autoComplete

I'm creating a form in JSF and primeface, and I have an autoComplete here. Only when I finish filling up my autoComplete, I want to render a part of my form. So far I have been able to hide the fields, which in the case would be the panelGrid...
asked by 22.03.2017 / 21:10
1
answer

I have 2 problems when trying to submit the form

Well I'm having a little problem here on my form, in reality it would be 2 problems. 1 - I'm using an autComplete, so I can get my object through the search, but at the time of submitting my form it simply deletes what I had completed. 2 -...
asked by 22.03.2017 / 23:51
1
answer

Object is not filled

I have the following form from my page: <h:panelGrid columns="3"> <p:outputLabel value="Código" for="codigo"/> <p:inputText id="codigo" value="#{encomendaController.encomen...
asked by 20.03.2017 / 17:16