Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
11 views

Play 2.0 Scala: default selected/checked on form elements

Can find nothing on the net re: this issue. I'm looking at the code on github for select, checkbox and friends but am completely missing the boat as to how one gets default selected/checked working. ...
0
votes
1answer
19 views

How to add a splashscreen for iPhone to a App made from iPad to Universal

I want to add a splashscreen within an App that is an iPad-App currently. I succeeding with using different app icons (both for iPhone and iPad), but the splashscreen. Now called ...
0
votes
1answer
30 views

System.Configuration.ConfigurationManager.ConnectionStrings has no connection string configured

Whenever I try to run anything in my C# code I get the following error: System.InvalidOperationException was unhandled by user code Message=No connection string configured and it happens in the ...
0
votes
1answer
33 views

Get default user email in iOS Device

Is it possible to retrieve the user email associated with the default email account directly from an app? Screen: http://i.stack.imgur.com/XdAGC.png Thanks.
1
vote
2answers
32 views

Using reference value as default param in PHP Function

I'm looking to do this: /* example filename: config_load.php */ $config_file = "c:\path\to\file.php"; function read_config($file = &$config_file) { $settings = array(); $doc = new ...
4
votes
2answers
102 views

What is the exception specification for a defaulted virtual destructor in C++11?

Suppose I have: class Foo { public: virtual ~Foo()=default; }; What is the exception-specification on the defaulted destructor? Is the defaulted destructor equivalent to: virtual ~Foo() {}; ...
0
votes
0answers
18 views

wordpress stop directing to default error page - very annoying

Does anyone knows how to stop Wordperss from redirecting the users to the default internal server error page when they forget to fill in a mandatory field in a comment form? on my blog site i have ...
0
votes
1answer
20 views

Resetting a spinner after removing values

I am trying to repopulate a Spinner after values have been removed. Currently the app sets up a Spinner with a list of string values and then as the app is used some of these values are removed from ...
0
votes
0answers
28 views

How to display default tab using jQuery - manual coding for Tabs, not jQuery UI

I coded my tab structure manually, and it doesn't exactly follow the jQuery UI default Tabs structure. Now I want to display the First tab as the default tab on page load, but this does not seem to ...
1
vote
1answer
26 views

jQuery Plugin; Can't work defaults out

How can I make this plugin code accept default options? // Utility if ( typeof Object.create !== 'function' ) { object.create = function( obj ) { function F(){}; F.prototype = obj; return ...
1
vote
1answer
14 views

JAXB namespaces missing after marshalling

I have generated Java classes from XSD and i want to marshal from JAXB Classes with the prefix namespace here is what i have <?xml version="1.0" encoding="UTF-8"?> <schema ...
0
votes
1answer
16 views

Set the default value of a Facebook Registration Plugin “Text Field”

Good afternoon, I'm now use the Registration plugin of Facebook and I would to set the default value of a field in text type. But I don't know if it's possible ? How to set a default value of a text ...
2
votes
0answers
26 views

how to provide a default style (attributes) in a custom view?

Good day! I have a custom button, and I want to set the default background to null. How can I do this? I mean... I know I can define a "style" which set android:background to "@null", and ask users ...
2
votes
2answers
61 views

Define a class with optional argument in Python

class class1(): def setdata(self,value1, value2): self.data = value1+value2 def display(self): print(self.data) For the above code, when I use it. It will require exactly two arguments. ...
2
votes
1answer
55 views

Do something at background, ONCE finished, do something else at foreground?

We face with similar situation. Say we want to get data from the web. So, we grab data from background. After that we're back and update some view based on the new data. Should I do this: __block ...

1 2 3 4 5 58
15 30 50 per page