All Questions

1
answer

How to simulate a user logged into an application with Demoiselle 2.4.2?

I have a Demoiselle 2.4.2 application already running that needs to use SecurityContext to get the User currently logged in and make some decisions. The time now is to write the unit tests using JUnit 4 for this application (th...
asked on 25.02.2016 / 16:13
1
answer

How to combine two vectors and get all results from a given account with them

I'm trying to do a calculation and I need your help. First I make a normal distribution sequence with 420 numbers, then I make a sequence of numbers that I call mci with 42 numbers, then the next calculation has a if condition....
asked on 20.02.2016 / 03:20
2
answers

Pass parameter of type ROWTYPE with the EXECUTE command

I am developing a function in Postgres that aims to retrieve for each record of a query the result value of a scan contained in a set of functions. Of these functions only one will return the correct value. These functions have a common prefix '...
asked on 21.01.2016 / 19:14
2
answers

How do I configure crontab to run URL, Linux ubuntu command

I have created 4 methods and want to execute them by accessing the link. I have already tested the methods and they are all working normally, but I have already tried several configurations for crontab -e . I've tried: 0 * * * * wget...
asked on 11.02.2016 / 03:54
0
answers

How to create function in PHP to recover password? [closed]

I use 2 pages, one to insert the email ( forgotPassword.php ) that still only has the graphic design. And the recuperar.php that will be used for the user to change their password. My user table (where registered people go) has t...
asked on 27.01.2016 / 19:50
1
answer

How do I use GPS Location in my WEB application?

I'm creating an application and found a barrier, this application is for restaurants to monitor deliveries and likewise the user, also do it, I was doing through checkUp's whenever he stops, like in the post office, only that I realized that the...
asked on 30.03.2016 / 12:58
1
answer

Problem in showing SMS received

Talk about it! I'm trying to show a SMS received in a text box on a Form that I have, but instead of showing me the message I receive in my SIM, it shows something such as + CMTI: "ME", 33 . I'll leave the code below: Imports System Im...
asked on 14.06.2016 / 13:58
1
answer

How to update a datagridview automatically?

I've created an application that will display the data of a given view in a datagridview control. The whole application is ready: loading the data, the button to update and also the events load and activated . Technologie...
asked on 24.05.2016 / 22:24
1
answer

How to insert new image into project with COMPASS

I have the images I use in my project and I want to add a new image to use on the site, but I can not get the image to be added to the sprites generated by COMPASS     
asked on 24.06.2016 / 19:14
2
answers

Generate sequential number in java with Hibernate

Is there any way to use Hibernate to generate a custom number to be the ID number of a particular record? I have a system that stores care done to a patient, every time a new care is created is generated by the bank auto increment the numberi...
asked on 28.02.2016 / 18:39