Questions tagged as 'jsf'

2
answers

I wanted to add more than one permission on springSecurity roles

I would like to know how to add more than one permission to the same folder in springSecurity because I wanted the admin to also have the same common user access as another page. <http auto-config="true" use-expressions="true" disable-url-...
asked by 23.02.2018 / 15:37
1
answer

Doubt listing database data JAVA - JSF

Good afternoon, I have a question about listing data in a datatable, coming from DB. I do not know how to return the DB data to the view. Follow my code so far package br.com.racionalgames.pta.mbean; import java.io.Serializable; import java.u...
asked by 08.02.2018 / 18:51
1
answer

How to configure a common java project, host and run on a server [closed]

Oops, good evening, guys, with some questions about java systems running without a server. I and some friends are developing a java integration project (we receive information from a server / service, we treat it in our system and then we pas...
asked by 05.12.2017 / 03:23
1
answer

Object comes pro bean with all fields blank JSF

I have a list of object objects that is being iterated in my xthml There, for each iteration, I create a panel and in each panel I display the name of each of the properties in the list and a button that calls a method loadPredio in the Bean. Th...
asked by 30.11.2017 / 17:40
1
answer

JSF error: javax.el.PropertyNotWritableException

I have an error that I can not solve and I do not know the reason for the following error and my classes and view below. type Exception report messageInternal Server Error descriptionThe server encountered an internal error that prevented it...
asked by 30.11.2017 / 21:19
1
answer

Clear the form after registration (JavaServer Faces)

After you have made a registration, it clears the form normally, but when I turn the page and come back to the registration page, the fields are filled with the values that I registered earlier. The scoped I'm using is the @ViewScoped. Regist...
asked by 06.09.2017 / 16:41
1
answer

Problem with CSS in JSF & Primefaces

Project - JSF CDI Mysql // I'm not using Maven Good afternoon guys, my question is this: I would rather than use style="....."; in xhtml code, to make code more elegant, make use of css. For example, I want instead of: <p:fieldset sty...
asked by 31.08.2017 / 23:37
1
answer

Target Unreachable, identifier [userMBean] resolved to null

I have a problem when trying to login service in my java web application. As you can see below, there is the HTTP Status 500 error stacktrace - Internal Server Error. I've tried a few things, such as clearing tomcat and rebooting the server. But...
asked by 06.09.2017 / 02:43
1
answer

Code redundancy in my .xhtml JSF - Primefaces

I have this table in 2 pages of mine and I ended up copying and pasting this code, the only thing I had to change was the "bean", in one I used "bean1", the other I used "bean2" p> Is there any solution to avoid this code redundancy? Or better...
asked by 04.08.2017 / 20:44
1
answer

Null in PrimeFaces component UploadFile

I'm having trouble retrieving this file, file , in my bean. .xhtml <h:form id="form" enctype="multipart/form-data"> <p:fileUpload value="#{bean.file}" skinSimple="true" mode="simple" /> <p:comma...
asked by 28.06.2017 / 21:54