populate

Equivalent of com.google.android.maps.ItemizedOverlay.populate() for OpenStreeMaps (OSMDroid)

Any idea what's the equivalent of com.google.android.maps.ItemizedOverlay.populate() method in case of OpenSteeMapViewItemizedOverlay ? ...

Django prepopulate form with the fields from the database

i have a privacy form, in wich i am selecting what application should be hidden when one accesses a user's profile. The form contains several checkboxes,and the user checks what he wants to be hidden. What i want is, when a user accesses this form, the form to be an instance of the privacy form already saved, if it exists one. I mean, if...

Populate Excel Child Sheets From Master Sheet

Hi, I have an excel document with a master sheet, as well as several child sheets. My problem is that I need a way to copy content from the master sheet to a corresponding child sheet. Now, for any given row, the value in column B is what decides which child sheet the row in question is copied to. For example, my columns are Compositio...

Is it possible to remember a treeview position if its nodes populate on demand?

Using ASP.net here, I have a treeview whose nodes are populateondemand = true, is it possible to re-open/re-navigate to the node you click on after a postback/navigation away from that page? ...

How do I populate jcombobox from a textfile?

I would like to be able to populate a jcombobox from a textfile. I am using NetBeans 6.9. Any suggestions would be appreciated. Thanks. ...

Any freeware or open source tool to populate database with some dummy values

I have somewhere around 30 tables used in my web application. I need to populate those tables with some dummy values during development. Later once the application is ready we will have the real data. Are there any tools to populate database tables in MySQL with dummy values? ...

Rake db:populate - Simulating a 'calendar of events'

I need to get populator to build me an order history such that: The record has a start_date and end_date Each record specifies a period between 0 and 5 years Events are pretty much consecutive (meaning the end date of record n affects the start date of record n+1) There can be gaps between events (periods of no orders) but no overlaps ...

Rake db:populate - linking to *almost* random records with :offset

This is a simple issue but I have multiple cases in my populate file where I want to set order.link_id to any link where link.job_id = j.id. Order.populate 1 do |order| @links = Link.find_all_by_job_id(j.id) order.link_id = @links.find(:first, :offset => rand(@links.count)).id ... end This produces an error (2 arguments for ...

jqGrid: new data property in 3.7 -- is there a setData method?

My app populates a jqGrid, over and over again, with the results of many different queries the user may make; the queries take the form: give me title, documentCategory, hits, documentType for all documents where the document contains the word 'x'. The user may make many such (ajax) queries, one after the other: Issue query. Read the lis...

How do I populate the AjaxControlToolkit combo box with JQuery using a webservice

Is it possible to populate the AjaxControlToolkit ComboBox with jQuery using a webservice. I want to do this to get away with update panels containing large response data. With this I also want to get the selected data in code behind. ...

jQuery .append ( function(index, html){... } ) question

Let's say we have this unidentified DIV <div class="class-occurs-many-times-on-page">foo</div> and we want to place right after it another unidentified DIV that contains dozens or hundreds of SPAN elements: <div class="a-class-that-occurs-many-times-on-page">foo</div> <div class="another-class-that-occurs-many-times-on-page"> ...

jQuery plugin to populate form controls from a JSON response?

Is there any plugin to populate any form control from JSON data with one command? I have a form with many selects, checkboxes and radiobuttons in it. Almost all controls depend on each other (many dependencies). Which way will be the shortest to describe all relations with controls? Example: Form to choose travel package contains contr...

JavaScript/Ajax: Populate a Hidden Field

Hey, you programmers have been extremely helpful to me in the past, so I thought I'd ask my question here, again. It's probably a simple fix, but I'm new to JavaScript and Ajax. What I have working is Ajax that writes to a a responseText stating, "LOCATION NOT FOUND" if it is not found when a text field loses focus. What I'd like to...

Ajax - How Do I Populate a Hidden Field?

Hi. I'm new to Ajax. I'd like to populate a hidden field on a form with a responseText from the server. I'm able to display the responseText in the HTML as an innerHTML. I'm just unsure how to populate the hidden field on the form. Any suggestions will be greatly appreciated! :) Here's the JS: function getLocation(locationroutin...

Populate drop down list from array using JQuery

Assuming I have this array: Array( [0] => Array( [Brand] => 'Toyota', [Model] => 'Camry', [Color] => 'Red', [Year] => 2002 ) [1] => Array( [brand] => 'Nissan', [Model] => 'Skyline', [Color] => '...

Populating a WPF listbox with items from an SQL (SDF) database

Hi! I have been searching on how to do this for a very long time, and I have not managed to get a straight answer on the subject, so hopefully one of you StackOverflow users will be able to help me here. I have a WPF ListBox named CategoryList and a SDF database called ProgramsList.sdf (with two tables called CategoryList and ProgramsLi...

Grails controllers and domains

I just had a quick question as I'm still learning grails. I have a controller class that just reads a text file and loads a list with information. I'm wanting to populate one of my domains through this list. Am I able to do it like this? For instance, I have a bookController, the controller does something like //psuedocode import book...

Is there a design pattern that would be useful in creating and populating a complex hierarchy of objects generated from an xml schema?

I have a composite object that was generated from an xml schema that I need to populate with data from a database. The generated code doesn't enforce the schema's rules regarding required elements, max occurances, etc. I'd like to create a class (or collection of classes) to help fill in the composite object and ensure when its serializ...

Part of the function code not executing

I have a WPF program built in C#, and part of it's function is populating two ListBox controls. At the Window_Loaded event the program calls the Update() function in order to populate the ListBoxes, but it only executes part of the function. And if I call the function after an append has been made to the file, the function will even cras...

Objective C dynamic array creation

I have an entity which stores generic information about an event. In the entity, the date the event took place is stored. My view hierarchy is such that I want the user to be able to select a year, which loads another view requesting the month in the selected year. This finally opens a view with a record of all the events that took plac...