text
stringlengths
8
267k
meta
dict
Q: Post XML via xmlhttpresponse and read xml from php I have managed to send an xml via post using xmlhttprequest. I have also managed to read the whole xml syntax by an aspx page using Dim reader As System.IO.StreamReader = New System.IO.StreamReader(Page.Request.InputStream) Dim xmlData As String = "" xmlData = read...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: want to create a Dayanamic formula creater in PHP I want to make a dayanamic formula creater in which user saves his formula in a varriable and this varriable will hav to show in other dropdown list. When we select the formula name from the dropdown list there should be all the fields would be displayed which he ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Query problem not working Today i'm getting this error with define categories. The categories are defined like this: $categorie=$_GET['categorie']; if($categorie==nimic) $cat="nimic"; elseif($categorie==Aventura) $cat="Aventura"; elseif($categorie==Dragoste) $cat="Dragoste"; elsei...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Android SoftKeyboard: android:windowSoftInputMode="adjustPan" Not working Before asking this question : @Nagekeeran Piraba & me are working same company.I asked this question on behalf of her. I am new to Android & This Site also I have List of product in TableLayout which contain EditText. Once the user click on E...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add a Map in an entity class? I want to add a mapping as Map<String, Person> personMap; inside an entity class, where Person is the entity. The Map is to identify the exact Person corresponding to the String (let it be a nickname of that person). The same person may have different names and whenever any of t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "15" }
Q: User Login Authentication in RESTEasy java I want to make user Login Authentication in my web application. I am using RESTEasy restful framwork. I want to do advance login system that will generate token, make an email to user for verification url. I have done Cross site authentication of twitter,google,FB using soc...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Entity Framework 4 Transaction Scope I am running 2 INSERTS inside a function. The first one is a non-entity framework INSERT (AD0.NET). The second one is an EntityContext.SaveChanges() Can I not nest both of these inside a Transaction Scope ? A: Yes you can using (TransactionScope scope = new TransactionScope()) {...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Memory leak detection with boost::test I try to enable msvc memory leak detection with line number like this snippet I found here: Detected memory leaks! Dumping objects -> C:\PROGRAM FILES\VISUAL STUDIO\MyProjects\leaktest\leaktest.cpp(20) : {18} normal block at 0x00780E80, 64 bytes long. Data: < >...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Map all request to one method I want to map all request from http://www.mydomain.com/{any url path} to one method and decided to use code below. Unfortunately I get 404, why? Config file <configuration> <system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> <system.webServer> <ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android: Is there any similar library in Android like ASIHTTP library for iPhone? Is there any similar library in Android like ASIHTTP library for iPhone? I am looking for making asynchronous requests using queues. How can i achieve similar functionality in Android? Thank you.
{ "language": "en", "url": "https://stackoverflow.com/questions/7525337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: iOS UIImageView smooth Image presentation One of the ways to improve user experience in iOS while showing images is to download them asynchronously without blocking the main thread and showing them.... But I want to add something to this - * *Initially when there is no image,show a spinner while the async downlo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525338", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I select objects by list size in HQL? My entity is defined like this: public class Entity implements Serializeable { @ManyToMany(mappedBy="entities") private List<OtherEntity> otherEntities; } How can I select in HQL all Entities which have more than one OtherEntity? A: I think this should wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: php redirect based on information after .com/THISINFO I have researched previous questions and either I don't understand the answers or I'm too tired. Either way. I want to do this.. someone enters blahblah.com/STUFF into their browser There is no blahblah.com/STUFF file in the directory, but I want to pass STUFF to...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does this object get created? Many articles say objects get created only after the class's constructor gets called. But I found this snippet and it works fine. public class A { public A(){ this.foo();//line #1 } private void foo() { System.out.print("without an instance..!!!!"); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: UIImage initWithContentsOfFile doesn't work I have question: I want to avoid [UIImage imageNamed:]. So i did: UIImage *prodImg = [[UIImage alloc] initWithContentsOfFile:@"myimage.png"]; controller.productImg.image = prodImg; [prodImg release]; But now the image is not shown anymore. Does anyone know how to get t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: Google API Translate not working for Language.HINDI I am attaching the code below. import com.google.api.translate.Language; import com.google.api.translate.Translate; public class Translator { public static void main(String[] args) { // Translate trans = new Translate(); try{ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: System API to get process used memory status I have a requirement where my running application(On LINUX) will check his used memory status. On the basis of the used status it will do some clean up job. Anyone know any system API to call from C application to know the used memory status on . A: Both free(1) and vmst...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update existing AUTO NUMBER Values in MYSQL I have created a MYSQL table with autoincrement id, and inserted appx 10K values, so now id starts from 1 onwards. Now I would like to change my existing ID from 10001 onwards.. i.e. my existing id 1 should starts from 10001..next 10002... So how it possible witho...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to make url rewrite apache whitout any rewrite condition? sorry, but i'am less understand about url rewrite... i want to rewrite my url from : http://localhost/controller/index.php/user/edit to http://localhost/controller/user/edit i can make it with this .htaccess : RewriteEngine On RewriteBase /controller/ Rew...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set the Dateformat for current date in iphone application? I am developing one application. In that i write the below code for setting the DateFormat for current date. But it is working upto 9th month only. From 10th month onwards it gives the nil value. So please tell me how to solve this one. My code is as ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: eclipse does not resolve all includes I am working on an avr project in eclipse and include files supplied by the compiler. Eclipse recognize the includes in code (i.e. no question mark by the #include) but it does not resolve the defines in the included files, i.e. PINA is not recognized as a memory address. I've t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525373", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Conflicting types present in two Silverlight dlls Scenario: I have created two custom controls in Silverlight, MyCustomControl1 and MyCustomControl2. Both the controls have a namespace called Control.Generic. Control.Generic has an enum type called PageOrientation. I want to use both the controls (MyCustomControl1 a...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to calculate subtotal and show heading in sql server reporting 2008 R2 I have data like picture below I want to display my data like this So I want to know how can i show group 01 02 03 and then calculate their respective totals in sql server reporting 2008 R2. Is there any built-in technique to do this ? A: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access mod_ssl environment variables from django using mod_wsgi? I'm trying to get the client's certificate and sign an xml file using it. I have added the following to my virtual hosts: SSLVerifyClient optional SSLVerifyDepth 1 SSLOptions +stdEnvVars This should allow mod_ssl to get the user's certificate. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to pass Accept header in jQuery .load() function How to pass Accept header in jQuery .load() function as It need to be passed. A: You need to utilize the beforeSend parameter in the ajax method, since load does not expose this functionality: $.ajax({ url: "http://www.server.com/", beforeSend: function(j...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How do I use SQL table alias for more SELECT and with different condition? I want to generate ssrs report for that i need to select 4 values PreviousNAV , TodaysNAV , @NetChange , @BAMLIndex CREATE PROCEDURE [dbo].[Progreereport] ( @EndDate DATETIME, @ComparePeriod VARCHAR(10), @PortfolioId VARCHAR(50) = '6' ) AS BE...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# - Inheritance, override Can I do something like this? (Over-simplified because it's too complex) abstract class A { public string Print() {} public static string DoPrint(A a, Type T) { ((T)a).Print(); // <-- This should call eg. A3.Print(), not A.Print() } } class A1: A { public new string Print() {...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525395", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to change wifi enable and disable programatically I have to set some blackberry device settings by coding. Like. 1. Activate call waiting. 2. Enable wifi. 3. Enable GPS. Can somebody help me. hope my question is clear A: // call Radio.activateWAFs(RadioInfo.WAF_WLAN);
{ "language": "en", "url": "https://stackoverflow.com/questions/7525396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: silverlight componentone combobox binding issue I have to display combobox in silverlight componentone flexgrid. but when i am applying valueconvertor to that column it works and display combobox, but when i select any value from combobox and select same column from other row then it automatically select the same va...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to embed font in PDF created from HTML with iText and Flying Saucer? I have problem with embedding Polish fonts into PDF converted from HTML. My HTML code have style in body: <BODY style="font-family: Tahoma, Arial, sans-serif;font-size : 8pt;"> I tried 2 ways of converting such HTML into PDF: * *FOP with ht...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "15" }
Q: Run the application in Landscape mode only? I want to run a Hello World sample application only in landscape mode on my Device. If the device changed to portrait, I would then like to raise one toaster. For example "please change to landscape mode to run your application". How should I do this? A: add this to your ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "18" }
Q: Setting height for table in iTextSharp I've created a table with 2 columns. In the second cell of the first row I want to insert another table that have only one cell. The problem is that I can't set the height of the second table. It stretches more than the content height. Its height is equal with the cell height w...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525406", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: load up an htaccess file thats in another directory not in the DocumentRoot Is it possible to apply htaccess rules that are located in another directory. for example /folder --|__ .htaccess --|__ /htdocs --------|__ index.php the DocumentRoot is htdocs, while the htaccess file is located outside of that. Can I acce...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Reading Multiple Inputs from the Same Line the Scala Way I tried to use readInt() to read two integers from the same line but that is not how it works. val x = readInt() val y = readInt() With an input of 1 727 I get the following exception at runtime: Exception in thread "main" java.lang.NumberFormatException: For...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "9" }
Q: How to set up an untyped SOAP message + WSS in WCF? soapUI creates a message to the service: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.is.shit.com"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: $smarty - How to Dynamically change select box option value on the fly I am a newbie of smarty so please pardon my innocence :oops: I am following a code left by previous programmer and i have this problem on dynamically changing the values of a select box depending on the selected value of another select box. So ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Google maps not working when using jquery tabify I have 3 tabs and one tab is that of Google Maps. When not tabified I get the Map correctly, but when I tabify it, the map gets loaded, but not correctly sized and Grey area is more prominent. I tired to trigger the resize when the tab is clicked, but that also didnt ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Insert a string (conditionally) in url using mod_rewrite I'm trying to achieve this kind of mod_rewrite: *if request_uri is not abc or def* change client side url from domain.com/request_uri to server side url domain.com/xyz/request_uri Essentially what I want is to insert a string to a url without users knowledge...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Renaming project in Xcode 4.2 Recently I upgraded Xcode from 3.2.5 to 4.2. When it was necessary I changed name of project by "slowly clicking 2 times" on blue project icon, which in turn gave me list of other files whose name can be changed. I changed name of all the files(including product name). But now problem...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Postgres regex: Behavior of \s and \S and character class seems wrong The documentation says that \s is whitespace and \S is not whitespace. So far, nothing new to regex users. But let's check some return values: SELECT SUBSTRING('abc a c' FROM 'a\\sc'); 'a c' SELECT SUBSTRING('abc a c' FROM 'a[\\s]c'); -- Note the...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: How to be comfortable with JSLint validator? Using JSLint since some month, I wonder how to be comfortable with it? IMO the official website is too basic. No line number in the code editor, no links between error and code, poor presentation... And using in CLI, is also not the more comfortable way. So the question i...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525426", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Android device driver development - Entry point I will be part of the development of device driver for android. In preparation, I want to grasp the basics and advance my skill for this. I was on VB and JAVA for this past 2 years, so I don't have confident with my C programming. Linux device driver is a new world fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: cakephp: Cookie does not read at view in controller i try this, and print $cookieee,its give me array $this->Cookie->write('User', $cookie, true, '+2 weeks'); $cookieee = $this->Cookie->read('User') echo "<pre>"; print_r($cookieee); echo "</pre>"; but My question when i print it any view file ,it doesnt print an...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525428", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to set focus to an iOS text field? How do you programmatically set focus to some UITextField in iOS? When you tap on a textfield, the keyboard pops up to begin editing the textfield. How can you give focus to a textfield and bring up the keyboard without requiring the user to tap on the textfield? A: Make the t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525437", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "48" }
Q: Django can't find settings I have a Django project that contains a "config" folder, which has a settings_dev.py file inside of it which is my settings file. If I try doing anything with manage.py, it complains that it can't find my settings file, even if I explicitly provide it via the --settings option, e.g. python...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Can't start MySql service in Windows 7 Hi Iam trying to start mysqld on windows 7. I have installed mysql 5.5.15. I cant start mysqld as a service. I had MS SQL service running before MySql, stopped that service before starting mysql as service. A: Have you installed MySQL on the machine before? If so, you need to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How is it possible to check if JOptionPane is visible? I have a JOptionPane option dialog which is called in my application in case there is an invalid file. It then takes input for the right file. This is fine as long as the application is running in a GUI environment. Requirement In the case of a headless server, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: While handling an NServiceBus message, is it possible to peek at the input queue? I have a Windows service using NServiceBus to handle incoming messages. While processing a message, I would like to check to see if there are any other remaining messages on the queue to process. What is the best way to approach this? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525454", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Writing unit test case for AllocWithZone method for singleton class I have unit test methods -(void)setUp { objectofClass=[ClassName shared]; } -(void) testAllocWithZone { STAssertNClassName *oneMoreObject=nil;oThrow(oneMoreObject=[ClassName allocWithZone:NSDefaultZone()],testing); } what should be the v...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Conditions within custom actions I recently separated our company installers in to two features (one enabled and one absent), to allow the user to select both, I've used UI_Mondo GUI to allow selection. I've managed to get our custom action to work if the feature is selected: <Custom Action="RestartIISForASPNet4" Af...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Resize image width and scale height accordingly I'm coding an uploading script, and I'm currently using a way of resizing images with gd which works good in general. The only issue is that when users upload portrait images, they align to center and the parts outside the canvas gets cut off. I've added a check to ide...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get comments on Reviews using FQL Facebook How can i get the comments posted in reviews using FQL. http://www.facebook.com/#!/CasaMadronaHotel?sk=reviews i want the comment "WOW - I would be nervous staying here after such problems you have experienced. " A: If this is what you are talking about, look at thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525464", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: crystal report object reference not set to an instance of an object I have crystal reports that keeps saying this error: {"Object reference not set to an instance of an object."} Stacktrace: at CrystalDecisions.Windows.Forms.PageControl.OnMouseMove(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Mes...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525467", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: what's reason for this error? Terminating app due to uncaught exception 'NSGenericException', reason: '* Collection <__NSArrayM: 0x175800> was mutated while being enumerated A: You changed a mutable array while you were iterating over it. You can't do that. One solution might be to iterate over a copy of the arra...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Auto refresh tomcat When I upload image, it won't displays on the page until I go to eclipse -> right click on project -> "refresh (F5) " How to refresh automatically after upload an image ?
{ "language": "en", "url": "https://stackoverflow.com/questions/7525471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: C# Linq to Objects/Syntax and Effectively searching if a collection members exist in another collection of sub-collections I have the first collection of numbers: (1,3,5,6,23) and the second collection of collections of 1 to n integers (3), (6,1), (1,3,5,23,6,14,67), (2,3) So the second collection has ele...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525475", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Audio Recording returns null I am trying to record some audio in my app. i open the audio recorder with an intent for result. But on result, my data is null. Am i missing something? Following is my code public void onClick(View arg0) { // TODO Auto-generated method stub Intent intent = new Intent(MediaSt...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525476", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Working css for jquery ganttView in IE7 Has anyone working css-file to Internet Exlorer 7. Gantt chart is workin correctly on FF,I8,IE9 and Chrome, but in IE7 bars are not floating above grid and don't go inside slider. Does anyone know answer to this? I have tried anything I know. Browser differences IE7 and IE9 ht...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Spring MVC 3 form binding I have a simple HTML form: <form id="marketplaceForm" enctype="multipart/form-data" method="post"> <select name="category"> <option selected ></option> <option value="Sales">Sales</option> <option value="Marketing" >Marketing</option> </select> <textarea type="text" id="marketpl...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Multiple Interfaces with Metadata access in MEF? I have created three interfaces: interface A { B obj{ get; } } interface B { C obj { get; } } interface C { } [Export(typeof(C))] class class C1 : C { //......... } [Export[typeof(B)] [ExportMetadata("Name", "ABC") class class1 : B { [Import(typeof(C))]...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Windows Azure , blob not loaded to LocalResource I am trying implement Using local storage with BLOB storage . I went through http://allcomputers.us/windows_azure/using-local-storage-with-blob-storage-(part-1)---using-a-local-cache---defining-and-accessing-local-storage.aspx and re factored my GetBlob method as belo...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: selenium: type_keys(locator, "movyt") not typing correct value I am using firefox I Have used the following code in selenium: selenium: type_keys(locator, "movyt") But this types on mov and then clicks on the 'Tools' dropdown menu on the browser. I found that this is because y is treated as F10 and then t is trea...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Pipeline chart control I'm looking for a chart control that is able to display data like this: But it must not be Silverlight, Flash or other technology forcing user to install plugin. It would be best it the control could use HTML5, JavaScript, C# A: For me it looks like a simple table with data. You can always...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to check data transfered via ajax? Possible Duplicate: Making a hack proof game in Javascript I'm building a very simple web game In this game when player clearing all missions the total score should be posted to server . question is : ajax params could be modified easily . How to check if datas modified ? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: java classpath variable in RHEL 5.4 I am using RHEL 5.4 linux and writing my first few java test programs. javac and java comes by default, so I have been able to run a Hello World program. I want to check what is the current classpath. Nothing comes in $ echo $CLASSPATH or $ env | grep -i classpath Does it mean...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525495", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: DotCover Not giving coverage for refrenced DLL i donwloaded the dotcover 1.1.1 for evaluation. We use a automation framework to run regression test where application 'X' refrences application 'Y's DLL . I need code coverage of application Y when i run test through application 'X'. But all i m getting is code coverag...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525499", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Selenium RC (java)+ Safari3 + XP I am using seleniumRc 1.0.3 version this is fine..I am good with IE and Firefox..This is very good.. But i want to test in other browsers like "Safari and Chrome". I am not able to execute my script with Safari and Chrome browsers.. In my script i am using https in the URl then whene...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525504", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: fetch data from multiple database server at same time using multithreading c# i want to call same database procedure from C# programe to multiple database server at same time.how we can implement using multithereading or any alternative method. e.g. server1 takes 2 min,server2 takes 3 min,server3 takes 1 min tota...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Asp.Net MVC password for im using mvc form to give user possibility of changing his data in database. Everything is fine except password. When im getting Password value from database controller passes it into view, but view is not displaying it. <div class="editor-field"> <%: Html.PasswordFor(model =>...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525509", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: conditional goto is not working in soap ui I have created soap ui rest service test case with 4 steps. * *Addconsumer request. *conditiongoto - if customer is premiere target step4 *addpointrequest *gainpointrequest When the second step gets true, i am being navigated to step 4. but if it is false it is runn...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: slimv segfaulting on OS X Lion I have been trying to get slimv (http://www.vim.org/scripts/script.php?script_id=2531) working for a while now, but I am really not sure what else I can do. I am running vim 7.3 compiled with python support, using clisp (sbcl is showing the same issue though) on os x lion. I pulled the...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Problem with custom registration fields in an multistore setup in magento I have 2 sites running on my magento platform. For site2, I added new fields to the registration page and it works properly. Now, I noticed that when I try to register in site1, on submit I am shown a validation message that the additional fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the best way to do headless browser testing with PHP in Linux (specifically Ubuntu)? I would like to write some automated UI tests for a PHP web app, and was wondering what the best way to do it on Ubuntu would be? A: http://seleniumhq.org/ http://code.google.com/p/php-webdriver-bindings/
{ "language": "en", "url": "https://stackoverflow.com/questions/7525521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating multi-OS boot CD using codes Is it possible to write coding that will allows one to store multiple OS (in their ISO format) into a CD/DVD and turn them into a Live CD/DVD for later use? A: Yes. You would probably want to use Grub4DOS as your boot loader because it can boot operating systems from disk imag...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add an UpdatePanel controls to a page programmatically? I use asp.net 4 and c#. I would like to use AJAX Control UpdatePanel to my page. I read in the documentation that UpdatePanel controls can be added declaratively or programmatically. But I could not find out any information how to programmatically add...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: send image or video to a server using socket streaming I successfully open a socket to send data to it.When i tried to send an image it crashed and when i send string to it it works fine.I am converting an image to data and then put this data into the string that has to be send to server. Need guidance, please help ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: crystral report decimal showing as ###### I have created an win forms application in visual studio 2010.in that i am showing a bill report using crystal report. The problem i am facing is if the amount is greater than 900000 then it is showing as #######. please help me to correct this. A: You just need to increase...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pymongo error operation failure I'm currently using celery with django, i have pymongo ver 1.11 mongodb ver 1.8 I'm getting following error, i'm not able to figure out what is the error. [2011-09-23 02:06:59,544: WARNING/MainProcess] File "/usr/local/lib/python2.6/dist-packages/pymongo/database.py", line 293, in co...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jQuery DataTables - Reload table upon row addition I using jquery datatable plugin and having a "Create" button for ajax creation of my db instance. I wish to reload the datatable after the db instance is created, and i spend for more than one day just to find a solution for this. The closest thing i could find is t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How To exporting to Excel parent and nested GridView data? I have a gridview and some nested gridview inside it, when I try to export gridview data to Excel I get downloaded entire web page, I am sure it is beacause of nested gridviews. How can I export parent and nested gridview data into an Excel sheet? I use the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to implements find() or findById() methods for embeddedId in Play framework I have worked with play framework lately for creating project, thanks you so much for my friends in this forum for your assist. Now days i have a problem in play again. I have some model classes that having unique id (not incremental/def...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Filter a collection multiple times using ICollectionView I'm trying to filter an ObservableCollection that is displayed in a DataGrid. This works great the first time, but when I try to filter again, it uses the sourcecollection instead of the filtered result. Short code example: ICollectionView view = CollectionVie...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to create a proper recursive function for mlm project I've got various solution from SO to create my first MLM project, but now I got stuck in total down-line count (via recursive function), as I've no prior Idea on this, please anyone help me. My Database Table structure is as below (table name member): `member...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I set the maximum number of characters per column using sqlcmd? While using SQL Server Management Studio, I generally do: Query->Query Options->Advanced->SET NOCOUNT Query->Query Options->Text->Enter 8000 in the lower right box Can someone please tell me if there is anyway I could do this using sqlcmd? A: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Windows: How to list all the files in directory and sub directory with full path and creation date I am using the below command but its giving only the full path of the files and not the creation date. Is there any way I can get the full path with creation date also. dir /s /b A: Try this: dir /s /T:C...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create Facebook applications for a company without a personal profile We want to create a Facebook application but do not want that application to be associated with a personal account. Is that possible? Is it possible to create a Business account using the company name, do not attach a personal account to it and cr...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Android - How to save file from server socket to sdcard pdf and jpg...? I made server on my PC and Client on android...I write jpg file through socket and client android read and display successfully. But i want to save that to sdcard. Please help... A: private void copytoSD() throws IOException{ //Op...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: grid view and shared preference android error I am facing few problems while using grid view and shared preference in android. I am using grid view to get the image resource and pass the image resource to next activity to convert that to an image. Activity A contains: code to convert resource image to image in Edi...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where does Android keep SqliteDB of an application runs on a tablet? I could not find the sqlite db file of the application that I am developing runs on a tablet (not on emulator). Please anyone share with me that where does android keep db file of an application. And how do I export it to the computer? And finally ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Panorama item - animate header position There are situations were you have an "extra wide" item in a panorama (item which extends over the boundaries of the screen), but a very short title (header) for it. See, for example, the "recent contacts" in Mango, or some sections of the new Marketplace or Xbox hub. You can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Qt Database content view / manipulation as list view I have a database, which tables should viewed in a widget. Seems simple, but I can't decide what to du or use. Each row of the table should be viewed as one list view item, for instance, imagine table with this fields: id, title, content, date, number. I need to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change this function to make the cookie expire to 30 seconds How can I change this function to expire instead of days in 30 seconds?, I have no idea about this.. and its from Telerik function setCookie(c_name,value,expiredays) { var exdate=new Date(); exdate.setDate(exdate.getDate()+expiredays); document.cookie=c_na...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we send or return char in java webservices using JAX-RS I am new to webservices. I have some services which accept char as input parameter e.g char langPref etc. When I am trying to expose that service it is throwing an exception. Can we send or return char in web services ? A: Try to set an @Produces("text/pla...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Emacs docview: saving/jumping to locations with When using doc-view in Emacs, I'd like to jump to different locations (e.g., move to the bibliography of a paper and back to where I was). I've tried using C-u C-SPC and registers to jump to different locations, but it doesn't work when I'm in doc-view mode. So, do you...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create comma-separated lists in GNU Make I have a Makefile with a set of booleans which must be used to control the flags for an external application. The problem is that the flag must be passed as a comma-separated string. Something like this (non-working pseudo code): WITH_LIST = "" WITHOUT_LIST = "" ifeq ($(BOO...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "19" }
Q: How to do the Hibernate validation on the nested list objects? I need to validate the objects which are stored in the list on my form bean object. Below is my form bean object. public class Role implements java.io.Serializable { // Fields private int roleId; @NotBlank private String roleName; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: refactoring: swicthing from custom data access layer to Entity Framework I am a .NET Developer and as part of a refactoring project, I have a few questions. Our software is currently using an Active Record pattern (one to one mapping between the data objects and the business objects). The bad thing is that the busin...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to search for a pattern within a string? I have a string which contains the following output login;windows db;sql audit;failure how do I check if this string contains the word "audit;failure"? I have use the following code but was not successful: currLine = sr.ReadToEnd(); string[] splited = Regex.Split(curr...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Prevent form from being submitted - jquery? Possible Duplicate: How to prevent form from being submitted? Here is my jquery code: $(document).ready(function() { $("#register").submit(function (event) { var email = $('#email-agency').val(); /* EMAIL VALIDATION */ if (email == ""){ $('#email...
{ "language": "en", "url": "https://stackoverflow.com/questions/7525600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Objective C - FB API "Don't Allow" permission callback Trying to integrate FB to my app. I see that there is fbDidLogin and fbDidNotLogin in the FBLoginDialogDelegate. Is there also a delegate that tell is the user allow or disallow the app after login? Thanks, Tee
{ "language": "en", "url": "https://stackoverflow.com/questions/7525601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }