Is there an OnShow event equivalent for Bootstrap data-toggle?
Vote count: 0 A button controls visibility of a modal dialog. This occurs in the context of a forms engine, so the controlled modal dialog is determined by knockout binding. <button type="button" class="btn btn-primary" data-toggle="modal" data-bind="attr: { id: 'attachment' + Metadata.FormFieldID, ...
how to increment numeric string value in Android
Vote count: 0 I have one android application that retu s a string value form a table using cursor (so only string i think) and when i try to parse int, I get catch exception so i can't increment it, all i need is for it to go form 0 to 1,2,3,5,100,923021312 etc. one every time this is called. If som...
Javascript for loops with dynamic variable
Vote count: 0 I am writing a Google form using a script so that I can pull the data from a Google spreadsheet and generate a page for each event based on a list of events which are of unknown length. I have worked out that I can create the pages I need using this loop, with my list of events, eventv...
How to hide and unhide a HAML element with Javascript?
Vote count: 0 I have two options for select. I am trying to get it to where if the user selects "Case Manager" for option for select #1, then option for select #2 appears. Here is my code: Haml: = form_tag app_configurations_path, :method=> 'put' do |f| -@all_configurations.each do |config| =hidden_...
Outputting concatenated data from mysql to json as json object
Vote count: 0 This is my database: Am trying to get all from_id which to_id is 4 to a json object where ill be able to show all messages from a from_id in a stack sorted by their different time_sent I have tried: CODE: PHP STATEMENT THAT GETS DATA FROM DATABASE IS AN OBJECT ORIENTEND: public functio...
Sonar build gives error for :sonar-maven3-plugin:jar:5.4
Vote count: 0 I have upgraded the Sonar version to 5.4 and while ru ing the POM to generate the report, getting the below error: [INFO] [INFO] --- sonar-maven-plugin:2.1:sonar (default-cli) @ HEP05_NY_R2.0_JUNIT_ProviderInformationComponents --- [INFO] SonarQube version: 5.4 [WARNING] The POM for or...
Base64 to long integer in javascript
Vote count: 0 I have a Java function that converts a number into a Base64 string : //Using Base64 from apache : org.apache.commons.codec.binary.Base64 String base64 = new String(Base64.encodeInteger(BigInteger.valueOf(Long.parseLong(myLong)))).replaceAll("=", ""); For instance, for 1272209127 I'm ge...
Nusoap PHP Client - Error 500
Vote count: 0 Hi i'm trying to get some data through a WSDL file using NuSoap. the path to the wsdl file and the endpoint are below in the example. So far what I have is the following: try { require_once('../includes/nusoap/lib/nusoap.php'); $wsdl = 'https://service.stadt-zuerich.ch/jobs-ws/JobServi...
Cannot open database requested by the login.The login failed
Vote count: 0 I know this might be a duplicate questions but I checked all the answers provided and none of them worked for me. My applications (both winform and asp.net) were working fine with the way I worked with them but now all of a sudden none of them will co ect to the local sqlserver databas...
Which compiler version maven is using here?
Vote count: 0 I am using below maven compiler plugin to compile my java code <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <inherited>true</inherited> <version>2.5.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configurat...
Java AbsolutePath in each operating system
Vote count: 0 I have to create a folder valid for each operating system. Actually I'm using this code: String url = getContentServer()+"/data?use ame="+getUse ame()+"&password="+getPassword()+"&id="+meetingId; logger.info("MEETING LIST URL = "+url); everythings work in windows, will be the same for ...
Java eclipse game (Reflex)
Vote count: -3 Hello there I am only new to using Java and I need to create a game for my IT project in school. The game is called Reflex I need to create a interface that simulates a wall of lights, and over a fixed interval, one of the lights in the wall will tu on and the user then attempts to se...
ASP.Net Web API or MVC with WebAPI Controller
Vote count: 0 I am currently building a mobile application for Android and iOS platforms. But for syncing the data, I am building a server application on ASP.Net. Later I will be needing the server application to show web pages for viewing statistics and charts, etc. So I am confused as to how to sh...
Access Key in Associative array which is stored in variable
Vote count: 0 I am currently dealing with this problem. I have an associative array imageDict={}. The key to this imageDict is another Object called image and value is yet another associative array, with string as Key and array as value. So imageDict[image] = {}, and imageDict[image]["string"] = []....
What format is Microsoft GraphApi ICalUid in?
Vote count: 0 Doing some work with the Microsoft GraphAPI and the CalendarView. For fun I created an event through Google and invited my Office365 account to ensure the ICalUid between the two were the same. If I use the EWS service the ICalUid matches the ICalUid when retrieving the event from goog...
Error on get data API call using Angular
Vote count: 0 I am trying to get medicine name from TrueMD using api. I am using this from my localhost. For that reason web service security I also include 'Access-Control-Allow-Origin' as a null still same error of security. Is there somthing that I am missing? $scope.medicines = []; var search = ...