WOApplication.setCachingEnabled(boolean)

2012-07-17 Thread Paul Hoadley
Hello, I'm just running over Chuck's talk from WOWODC 12. Reading the Javadocs for WOApplication.setCachingEnabled(boolean) has left me confused about the semantics of this method. In his talk, Chuck recommends setting: setCachingEnabled(true); (in deployment, but not development mod

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Q
Thanks. I haven't got around to actually running this locally yet, it may still have lots of issues. On 18/07/2012, at 12:33 PM, Pascal Robert wrote: > > Le 2012-07-17 à 19:22, Q a écrit : > >> >> On 18/07/2012, at 3:41 AM, Ramsey Gurley wrote: >> >>> On Jul 17, 2012, at 8:28 AM, Markus R

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Cheong Hee (Gmail)
Nope.. I personally don't agree that the fresh installation in community wiki is not good enough. I have done few fresh installation on less popluar windows platform. There is no java, git, gnutar or alike. The installation turn out to be about a day or two, and I am able to start work on hel

Re: D2W tabs question

2012-07-17 Thread David Holt
Would conditionals inside the .plist work? You can set the tab structure based on values in (for example) session. Ramsey showed an example of conditionals ON a given tab in one of his early presentations as well. I think it was "Hello D2W". David On 2012-07-17, at 8:22 PM, Theodore Petrosky

D2W tabs question

2012-07-17 Thread Theodore Petrosky
I am starting a new project with D2W. I am not totally comfortable but with practice comes more practice. This is a 'Project Manager'. A Project belongs to a Category. I want to display the different Categories as tabs however, the Categories can come and go. Basically at start up, I need to re

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Pascal Robert
Le 2012-07-17 à 19:22, Q a écrit : > > On 18/07/2012, at 3:41 AM, Ramsey Gurley wrote: > >> On Jul 17, 2012, at 8:28 AM, Markus Ruggiero wrote: >> >>> WE NEED A WORKING TURNKEY SOLUTION - ASAP! >> >> I would be happy with a working solution. WOLips is totally broken on >> Eclipse Juno. >

Re: Deployment on Linux (jdbc driver pb)

2012-07-17 Thread Ramsey Gurley
On Jul 17, 2012, at 12:30 PM, Kieran Kelleher wrote: >> Or just don't use MySQL ;-) I find it's full of fun little surprises like >> this one. > > LOL - only if you don't read the docs - and yeah, it should be plug and play > with sensible default settings, but what ever is nowadays ;-) Me?

Re: Migrations auto-run issue with shared Entities

2012-07-17 Thread Ramsey Gurley
On Jul 17, 2012, at 6:00 PM, David Avendasora wrote: >> Another important limitation is that you can't have back relationships from >> objects in the shared EC. > > Well, now that's not exactly true, you know. You just can't _use_ the > relationship. See the difference? You don't have to share

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Pascal Robert
Le 2012-07-17 à 21:30, G Brown a écrit : > What do you all think? > > ...Oh, let me explain > > There is documentation for WOLips scattered in the Wonder wiki, the WOLips > wiki, (WebObjects wiki?) etc. > > Why? Would it be a good idea to have it in one place/wiki? And then refer > with

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Farrukh Ijaz
Imagine you are not a swimmer, wearing a life jacket you jump in the pool. Suddenly the jacket deflates and you feel drowning, then you shout for help. Soon after you realize that someone holds your hand, it's Pascal, Chuck, Ramsay, David, ... and then you take your time and become a swimmer to

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Chuck Hill
On 2012-07-17, at 6:30 PM, G Brown wrote: > What do you all think? > > ...Oh, let me explain > > There is documentation for WOLips scattered in the Wonder wiki, the WOLips > wiki, (WebObjects wiki?) etc. > > Why? Would it be a good idea to have it in one place/wiki? And then refer > wit

Re: Installing Tools and Framework is a mess

2012-07-17 Thread G Brown
What do you all think? ...Oh, let me explain There is documentation for WOLips scattered in the Wonder wiki, the WOLips wiki, (WebObjects wiki?) etc. Why? Would it be a good idea to have it in one place/wiki? And then refer with those fancy hyperlink things to that one place? It would see

Re: Migrations auto-run issue with shared Entities

2012-07-17 Thread Chuck Hill
On 2012-07-17, at 6:00 PM, David Avendasora wrote: > > On Jul 18, 2012, at 1:18 AM, Ramsey Gurley wrote: >> >> I believe this has been described as the "EO constant idiot pattern" by >> someone before :-) > > Hey now, don't go spreading that around. I have a patent on that pattern. If > you

Re: Migrations auto-run issue with shared Entities

2012-07-17 Thread David Avendasora
On Jul 18, 2012, at 1:18 AM, Ramsey Gurley wrote: > > I believe this has been described as the "EO constant idiot pattern" by > someone before :-) Hey now, don't go spreading that around. I have a patent on that pattern. If you want to license it, you have to hire me. > Another important limi

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Q
On 18/07/2012, at 3:41 AM, Ramsey Gurley wrote: > On Jul 17, 2012, at 8:28 AM, Markus Ruggiero wrote: > >> WE NEED A WORKING TURNKEY SOLUTION - ASAP! > > I would be happy with a working solution. WOLips is totally broken on > Eclipse Juno. > > I tried running WOLips from source in Juno tw

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Tim Worman
All: It'd be great to have a single install - maintaining such a thing isn't easy. The instructions on the Project Wonder Installation page work for me. They are linked directly from the WOCommunity page. There is also a link on the install page to Golipse. You do not have to install Xcode - y

Re: Recommendation modify EO

2012-07-17 Thread Ramsey Gurley
Hi Hugo, Alternately, you could go with a typical master-detail interface. At the top, you have your list of objects, each with a select button. When you select the object from the list, you see the inspect interface for the object below it. In the inspect interface you have an edit/modify but

Re: Installing Tools and Framework is a mess

2012-07-17 Thread James Cicenia
Besides my half baked install... my jdbc driver problem still persists, I can never seem to get the wolips.properties vs. ant. vs bundles vs wonder code vs frameworks concept figured out or understood. Additionally, Apple's spotlight doesn't search all the directories. I had to learn that the hard

Re: Recommendation modify EO

2012-07-17 Thread Chuck Hill
Hi Hugo, WebObjects is focused on component use and re-use. If you can modify your requirements to "when a user clicks on a piece of data it should become editable", you can replace the WOStrings (wo:str) with wo:AjaxInPlaceEditor from the Ajax.framework. If you really must have it work the

Re: Installing Tools and Framework is a mess

2012-07-17 Thread G Brown
There is also: http://wiki.wocommunity.org/display/WOL/WOLips Getting Started The easiest way to install WOLips is to follow the steps in the Install WOLips with Eclipse Update Manager tutorial. If this is your first time using WOLips, this is the recommended method for installing WOLips. Al

Re: AjaxSortableList question: Edit after reorder?

2012-07-17 Thread James Cicenia
Thanks! That worked like a charm. I had originally tried : AjaxUpdateContainer.updateContainerID("UtilityUpdateContainer"); I would have never figured out that Update function. Thanks again, James On Tue, Jul 17, 2012 at 4:04 PM, David LeBer wrote: > If I understand correctly, the AjaxSort

Re: AjaxSortableList question: Edit after reorder?

2012-07-17 Thread David LeBer
If I understand correctly, the AjaxSortableList only communicates the changed indexes of the items, which are used to update the array on the server. However the list isn't refreshed (the move happens in the browser). Any links/buttons/actions etc embedded in the list items will still reference

AjaxSortableList question: Edit after reorder?

2012-07-17 Thread James Cicenia
Hello - I have an AjaxSortableList. After a user moves a row and then tries to edit it, it grabs the wrong item. Am I missing something obvious? Sortable: AjaxSortableList { list = theList; item = theItem; listItemIDKeyPath = "primaryKey"; id = "list-container-id"; listClass = "sortableList"

Re: Deployment on Linux (jdbc driver pb)

2012-07-17 Thread Kieran Kelleher
On Jul 17, 2012, at 1:21 PM, Ramsey Gurley wrote: > Or just don't use MySQL ;-) I find it's full of fun little surprises like > this one. LOL - only if you don't read the docs - and yeah, it should be plug and play with sensible default settings, but what ever is nowadays ;-) > That's for th

Re: Installing Tools and Framework is a mess

2012-07-17 Thread David Holt
I'll be doing a clean install onto ML in the coming days. I'll make sure that the wiki material is up to date and correct for the new OS as I go. David On 2012-07-17, at 9:46 AM, Pascal Robert wrote: > Hi Markus, > > I do agree that we need to have an installer that will install Eclipse, > W

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Ramsey Gurley
On Jul 17, 2012, at 8:28 AM, Markus Ruggiero wrote: > WE NEED A WORKING TURNKEY SOLUTION - ASAP! I would be happy with a working solution. WOLips is totally broken on Eclipse Juno. I tried running WOLips from source in Juno two weekends ago. There's a compile error in the component editor.

Re: Installing Tools and Framework is a mess

2012-07-17 Thread ISHIMOTO Ken
Hi Markus, Once a time I made an Eclipse & WOLips installer http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/goLipse It is not Golipse, because Golipse didn't work for me. It is installer Package for Eclipse and WOLips. It isn't the fresh state anymore, but can be easily made fresh and repacke

Re: Migrations auto-run issue with shared Entities

2012-07-17 Thread Ramsey Gurley
On Jul 16, 2012, at 7:29 PM, David Avendasora wrote: > Hi Robert and Johan, > > First of all, DON'T DO IT!!! For the love of God and all that is good and > kind in this world, don't do it! > > If you won't not do it for me, then don't do it for Chuck and all the little > fluffy bunnies! Es

Re: Deployment on Linux (jdbc driver pb)

2012-07-17 Thread Ramsey Gurley
Or just don't use MySQL ;-) I find it's full of fun little surprises like this one. That's for the column name tip though. I didn't know MySQL did that... Ramsey On Jul 17, 2012, at 12:03 AM, Cheong Hee (Gmail) wrote: > Strong recommendation here: use lower case. > That will enable you later

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Pascal Robert
Hi Markus, I do agree that we need to have an installer that will install Eclipse, WOLips, Wonder and the core WO frameworks. But we did cleanup the wiki a lot a couple of months ago, so I would like to know which pages on the wiki you followed, because this page: http://wiki.wocommunity.org

Re: Installing Tools and Framework is a mess

2012-07-17 Thread Amy Worrall
On Tue, Jul 17, 2012 at 4:28 PM, Markus Ruggiero wrote: > Contents: > > - Hot tip > - Rant > - Suggestions for a Solution > > I installed everything afresh recently. I had a crash in woinstaller.jar, which led to my having to download the WO frameworks from Apple myself and extract them from th

Installing Tools and Framework is a mess

2012-07-17 Thread Markus Ruggiero
Contents: - Hot tip - Rant - Suggestions for a Solution Yesterday a new intern started and we set out to set up a WO development system. This was a virgin Lion 10.7.3. Fortunately I know what to do but my intern would have given up half way through, even with the latest docs from the wiki. O

Re: Logging on LINUX

2012-07-17 Thread Klaus Berkling
On Jul 17, 2012, at 4:52 AM, Daniele Corti wrote: > > > 2012/7/17 > That was yesterday. > Does this directory need to be writtable by apache? > > I think the directory just have to be writable by the user that runs the > wotask app. > > Check in the monitor the real path for the log file (M

Re: Logging on LINUX

2012-07-17 Thread Ted Archibald
log4j FTW Refer to Paul Yu's presentation (fluffy bunny I think) for a quick outline on how to set it up. On Tue, Jul 17, 2012 at 5:52 AM, Daniele Corti wrote: > > > 2012/7/17 > > That was yesterday. >> Does this directory need to be writtable by apache? >> > > I think the directory ju

Re: Logging on LINUX

2012-07-17 Thread Daniele Corti
2012/7/17 > That was yesterday. > Does this directory need to be writtable by apache? > I think the directory just have to be writable by the user that runs the wotask app. Check in the monitor the real path for the log file (Monitor -> Applications -> App Detail View -> Config -> Output Path)

Re: Logging on LINUX

2012-07-17 Thread jp . malrieu
That was yesterday. Does this directory need to be writtable by apache? - Mail original - De: "Daniele Corti" À: "Jean Pierre Malrieu" Cc: "WebObjects-Dev Mailing List List" Envoyé: Mardi 17 Juillet 2012 11:31:12 Objet: Re: Logging on LINUX Hi, mmm, how much time as passed from you re

Re: WebObjects Training/Boot Camp (was Re: Migrating from EOF to Cayenne)

2012-07-17 Thread Pascal Robert
Le 2012-07-17 à 05:57, Paul Lynch a écrit : > > On 12 Jul 2012, at 02:14, Daniel Beatty wrote: > >> On a side note, do we have cheat sheets or a curriculum from the boot camp >> before WOWODC 2012? As a professor type, I would really love to borrow the >> instructors material to help my own

Re: Logging on LINUX

2012-07-17 Thread Daniele Corti
Hi, mmm, how much time as passed from you restart app and check the directory? I'm asking 'cause, when starting app in JavaMonitor, Log flush is not immediate, for example one of my app has flushed the last logs about 3 hours ago. 2012/7/17 Jean Pierre Malrieu > Hi, > > Sorry for my very basic

WebObjects Training/Boot Camp (was Re: Migrating from EOF to Cayenne)

2012-07-17 Thread Paul Lynch
On 12 Jul 2012, at 02:14, Daniel Beatty wrote: > On a side note, do we have cheat sheets or a curriculum from the boot camp > before WOWODC 2012? As a professor type, I would really love to borrow the > instructors material to help my own students, as I get them. Even if I am > only tutori

Logging on LINUX

2012-07-17 Thread Jean Pierre Malrieu
Hi, Sorry for my very basic questions, but it's been a while since I had to bother about deployment. What are the steps necessary to allow logging for an application deployed on LINUX? I have created a directory, owned by appserver, and told JavaMonitor to log there. But nothing happens... What

Re: Deployment on Linux (jdbc driver pb)

2012-07-17 Thread Cheong Hee (Gmail)
Strong recommendation here: use lower case. That will enable you later to port the database from linux to wndows, vice versa. - Original Message - From: "Jean Pierre Malrieu" To: "Pascal Robert" Cc: "WebObjects-Dev Mailing List List" Sent: Monday, July 16, 2012 9:48 PM Subject: Re: