My Filter
   10 tags on

My Filter

  • All Sites
  • Stack Overflow

1 answer

Struts 2 - Can I access properties of another action which is not on the ValueStack?

I have 2 JSP pages displaying 2 lists from 2 different actions: page A displays employee list, page B displays department list. Both pages have a common text field (included from a third JSP page) …

0 answers

MySQL query to get a list of records depending on year/month/day

I am trying to write a query to get count of the records from my database which has happened in a specific day which is in the table. My query looks like this: SELECT count(id), A.status, ...

22 secs ago
0 answers

How do I get a web page to remeber it's state

i'm trying to get a web page to remember it's state, so that if a user leaves OR refreshes the page the point they have reached isn't lost. I've tried a LOT of different ways and just can't seem to …

28 secs ago
3 answers

How to find next dates of some specific day occured after specific date using java?

String specificDate=2013+"-"+06+"-"+20; String day="Monday"; Find the next date where Monday comes that is after that specificDate?

37 secs ago
4 answers

Deleting users in CRM Dynamics 2011

I'm fully aware that deleting users (SystemUser Entity) in CRM Dynamics 2011 is not supported by Microsoft. However, we're currently developing a tool to support our User Provisioning needs. In order …

1 answer

How to set Validation for a cell in Excel created using NPOI

I have created an excell file using NPOI using following code var workbook = new HSSFWorkbook(); var sheet = workbook.CreateSheet("Candidate"); // Add header ...

45 secs ago
7 answers

How to center <UL> in a list

I've got an issue that I can't resolve. I have a list of lists, like this one: <ul id="nav"> <li> <div class="tabquad"> Item 1 </div> …

59 secs ago
1 answer

Javascript: how to delay the content function

I have Myitem1.MyFunc(); Myitem2.MyFunc(); function MyFunc(){ if (okToUpdate){ //we weren't here from anywhere within the last 100 milliseconds } } Unfortunately, okToUpdate variable is …

0 answers

Using HttpURLConnetion in a continosly called code

this is my simple program that will be responsible to call a webservice running . basically this is responsible to log the event of the application to a webService package com; import ...

1 min ago
1 answer

Stuck substring month and year in excel

I would like to sub string only month and year in excel. In example, A1=01/15/2013, result should be 01/2013 How to to do that in excel Regards,

1 min ago
0 answers

Web server for embeded system

I have to develop a small web application which would be running on a embedded device. There are many light weight servers like thttpd, lighttpd. The functionality I want is something similar to ...

2 answers

Getting old (previous) value from value change events

Why isn't there a possibility to get old value from ValueChangeEvent? It's rather expected from value change event to provide both old and new value. Is there any build-in event type that would ...

1 min ago
0 answers

How to Upload files into UIWebview

Hello i have an url running on UIWebview, were i have a browse option from which i can select files like photos, pdf..etc. But when i run UIWebview and click browse button...it gives exemption Like …

1 answer

Appended loader is shown in DOM but not rendered

I have been adding loaders in my sites usually before a call to the database and therefor usually before using a $.post function. I have never had any problem until now that I face myself trying to …

1 answer

Catchable fatal error: Object of class PDOStatement could not be converted to string in D

i have a problem that really warried me i create a website and I want my users first connect to the site, and then they fill information in a table, and then save the data and redisplay them by id ...

1 min ago
0 answers

exception handling via controller in kohana

I am following the tutorial at http://kohanaframework.org/3.3/guide/kohana/tutorials/error-pages for Kohana 3.3 The following code is at classes/http/exception/404.php <?php class ...

1 min ago
9 answers

Android - copy existing project with a new name

Using Eclipse. Say I have a project 'ProjectA' in the eclipseworkspace (in a folder ProjectA). I want to copy the project but with a new name (ProjectB) and have all the references in the new ...

1 min ago
0 answers

JavaScript & JQuery not working correctly in IE

As a novice at JS I am pretty happy to get a script with the MaxMind API working in webkit browsers, however, IE didn't want to come to the party (and I thought it was only CSS/HTML issues that ...

1 min ago
3 answers

DISTINCT clause on string column in mysql

I used the sql query on MySQL database: SELECT DISTINCT Sp_Name, CONCAT('SP_',Sp_Id) AS searchPayerId FROM ServiceProviders WHERE Comp_Id= 3 AND Sp_Id NOT IN (1,2) AND Sp_Name != '' …

2 answers

Algorithm for comparing two lists

I have a list of objects that I am displaying on the screen. The user can change them as they like, and then hit submit. In the submit method I am taking the original list, which I stored, and the …

0 answers

R cannot be resolved into a variable - Android- Eclipse Fresh Project

Just started development for android and now i have an error as soon as i create a new project which says R Cannot be resolved to a variable I tried rebuilding I tried setting paths I checked XML …

1 min ago
1 answer

How to select id, first_not_null(value1), first_not_null(value2).. on Postgresql

I have a table like this: +--+---------+---------+ |id|str_value|int_value| +--+---------+---------+ | 1| 'abc' | | | 1| | 1 | | 2| 'abcd' | | | 2| | 2 …

1 answer

git hanging on push (broken pipe)

I've been experiencing issues with git in combination with the bitbucket service lately. I recently installed a new version of Ubuntu (after wiping completely). At first I have copied the ssh keys, …

1 min ago
0 answers

Distribute a decryption key through Remote Notification Service on the phone?

I'm trying to use remote notification service(Apple APN or Android GCM) to send info to an app in the foreground(currently running). //This is register the iOS app with Remote Notification Server …

0 answers

PayPal Sandbox test seller always “completed / instant” - I want to test pending

I successfully tested PayPal payments (express checkout) with status "completed" ("instant"). However, I would like to test pending payments. I already set "Review Payments" to "On" (see how do I ...

0 answers

output of getConnectionInfo()

This is the code: wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); final WifiInfo info = wifi.getConnectionInfo(); textStatus.append("\n\nWiFi Status: " + info.toString()); When I …

0 answers

Object reference error running checkbox

I get an Object reference error when I run the code below. I want on check of the checkbox to update a database table. @Html.CheckBoxFor(modelItem => item.ShippingDetail.Shiped, new { @id …

1 min ago
1 answer

SQL Server 2008 Management Console: Automatically write results to a script and execute it

I would like to write a script which produces various statements out of a database. Something like : select 'DROP TABLE ['+ name + ']' from sys.objects where type = 'T' ; I would like to ...

0 answers

How can I read .adb database?

I have to import some data from a couple of .adb databases. What db driver should I use? When opened with a text editor, they all start with "ACS2". I tried all that google found (ability office, ...

0 answers

how can I start Windows XP with the network disabled

Is it possible to start Windows-XP with the network connections disabled, and to manually enable network access only when e.g. getting the email or starting the browser?

15 30 50 per page
1 2 3