All Questions

6
answers

Mark / Uncheck Checkbox from a button

I would like to use a button to be able to Mark / Uncheck checkbox. I have this button that calls a function, see: <button class='btn btn-large' type='button' title='Todos' id='todos' onclick='marcardesmarcar();' ><i class='icon-large...
asked on 30.05.2014 / 21:19
2
answers

Sqlite error on Android: error code 11: database disk image is malformed

I have a version of the Application in production, where it is allowed to mark a message as a favorite, but this totally random error happens causing database corruption and resulting in application failure. I know that I do a little risky o...
asked on 15.12.2013 / 12:33
2
answers

URL Redirection With Spring MVC

I want to put in my project access to a page in a views subdirectory. Type views/pessoa/criar.jsp . How can I write a controller that accesses this page? I'm using Spring MVC 3 and InternalResourceViewResolver . I tried...
asked on 08.11.2014 / 23:59
1
answer

What is Metadata Based Architecture (MDDA)?

What is a Metadata Based Architecture? When to use this type of architecture?     
asked on 11.10.2017 / 19:33
1
answer

Difference between printf and format

Is there any difference between using printf and format ? Example 01: float nota = 5.3f System.out.printf ("Sua nota: %.2f", nota) Example 02: float nota = 5.3f System.out.format ("Sua nota: %.2f", nota)     
asked on 19.04.2017 / 22:51
2
answers

Error updating the entire JAVA table

I am trying to perform a mass update to update all the prices of products registered in the system, adding the value passed by the user to the unit price of the product registered, according to the company entered in the system and the product c...
asked on 18.02.2016 / 14:03
1
answer

Connect webservice with SOAP in PHP

I am trying to connect to the webservice but it is not working. The wsdl address is link PHP code: <?php if (!class_exists('SoapClient')) { die ("You haven't installed the PHP-Soap module."); } $clientSoap = new SoapClient(...
asked on 10.02.2015 / 00:13
1
answer

Laravel 5.3 - Events or observers?

I have some scenarios where I can use observers to trigger a notification, however, for me it would be indifferent to use observer or else to create an event, a listener and then use this to trigger a notification. Is there a performance diff...
asked on 31.10.2016 / 18:51
1
answer

Sort Varchar field taking into account groups and subgroups

I need to sort the values below in ascending order. They are of type Varchar and the solutions I have found so far for MySQL did not work. An example of the data type would be 1.12.02 , as these values serve as specific code for a chart...
asked on 26.09.2016 / 19:38
1
answer

The correct would be to leave the attributes of the abstract class as private or protected?

I do not know how I should leave those attributes.     
asked on 13.02.2016 / 18:24