Posts by Otávio Augusto Junior • 51 points
10 posts
-
0
votes2
answers2574
viewsA: Exception in thread "Javafx Application Thread" open FXML inside an Anchorpane
The cause refers to an NPE. Caused by: java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3207) at…
-
1
votes1
answer681
viewsA: Error redirecting to a jsf page inside a bean
If the call is being made through a actionListner or a action, in the method itself you can return a string with the value private/control.jsf, if necessary a redirect get to update the URL…
-
0
votes1
answer672
viewsA: problem using Primeface modal
When it comes to p:dialog you should always avoid nested dialogs and dialogs within Forms. Therefore: <p:confirmDialog id="confirmacaoExclusaoDialog" widgetVar="confirmacaoExclusao"…
-
0
votes1
answer211
viewsA: Update dialog component
take a test, replace the == for eq. I put the dialog id in the button update but kind of mess the whole screen, someone can help ? What you usually do is add one h:form within the dialog, and in the…
-
0
votes1
answer787
viewsA: System.setProperty - Set path to chromedriver
Oops, do it this way: 1º - Download the . exe driver and put it inside your test sources directory. Something like: src/test/Resources/chromedriver.exe. This directory will be fit to be commited. 2º…
-
0
votes2
answers150
viewsA: After @Joincolumn JPA does not find Entity attribute
Opa, you are using the Typedquery query, the expected in this parameter passage scenario is you use the city state object itself, which Hibernate will solve. Staying: TypedQuery<Cidade>…
-
0
votes1
answer65
viewsA: Object is not completed
Try replacing the process="@this" from its button to @form.
-
1
votes1
answer197
viewsA: Is it possible to modularize JSF registration formularies?
Opa Cleiton, in my system I did something in this sense, also with address. The only difference I saw from my idea to your example is that I used Taglibs…
-
0
votes1
answer26
viewsA: I have 2 problems that when trying to submit the fomulário
1 - I am using an autComplete, and then I can get my object through the search, only that at the time of submitting my fomulário it simply erases what had completed. the command to which you are…
-
0
votes1
answer82
viewsA: I’m not getting a postBack on my project
What kind of session scope are you using? Session, view, request? Have you ever thought about using CDI to first load data on your page? In style: @PostConstruct public void inicializar() {…