javascript – if 6 checkbox checked then the rest should be disabled

Exception or error: I have found a small code that I would really need to update or improve a bit and I can’t figure it out so here it is <tr><td><input type=”checkbox” name=”progress” id=”progress1″ value=”1″ tabIndex=”1″ onClick=”ckChange(this)”>01</td></tr> <tr><td><input type=”checkbox” name=”progress” id=”progress2″ value=”1″ tabIndex=”1″ onClick=”ckChange(this)”>02</td></tr> <tr><td><input type=”checkbox” name=”progress” id=”progress3″ value=”1″ tabIndex=”1″ onClick=”ckChange(this)”>03</td></tr> <tr><td><input type=”checkbox” name=”progress” id=”progress4″ …

java – call rest service from soap service

Questions: I am using spring3 and developed a soap web service. Is it possible to access the rest service from soap web service? please help me to map the rest template in XML mapping. I have tried: @WebMethod(operationName = “insert”) public Response insert(@WebParam(name = “reqParam”) Request reqParam) { Response resp = new Response(); jdbcTransactionTemplate.execute(new TransactionCallbackWithoutResult() …

android – Date of birth restriction

Exception or error: I want to restrict my date picker dialog to select a minimum of 18 years of age val c = Calendar.getInstance() val year = c.get(Calendar.YEAR) val month = c.get(Calendar.MONTH) val day = c.get(Calendar.DAY_OF_MONTH) val abc = findViewById<Button>(R.id.birth) abc.setOnClickListener { DatePickerDialog(this, DatePickerDialog.OnDateSetListener { view, mYear, mMonth, mDay -> date.setText(“” + mDay +”/” + …

javascript – if 6 checkbox checked then the rest should be disabled

Exception or error: I have found a small code that I would really need to update or improve a bit and I can’t figure it out so here it is <tr><td><input type=”checkbox” name=”progress” id=”progress1″ value=”1″ tabIndex=”1″ onClick=”ckChange(this)”>01</td></tr> <tr><td><input type=”checkbox” name=”progress” id=”progress2″ value=”1″ tabIndex=”1″ onClick=”ckChange(this)”>02</td></tr> <tr><td><input type=”checkbox” name=”progress” id=”progress3″ value=”1″ tabIndex=”1″ onClick=”ckChange(this)”>03</td></tr> <tr><td><input type=”checkbox” name=”progress” id=”progress4″ …

java – @RestController @GetMapping does not handle parameter-value with '+'

Questions: My controller-class: @RestController @RequestMapping(value = UserRestController.REST_URL, produces = MediaType.APPLICATION_JSON_VALUE) public class UserRestController { @GetMapping public List<User> getByParameter(@RequestParam Map<String, String> parameters) { logger.info(“PARAMETER VALUE ” + parameters.get(“phone”)); return service.getByParameter(parameters); } } When I run get-request on http://localhost:8080/test/customers?phone=+78122347389 it does not return any result, as it does not see ‘+’. Indeed, in log I see: PARAMETER …