Questions tagged [defaults]
111 questions
0
votes
1 answer
jQuery plugin multiple instances not receiving default settings
I'm currently writing a plugin and have run into and issue that, from searching stackoverflow, have an idea of what's wrong, but no clue how to code it.
The plugin is really long right now, so I've chopped out only the basics. The plugin works…

Aaron
- 2,482
- 1
- 26
- 56
0
votes
2 answers
WP7 Default dates
I have released an app which,. within its functionality displays date and time strings.
I am aware of the differing formats across cultures - however in some cases I had hardcoded values- for example I had gone with a custom format that was the 12…

Peter
- 679
- 1
- 10
- 25
0
votes
2 answers
Development of a Drag and Drop Plugin
I'm starting to become a plugin creator and don't fully have the hang of it. One problem is I would like to make an default where you have two numbers. And I need to be able to apply them to the code.
What I mean is like this:
var defaults =…

Shawn31313
- 5,978
- 4
- 38
- 80
0
votes
1 answer
Instance variable not returning a value in iOS application
This problem might be related to Instance variable not retaining value in iOS application.
My application has a table view that's supposed to be populated with data from a plist. The plist is question is determined based on a defaults setting.
After…

Willem
- 1
- 1
0
votes
1 answer
Managing Defaults in Stored Procedures' Parameters
I am working in a DB which has about 10 DEFAULT constraints scattered by two or three different tables, and I need to write a stored procedure which receives as parameters values for all these attributes. However, if no values are received, I want…

B.M
- 533
- 2
- 8
- 16
0
votes
1 answer
Non-zero default value in constructor
Possible Duplicate:
Undefined / Uninitialized default values in a class
I have a class in C++ that is created and destroyed fairly often. For debugging, I've added a bool mDebug to the class, that I want to turn on with an #ifdef. However, I…
0
votes
1 answer
Xcode 3.2.5: Make "Treat Warnings as Errors" and "Run Static Analyzer" both true for new projects
The Problem
Every time I create a new project in Xcode I have to go to Project > Edit Project Settings and navigate to Treat Warnings as Errors and Run Static Analyzer to turn them on. For the life of me I cannot seem to find out how to make this…

idz
- 12,825
- 1
- 29
- 40
0
votes
1 answer
iPhone - upgrading from old app preferences
If I build a 1.0 app with 2 strings in the defaults, using registerDefaults.
And in a 2.0 version, I decide to remove the first old string, and move the second one (changing its key string) with a new third one into an array.
How may I deal with…

Oliver
- 23,072
- 33
- 138
- 230
0
votes
1 answer
over ride default background
I'm forced to use bootstrap layout for this project (univ.). I can't seem to get the gradient to show through, the col. keeps adopting a default white.
/* fonts available in this website: "Black Ops One/Caveat Brush/Ceviche…
user8873301
0
votes
2 answers
Loading csv values from a file into web form as DEFAULTS using PHP
The code attached below, works, which asks for input on two items, then on submit, puts the values into a csv file on the php server.
I'd like to LOAD the LAST previous results, now the LAST line in the csv file, back INTO the form as DEFAULTS for…

Fred
- 129
- 2
- 11
0
votes
4 answers
How to merge default values into subarrays of a new multidimensional array?
What is the best way to define a new multidimensional array with default key/value pairs?
I think it's best explained by code sample here:
$defaultOptions = ['foo' => 'bar', 'another' => 'value'];
$mdArray = [
'first' => [
'title' => 'I…

WraithLux
- 699
- 4
- 15
- 22
0
votes
1 answer
hot to safe "isEnable" state of button in user defaults?
I have a button that adds a product to the wishlist. After it has been clicked i want it to have "isEnabled" state when user returns to the same product page again.

Юлия Кордюкова
- 3
- 6
0
votes
1 answer
How to get names of all SQL Server Defaults and Rules
I'm trying to write a query to get the names of all Rules and Defaults in the database so I can programatically drop all of them from a database without having to know their names.
They don't seem to be contained in sys.objects, though - so where…

Catchwa
- 5,845
- 4
- 31
- 57
0
votes
1 answer
Setting UI-Select default value within a Smart Table
Setting UI-Select default value within a Smart Table
I have an Angular based web project upon which I ran into an issue. I am loading data into a smart table. Within the smart table definition, I have a column defined as a ui-select (dropdown). …

Anthony S
- 65
- 11
0
votes
1 answer
Modify node.js REPL "defaults"?
I'm a node.js beginner. I want to modify the behavior of node's default REPL, as decribed in this link, but I don't want to run a startup script because doing so starts the REPL without importing the existing history file. (I know this because I…

MonaLisaOverdrive
- 396
- 3
- 16