Posts by user3297199 • 61 points
2 posts
-
0
votes3
answers3098
viewsA: How to use <f:setPropertyActionListener> with Passthrough Elements in JSF 2?
Try this: <a href="#" jsf:id="linkAction" jsf:action="#{meuBean.acao()}">clique aqui</a> <f:setPropertyActionListener target="#{meuBean.objeto}" value="#{objetoLocal}"…
-
6
votes2
answers944
viewsQ: Mock Static method with Demoiselle and Powermock/Mockito
I’m trying to mock a Static method, but Powermock requires the use of a specific Runner (Powermockrunner) for the Static mock to work! And for Demoiselle to work, you need to start Weld with…