Questions tagged as 'jsf'

0
answers

JavaScript validation error with JSF

Next, I found a javaScript file on the web with lists of Brazilian states and cities. I tried playing it here in my code, but I do not understand much of javaScript. Can you tell where the error comes from? javaScript file: /** * Origina...
asked by 27.01.2018 / 20:06
0
answers

Error editing line in firstfaces

I'm developing a JSF application with Primefces and when I try to put an edit in the dataTable it gives an error. xhtml code: <h:form> <p:dataTable var="parametro" value="#{bolsasBean.parametros}" sortBy="#{parametro.categori...
asked by 22.01.2018 / 12:33
2
answers

How to make Item only appear when category code = 1

I have the following code <h:selectOneRadio value="#{solicitacaoImpressaoBean.entrega.tipoGuia}" class="tipoGuia"> <f:selectItems value="#{solicitacaoImpressaoBean.tipoGuia}" var="guia" itemLabel="#{guia.descricao...
asked by 23.01.2018 / 19:20
1
answer

How to find out which tab is enabled

I'm programming in JSF using Primefaces. In this I have a form that has 4 tabs and I need to check which tab is enabled to be able to call my javascript and validate the data entered the moment the person clicks next in the wizard component of p...
asked by 13.01.2018 / 14:31
1
answer

JSF open image (DefaultStreamedContent) in another screen

Hello, I'm working on a project with jsf and primefaces, where I have an entity named Record that has a list of images, these images are in a directory outside the project, which access to load the images and display on the screen, load these ima...
asked by 13.01.2018 / 20:24
2
answers

Validate campus calling javascript function

I need to validate the campus phone and CPF, and for this I found the following script link But when I play here in JSF it does not work. In this I open a new tab from the codepen.io site and I played the same code without changing anything...
asked by 13.01.2018 / 18:08
2
answers

When opening a dialog block tabs

Headers How do I open the dialog, block the tabs from being clicked on my screen. <p:dialog id ="dlgPagamentos" widgetVar="dlgPagamentos" closable="true"...
asked by 10.01.2018 / 14:31
1
answer

Injection error in the Bean feature

So, I'm developing in jsf and I came across this error there, does anyone have any idea what it might be? javax.servlet.ServletException: javax.servlet.ServletException: Um erro ocorreu ao realizar a injeção de recurso no bean gerenciado...
asked by 08.01.2018 / 21:05
3
answers

Foreign key deletion

Help in logic. My question is: I have a simple relationship between Launch and Person, where person_id is the foreign key in Launch Class Model @NotNull @ManyToOne(optional = false) @JoinColumn(name = "pessoa_id") public Pessoa getPessoa...
asked by 12.01.2018 / 18:31