Posts by Bonifacio • 288 points
10 posts
-
2
votes1
answer1139
viewsA: JSF is specification or framework?
Good question! In fact JSF by definition is actually a specification. So why do we treat it as a framework when we refer to it? This is thanks to the Java development and distribution method. But…
-
0
votes1
answer49
viewsA: Step loading to application index page
To do this I suggest you open the page without running the method #{paginaInicialBean.inicializar()}, and only after the page is loaded do you run an Ajax that initializes the data and updates the…
-
0
votes1
answer42
viewsA: Code simplification
To do this you will need two things: A list to iterate inside the bean containing the required options; A c:foreach (ui:repeat will not work due to the limitations of the p:menuButton component)…
-
1
votes1
answer531
viewsA: Upload and Donwload JSF + Primefaces + Mysql files
It is not possible to recover the name of a BLOB file by Java, it would be necessary to convert this BLOB to some other type of object for this, which would not be very nice to do. In this case,…
-
0
votes1
answer45
viewsA: 2 EL at the same value
Inside a ternary operator you can’t put two bean values in the same way you did. It’s necessary to concatenate the results if you want to do it, like this: <p:outputLabel id="codigoGrid"…
primefacesanswered Bonifacio 288 -
3
votes1
answer3764
viewsA: What is an Expression Language (EL)?
Excerpt adapted directly from Oracle’s documentation on Java EE 6: EL = Expression Language = Expression language: EL allows the developer to use simple expressions to dynamically access Beans…
-
3
votes3
answers3434
viewsA: What does "sanitize" data mean?
Of W3 Schools: Sanitize Data = Remove any illegal characters from the data. Self-explanatory, serves to normalize data so you can work with them later.…
-
3
votes1
answer2643
viewsA: Why is this error "Uncaught Referenceerror: Sambaplayer is not defined"?
As I suspected, apparently the problem was the import of the library itself. I simulated a scenario similar to yours and detected that the error you indicated occurs if you try to reference the…
javascriptanswered Bonifacio 288 -
1
votes1
answer344
viewsA: Primefaces - Select Datatable line via Jquery, Javascript or PF
Note: It is not a very elegant solution, but it solves your problem. You can directly select a column in the desired row of the datatable via jQuery and then call the event. click() Example:…
-
0
votes1
answer507
viewsA: Method does not Override or implement a method from a supertype
You are importing the wrong "Convert" class. The import you used was this: javax.persistence.Converter Change the import to this: javax.faces.convert.Converter The Converter you used is part of the…