Posts by felipesa • 134 points
8 posts
-
0
votes1
answer445
viewsQ: What is the difference between actionlistener and action?
What’s the difference between actionListener and action? When using one or the other? <h:commandButton action="xxxx" actionListener="zzzz" id="teste"/>…
-
0
votes2
answers3330
viewsA: Build problem in Spring Boot project
Another solution is to change the port that the spring boot application will use. To do this simply inform the desired port in the application.properties. ...\src main Resources…
spring-bootanswered felipesa 134 -
1
votes2
answers248
viewsA: Returning NULL in Spring Boot
Spring Boot - Form Submission In the controller is missing the creation of the Boleto object. Something similar as in the example: @GetMapping("/greeting") public String greetingForm(Model model) {…
spring-bootanswered felipesa 134 -
2
votes1
answer1978
viewsA: How to upload a Spring Boot project to a Glassfish or Tomcat server
In your pom.xml change the packaging from jar to War. <groupId>br.com.teste</groupId> <artifactId>testex</artifactId> <version>0.1-SNAPSHOT</version>…
-
2
votes1
answer646
viewsA: How to internationalize the Timeline component of primefaces?
I managed to internationalize the component by creating a locales.js file in the path: ...src main webapp Resources js locales.js PrimeFaces.locales['pt_BR'] = { closeText: 'Fechar', prevText:…
-
1
votes1
answer646
viewsQ: How to internationalize the Timeline component of primefaces?
I’m using the Timeline component of the primefaces. Timeline Primefaces Although using the "locale" property it is not rendering in English. <p:timeline id="timeline"…
-
0
votes1
answer83
viewsA: Format value p:slider jsf
Based on the Primefaces showcase Primefaces Showcase <h:outputText id="output" value="R$ #{testeView.total}" /> <h:inputHidden id="txt2" value="#{testeView.total}" /> <p:slider…
-
2
votes1
answer512
viewsA: How to limit the number of characters in an inputNumber?
Just use the attribute maxValue. <pe:inputNumber id="peso" maxlength="5" label="Peso" maxValue="200" value="#{pessoaBean.pessoaCaracFisica.peso}"/> In the example code above, the largest…