Posts by Felipe Sousa • 19 points
3 posts
-
1
votes1
answer152
viewsA: Change Selectonemenu
In Bean create a method called init and start the Parents object inside the Provincia object like this: @PostConstruct public void init() { AProvincia = new Provincia(); AProvincia.setFkPais(new…
-
1
votes0
answers131
viewsQ: Upload JSF Multiple Photos
I need to make a registration screen, where the user can choose up to 5 photos to save. I am using JSF 2.2 would like to know the best way to do this without using primefaces or richfaces, using a…
-
-1
votes2
answers6415
viewsA: How to pass object to another view in JSF?
Setting the object in Flash Scope String str = "teste"; FacesContext.getCurrentInstance().getExternalContext().getFlash().put("teste", str); In the other Bean create a method and use annotation…