Search update

60548 results
2

votes
1

answer

Primefaces update only selected tab

I have a situation where I want to update multiple components on a page when a 'select' event is triggered. However, two of the locations are within a tabView, and I only want to update those components if they are within the currently selected tab. I suspect that what I'm looking for is something...
JMecham
2

votes
1

answer

Eclipse 3.8 update site [duplicate]

This question already has an answer here: Eclipse 3.8: where is the download site? 5 answers Where I can find release update site for eclipse 3.8? I need something like this but for 3.8: Indigo - http://download.eclipse.org/releases/indigo/ Juno - http://download.eclipse.org/releases/juno/ Also I h...
zapletnev
4

votes
3

answer

Laravel Composer Update Changed Files

I need to discus a very important thing for me (probably for all users who uses composer in their projects). I am working on laravel. Whenever i work on my local machine, i run composer update after adding new library in vendor. Now it works fine on local machine. But when i upload these files on m...
Maha Dev
7

votes
4

answer

LaTeX output does not update

I have just begun using LaTeX. I am working in Windows and am using TeXnicCenter as my editor. When I build and output, having the following code: \documentclass{article} \begin{document} This is a test document \end{document} I do get a document that has the words 'This is a test document'. If I ch...
Aishwar
8

votes
1

answer

update query in Spark SQL

I wonder can I use the update query in sparksql just like: sqlContext.sql('update users set name = '*' where name is null') I got the error: org.apache.spark.sql.AnalysisException: Unsupported language features in query:update users set name = '*' where name is null If the sparksql does not support...
ZMath_lin
5

votes
2

answer

Progress update in Parallel.For() loops

As you can guess the index of the Parallel.For() loop jumps from one value to the other. How can I estimate the amount of the work done? Thanks.
abenci
7

votes
4

answer

dangerouslySetInnerHtml doesn't update during render

So I made a component for including content-editable components in my app. I copied it from some gist I believe, then edited to what i needed. The code is below. When I edit it, it triggers updates on the parent just fine, but when I attempt to set props.html in the parent, it doesn't reflect in the...
2

votes
1

answer

TortoiseHg shelve-update-unshelve shortcut

Using TortoiseHg Workbench, almost every time I pull from a remote repository, I have uncommitted code changes so that I need to shelve them before I update and then unshelve them again. Is there a way to do this all in one click? I seem to remember being able to do this when I used Git (perhaps wit...
8

votes
1

answer

mongo update query given error

Coll.update(condition, new BasicDBObject('$set', data), true, true)) This is my update query in mongodb for some records it gives result as { 'err' : null , 'updatedExisting' : true , 'n' : 1 , 'ok' : 1.0} and at that time stored update query execute properly. but for some records it give result...
2

votes
1

answer

Mongo bulk update not working

I'm trying to run a number of update operations on my MongoDB. I wanted to use the Bulk update operation specified here, but this doesn't work for me, using pymongo. My code is as follows import pymongo client = pymongo.MongoClient() db = client.test bulk = db.testCol.initialize_unordered_bulk_op()...
danielvdende
2

votes
1

answer

unique index violation during update

I have run into a unique index violation in a bigger db. The original problem occurs in a stored pl/pgsql function. I have simplified everything to show my problem. I can reproduce it in a rather simple table: CREATE TABLE public.test ( id integer NOT NULL DEFAULT nextval('test_id_seq'::regclass), p...
WKarl
2

votes
2

answer

unixODBC PHP Update statement error

I'm using Ubuntu+php+unixodbc+mdbtools for working with .mdb file. Every thing(connection+select) works good, but Insert or Update statements. My code is something like this : $mdbConnection = new \PDO('odbc:mdbdriver',$user , $password , array('dbname' =>$FileName) ); $SelectResult = $mdbConnecti...
Mohamad Rostami
2

votes
2

answer

Windows Anniversary Update (1607) & ComException

I have an application (C#) which uses ComInterop to manipulate and print documents from a 3rd Party App (Corel Draw x8). After Updating to Windows 1607 (Anniversary Update), things stop working immediately with creating my object (cdr = new CorelDRAW.Application();), or with the next line (hiding Co...
Mr. Muh
3

votes
1

answer

Apache Poi update xls file

I am using Apache Poi in an Android application, but I have a problem with the update of xls file. To change the value of a cell where there is already a value I have no problem, but I have a null pointer exeption when I change the value of empty cells. I use the method setCellValue.
user3244162
41

votes
4

answer

Update elements in a JSONObject

Lets say I gave a JSONObject { 'person':{'name':'Sam', 'surname':'ngonma'}, 'car':{'make':'toyota', 'model':'yaris'} } How do I update some of the values in the JSONObject? Like below : String name = jsonArray.getJSONObject(0).getJSONObject('person').getString('name'); name = 'Sammie';
Harry
2

votes
1

answer

Update sonata admin by Composer

I'm trying to update sonata admin by using composer but I have this error Problem 1 - Installation request for sonata-project/admin-bundle dev-master -> satisfiable by sonata-project/admin-bundle[dev-master]. - sonata-project/user-bundle 2.2.x-dev requires sonata-project/admin-bundle ~2.2,>=2.2.9 ->...
Anass Boukalane
1

votes
6

answer

SQL UPDATE SELECT with WHERE

I want to UPDATE a column in a table, but in each row there must go another value dependend on a WHERE of another row. This is how the table looks like. BusinessUnitGUID | ClassName | DefaultGUID 5 | PriceList | 349FDAFD34M 5 | Footer1 | 987IOXG376L 5 | Header1 | 12WQX954MIO...
user1673665
11

votes
4

answer

Symfony2 Doctrine schema update fails

I created database on my local machine. After moving my project to server I imported backup from local (because I had some important data there). Now,when I'm trying to update schema on my server it gives my this output: php app/console doctrine:schema:update --force Updating database schema... [Do...
Maxian Nicu
2

votes
1

answer

Update CSS properties with Ember.js

I'd like to link text inputs with CSS to recreate the WordPress theme (live) customizer, where changing a value in an input update a specific CSS value. I created a {{ Ember.TextField }} in my template, and a tag with the correct CSS declaration with the Ember variable in it, to update the CSS. I g...
5

votes
2

answer

SML record subset and update

Is there an more straight forward way (and less error prone due to maintenance and amount of editing involved), to achieve the same as below, that is: 1) getting a subset of the elements of a record, given the names list of members of interest, 2) and updating a record from a subset record, using th...
Hibou57
3

votes
1

answer

elasticsearch update mapping conflict exception

I have an index named 'myproject-error-2016-08' which has only one type named 'error'. When I hit : GET myproject-error-2016-08/_mapping It returns following result: { 'myproject-error-2016-08': { 'mappings': { 'error': { 'properties': { ... 'responseCode': { 'type': 'string' }, ... } } } } } I need...
Anil Bharadia
7

votes
2

answer

UPDATE an array using PDO

I'm creating a multi-step form for my users. They will be allowed to update any or all the fields. So, I need to send the values, check if they are set and if so, run an UPDATE. Here is what I have so far: public function updateUser($firstName, $lastName, $streetAddress, $city, $state, $zip, $emailA...
Paul Dessert
3

votes
3

answer

kendogrid update not being called

I am facing trouble in mvc c# kendo ui grid. i am trying to call the controller action from kendo update batch update method i am having problem My mvc view is like this .It work fine on calling 'read' but while updating(saving all batch) then it is not hitting in controller: @(Html.Kendo().Gri...
Chandra Bhattarai
4

votes
1

answer

Update directive variable from controller

New to AngularJS I have a simple directive, service and controller. I loop through a list of items from a database in the controller embedded in the directive to render a checkbox list of items. From a form I am able to update my list of items in the database. I would at the same time like to update...
CJe
3

votes
1

answer

Update Excel output using ODS?

I am running a macro program to analyze a data set. In the end of my macro, i used a ODS statement and a proc Report to export my results. What i want is: For each time i run the macro program with a new data set, the results will be updated in a new sheet in the same Excel file, without delete the...
buiquanghai
3

votes
5

answer

C# massive SQL update query

unihere's the scenario: I have a 1.8 million line text file that I need to inject into a SQL table, the code i have works fine, just kind of slow (like 250k lines per day). Unfortunetly I have about 4 text files this size to go threw, so I need a way to speed up the process. Any help would be appr...
2

votes
3

answer

Laravel Update / install composer package

Can you answer me? I use the latest version of Laravel and I want to add to my project the PayPal service. I want to install some package to Laravel and added this 2 rows to composer.json 'guzzlehttp/guzzle': '~5.2', 'paypal/rest-api-sdk-php': '*' My composer.json file { 'name': 'laravel/laravel', '...
Nasser Ali Karimi
8

votes
2

answer

Update controller scope from directive

I am creating reusable UI components with AngularJS directives. I would like to have a controller that contains my business logic with the nested components (directives). I want the directives to be able to manipulate a single property on the controller scope. The directives need to have an isolate...
Brett
2

votes
4

answer

SPListItem Save conflict while Update

(1) var list1 = web.GetList('/lists/list1'); (2) var item1 = list1.GetItemById(10001); (3) ... take breakpoint here, open item with ID = 10001 for edit, change 'Title' fields and save it. Then run code follow: (4)item1[SPBuiltInFieldId.Title] = 'some text'; (5)item1.Update(); row (5) throws save con...
devi
2

votes
3

answer

Update ListView from adapter Instantly

I'm developing an application that shows stock market information. In my application I use listactivity and my own adapter is being used. The listView used to show the stocks is working fine and is updated with correct data. The only problem is, although I use adapter.notifyDataSetChanged(); the...
Daniel
7

votes
2

answer

ON UPDATE CURRENT_TIMESTAMP and JPA

I have an entity with fields @Temporal(TemporalType.TIMESTAMP) @Column(name = 'edit_timestamp', columnDefinition='TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP') private Date editTimestamp; @Version @Column(name = 'edit_count') private short editCount; private String text; When I...
Lee Chee Kiam
4

votes
1

answer

xmlstarlet update value nothing happens

I have an xml file localhost bwserver bwserver 3306 How can i update the value dbUser? When I type xmlstarlet edit --update '/preferences/options/dbUser/' --value 123 preferences.xml nothing happens. I only see the file contents in terminal. The xml file was not touched.
user2114620
2

votes
2

answer

incremental update with symfony/propel

I would like execute a query like this one in symfony using the Propel ORM: UPDATE ADS SET HITS=HITS+1 WHERE ID=10; I know that Propel API can let me set a previously fixed value for a column of a given record, but I definitely don't want to retrieve the column value first before issuing an upda...
Pattchen
2

votes
1

answer

git submodule update per branch

I have a parent (git) project with a submodule (git). However, when I update the submodule in the parent/develop branch, the parent/master branch also contains the updated submodule files... So while I want to test my parent code with the updated submodule code, the updates submodule code already ap...
Dzjost
6

votes
1

answer

Update MusicPlayer SeekBar in Service

I'm trying to update music player SeekBar in service, but nothing happens. The service start ok in my activity and bind correctly (because I can use some of the methods in my service and music play fine). Here is my service code: public class MusicPlayerService extends Service { MediaPlayer myMusicP...
Sasan
2

votes
5

answer

Update query with INNER Join

I have two tables MANUAL_TRANSACTIONS and MANUAL_LIST_TEMP. What I wanted to achieve is to update the MANUAL_TRANSACTIONS with the information from MANUAL_LIST_TEMP. Here only records which is present in the MANUAL_LIST_TEMP table should be updated to MANUAL_TRANSACTIONS. I have done something like...
santhosha
2

votes
1

answer

Laravel update query with cases

I have situation wherein I want to update the boolean field i.e if it is 0 then update it with 1 and vice versa. I have written the mysql query, but I am having little trouble converting it to laravel supported format since I am new to laravel. Following is my query: update super_admins set status =...
Praveen Raikar
3

votes
1

answer

Loopback update model after save

I want to update last inserted/updated document(row) in 'after save' hook without create new instance of that like this: Model.observe('after save', function (ctx, next) { ctx.someProperty = 'Foo'; ctx.update(); }); How it possible?
viam
2

votes
2

answer

DynamoDB update entire column efficiently

I have a dynamo table called 'Table'. There are a few columns in the table, including one called 'updated'. I want to set all the 'updated' field to '0' without having to providing a key to avoid fetch and search in the table. I tried batch write, but seems like update_item required Key inputs. How...
sue
5

votes
2

answer

Error while running Update-Database

I got the following error while running Update-Database -Verbose: Using StartUp project 'WebApplication'. Using NuGet project 'WebApplication'. Specify the '-Verbose' flag to view the SQL statements being applied to the target database. Target database is: 'Frappuccino' (DataSource: (Localdb)\v11.0,...