Posts by Ozelo • 151 points
9 posts
-
1
votes0
answers214
viewsQ: Problem when a relationship persists
I have 2 entities, the Submodel has a list of possible Options. I made a unidirectional Onetomany relation, when I make any persistence in the entity Submodel that the list of Options this empty the…
-
1
votes3
answers1043
viewsA: Delete registration form, JSF Primefaces
Do you want this wipe button only to erase the data or after entering the data the screen should be cleaned for new data? If the case is to clean after inserting, isn’t it better if you automate…
-
0
votes1
answer117
viewsQ: p:dialog being called by several Buttons in the system
Personal I have a dialog (do primefaces) confirming the ZIP Code number and after the user has entered the residence number in this dialog the fields address, neighborhood, zip code, city and Uf…
-
3
votes2
answers2045
viewsQ: Postgresql Hibernate Id Generation Strategy
I have a system in JEE7 with Hibernate and Postgresql database, the tables are with auto ID generation by Hibernate: @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; What happens…
-
1
votes2
answers3134
viewsA: Hibernate Validator @CPF that can be null
The problem was that JSF was passing an empty string and not a value null. So I put it on the web.xml: <context-param>…
-
3
votes2
answers3134
viewsQ: Hibernate Validator @CPF that can be null
I’m using the Hibernate Validator with the annotation @CPF. It is validating beauty, the problem is that my system can have the CPF field without value (null) and Hibernate does not accept it. I put…
-
1
votes1
answer94
viewsQ: Top alignment with a centralized element
I have a div and I need to put a text to the left, another to the right, and a icon centered, all aligned on top. I managed to reach this point, but so far I can’t align them on top: <div…
-
3
votes2
answers1142
views -
1
votes1
answer138
views