Posts by lucianohdr • 71 points
5 posts
-
2
votes2
answers564
viewsA: Why function is returning Undefined
Perhaps because it is an asynchronous request, it tries to put the $Scope variable inside Function: var token = getCookie("token"); var json = {}; consumeService (token, JSON.stringify(json),…
-
0
votes1
answer456
viewsA: Problem with simple validation messages directive
Well, I’ve made the following change: <div ng-if="field.$dirty" ng-messages="field.$error" class="messages"> <div ng-message="required">Campo Obrigatório</div> <div…
-
3
votes2
answers818
viewsA: Referencing CSS in jsp via$pagecontext.request.contextpath in tomcat8 does not work
Tried to use it this way? <link rel="stylesheet" href="${pageContext.request.contextPath}/css/estilo.css" type="text/css"/> If this doesn’t work, try placing the value of…
-
1
votes1
answer456
viewsQ: Problem with simple validation messages directive
I have the following directive: //diretiva responsavel por facilitar a passagem de campos para a validação App.directive("validateMsgFor", function(){ return{ templateUrl :…
-
1
votes0
answers107
viewsQ: Doubt about dependency injection in Customer Systems of Hibernate
I wonder if there is any way I can inject resources into an Hibernate Event Listener using vraptor 3.5. I wish I could simulate the behavior of a Rigger that we have in the database. And this…