Posts by Fernando Camillo • 147 points
9 posts
-
10
votes3
answers1011
viewsQ: Performance with Multipart/form-data
Regardless of the language used on the server side (php, Asp, jsf, etc), there is some problem with adding the attribute enctype="multipart/form-data" whether or not on page forms nay upload?…
htmlasked Fernando Camillo 147 -
0
votes1
answer26
viewsQ: Warn in Parameter when climbing the application
I made an application using the Demoiselle 2.4.2 JSF+JPA archetype with several view classes extending from AbstractEditPageBean. In some I added a parameter, as in this example: @ViewController…
demoiselleasked Fernando Camillo 147 -
1
votes1
answer43
viewsQ: When should clear() be used?
I made an application using the standard JSF-JPA archetype for list and edit screens, extending from AbstractListPageBean and AbstractEditPageBean respectively, using the Bookmark pages as…
demoiselleasked Fernando Camillo 147 -
1
votes4
answers957
viewsA: Intercept Exception
Hello. I also go through the same problem. What follows is not an answer, is just the contour solution I found and am using for now. I only managed with old Try-catch... No Businesscontroller:…
-
0
votes3
answers94
viewsA: Convert to Abstracteditpagebean
I found out what I was doing that didn’t work. For the entity class, I noted the convert with the value and the forClass: @FacesConverter(value="ConversorMinhaClasse", forClass=MinhaClasse.class)…
demoiselleanswered Fernando Camillo 147 -
2
votes2
answers1082
viewsQ: Report does not obey formatting when exported to PDF
I created a report in iReport that contains formatting (fonts, bold and italics). In the iReport’s own preview it appears correctly, but when used within a Demoiselle-jsf-jpa project and exported to…
-
0
votes3
answers94
viewsA: Convert to Abstracteditpagebean
I managed to solve otherwise, I don’t know if it is ideal. I made a copy of the abstract class AbstractEditPageBean, calling her AbstractEditPageBeanConverter and adding the class of convert for the…
demoiselleanswered Fernando Camillo 147 -
0
votes3
answers94
viewsA: Convert to Abstracteditpagebean
It seems that the method getIdConverter() of the Abstracteditpagebean class is failing to recover my converter. I was able to solve it in the following way, but I still don’t think it’s ideal. I…
demoiselleanswered Fernando Camillo 147 -
0
votes3
answers94
viewsQ: Convert to Abstracteditpagebean
I created a domain class whose primary key is composed. I created a convert for the primary key class. I registered the convert in the faces-config, in addition to using the annotation…
demoiselleasked Fernando Camillo 147