Questions tagged as 'demoiselle'

1
answer

catalog / maven - Demoiselle

Good morning, everyone! I ran the demoiselle-worspace command, the workspace was generated, but without the jboss server only tomcat. Even though I configured AS Jboss, but in the act of choosing the catalog demoiselle does not present the sa...
asked by 30.03.2015 / 14:01
1
answer

Remove Demoiselle pagination

I'm using the Demoiselle and its paging feature, but when I need to use all the objects listed, ie use the full return, it does not leave, it keeps paging. My pagination: @Override public LazyDataModel<NotaFiscal> getDataModel() {...
asked by 16.06.2015 / 18:34
1
answer

How to configure the JUnit component of Demoiselle 2.4.2 to inject EJB dependencies

I have a Demoiselle 2.4.2 / JSF / Hibernate application that presents several fully functioning test cases. The BCs operated by these test cases undergo several injections of dependence without any problem. Now I needed the injection of an EJB c...
asked by 24.05.2017 / 15:55
1
answer

How to configure JBoss AS 7.1 with Demoiselle 2.4.1 to operate with distributed transactions?

Hello My scenario: JSF / Demoiselle application that invokes an EJB method, both hosted on a JBoss AS 7.1.1 server. During insert and update operations on a CRUD page, the Demoiselle application has to save its data in its own DataSource and...
asked by 06.07.2016 / 14:32
1
answer

EntityListeners @Transactional of Demoiselle - Id null

I'm setting up auditing on a project with JSF + Hibernate + Demoiselle . Class Item: @Entity @Cacheable(true) @Table(name = "itens") @EntityListeners(value = PersistenceAuditor.class) @XmlRootElement @JsonIdentityInfo(...
asked by 23.06.2016 / 16:18
1
answer

Tutorial Demoiselle 2.5 - M1C2 - ERROR rt.jar unknow

Unknown error for me I'm starting on api REST. : 11:35:51,778 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/calc].[calc.Api]] (http-localhost/127.0.0.1:8080-1) JBWEB000236: Servlet.service() for servlet calc.Api th...
asked by 11.11.2015 / 16:39
1
answer

Problem with dependency injection in demoiselle-report

I would like to put a report on a project I'm working on, and I decided to use the demoiselle component itself, demoiselle-report. But after implementing it and testing, it returns an exception. So I checked the problem is happening when perform...
asked by 01.07.2015 / 15:01
1
answer

How to configure a project with JUnit to be able to construct correctly inject the EntityManager?

I have a legacy JSF / Demoiselle 2.4 application that did not have the good practice of building unit tests. In order to satisfy new requirements, I have implementations to make and I intend to build them using TDD. However, when writing my f...
asked by 04.05.2015 / 14:21
1
answer

Demoiselle Signer and Serpro Digital Signature

I'm trying to use the Demoiselle Signer to verify the signature of a document made with the Serpro Digital Document Recorder ( link ). The code is very simple: byte[] documento = getBytesFrom("assinatura/tema-228.pdf"); byte[] assin...
asked by 06.05.2015 / 21:18
1
answer

Error import import br.gov.frameworkdemoiselle.security.User

Error importing interface User : import br.gov.frameworkdemoiselle.security.User; demoiselle version used: 2.5.0-RC1 According to GrepCode, in version 2.5.0-BETA2, this interface existed ( link ), but from 2.5.0-BETA3 onwards it di...
asked by 24.04.2015 / 16:30