Home > Cannot Determine > Cannot Determine Comparator For Sortfield With Name

Cannot Determine Comparator For Sortfield With Name

Two things I had to do was edit the xml file to point to my server (not localhost or 8500) and the compiler line must reference where CF is running: --services=C:\... Specify Main.mxml as the main page. 5. To get more type specifc, you may want to look into using a data model and check out the validator classes. pgfmathparse basic usage Why do I never get a mention at work? http://skimwp.org/cannot-determine/cannot-determine-comparator-for-sortfield.php

This is one of the virtual hosts. However some of the cells are null. > > We certainly disagree on this:-) > > Since a null is a valid result for all data types, it seems to me I'm having the same issues as Shimju. Atlassian current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.

It is a change to line 36 of the flex-enterprise-services.xml #10Posted by Steve Walker | Feb 2, 2006, 11:50 AM Ben,GreetingsI'm having trouble getting this to run, also.Below is the error bookmarkInvalid=Bookmark no longer valid. Examples might be nvl (0), nvl(99999), nvl(01/01/0001), or nvl(12/31/5600) I realize I must deal with the here and now, so how would you write a generic function to hande this? It also works for completely null columns.

  1. incorrectAddition=Attempt to add an item already in the view.
  2. What line exactly did you change in your xml file?Im running cf and my flex builder on the same box.
  3. The way I handled things is a little inelegant, but reliable.
  4. When I click a second time (descending) I get the > > following > > > > error; > > > > > > > > =============================================================== > > > >
  5. aceoohay RE: [flexcoders] Re: Sorting problem on date and numbe...

As I suspected, I was missing something relatively simple to get the Flash application to use data returned by a CFQUERY. I have followed the instructions to the letter as far as I can tell, twice now. #7Posted by Ryan Guill | Feb 2, 2006, 10:54 AM Ryan,Thanks for the pointer. I thought this might have been fixed but when running the Flex Builder plugin with jre1.5.0_06 this error still comes up...java.lang.RuntimeException: org/apache/xpath/CachedXPathAPIYou can fix by pointing Eclipse to j2re-1_4_2 instead. #17Posted It does NOT move the $a variable inside the callback function.

To use Flash Remoting, specify the following Flex compiler flag in the project properties:--services=C:\CFusionMX7\wwwroot\WEB-INF\flex\ services-config.xml "Beyond that, your observation that there is no flex2gateway folder is another clue, along with your Try JIRA - bug tracking software for your team. BUT there is a getter function called compareFunction, and if no compare function is defined it returns a reference to the internalCompare function. here Perhaps it's my source attribute?

Tested with this code:

It can sort arrays of associative arrays and arrays of objects and I think it would work with some hybrid case.

Example of how the function works:
You add these by right-clicking on the application, then selecting "Properties", then "Flex Applications" from the left-hand nav, then clicking the "Add" button, then holding down the control key and highlighting Ken. I had to replace my web.xml file with the one provided on Drisgill Blog here:http://www.drisgill.com/index.cfm/2006/3/22/Flex-2...Good Luck!Merritt #28Posted by Merritt | Mar 24, 2006, 06:33 PM Having trouble get the Phone Sample

invalidCursor=Cursor no longer valid. # Sort noItems=No items to search. http://skimwp.org/cannot-determine/cannot-determine-the-mep.php In two of my grids I have date > and > > > > number fields that sometimes have no values returned from the > > DB. > > > > As far as I can tell UNC names don't work so you need to have a drive mapped. #8Posted by Steve Walker | Feb 2, 2006, 11:12 AM Im still stuck. Please type your message and try again.

findRestriction=Find criteria must contain at least one sort field value. The app may need some modifications to work in the latest Flex 2 Beta. #34Posted by Tariq Ahmed | Jun 20, 2006, 04:24 PM Chris asked, "if I enable debugging in Show Justin Mclean added a comment - 17/Apr/13 08:53 Fixed already no changes needed. http://skimwp.org/cannot-determine/cannot-determine-comparator-for-sortfield-with-name-flex.php I wonder if all this issue simply boils down to (all of) us needing help better understanding what parts of the Flex Builder Wizard setup steps regard the config of the

Our row data is all dynamic Objects (converted from JSON) -- the call to ValidationHelper.hasData() simply checks if the row is empty. Are there any clean easy-to-follow documents coming out soon? #47Posted by Paul | Apr 16, 2007, 11:00 PM FINALLY! Alex Harui [flexcoders] Re: Sorting problem ...

It's entirely possible that the whole wizard was instead designed with a presumption that the code would only be deployed locally.

Sort on this column will crash with exception below Actual Results: Error: Cannot determine comparator for SortField with name 'policy_score'. Répondre avec citation 0 0 18/12/2009,11h09 #5 Australia Membre régulier Inscrit endécembre 2005Messages270Détails du profilInformations personnelles :Localisation : FranceInformations forums :Inscription : décembre 2005Messages : 270Points : 81Points81 étant débutant http://www.cfcdeveloper.com/index.cfm?mode=cat&...http://www.onflex.org/ted/http://tech.groups.yahoo.com/group/flexcoders/Good luck, Simon #45Posted by Newtriks | Mar 15, 2007, 08:39 AM I'm lost. If the array you wish to sort needs to be sorted by some non-trivial criteria, you should use this function.

Please enter a title. Must be of type XML or a XMLList that contains one XML object. For some reason the fields sometimes contain the dataField String value instead of SortFields, hence the check before setting the 'fields' property: private function compareEmptyAlwaysLast(a:Object, b:Object, fields:Array = null):int { var click site I assume that the built-in comparators will do just fine.

It will remove any existing keys that may have been assigned, rather than just reordering the keys. for each(var org:String in orgNameList) { customerDataList.addItem(org); } Then I just tacked on the 'Create new...' item, like this: if(userIsAllowedToCreateNewCustomer) { customerDataList.addItem(CREATE_NEW); customerDataList.refresh(); } share|improve this answer answered Jan 17 '11 I was able to get mine up and running. Browse other questions tagged flex sorting or ask your own question.

If the value is "ALL" I want it to be first in the list. I have not yet run the example on a remote server myself, but I hope these may help until someone who has responds. I don't assume it is still --services=C:\CFusionMX7\wwwroot\WEB-INF\flex\services-config.xml right? Took me a while to figure out, but it's up and running now! #12Posted by Neil | Feb 6, 2006, 03:53 PM After a little playing around, I got the sample

Have some of the Numbers be null and some be values 3. Again, I don't know the full extent of the answers, but this will at least offer you (and other readers) some info to chew on and your response may offer diagnostics Jump to Line Go Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. aceoohay Reply via email to Search the site The Mail Archive home flexcoders - all messages flexcoders - about the list Expand Previous message Next message The Mail Archive home Add

When I click on one of the datagrid column headers to see what happens, I get the following message:"Cannot determine comparator for SortField with name 'fieldname'."The CFC returns data to a Can a player on a PC play with a a player on a laptop? This sample application is deliberately small and highly focused so as to demonstrate ColdFusion Flex integration options. All Rights Reserved. | Powered by Help | Terms of Use | Privacy Policy and Cookies (UPDATED) | Forum Help | Tips for AskingJive Software Version: , revision: 20160218075410.6eafe9c.release_8.0.3.x Linked

Looking at it another way, many have used RDS features in connection with a localhost to do page creation, and then later deployed that code on a remote server. But unfortunately after loading the initializing bar, nothing is appearing on the screen. #3Posted by shimju david | Feb 1, 2006, 10:44 AM Ben,I re-installed the application, but now Iam getting I don't want to write my own custom comparators. Examples Example #1 usort() example functioncmp($a,$b)

© Copyright 2017 skimwp.org. All rights reserved.