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

Cannot Determine Comparator For Sortfield With Name Flex

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Jump to Line Go Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Modifying the existing sort routines to handle nulls should be fairly trivial. Two things I did:1) Ben's docs on http://www.adobe.com/devnet/flex/articles/coldfusi... http://skimwp.org/cannot-determine/cannot-determine-comparator-for-sortfield-with-name.php

Tested with this code: https://forums.adobe.com/thread/29086

I did test the /flex2gateway both localhost and a virtually hosted website on the box and both respond with a "JRun Servlet Error: 500 No configured channel has an endpoint path You signed in with another tab or window. by. 별따는수야 CATEGORY 분류 전체보기 (361) 소소한 일상 이.. (206) Pen Style (8) 내인생 코미디 (17) 해보자 요리! (7) 렌즈로본 세상 (62) 사랑스런 내조카 (4) me2day (10) 흑백사진 배움터 (3) 여행기 However, after numerous hours, I just can't get this to work when CFMX7.0.2 is running on a remote server.

  1. So, adding a new element will add it to the end of the ArrayCollection.
  2. Internal Server Error LINK 용화님 블로그 splim의 작은 폴더 속의..
  3. In two of my grids I have date > and > > > > number fields that sometimes have no values returned from the > > DB. > > > >
  4. Are there any clean easy-to-follow documents coming out soon? #47Posted by Paul | Apr 16, 2007, 11:00 PM FINALLY!

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:\... up vote 8 down vote favorite OK, I am sorting an XMLListCollection in alphabetical order. I realize you're unsure of what TO put in there, but just clarifying that the error is because of that action.This is discussed in two key points in the article for Suppose my MXML code looks something like this...

There is a great article at: http://www.adobe.com/devnet/flex/articles/hellowor... invalidRemove=Cannot remove when current is beforeFirst or afterLast. The difference between "an old,old vine" and "an old vine" more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile I would just use the URLLoader Doh!There is only so much time in the day to be F-ing around - Please Test your code.Rich #27Posted by Rich | Mar 23, 2006,

The docs say "The source attribute specifies the dot notation to the CFC from the web root(the classpath to the CFC)." But what is my webroot on a shared server? Our row data is all dynamic Objects (converted from JSON) -- the call to ValidationHelper.hasData() simply checks if the row is empty. Specify Main.mxml as the main page. 5. My flex2gateway is set to http://localhost:8500/flex2gatewayI even installed CF with IIS, Apache, tried different port numbers, but after running the app in debug mode the error message was:Error: code:Client.Error.MessageSend string:'Send failed'

Nimer posted an answer. other But I do not know.PS. The Phone Selector application is a very simple example of a ColdFusion powered Flex application. Populate an AdvancedDataGrid with multiple columns, one of which is a "Number" type 2.

invalidIndex=Invalid index: '{0}'. # ListCollectionView unknownProperty=Unknown Property: '{0}'. http://skimwp.org/cannot-determine/cannot-determine-the-mep.php obj1 and obj2 are two objects that represent two rows, and to access the column to compare you need to know the property such as obj1.myDate, or obj[4]. Flex API를 보시면 DataGrid Class에는 SortCompareFunction이라는 것이 있습니다. 오호라~ 요녀석을 사용하면 뭔가 될 듯 하군요. 참. Specify Phone selector as the application name.

I don't want to write my own custom comparators. newenvironment vs newcommand? private function myCompare(a:Object, b:Object, fields:Array = null):int { if(String(a).toLowerCase() == 'all') { return -1; } else if(String(b).toLowerCase() == 'all') { return 1; } // NEED to return default comparison results here? http://skimwp.org/cannot-determine/cannot-determine-comparator-for-sortfield.php I'm sure I haven't set one of the paths correctly.

ColdFusionFlex Comments (49) Remember my information Subscribe (new posts to this thread will be sent to your email address) Error Notice Hi Ben,Is there not a live example to see? #1Posted var s:Sort = new Sort(); var f:Function = s.compareFunction; return f.call(null,a,b,fields); } share|improve this answer answered Sep 2 '09 at 15:03 JD Isaacks 20.8k63224384 1 You may also be able How to take sharper images indoors, scene with all objects in focus?

McConnell #14Posted by Michael | Feb 8, 2006, 02:32 PM Sigh, no luck either.

Now I do not get an error, but the application still just sits there with the clock icon and never loads.Any ideas? 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. Make sure Main.mxml is the default.Sweet! #48Posted by Paul | Apr 16, 2007, 11:27 PM Has anyone figured out all the intracacies of deploying the phones app to a web server? 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

It's a first cut at the tool, I think most would agree.Certainly, we can hope that someone from the Flex team may eventaully surface here to share input. 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 Alex Harui [flexcoders] Re: Sorting problem ... click site I made my uri gateway changes in services-config.xml (as referenced above).here is what LIne 43-44 of my gateway looks like: after messing around with this for a few

nonUnique=Non-unique values in items. private function backupDeveloperMemberSortCompareFunction(obj1:Object, obj2:Object) :int { var fa:String = obj1.backupDeveloperMember.name; var fb:String = obj2.backupDeveloperMember.name; return ObjectUtil.stringCompare(fa, fb, false); } private function backupDeveloperMemberLabel(item:Object, column:Object):String { var retVal:String = item.backupDeveloperMember!=null?item.backupDeveloperMember.name:""; What we have here is an obvious need to get more info on what parts of the setup of the wizard need to reflect the server WHERE THE CODE WILL BE I have other > > text > > > > type fields with nulls that seem to sort correctly. > > > > > > > > This seems like a

If one of the rows returns a null value the the entire row is used as the value. Second, that value is specified in an entry in Flex Builder. After populating the 'voids' in my data I assign it as the dataProvider in ActionScript. Select ColdFusion Flash Remoting Service as the server technology.

In most cases this happens already but values that are numbers are being sorted before "ALL". 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 In the final release, will this services parameter still be needed? So, I spoke to the hosting company and the guy says that my HelloWorld app loads, so that must mean that the environment is setup correctly.

For instance, if you're running IIS on a Windows box, and you're not running the built-in CF webserver, you're running on port 80. If so, then this is why it's failing. I'll drop a note to some contacts I have. Deferring...The warning makes sense because the installer was looking in the wrong directory for web.xml However, when I installed CF under D:\CFusionMX7 that warning was eliminated, but I was still getting

I'm sure his blog entries generate a LOT Of comments for him to wade through. #41Posted by charlie arehart | Jul 24, 2006, 01:14 PM Hi, got the app up and He told me to change the column names in the datagrid to all upper case because that's the way CFQUERY returns the data. These files are: main.mxml, ProductDetails.mxml, Thumb.mxml and Thumbnail.mxml. You can not post a blank message.

No configured channel has an endpoint path '/flex2gatewaynull'. " which would make me think it's properly running the CF stuff. (Not sure how, though - I don't see anythinkg in IIS Default paths and everything.This makes it sound like it couldn't connect on port 8500? It appears that something is being returned by the CFC, but the grid contains only empty rows (one for each element that would have been returned by the query). Or it may be that features for remote deployment, while possible, just weren't exposed readily in the wizard interface.