The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
28 views

Extjs 5.0 grid paging with static data

Pagination is not working for my grid. Could somebody please let me know why. Am making use of static data which is got by reading the xml from controller. I want to display 10 records per page. ...
-1
votes
1answer
36 views

Representing a small number of static objects [closed]

Say I have around 6 "users" and these users are fairly simple in the amount of fields they require to be useful having only 5 simple data type fields each. The users are utilized in many places ...
0
votes
1answer
42 views

Storing static table data as a collection in myBatis

I am using myBatis for my ORM frameowrk.I need to load the data of a static table(for eg country table) into memory and be able to use whenever needed by other business objects.Is there any effective ...
0
votes
2answers
52 views

Other methods of providing static content

Are there any other methods to adding static data to a textview? Example: I currently have an activity friendship.xml and there would be a textview box, the content/text of this is currently defined ...
0
votes
3answers
47 views

Need to store static data in a yml file for syncing with the DB

I have a set of shipping codes that I want to be able to store in our database. I will be adding to this list in the future, so ideally I'd like to have them in a YML fie that I can just add to. I ...
0
votes
2answers
563 views

How can I get a static SQLite database to show up in my listView

I'll start off by listing the code i have thus far... This is my main Activity class: public class SQLiteDatabaseMain extends Activity { ListView list; DatabaseHelper helper; ...
4
votes
3answers
18k views

How to sort an ArrayCollection in Flex

I want to sort an Arraycollection by fieldName as ascending. Here's my code and I want to know whether it's right. Do you have any suggestions? public static function ...
0
votes
2answers
191 views

C++ Logic Bug: Trying to Generate Unique ObjectIDs for all Instances Created, Counter Registering Incorrectly

I am working on a project that must allow all instances created to have a unique objID. All classes inherit from one base class that has a static variable that increments whenever any of the concrete ...
0
votes
1answer
158 views

Integrate dynamic feed into database results with pagination

I have two main data sources I need to do a mashup with in php. The first one is an SQL database and the other is a feed. Both sources contain similar items that need to be sorted by "name" or ...
3
votes
2answers
163 views

is this a good idea with static data

So i have an ever growing system in PHP where i have a static class that takes care of the database connection stuff. <?php class Database { // ... connection upon construction and ...
0
votes
4answers
2k views

Initialize a static non-const data member of a class

I have written the following sample code : class MyClass { static int a; public: MyClass ( int i ) : a ( i ) { cout << " \n ctor called. a is : "<< a << " \n"; ...
2
votes
1answer
415 views

Using Java in Google App Engine, what's the best way to store and access large, static data?

I have my most of my apps "dynamic" data stored in the datastore. However, I also have a large collection of static data that would only change with new builds of the app. A series of flat files ...
0
votes
3answers
97 views

Shipping static data with an iPhone app

I'm making a game and I need to be able to ship some data about the game's various ships and details about them that the app will use. I'm looking for what the ideal way to do this would be. Now I've ...
0
votes
6answers
316 views

Using static variable in function vs passing variable from caller

I have a function which spawns various types of threads, one of the thread types needs to be spawned every x seconds. I currently have it like this: bool isTime( Time t ) { return t >= now(); ...
0
votes
2answers
109 views

Static data on iphone c++

I have data for countries which include Name, Population, Area etc for countries... What is the best way to store them, I was thinking of static arrays in header files ...? I am using c++ primarily ...
0
votes
1answer
78 views

Advise regarding static data in an application and testing

I am working on a pretty typical asp.net web site and using sql server 2005 as database. I have created a Model dll holding the applications typical business logic. The application is dependent of ...