Questions tagged as 'jsf'

1
answer

Hide and Render component in p: dialog

I need to attach files and save the path in the database. Attachments belong to an object that can have multiple attachments, so I created an entity to save the path in the database, however I need to have that object saved before, so I can asso...
asked by 18.12.2018 / 16:38
0
answers

@PostConstruct is not accessible

Good night, I'm using javax.faces-2.2.9 and the @PostConstruct annotation does not appear, what can it be? <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/...
asked by 11.12.2018 / 01:30
0
answers

Checkbox saves "back empty" in Oracle ADF Faces

Who gets out of Oracle ADF Faces? I have a timely demand where I have a Checkbox on the screen that - when checked - updates the registry in the database, all right, but when I access that same registry - that same checkbox - "back empty"; ap...
asked by 28.11.2018 / 14:44
0
answers

I can not render a component after clicking a button

I can not render the include component that is inside a panel, I want to render when clicking a button inside a datatable, but when I click the button nothing happens View              ARTs Fit to Order Book      <script type="tex...
asked by 26.11.2018 / 00:35
0
answers

After page expiration (session-timeout), give auto refresh to login screen

I'm developing an application in JSF, where I have a login screen that has a page filter as a business rule, where the user can access the other pages if they start a session. My application has a certain Timeout, which when hit, I would like...
asked by 10.12.2018 / 19:43
1
answer

How to pass a parameter between two views with @ViewScoped

I need to pass an id of an object between views, the beans of both are view scoped, I'm trying to pass via f: param, but I can not. The value always gets null in the other view View 1 <ui:define name="titulo"> ARTs Aptas a L...
asked by 26.11.2018 / 16:39
0
answers

Application to mount pages Prime Faces

Is there any tool that helps to develop pages with Prime Faces? Such as link that helps with the bootstrap     
asked by 14.11.2018 / 15:53
0
answers

JSF, Primefaces, p: fileupload stopped working after chrome update

fileupload worked perfectly for up to 3 Chrome updates ago, Firefox never worked, I searched the internet for some solution or similar error and I was not successful. The page in question should attach the file to then send, it happens that...
asked by 12.11.2018 / 14:09
0
answers

@Stateless in CDI project

Person, I have the following structure in my project (CDI): BEAN: @Named @SessionScoped public class ClienteMB extends BaseAbstractMB<Cliente, ClienteDTO> implements Serializable { @Inject private ClienteService clienteServic...
asked by 06.11.2018 / 11:05
0
answers

Primefaces, how to export Header and Footer from dataTable

I have a dataTable that uses HeaderRow and SummaryRow, as follows: <p:dataTable var="dre" value="#{planoContasControle.listaPlanoContas}" sortBy="#{dre.dre.id}" id="dre" expandableRowGroups="true"> <p:headerRo...
asked by 07.11.2018 / 12:24