Is there an OnShow event equivalent for Bootstrap data-toggle?
◷
تاریخ انتشار: 1395/2/14 | ساعت: 5:27
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 send input value from custom directive through $resource in Angular?
◷
تاریخ انتشار: 1395/2/14 | ساعت: 5:27
Vote count: 0 I've found answers about using ngModel within a custom directive, and I understand the concept, but I'm not sure if I am understanding how to implement it when using $resource. I'm successfully injecting the "file" scope into my directive, and I'm making the api call, but the value tha...
how to increment numeric string value in Android
◷
تاریخ انتشار: 1395/2/14 | ساعت: 5:27
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
◷
تاریخ انتشار: 1395/2/14 | ساعت: 4:21
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...
What's the difference between heapq and PriorityQueue in python?
◷
تاریخ انتشار: 1395/2/14 | ساعت: 4:21
Vote count: 0 In python there's a built-in heapq algorithm that gives you push, pop, nlargest, nsmallest... etc that you can apply to lists. However, there's also the queue.PriorityQueue class that seems to support more or less the same functionality. What's the difference, and when would you use on...
How to hide and unhide a HAML element with Javascript?
◷
تاریخ انتشار: 1395/2/14 | ساعت: 4:21
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
◷
تاریخ انتشار: 1395/2/14 | ساعت: 2:40
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
◷
تاریخ انتشار: 1395/2/14 | ساعت: 2:40
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
◷
تاریخ انتشار: 1395/2/14 | ساعت: 2:40
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
◷
تاریخ انتشار: 1395/2/14 | ساعت: 0:15
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
◷
تاریخ انتشار: 1395/2/14 | ساعت: 0:15
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?
◷
تاریخ انتشار: 1395/2/14 | ساعت: 0:15
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
◷
تاریخ انتشار: 1395/2/13 | ساعت: 23:14
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)
◷
تاریخ انتشار: 1395/2/13 | ساعت: 23:14
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
◷
تاریخ انتشار: 1395/2/13 | ساعت: 23:14
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
◷
تاریخ انتشار: 1395/2/13 | ساعت: 22:05
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?
◷
تاریخ انتشار: 1395/2/13 | ساعت: 22:05
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...
Python - how to get rid of escape sequences in sql query execution
◷
تاریخ انتشار: 1395/2/13 | ساعت: 22:05
Vote count: 0 I am creating a sql query in python of the sort: select lastupdatedatetime from auth_principal_entity where lastupdateddatetime < '02-05-16 03:46:51:527000000 PM' When it is executed, there are escape sequences that are being added which doesn't retu me answers. Although when we print ...
Error on get data API call using Angular
◷
تاریخ انتشار: 1395/2/13 | ساعت: 20:41
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 = ...
Problems with adding Icon to executable (Eclipse CDT): make: *** No rule to make target 'resources.o'
◷
تاریخ انتشار: 1395/2/13 | ساعت: 20:41
Vote count: 0 I am following this and this to add an Icon to my Executable I am getting Error make: *** No rule to make target 'resources.o', needed by 'Project_Name'. Stop. I have:- created resources.h- created resources.rc (Already checked that path inside file is correct)- added #include "resourc...