Re: EOSortOrdering first null

2012-07-18 Thread Farrukh Ijaz
On 2012-07-19, at 9:39 AM, Maik Musall wrote: > > Am 18.07.2012 um 22:00 schrieb Farrukh Ijaz > : > >> Approach 2: This will make 1 db call, uses less memory. It's quite simple >> and easy to understand. The whole idea is to push the nulls at the end with >> minimum instructions. > > It us

Re: EOSortOrdering first null

2012-07-18 Thread Maik Musall
Am 18.07.2012 um 22:00 schrieb Farrukh Ijaz : > Approach 2: This will make 1 db call, uses less memory. It's quite simple and > easy to understand. The whole idea is to push the nulls at the end with > minimum instructions. It uses less memory, but still does the null filtering in Java. I thi

Re: EOSortOrdering first null

2012-07-18 Thread Farrukh Ijaz
Try fetchSpecification.setHints(...) method and see if this can solve your problem? May be there is a way to tell the query optimizer through some hint to use nulls first or nulls last. Farrukh On 2012-07-19, at 9:02 AM, ALEXANDRE Grégoire wrote: > hi, > thanks for your reply, but i don't hav

Re: EOSortOrdering first null

2012-07-18 Thread ALEXANDRE Grégoire
hi, thanks for your reply, but i don't have all my object because i use objectInRange function so when i execute my fetchSpecification i just have the first ten element so i need to have "last null" sql function execute by my fetchSpecification. Le 18/07/12 22:00, Farrukh Ijaz a écrit : I don

Re: Fluffy Bunny question

2012-07-18 Thread Michael Sharp
I use folders for nesting models & eogen files within the Resources directory. I have some frameworks with enough models to make expanding the Resources folder in WO Explorer visually disturbing, so recently tried the nesting approach and haven't had any problems. Running only ERXApplications

Re: WOApplication.setCachingEnabled(boolean)

2012-07-18 Thread Paul Hoadley
On 19/07/2012, at 2:23 AM, Chuck Hill wrote: > Good catch! My recommendations were correct. The JavaDocs are 100% > backwards. I wonder when that happened. Thanks Chuck. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to

Re: Fluffy Bunny question

2012-07-18 Thread John Huss
+1 The tools just aren't robust enough to handle edge cases and aren't likely to change, and even if they did it would be likely to break in the future. Following the crowd is the best approach here. On Wed, Jul 18, 2012 at 4:43 PM, Jesse Tayler wrote: > > obey the bunny! > > On Jul 18, 2012,

Re: Fluffy Bunny question

2012-07-18 Thread Jesse Tayler
obey the bunny! On Jul 18, 2012, at 5:22 PM, arosenzw...@clinworx.com wrote: > Hi WOrriors, > > Sorry for the cross post but it seems these days most questions get asked on > the Apple lists regardless if they are pure Apple related or WOLips / Eclipse > / WOnder related. > > Anyone hav

Re: Installing Tools and Framework is a mess

2012-07-18 Thread Ray Kiddy
On Jul 18, 2012, at 6:36 AM, Pascal Robert wrote: > > Le 2012-07-18 à 09:22, G Brown a écrit : > >> Do you mean: >> >> 1. A User Manual for all wocommunity, and >> >> 2. A Developer Manual for wocommunity? > > No, I mean one wiki space for people who contribute to Wonder and WOLips (and > o

Fw: Fluffy Bunny question

2012-07-18 Thread arosenzweig
Hi WOrriors, Sorry for the cross post but it seems these days most questions get asked on the Apple lists regardless if they are pure Apple related or WOLips / Eclipse / WOnder related. Anyone have some advice for me? I'd like to put my EOModel files into "Resources/model" but fluffy bunny isn

Incremental build - development via Web adaptor

2012-07-18 Thread arosenzweig
Hi WOrriors, Big question: How can I we get an incremental build to embed framework static resources into the app's "build" folder? We're in the midst of converting an app from XCode to Eclipse and have some questions about using either the "incremental" build setting that puts products in the

Re: EOSortOrdering first null

2012-07-18 Thread Farrukh Ijaz
I don't think the API supports this function as it appears to be a vendor specific feature. There are two approaches and you can adapt whatever you like: Approach 1: This will make 2 db calls at minimum and will have more memory consumption. NSArray objects1 = // objects where myDate() is null;

RESTClient Tool I found during the conference

2012-07-18 Thread Robert B. Hanviriyapunt
Hi everyone, I just wanted to share the RESTClient Tool (for Eclipse) I found while I was at the conference. I was just curious if there was anything that would keep me from leaving Eclipse. I am on Windoze so I couldn't use the Mac App used in the presentations. Anyway, I hope it is useful

Re: WOApplication.setCachingEnabled(boolean)

2012-07-18 Thread Chuck Hill
Hi Paul, Good catch! My recommendations were correct. The JavaDocs are 100% backwards. I wonder when that happened. Chuck On 2012-07-17, at 9:44 PM, Paul Hoadley wrote: > Hello, > > I'm just running over Chuck's talk from WOWODC 12. Reading the Javadocs for > WOApplication.setCachingEn

AjaxProxy and AjaxUpdateContainer co-operation fails

2012-07-18 Thread Damian Stasiak
Hi, I'm trying to implement autocomplete javascript for my WO application. I use AjaxProxy and everything looks fine. There is a problem when I try to refresh page using AjaxUpdateContainer. Few first refreshes work fine but then my page get crashed and I have parts of links directly on my pag

Re: Installing Tools and Framework is a mess

2012-07-18 Thread G Brown
On Jul 18, 2012, at 9:36 AM, Pascal Robert wrote: > > Le 2012-07-18 à 09:22, G Brown a écrit : > >> Do you mean: >> >> 1. A User Manual for all wocommunity, and >> >> 2. A Developer Manual for wocommunity? > > No, I mean one wiki space for people who contribute to Wonder and WOLips (and > o

Re: EOSortOrdering first null

2012-07-18 Thread ALEXANDRE Grégoire
Yes but i need MyTable.MY_DATE.descs() // will put nulls at the end MyTable.MY_DATE.ascs() // will put nulls at the end => "nulls last" in sql and i used ERXEOControlUtilities.ObjectInRange... Le 18/07/12 16:14, Farrukh Ijaz a écrit : Hi, Should be something like: MyTable.MY_DATE.descs() //

Re: Multiple AjaxProxy objects on one page

2012-07-18 Thread Damian Stasiak
I finally solved that by changing name and proxyName so I could use in my javascript: window[this.proxyName].autocomplete.getSuggestions(value); I create variable for every autocompleted field and then use personalized proxy. On 7/10/12 11:01 PM, Jean-François Veillette wrote: I'm trying to

Re: EOSortOrdering first null

2012-07-18 Thread Farrukh Ijaz
Hi, Should be something like: MyTable.MY_DATE.descs() // will put nulls at the end MyTable.MY_DATE.ascs() // will put nulls at the first Farrukh On 2012-07-18, at 2:02 PM, ALEXANDRE Grégoire wrote: > hi, > i need to create fecth specification with my null element at the end of the > response

Re: D2W tabs question

2012-07-18 Thread Ramsey Gurley
Just use children /* If children is a keyPath instead of an array, then the value for the keyPath is used to determine the children choices shown. If the keypath evaluates to an NSArray, then the resultant array is used as the children array. If the array evaluates to a String, then that String

Re: D2W tabs question

2012-07-18 Thread Paul Yu
Ted I was able to get behavior like this using wo:CCAjaxTabPanel with a SwitchComponent on the inside. Not sure if that would work for you. -- Paul Yu Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, July 18, 2012 at 10:02 AM, David LeBer wrote: > Ted, > > I don't thi

Re: D2W tabs question

2012-07-18 Thread David LeBer
Ted, I don't think this has anything to do with D2W, The navigation in the current template is based on ERXNavigation. Which is a complex beast with tons of options. Take a look at the code if you want to figure it out. There are multiple ways of handling conditional nav tabs. However, D2W !=

Re: Installing Tools and Framework is a mess

2012-07-18 Thread Pascal Robert
Le 2012-07-18 à 09:22, G Brown a écrit : > Do you mean: > > 1. A User Manual for all wocommunity, and > > 2. A Developer Manual for wocommunity? No, I mean one wiki space for people who contribute to Wonder and WOLips (and other related tools), and another space with everything else (e.g. 95%

Re: Installing Tools and Framework is a mess

2012-07-18 Thread G Brown
Do you mean: 1. A User Manual for all wocommunity, and 2. A Developer Manual for wocommunity? Maybe UserManual would be a better name than Wonder? I would think the Wonder wiki would cover just Wonder, not WOLips, etc. Historically it certainly has been true. Names are important. The name sh

Re: Installing Tools and Framework is a mess

2012-07-18 Thread Jeremy Matthews
Hi...turnkey installer guy here... Did this for a while...got tired of "competing" with WOClipse, Manual installs, etc...felt it was confusing newcomers to have multiple installation methods. When you are new, you don't know which one is "best", and I felt it was not helping the platform. That

Re: D2W tabs question

2012-07-18 Thread Theodore Petrosky
I am reviewing Ramsey's Hello World and paying close attention to the section on the 'conditionals'. From what I see, the conditionals are suggesting that based on a return of a given value, a defined tab will display or not. My problem is that I want the list of tabs to be generated at runtime.

Re: Logging on LINUX

2012-07-18 Thread jp . malrieu
It is logging now. Don't know if it's because it took time to start logging output or if it is because I made the directory "writable" by apache... Thanks to you all. - Mail original - De: "Daniele Corti" À: "jp malrieu" Cc: "WebObjects-Dev Mailing List List" Envoyé: Mardi 17 Juillet 2

Re: Anyone like to transcripti WOWODC podcasts via Mechanical Turk?

2012-07-18 Thread Johan Henselmans
On 13-jul.-2012, at 12:55, Ted Archibald wrote:You can use MTurk by using crowdflower.com outside the US.  I'm in Canada and I use WO app that submits jobs and pulls data from MTurk via crowdflower.  I highly suggest it.  It makes MTurk far easier to use as well. Sorry for the late reply, I got…. d

EOSortOrdering first null

2012-07-18 Thread ALEXANDRE Grégoire
hi, i need to create fecth specification with my null element at the end of the response for example i need tu create this; select * from my_table order by my_date*nulls first*; thanks for reply. -- Grégoire ALEXANDRE Développeur GIP Sym@ris Pavillon 1 27 rue du 4ème RSM B.P. 29 F-68250 ROUF

Re: Installing Tools and Framework is a mess

2012-07-18 Thread Pascal Robert
Le 2012-07-18 à 00:42, Q a écrit : > Thanks. I haven't got around to actually running this locally yet, it may > still have lots of issues. If I try to install it in Eclipse 4.2, I get: Cannot complete the install because one or more required items could not be found. Missing requirement: W

Re: Installing Tools and Framework is a mess

2012-07-18 Thread Robert Hanviriyapunt
I just wanted to add to this thread that I found it useful in getting other developers set up quickly by zipping up my eclipse and giving it to them -- given that they have the rest of the environment (same OS, same java, WO and wonder) On Jul 17, 2012, at 11:42 PM, Q wrote: > Thanks. I haven

Re: Deployment on Linux (jdbc driver pb)

2012-07-18 Thread Daniele Corti
Hi, Or, maybe, you have to manipulate tables with foreign key (so MyISAM is unusable and InnoDB has some, how could you say, "problems" with variable length columns), and millions of records (so MySQL is NOT the solution). After we leave OS X at server side, passing to linux, I've changed to Postg