Sort by new App Property
Hi Experts!!!!!
I am developing an application that it create a new application property... but my problem is how to sort by this property??
any idea??
Thanks in advance!!!!!
Any idea??? I have the same problem!!!
Similar Messages
-
Revision: 7830
Author: [email protected]
Date: 2009-06-14 15:57:29 -0700 (Sun, 14 Jun 2009)
Log Message:
Update ASDoc on the new backgroundFrameRate property to WindowedApplication, to by default reduce the CPU usage in cases where an app is not 'active'.
Bugs: SDK-21135
Reviewer:
QE Notes:
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-21135
Modified Paths:
flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. asBy the way, I agree with sybrand: you need to tune
your redo log size.
Regards
Ignacio
http://oracledisect.blogspot.com
Ignacio,
The excessive waits on log file parallel write and the related client wait of log file sync may be due to insufficient CPU availability, and may not point at an actual redo log size problem or a problem with the disk speed where the redo is written to disk, especially if there are 3 Oracle instances on the server with a single CPU.
Paraphrased from "Optimizing Oracle Performance":
The log file sync wait event is one of the first events to show increased latencies due to the time a process spends waiting in a CPU wait queue while processing excessive logical IOs.
Kevin Closson wrote a couple blog entries that examined the potential problems of insufficient CPU capacity and its effects on log file parallel write when writing to solid state disks, and even when writing redo was explicitly disabled:
http://kevinclosson.wordpress.com/2007/07/21/manly-men-only-use-solid-state-disk-for-redo-logging-lgwr-io-is-simple-but-not-lgwr-processing/
"Once LGWR loses his CPU it may be quite some time until he gets it back. For instance, if LGWR is preempted in the middle of trying to perform a redo buffer flush, there may be several time slices of execution for other processes before LGWR gets back on CPU..." Fix the CPU problem, and the other significant waits may decrease.
JesusLuvR,
yingkuan's suggestion to look at the SQL statement that performs the 4,365,564 logical IOs, consumes 186.03 CPU seconds, and has an execution time of 225.06 seconds, is likely a very good starting point. You might also want to check the value of the SESSION_CACHED_CURSORS parameter to see if it needs to be adjusted.
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
Whenever I updated or downloaded a new app from the App Store, a message appears saying:
"Account Not In This Store
Your account is not valid for use in the U.S. store. You must switch to the Swedish. store before purchasing."
I made some research online and asked a few of my friends with the same problem. All they did was sign out of iTunes from settings>iTunes & App Stores or from the App Store itself and signed back in. It worked for many of them but not with my iPhone 4s. It really does get on my nerves to always sign out and back in to the App Store as it sometimes works and allows me to update and download or most of the time it doesnt.
When viewing my Apple ID account on my iPhone (after entering the password) it either views my account or says:
"This Apple ID is only valid for purchases in the U.S. iTunes Store. You will be switched to that Store. Try your purchase again."
So I press on OK then either switches me to the App Store app of its choice, or says "Cannot connect to iTunes Store".
I tried restoring iOS6 hoping it was a bad installation, but i still have the same problem.
Can anyone help me please?
ArianAre you sure your AppleID is NOT tied to the US store? If you are trying to buy an app from the Swedish store you will be unable to do that. Some apps are only available on certain stores. That is why you get the "Cannot connect to the iTunes store" message when trying to buy that app. Your updates are being done from the US store ; thats why you can update sometimes and sometimes not.
If you keep encountering problems contact iTunes support. They will help you sort it out. -
Check for New Apps. ?
Is there someplace to go to check for New Apps. or Top Apps.?
Actually, Allan, I've found "New & Noteworthy" to be disappointing. To really find the good stuff I look at each category and sort by Release Date.
You left out part with your snip.
With iTunes on your PC, go to the App Store.
At the top is a New & Noteworthy section.
*After selecting See All, you can sort by release date.*
And why didn't you provide this with your first post instead of just
In iTunes check iTunes App Store.
? -
Performance - using JDBC call with 'order by' vs sorting data on app server
Hello! I need some valid thoughts on the performance of using a JDBC call versus processing information on the application server.
Here is the somewhat simplified scenario:
I need to retrieve customer information (name, e-mail, telephone), display it in HTML format and then be able to redisplay it in a different order. For example, initially the list would be displayed sorted by last name, but then a user might choose to sort it by e-mail address. Initial call to DB uses 'order by' in the SQL stmt to get me the initial ordering by last name. Results are stored in 2D array. However, when a user selects a different sort I have two options:
1) just make another call to the DB with a different order by clause. This means I need to create a DB connection, connect to DB, retrieve the results and read them from result set into a 2 dimensional array
2) re-sort data in the 2D array populated during the initial call. This means I need to use java.util.Arrays.sort(my_2D_resultsArray, my_custom_comparator)
Question is : which is more efficient? Number of entries retrieved can be anywhere from 0 to a few thousands (depending on other filters such as customer's country). My feeling is that option umber 2 is better, but I would like to get your opinion.
Thank you!Good points! Thanks! I ran a test (see code below) and it takes less than a second to sort 2000 Strings and 2000 nulls. The only thing I ran the test at a UNIX prompt as oppose to from within app server (Weblogic). I expect the speed to be compatible though. Do you think that test was valid and tells us that sorting on the app server is probably faster than doing another SQL query?
import java.io.*;
import java.math.*;
import java.util.*;
import java.util.Arrays.*;
public class Test {
public static void main(String[] args) throws Exception {
Test test = new Test();
test.testSortingPerformance();
public void testSortingPerformance() {
Object[] objArray2 = new Object[]{};
Vector v = new Vector();
Date start, end;
java.util.Random rd = new java.util.Random(2000);
for (int i = 0; i < 2000; i++){
v.add(new Object[]{new String("" + rd.nextInt())});
v.add(new Object[]{null});
objArray2 = v.toArray();
Object[] innerObjArray2 = new Object[]{};
MyComparator2 myComp = new MyComparator2();
start = new Date();
java.util.Arrays.sort(objArray2, myComp);
end = new Date();
for (int i = 0; i < objArray2.length; i++) {
System.out.println();
innerObjArray2 = (Object[])objArray2;
for (int j = 0; j < innerObjArray2.length; j++) {
System.out.print(innerObjArray2[j] + " ");
System.out.println(v.size());
System.out.println("Start " + start + " End " + end);
import java.util.*;
public class MyComparator2
implements Comparator {
//position in the inner array to use for comparison
private int position = 0;
//default empty constructor
public MyComparator2() {
//implement compare method
public int compare(Object o1, Object o2) {
Object[] strAr1 = (Object[]) o1;
Object[] strAr2 = (Object[]) o2;
if (strAr1[0] == null){
if (strAr2[0] == null){
return 0;
else{
return -1;
else if (strAr2[0] == null){
return 1;
return ( (String) strAr1[0]).compareTo( (String) strAr2[0]); -
Why don't new apps appear on the first home screen page?
I like keeping a very minimal home screen (six folders and that's it). Every time I download new apps, they appear on a second page even though there are plenty of slots left on the first page. I then have to move them back - one by one - to the first page again and sort them into folders. Is this a bug, or is there some reason why it should work like this?
From my observation, what you're seeing is the way it works. I have a few empty slots on my first page. When I download apps, they don't go there. They go to whatever page after that has space. I suspect Philly_Phan is probably on to something. I know I only keep the things I use a lot on my first page. I wouldn't want it getting clutter with every free game I downloaded to try out.
You could submit a suggestion to Apple requesting that it work differently:
http://www.apple.com/feedback
Best of luck. -
Hi all
<b>Can we sort the news items created using Xml Form Builder based on the Title in the display iview? </b>
We are using the KM navigation iview for rendering the news and the user has to get the options for <b>sorting based on news title,date</b> etc in a dropdown in the top of the iview.
(My problem is similar to the sorting options given for the discussion iview. Similar to the options like sorting based on title,author,modified etc provided for discussions we want the same for the news items also.)
Thanks for any help in advance
GeogiHi Geogi,
You can sort the News items based on Title. For this, you have to find out the layoutset of your iview. Then go to System Administration -> System Configuration -> KM -> CM -> User Interface -> Settings -> LayoutSet. Then select your layoutset. There you will find Collection Renderer. Clicking on the collection renderer will take you to the details page of collection renderer. On the details page, click on Edit button and when the form is editable, click on "Show advanced options" link. There you will see two properties, Property For Sorting and Sorting Mode. For Property For Sorting give the value : <b>cm:displayname</b> and select the appropriate sorting mode.
This should do the job for you.
Try and get back.
Ranjith
For your second question, i.e. providing a drop down box for selecting the property on which to sort, I think you will have to go for a new layoutset. I am not sure if you can use the existing layoutset to get this functionality. Anyway I'm not sure about this. Let's wait to see what other SDNers have to say about that.
Ranjith
Message was edited by: Ranjith Vijayan -
Sorting KM news / xml forms
I've created xml forms / news.
The publication is working fine but,
- the news are sorted by News name
and I would like to change the sorting
- or by creating date
- or by a specific field of the news' data model
Does someone have experience with this ?
Kind regards
VincentHi Vincent,
It appears the default setting for the "NewsBrowser" are as follows:
Property for Sorting: modified
Sorting Mode: descending
This means the default NewsBrowser will renders all news articles
on the last modified date in descending order where the property
id modified maps to the property cm_modified.
There is no property existing called "date", if you wish to sort
the news articles on the creation date the property id you would
use is created which maps to the property cm_created, so you
parameters would look like this:
Property for Sorting: created
Sorting Mode: descending
Did you tried above configrations?
Best Regards
Anjali -
Unable to purchase new apps from the App Store
Since updating to the latest iOS I am unable to DL new apps from the App Store.
Might be an error of some sort, try logging out of your iTunes account on your iDevice and logging back in and see what happens
-
I got a new iPod Touch today. I wanted to transfer all my apps and data over to the new iPod from my old one, so I restored it from my old one. Unfortunately, it seems to have erased the new apps that come with the latest iPod. What do I do to get the back?
Maybe I'm confusing apps with function. I was looking at the features on Apple's site, and it showed Voice Control, Air Print, Air Play, that sort of thing.
-
RESET PASSWORD CONSTANTLY. SEEMS LIKE ITS OUT OF SYNC WITH ITUNES, HAVE GONE BACK TO THE FACTORY SETTINGS AND HAVE SYNC AGAIN WITH ITUNES SUCCESSFULLY
WHEN EVER i TRY TO DOWNLOIAD AN APP IT WILL REJECT THE PASSWORD. HAVE RESET THE PASSWORD SEVERAL TIMES. STILL CANNOT DOWNLOAD ANY NEW APPSI'm having the same problem with my iPad Mini. I've decided after many attempts that it's Apple's problem, since I have no problem accessing the store and making purchases through my other devices. It's saving me a lot of money not being able to buy new apps and in-app purchases. And I'm not going to waste any time with Apple Support on it. They want my money, they can figure it out all on their own. Maybe Samsung is better with this sort of hiccup...
-
Bought new apps (twice) but no download
First off, I updated to 7.6 and latest firmware version for my Touch. Then I purchased the new apps (twice) but nothing happened. It never showed up as downloading and clicking sync doesn't work either. I tried sync while set to Manual Manage and Auto Manage but still nothing. I assume the download never happened, servers too busy maybe? I reported the duplicate purchase as a problem but will I ever get to download?
UPDATE: I went back and tried the SYNC again with Manual Manange unchecked. It gave me an error b/c all of my music won't fit on the 16GBs but it installed the update anyway.
Thanks
Message was edited by: rzrbacksI had a similar problem.
I purchased the touch software update via the iTunes store, it told me to just sync again and it would all be lovely. I noted that no download occurred which was worrying and therefore syncing did nothing. Thinking the purchse may have failed somewhere I tried again with the same problem, no new software synced to my touch.
The update site was obviously having trouble as everytime i tried to connect by hitting the 'Check Updates' button on the iTunes touch info screen it errored with a nice -02 sort of error.
I connected my touch about an hour later and magically a download started and subsequent software install. Seems it was the update site being down (probably from getting hammered) was the problem.
The consequence of all this ofcourse is that I purchased the upgrade twice after thinking the first one had failed. I'm trying to work out how to get it sorted and to speak to someone as I don't have iTunes on my work computer. -
How to download new apps for an iPad
I have just bought an iPad and have this issue - I can't seem to find how to get new apps. The standard advice I've found trawling around online is the following:
1. Launch iTunes on your computer,having upgraded to the latest version
2. Connect your iPad to your computer.
3. Select the Apps tab in the menu.
4. Under the list of apps on the left make your choice of a cornucopia of apps
5. Click the Sync button bottom right side of the iTunes window.
Well, I keep doing the above, and get as far as point 4, but the left hand list of apps is completely empty, and what I assume is intended to be a pull down menu is greyed out, displaying only "sort by kind". So I can't get any programmes.
Any ideas please?This may be of help:
http://support.apple.com/kb/HT2001
You can also purchase apps directly from your iPad. See Chapter 15 of the iPad User's Guide:
http://manuals.info.apple.com/enUS/iPad_iOS4_UserGuide.pdf
Regards. -
No new apps in App Store?
I haven't seen any apps in the App Store with a release date later than August 25th -- since I can't believe no new apps have been submitted in several days, I have to guess that there's a problem with the Store or with my touch. I've shut down and restarted my touch, but still no joy. Does anyone know what's up with this, either at Apple's end or how to fix it at mine? Thanks.
Yes, that's what I mean: I've sorted by release date for several categories (Games, Entertainment, Utilities, Weather, Books, and Medical) and not a single one has an app released after August 25. I simply can't believe that there hasn't been a single release in *any* category (well, those anyway) in over 4 days, unless something's gone awry at the App Store level....
-
I have a Nokia N86 8MP
I have a problem installing new apps to the phone
Here is the process i follow
1. Send app from OVI store to my phone - Successfully
2 . Text message received containing download link
3. Open link - Link opens successfully
4. Click on download button
Now this is were the problems start
Nothing downloads and the screen just goes back to the text LINK
Any help would be great
Regards
DaveNow sorted -
Maybe you are looking for
-
Hello! I'm using a horizontal spry menu bar with horizontal sub menu and have almost gotten the navigation exactly how I need it. I'm stuck, however, and don't know how to fix the following: 1. I have absolute positioning set for my sub menu so that
-
Iterate through the child Objects in a components
I have a custom component named myComp that has three TextInputs. And in the main application there is a button that adds this component dynamically to the VBox named myVBox, I would like to know how to iterate through the added components and show t
-
Windows 2008 R2 DHCP management pack
i got the windows 2008 R2 DHCP management pack installed but one of my dhcp server is 2008. Will this mp monitor 2008 DHCp server? one of my dhcp cluster went down and service was stopped but there was no alert . what is the problem?
-
Discoverer Migration issue - Calculation item changes
Hi All, In the development environment, I made some changes to the Calculation item in the existing Discoverer Workbook. It works in fine in DEV. But when I try to migrate (overwriting the existing workbook) it to ST environment (by opening it in Dis
-
ITunes shows me an error, what to do?
Hi, thanks for reading what im going to write. My father recently bought a iPod Nano for my little sister, and when I downloaded iTunes 7.5 and install it, I ran it and it showed me an error, can you help me please? This is the error: C:\DOCUME~1\Nar