Posts by Saito • 649 points
28 posts
-
2
votes1
answer129
viewsA: Conflict between Jboss BOM and Demoiselle Parent pom (?)
Sorry for the delay in answering, but I was busy these days. I’ll answer the questions so you won’t be in doubt, but in the end you have the correct solution to your scenario. On the issues: Q: Some…
demoiselleanswered Saito 649 -
0
votes1
answer43
viewsA: When should clear() be used?
It’s not exactly to prevent memory buildup, but it also helps. Actually in the New and Delete methods you need to clear the information of a Bean that may be being listed or edited. In the case of…
demoiselleanswered Saito 649 -
0
votes2
answers362
viewsA: Error in bouncycastle readObject() - Demoiselle-Certificate
The impression is that the lib bcprov-jdk15on is missing or that it may be corrupted. Is the error when you run the applet? If it is, in this case you need to check if the lib bcprov-jdk51on is in…
-
1
votes1
answer274
viewsA: Dependency injection problem in the Moiselle-report
It’s looking like the same problem reported in the project tracker: https://demoiselle.atlassian.net/browse/RPT-7 We are testing the fix in version 2.2.1-SNAPSHOT. To do this, check that the…
-
2
votes2
answers161
viewsA: Downloading libraries via MAVEN with proxy
These are the addresses of the repositories: http://demoiselle.sourceforge.net/repository/ https://oss.sonatype.org/content/repositories/releases/ https://repository.jboss.org/…
-
2
votes1
answer65
viewsA: Remove pagination from Demoiselle
On the line: List<NotaFiscal> lista = handleResultList(); Use: List<NotaFiscal> lista = getResultList();
-
1
votes1
answer56
viewsA: Data audit
Actually this component only works until version 2.4 of Demoiselle. It turned out that it did not come out as expected and for now it is "frozen". For version 2.5 it is possible to use Envers…
demoiselleanswered Saito 649 -
1
votes1
answer123
viewsA: Bookmark does not redirect to login page
Check on this link Example Application the necessary settings according to the version of Demoiselle you are using.…
-
0
votes1
answer140
views -
1
votes2
answers739
viewsA: How to make my program executable?
To distribute/run a Java program, basically you must generate . jar (which depends on how you did the project, if you used Maven for example would run the package phase) and also if you are using an…
-
1
votes1
answer224
viewsA: Paging using Demoiselle 2.5.0
It was found a defect in this functionality, until version 2.4.2 the implementation of the Paginationcontext class had session scope and changed to request but this is generating this problem. Thank…
-
1
votes1
answer669
viewsA: How to configure a project with Junit to be able to build correctly inject Entitymanager?
Check that persistence.xml for testing is in: /src/test/Resources/META-INF with local connection settings and entity class declaration. Ex: <persistence version="2.0"…
-
1
votes1
answer641
viewsA: Import error br.gov.frameworkdemoiselle.security.User
This interface has been discontinued and instead we recommend using java.security.Home which makes the solution more compatible with other Java standards such as JAAS for example. Remembering that…
-
8
votes1
answer2924
views -
1
votes1
answer142
viewsA: Problem sending email by Demoiselle Mail
In the user list of the project was commented on an implicit dependency that hindered execution. Using as a basis your project I did some tests by deleting the library. In this link the modified…
demoiselleanswered Saito 649 -
0
votes1
answer268
viewsA: Could not update project Bookmark Configuration
It seems that there is some error in the generation of the project by the archetype, through the plugin Maven. If the project is visible on the Eclipse desktop, the first measure is (selecting the…
demoiselleanswered Saito 649 -
2
votes1
answer197
viewsA: Error generating code from an entity extending Pojo<type>
I identified it as a bug of the tool, because of the Generics of the POJO class. If you can register on the project bugtrack we thank you: http://tracker.frameworkdemoiselle.gov.br Soon a version…
-
1
votes1
answer896
viewsA: Problems loading datatable Primefaces
In the datatable, you used the method: value="#{listProdutoBean.productsFiltrados}" that in the Managedbean code only returns the variable, if you use the getProducts() method you will run findAll.…
-
2
votes1
answer57
viewsA: Catalog/Maven - Demoiselle
Welder, Followed the instructions of this material? http://demoiselle.sourceforge.net/docs/infra/reference/2.0.0/html/ For the correct operation of Eclipse, you must have a JDK, which can be 6 or 7.…
demoiselleanswered Saito 649 -
4
votes2
answers205
viewsA: From . NET to Java, what technologies or frameworks do you use?
My suggestion is this: As of version 2.5.0 the Demoiselle Framework facilitates the use of an architecture quite similar to the one you commented. Reference guide If you already work with…
-
5
votes1
answer80
viewsA: Demoiselle in Openjdk
This is not true, because Demoiselle works with Openjdk, including in the community we recommend developing from Openjdk and then testing with Oracle JDK. To check this, you can download the Live…
-
1
votes1
answer1026
viewsA: Redirect to login page when accessing another page without user being logged in
Settings are correct, but authentication, authorization and credential classes should be annotated with @Sessionscoped. But it is necessary to clarify that blocking is done on protected resources…
demoiselleanswered Saito 649 -
0
votes1
answer1083
viewsA: Inserting Image in Database with Java Web
Your Usuariosbean class must be annotated with @Sessionscoped, it is a prime fileUpload constraint. An "alternative" to not keep this class in the session is to create another Managedbean just to…
-
1
votes1
answer82
viewsA: Demoiselle-Nimble: Error generating CRUD Vaadin
It really is a "bug" in the Vaadin generation template. But quite simple to solve. This template generates the attributes in the /src/main/Resources/messages_en.properties file that is created with…
-
0
votes3
answers375
viewsA: Demoiselle Error deploying to Jboss
It looks like environment problem (windows+eclipse) in the last error. Best to post the whole Jboss console log in Eclipse. There is a detail in the datasource that may have nothing to do with the…
-
2
votes3
answers375
viewsA: Demoiselle Error deploying to Jboss
The log is showing: inscricao-teste-ds which is the PU testing that should be in /src/test/resources/META-INF/persistence.xml that should not appear on the deploy. Eclipse+Maven itself would do that…
-
0
votes2
answers531
viewsA: Demoiselle Junit - Nullpointerexception
Did you use some Demoiselle archetype to create the application? Which IDE is Eclipse and which version? It would have to send the code of the complete test class? As my comment, the error is linked…
-
0
votes2
answers944
viewsA: Mock Static method with Demoiselle and Powermock/Mockito
I once had an affair with Arquilian, and used the PowerMockRule also, but in this case was not used the Runner of Demoiselle. In the Demoiselle we follow the guidance of JUnit which is to extend…