Re: new system: all installed, but eogeneration is a no-op
well, use Eclipse Classic and Subclipse -- otherwise the same as me. Subclipse I recall is problematic and could be your problem. On Tue, Jan 24, 2012 at 2:16 AM, Mark Gowdy go...@mac.com wrote: Joe, While your install is still fresh in your mind, may I ask you a quick question: I just installed a similar set-up, but periodically, my system simply hangs (usually just after I save a java file). I am trying to figure out what is responsible. I have installed: Eclipse 3.7.1 (64-bit) eclipse-jee-indigo-SR1-macosx-cocoa-x86_64 also tried eclipse-java-indigo-SR1-macosx-cocoa-x86_64 WOLips: Current: (For Elipse 3.7) http://webobjects.mdimension.com/hudson/job/WOLips37Current/lastSuccessfulBuild/artifact/site/ WebObjects 5.4.3 SVN + JavaHL http://www.open.collab.net/downloads/community/ - Universal Subversion 1.6.17 Binaries for Lion (Mac OS X 10.7) - Subversion JavaHL Native Library Adapter Subversive: From: Eclipse : Help - Install New Software Indigo - http://download.eclipse.org/releases/indigo Subversive SVN Team Provider (Incubation) 0.7.9.I20110819-1700 (I also did an Eclipse check-for-updates, which downloaded a newer WOLips - it was hanging before I did that, as well as after) Is there anything in that list that sounds wrong? Did you use any alternatives? Regards, Mark On 24 Jan 2012, at 06:05, Joe Little wrote: Solved myself looking at the list. Its the 3.7 refresh issue as well as the defaults of eogen setting complete paths to the source tree and not just Sources. On Mon, Jan 23, 2012 at 9:29 PM, Joe Little jmlit...@gmail.com wrote: So, I haven't brought the full old config with all my frameworks over to my macbook air. Time to start a new project with an old model, so I got Eclipse 3.7, the matching wolips, and the latest Wonder binaries (Jan 19th apparently). All in place, Wonder project builds find. However, creating a Wonder Framework and adding my eomodeld, I created the eogen file, and then run eogenerator. It runs in a blink of a second, but never a source file is generated. No logs -- where would one begin to look? odd ball one here that makes me feel like a novice all over again. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/gowdy%40mac.com This email sent to go...@mac.com On 24 Jan 2012, at 06:05, Joe Little wrote: Solved myself looking at the list. Its the 3.7 refresh issue as well as the defaults of eogen setting complete paths to the source tree and not just Sources. On Mon, Jan 23, 2012 at 9:29 PM, Joe Little jmlit...@gmail.com wrote: So, I haven't brought the full old config with all my frameworks over to my macbook air. Time to start a new project with an old model, so I got Eclipse 3.7, the matching wolips, and the latest Wonder binaries (Jan 19th apparently). All in place, Wonder project builds find. However, creating a Wonder Framework and adding my eomodeld, I created the eogen file, and then run eogenerator. It runs in a blink of a second, but never a source file is generated. No logs -- where would one begin to look? odd ball one here that makes me feel like a novice all over again. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/gowdy%40mac.com This email sent to go...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
new system: all installed, but eogeneration is a no-op
So, I haven't brought the full old config with all my frameworks over to my macbook air. Time to start a new project with an old model, so I got Eclipse 3.7, the matching wolips, and the latest Wonder binaries (Jan 19th apparently). All in place, Wonder project builds find. However, creating a Wonder Framework and adding my eomodeld, I created the eogen file, and then run eogenerator. It runs in a blink of a second, but never a source file is generated. No logs -- where would one begin to look? odd ball one here that makes me feel like a novice all over again. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: new system: all installed, but eogeneration is a no-op
Solved myself looking at the list. Its the 3.7 refresh issue as well as the defaults of eogen setting complete paths to the source tree and not just Sources. On Mon, Jan 23, 2012 at 9:29 PM, Joe Little jmlit...@gmail.com wrote: So, I haven't brought the full old config with all my frameworks over to my macbook air. Time to start a new project with an old model, so I got Eclipse 3.7, the matching wolips, and the latest Wonder binaries (Jan 19th apparently). All in place, Wonder project builds find. However, creating a Wonder Framework and adding my eomodeld, I created the eogen file, and then run eogenerator. It runs in a blink of a second, but never a source file is generated. No logs -- where would one begin to look? odd ball one here that makes me feel like a novice all over again. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
AjaxObserveField and checkboxes
I have some actions taken from an AjaxModalDialog, so it would figure that I need to use an AjaxObserveField to monitor checkboxes to change those values, as otherwise they are never received due to the AMD. What I've tried after reading the docs (http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/ajax/AjaxObserveField.html) leads me to this, but I'm not getting the togglePromoteWithAssign to fire. Here's my html: span id=promoteAssignwebobject name=PromoteWithAssignmentsCheckBox/ with Assignments/spanwebobject name=PromoteAssignObserveField/ and the wod: PromoteAssignObserveField: AjaxObserveField { observeFieldID = promoteAssign; action = togglePromoteWithAssign; } PromoteWithAssignmentsCheckBox: WOCheckBox { checked = promoteWithAssignments; } ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: AjaxObserveField and checkboxes
Thanks. On the right path now. On Wed, May 4, 2011 at 11:04 AM, Johann Werner j...@oyosys.de wrote: Hi Joe, the observeFieldID in your example references the id of the enclosing span but should be–as the name implies–the id of the field to observe: the checkbox ;) remove the id from the span tag, put it into the bindings of the WOCheckBox and try again. jw Am 04.05.2011 um 19:39 schrieb Joe Little: I have some actions taken from an AjaxModalDialog, so it would figure that I need to use an AjaxObserveField to monitor checkboxes to change those values, as otherwise they are never received due to the AMD. What I've tried after reading the docs (http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/ajax/AjaxObserveField.html) leads me to this, but I'm not getting the togglePromoteWithAssign to fire. Here's my html: span id=promoteAssignwebobject name=PromoteWithAssignmentsCheckBox/ with Assignments/spanwebobject name=PromoteAssignObserveField/ and the wod: PromoteAssignObserveField: AjaxObserveField { observeFieldID = promoteAssign; action = togglePromoteWithAssign; } PromoteWithAssignmentsCheckBox: WOCheckBox { checked = promoteWithAssignments; } ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Fwd: D2W display rules for relationships
Just seeing if this can be answered Begin forwarded message: From: Joe Little jmlit...@gmail.com Date: April 27, 2011 1:18:36 PM PDT To: Ramsey Gurley rgur...@smarthealth.com Cc: WebObjects-Dev Mailing List List webobjects-dev@lists.apple.com Subject: Re: D2W display rules for relationships Thanks. One thing I noticed is that from Inspect pages, if I add an action like the below, instead of going to the new InspectAffiliate page, I get the ajax quick progress effect and no new page. The generated page has javascript:void(0) when I hover over the inspect. Does a rule need to exist to enable actions from Embedded pageConfigurations? On Tue, Apr 26, 2011 at 3:51 PM, Ramsey Gurley rgur...@smarthealth.com wrote: If you're using an embedded list, you can add actions like: 100: pageConfiguration = 'ListEmbeddedAffiliate' = actions = {left=(inspectAction);right=();} Ramsey On Apr 26, 2011, at 3:40 PM, Joe Little wrote: Here's another one. If I have an edit page for an entity, my relationships should up with Edit/Inspect buttons. If, however, I inspect an entity, I get neither of those buttons and thus can't inspect (or get full details like I want) for the relationship. There is some default rule that likely causes this, but I'm not smart enough obviously to figure it out. In the current case, I have a ERMODListPage coming from a ListEmbeddedAffiliate that has no buttons, but the inspect/edit buttons come with a ERMODEditRelationshipPage from the EditRelationshipEmbeddedAffiliate. On Tue, Apr 26, 2011 at 3:22 PM, Joe Little jmlit...@gmail.com wrote: worked like a charm.. on to my other problematically displayed fields.. On Tue, Apr 26, 2011 at 3:11 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:56 PM, Joe Little wrote: Lets focus on *Note pages and their display of Projects (one to one).. That answer is ERD2WDisplayToOne or ERMDEditRelationship ERD2WDisplayToOne is going to use keyWhenRelationship. ERMEditRelationship embeds an ERMODEditRelationshipPage so it will get it's on copy of the d2wContext and it's own pageConfiguration. So use a rule something like: pageConfiguration = 'EditRelationshipEmbeddedProject' = displayPropertyKeys = (name) [Assignment] If you need to qualify further (i.e: change the displayPropertyKeys depending on what the parent object is) you can add an 'and' to something like: parentPageConfiguration = 'EditNote' Note: Typed directly into mail, YMMV, it's the end of the day, don't quote me, look... bunnies! On Tue, Apr 26, 2011 at 2:41 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:34 PM, Joe Little wrote: I'm trying to get any Projects that have Notes to display just the noteText, and likewise, all Notes to display just the project Name for their relationships, but its always shows all the fields. (pageConfiguration like '*Project' and propertyKey = 'notes') = displayPropertyKeys = (noteText) (pageConfiguration like '*Note' and propreryKey = 'project) = displayPropertyKeys = (name) Don't seem to have any affect. Any clue to what I'm doing wrong? I used the D2W inspector, and those should be the rules for what I have. What component is being used to display the relationship to Notes for a Project, and what component is displaying the Project for a Note? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W pull downs for toOne relationships aren't behaving as I'd expect anymore
Thanks. I found http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/directtoweb/components/relationships/ERD2WQueryToManyRelationship.html Which does gives the toOneUIStyle option, but what are the assignable values? You gave me popup, but I'm hoping to be able find these possible values, and I'm not getting anywhere without clues each time I look thinks up. On Wed, Apr 27, 2011 at 3:42 AM, David Avendasora webobje...@avendasora.com wrote: Hi Joe! You have missed the rule that tells D2W what UI style to use for the ERD2WEditToOneRelationship component. 25 : (pageConfiguration like '*EmbeddedAffiliate' and propertyKey ='company') = toOneUIStyle = popup [com.webobjects.directtoweb.Assignment] That should get you the popup instead of the radio buttons! Note: The Radio Button UI Style could use some CSS love... :-) Dave On Apr 27, 2011, at 12:13 AM, Joe Little wrote: I have one working pull down I created before, but whenever I try to add another using the same scheme, I'm getting a ugly check box selection vs a pull down list, as seen from the attached. The rule I was using was: 100: (pageConfiguration like '*EmbeddedAffiliate' and propertyKey = 'company') = componentName = ERD2WEditToOneRelationship *Assignment* I'm trying to make company a pull down selection, but I end up with the attached for both CreatedEmbeddedAffiliate and EditEmbeddedAffiliate. Screen shot 2011-04-26 at 9.09.48 PM.png ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W display rules for relationships
Thanks. One thing I noticed is that from Inspect pages, if I add an action like the below, instead of going to the new InspectAffiliate page, I get the ajax quick progress effect and no new page. The generated page has javascript:void(0) when I hover over the inspect. Does a rule need to exist to enable actions from Embedded pageConfigurations? On Tue, Apr 26, 2011 at 3:51 PM, Ramsey Gurley rgur...@smarthealth.com wrote: If you're using an embedded list, you can add actions like: 100: pageConfiguration = 'ListEmbeddedAffiliate' = actions = {left=(inspectAction);right=();} Ramsey On Apr 26, 2011, at 3:40 PM, Joe Little wrote: Here's another one. If I have an edit page for an entity, my relationships should up with Edit/Inspect buttons. If, however, I inspect an entity, I get neither of those buttons and thus can't inspect (or get full details like I want) for the relationship. There is some default rule that likely causes this, but I'm not smart enough obviously to figure it out. In the current case, I have a ERMODListPage coming from a ListEmbeddedAffiliate that has no buttons, but the inspect/edit buttons come with a ERMODEditRelationshipPage from the EditRelationshipEmbeddedAffiliate. On Tue, Apr 26, 2011 at 3:22 PM, Joe Little jmlit...@gmail.com wrote: worked like a charm.. on to my other problematically displayed fields.. On Tue, Apr 26, 2011 at 3:11 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:56 PM, Joe Little wrote: Lets focus on *Note pages and their display of Projects (one to one).. That answer is ERD2WDisplayToOne or ERMDEditRelationship ERD2WDisplayToOne is going to use keyWhenRelationship. ERMEditRelationship embeds an ERMODEditRelationshipPage so it will get it's on copy of the d2wContext and it's own pageConfiguration. So use a rule something like: pageConfiguration = 'EditRelationshipEmbeddedProject' = displayPropertyKeys = (name) [Assignment] If you need to qualify further (i.e: change the displayPropertyKeys depending on what the parent object is) you can add an 'and' to something like: parentPageConfiguration = 'EditNote' Note: Typed directly into mail, YMMV, it's the end of the day, don't quote me, look... bunnies! On Tue, Apr 26, 2011 at 2:41 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:34 PM, Joe Little wrote: I'm trying to get any Projects that have Notes to display just the noteText, and likewise, all Notes to display just the project Name for their relationships, but its always shows all the fields. (pageConfiguration like '*Project' and propertyKey = 'notes') = displayPropertyKeys = (noteText) (pageConfiguration like '*Note' and propreryKey = 'project) = displayPropertyKeys = (name) Don't seem to have any affect. Any clue to what I'm doing wrong? I used the D2W inspector, and those should be the rules for what I have. What component is being used to display the relationship to Notes for a Project, and what component is displaying the Project for a Note? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
D2W display rules for relationships
I'm trying to get any Projects that have Notes to display just the noteText, and likewise, all Notes to display just the project Name for their relationships, but its always shows all the fields. (pageConfiguration like '*Project' and propertyKey = 'notes') = displayPropertyKeys = (noteText) (pageConfiguration like '*Note' and propreryKey = 'project) = displayPropertyKeys = (name) Don't seem to have any affect. Any clue to what I'm doing wrong? I used the D2W inspector, and those should be the rules for what I have. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W display rules for relationships
Lets focus on *Note pages and their display of Projects (one to one).. That answer is ERD2WDisplayToOne or ERMDEditRelationship On Tue, Apr 26, 2011 at 2:41 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:34 PM, Joe Little wrote: I'm trying to get any Projects that have Notes to display just the noteText, and likewise, all Notes to display just the project Name for their relationships, but its always shows all the fields. (pageConfiguration like '*Project' and propertyKey = 'notes') = displayPropertyKeys = (noteText) (pageConfiguration like '*Note' and propreryKey = 'project) = displayPropertyKeys = (name) Don't seem to have any affect. Any clue to what I'm doing wrong? I used the D2W inspector, and those should be the rules for what I have. What component is being used to display the relationship to Notes for a Project, and what component is displaying the Project for a Note? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W display rules for relationships
worked like a charm.. on to my other problematically displayed fields.. On Tue, Apr 26, 2011 at 3:11 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:56 PM, Joe Little wrote: Lets focus on *Note pages and their display of Projects (one to one).. That answer is ERD2WDisplayToOne or ERMDEditRelationship ERD2WDisplayToOne is going to use keyWhenRelationship. ERMEditRelationship embeds an ERMODEditRelationshipPage so it will get it's on copy of the d2wContext and it's own pageConfiguration. So use a rule something like: pageConfiguration = 'EditRelationshipEmbeddedProject' = displayPropertyKeys = (name) [Assignment] If you need to qualify further (i.e: change the displayPropertyKeys depending on what the parent object is) you can add an 'and' to something like: parentPageConfiguration = 'EditNote' Note: Typed directly into mail, YMMV, it's the end of the day, don't quote me, look... bunnies! On Tue, Apr 26, 2011 at 2:41 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:34 PM, Joe Little wrote: I'm trying to get any Projects that have Notes to display just the noteText, and likewise, all Notes to display just the project Name for their relationships, but its always shows all the fields. (pageConfiguration like '*Project' and propertyKey = 'notes') = displayPropertyKeys = (noteText) (pageConfiguration like '*Note' and propreryKey = 'project) = displayPropertyKeys = (name) Don't seem to have any affect. Any clue to what I'm doing wrong? I used the D2W inspector, and those should be the rules for what I have. What component is being used to display the relationship to Notes for a Project, and what component is displaying the Project for a Note? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W display rules for relationships
Here's another one. If I have an edit page for an entity, my relationships should up with Edit/Inspect buttons. If, however, I inspect an entity, I get neither of those buttons and thus can't inspect (or get full details like I want) for the relationship. There is some default rule that likely causes this, but I'm not smart enough obviously to figure it out. In the current case, I have a ERMODListPage coming from a ListEmbeddedAffiliate that has no buttons, but the inspect/edit buttons come with a ERMODEditRelationshipPage from the EditRelationshipEmbeddedAffiliate. On Tue, Apr 26, 2011 at 3:22 PM, Joe Little jmlit...@gmail.com wrote: worked like a charm.. on to my other problematically displayed fields.. On Tue, Apr 26, 2011 at 3:11 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:56 PM, Joe Little wrote: Lets focus on *Note pages and their display of Projects (one to one).. That answer is ERD2WDisplayToOne or ERMDEditRelationship ERD2WDisplayToOne is going to use keyWhenRelationship. ERMEditRelationship embeds an ERMODEditRelationshipPage so it will get it's on copy of the d2wContext and it's own pageConfiguration. So use a rule something like: pageConfiguration = 'EditRelationshipEmbeddedProject' = displayPropertyKeys = (name) [Assignment] If you need to qualify further (i.e: change the displayPropertyKeys depending on what the parent object is) you can add an 'and' to something like: parentPageConfiguration = 'EditNote' Note: Typed directly into mail, YMMV, it's the end of the day, don't quote me, look... bunnies! On Tue, Apr 26, 2011 at 2:41 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:34 PM, Joe Little wrote: I'm trying to get any Projects that have Notes to display just the noteText, and likewise, all Notes to display just the project Name for their relationships, but its always shows all the fields. (pageConfiguration like '*Project' and propertyKey = 'notes') = displayPropertyKeys = (noteText) (pageConfiguration like '*Note' and propreryKey = 'project) = displayPropertyKeys = (name) Don't seem to have any affect. Any clue to what I'm doing wrong? I used the D2W inspector, and those should be the rules for what I have. What component is being used to display the relationship to Notes for a Project, and what component is displaying the Project for a Note? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W display rules for relationships
heh :) What do you mean by D2W Flags? On Tue, Apr 26, 2011 at 3:45 PM, David Holt programming...@mac.com wrote: On 2011-04-26, at 3:40 PM, Joe Little wrote: Here's another one. If I have an edit page for an entity, my relationships should up with Edit/Inspect buttons. should? there's a rule for that. If, however, I inspect an entity, I get neither of those buttons and thus can't inspect (or get full details like I want) for the relationship. change the componentName for that property key on the inspectPage to the editRelationship version Use D2W flags, they will tell you everything that you need to know. There is some default rule that likely causes this, but I'm not smart enough obviously to figure it out. In the current case, I have a ERMODListPage coming from a ListEmbeddedAffiliate that has no buttons, but the inspect/edit buttons come with a ERMODEditRelationshipPage from the EditRelationshipEmbeddedAffiliate. On Tue, Apr 26, 2011 at 3:22 PM, Joe Little jmlit...@gmail.com wrote: worked like a charm.. on to my other problematically displayed fields.. On Tue, Apr 26, 2011 at 3:11 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:56 PM, Joe Little wrote: Lets focus on *Note pages and their display of Projects (one to one).. That answer is ERD2WDisplayToOne or ERMDEditRelationship ERD2WDisplayToOne is going to use keyWhenRelationship. ERMEditRelationship embeds an ERMODEditRelationshipPage so it will get it's on copy of the d2wContext and it's own pageConfiguration. So use a rule something like: pageConfiguration = 'EditRelationshipEmbeddedProject' = displayPropertyKeys = (name) [Assignment] If you need to qualify further (i.e: change the displayPropertyKeys depending on what the parent object is) you can add an 'and' to something like: parentPageConfiguration = 'EditNote' Note: Typed directly into mail, YMMV, it's the end of the day, don't quote me, look... bunnies! On Tue, Apr 26, 2011 at 2:41 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-04-26, at 5:34 PM, Joe Little wrote: I'm trying to get any Projects that have Notes to display just the noteText, and likewise, all Notes to display just the project Name for their relationships, but its always shows all the fields. (pageConfiguration like '*Project' and propertyKey = 'notes') = displayPropertyKeys = (noteText) (pageConfiguration like '*Note' and propreryKey = 'project) = displayPropertyKeys = (name) Don't seem to have any affect. Any clue to what I'm doing wrong? I used the D2W inspector, and those should be the rules for what I have. What component is being used to display the relationship to Notes for a Project, and what component is displaying the Project for a Note? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: I've got the latest Gianduja snapshot for evaluation
There are always two Davids... A master and an apprentice? On Apr 23, 2011, at 1:38 PM, Mark Wardle m...@wardle.org wrote: We should highlight the bending time space aspect of WO development on the wiki. That and the Sith Lord thing. Mark -- Dr. Mark Wardle Specialist registrar, Neurology (Sent from my mobile) On 23 Apr 2011, at 19:30, Miguel Arroz ar...@guiamac.com wrote: http://www.youtube.com/watch?v=I7o0S0IYizM On 2011/04/22, at 23:34, Chuck Hill wrote: Nah, I just did a minor in physics. Miguel and I have been waiting for a couple of years for the LHC to produce some anti-matter and slowly (or quickly) erase this planet. So far, no luck. Chuck sally and johnny watching tv waiting for it to end aw yeah Soul Jacker Pt 1, Eels On Apr 22, 2011, at 11:13 AM, Kieran Kelleher wrote: Chuck, Large Hadron Collider. either you learned about that on the educational 'The Big Bang Theory' show, or you really are a molecular physicist disguised as a WO-Dude! -Kieran On Apr 22, 2011, at 1:20 PM, Chuck Hill wrote: France, Italy, Spain and Greece opposed the reforms That is just flat out crazy. Can someone turn the Large Hadron Collider on and leave it on? Thanks. On Apr 22, 2011, at 9:33 AM, Alexander Spohr wrote: Um.. nope. Lars always tells the truth ;) http://www.telegraph.co.uk/news/worldnews/europe/2453204/Bent-banana-and-curved-cucumber-rules-dropped-by-EU.html atze Am 22.04.2011 um 18:15 schrieb Chuck Hill: On Apr 22, 2011, at 8:10 AM, Lars Sonchocky-Helldorf wrote: Well, around here Belgium is known for three things mainly: - crazy beer (like cherry or apricot flavored ones) - the best chocolate of the world - the stupid laws of the EU, like the ones which regulate the bend of cucumbers and bananas You are just making that last one up, right? Right? -- Chuck Hill Senior Consultant / VP Development -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com This email sent to kelleh...@gmail.com -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com This email sent to ar...@guiamac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org This email sent to m...@wardle.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: fetching on joined table
Others will say similarly, but as someone who once used views, etc, you'll want to avoid these and stored procedures and build out all of this logic in EOF/Modeler and let WebObjects do it's thing. If you are executing SQL for results lists, you are likely trying too hard to outthink WO On Apr 12, 2011, at 11:46 PM, naneon.raym...@neuf.fr wrote: Hi Chuck, thanks for your reply. So I thought about stored procedures? But How I include in my code and can I cast resultset in EOEntities Objects? I want to use data in my WOPopUpButton. Thanks Ray Message du : 12/04/2011 De : Chuck Hill ch...@global-village.net A : naneon.raym...@neuf.fr Copie à : webobjects-dev@lists.apple.com Sujet : Re: fetching on joined table Hi Ray, WebObjects is not going to generate SQL like that for you (maybe it is possible, but it would be very difficult). I think that you have two choices: 1. Use views 2. Think and fetch in terms of Objects not tables and rows and joins. This is going to be VERY different than how you are approaching the data now. It is possible that WebObjects is just not a good thing to use with your schema. Chuck On Apr 12, 2011, at 12:49 AM, naneon.raym...@neuf.fr naneon.raym...@neuf.fr wrote: Hi chuck, I go to give you more informations about data. I work in IT Universtity in France and we have huge database with lot of table. Here is an example of PDM (5 tables) person students-degree--diploma--academic year--period_param-admin_resgistration (fk_person)(fk_student) (fk_academic_year) (pk an_univ prd_univ)(fields an_univ_prd_univ) (fk_diploma, fk_person, fk_student, fk_academic_year) and I have lof view (view_student_course on a period ...), Here is code of view vue_parcours_profil using to have student curse : CREATE OR REPLACE FORCE VIEW GEST_UV.VUE_PROFIL_PARCOURS (ETU_ID, DIPLOME_$C, REORIENT_$F, PRD_DEBUT, PRD_FIN) AS SELECT DISTINCT t3.e, t3.d, t3.reorient_$f, MIN(p_deb) over (partition BY t3.e, t3.d, t3.p_fin) debut, t3.p_fin fin FROM (SELECT DISTINCT t1.e, t1.d, t1.no, t1.p p_deb, NVL(MIN(t2.p) over (partition BY t1.e, t1.d, t1.no), MAX (t1.p) over (partition BY t1.e, t1.d)) p_fin, CASE WHEN t1.no = 1 AND t2.r IS NULL THEN t1.r ELSE DECODE(t2.r,NULL,'N',t2.r) END reorient_$f --DECODE(t2.r,null,'N',t2.r) reorient_$f FROM (SELECT DISTINCT etu_id e, diplome_$c d, an_univ prd_univ p, ROW_NUMBER() OVER (partition BY etu_id,diplome_$c order by an_univ prd_univ NULLS LAST) no, DECODE(res_pedag_$c,'RE','O','DR','O','N') r FROM gerry.etu_inscr_adm eia1 ) t1, (SELECT DISTINCT etu_id e, diplome_$c d, an_univ prd_univ p, ROW_NUMBER() OVER (partition BY etu_id,diplome_$c order by an_univ prd_univ NULLS LAST) no, DECODE(res_pedag_$c,'RE','O','DR','O','N') r FROM gerry.etu_inscr_adm eia2 ) t2 WHERE t1.e = t2.e(+) AND t1.d = t2.d(+) AND t1.no t2.no(+) AND t1.r t2.r(+) --and t1.r = 'N' AND ((t1.no= 1 AND NVL(t1.r,'N') IN ('O','N')) OR (t1.no 1 AND NVL(t1.r,'N') = 'N')) ) t3; So when I want all students curse in sql developer this my request : SELECT vtp.etu_id as STUDENT_ID, vtp.diplome_$c as DIPLOMA_CODE, DECODE (vtp.diplome_$c,'ING',d.diplome ' ancien règlement',d.diplome) as DIPLOMA_NAME, vtp.prd_debut as PERIOD_BEGIN, vtp.prd_fin as PERIOD_END, gerry.fonc_trad_prd_lib(vtp.prd_debut,'anprd') as ACADEMIC_YEAR_BEGIN, gerry.fonc_trad_prd_lib(vtp.prd_fin,'anprd') ACADEMIC_YEAR_END, vtp.reorient_$f as ORIENTATION, (SELECT DIPL_SPEC_ABR ' ' DIPL_OPT_ABR ' ' NIVEAU_ADM FROM gerry.vue_eia_abr veia WHERE veia.etu_id = vtp.etu_id AND veia.diplome_$c=vtp.diplome_$c AND veia.an_univ veia.prd_univ=vtp.prd_fin ) as DIPLOMA_SPECIFICITY, (SELECT diplome_num FROM gest_uv.etu_diplome WHERE etu_id = vtp.etu_id AND diplome_$c = vtp.diplome_$c AND an_univ prd_univ BETWEEN vtp.prd_debut AND vtp.prd_fin ) as DIPLOMA_NUMBER, (SELECT SITUATION FROM gerry.etu_inscr_adm eia, gerry.ref_situation rs WHERE rs.situation_$c = eia.situation_$c AND eia.etu_id= vtp.etu_id AND eia.diplome_$c=vtp.diplome_$c AND eia.an_univ eia.prd_univ=vtp.prd_fin ) as STUDENT_SITUATION, NVL( (SELECT DECODE(situation_$c,'DEMI','O','N') FROM gerry.etu_inscr_adm WHERE etu_id= vtp.etu_id AND diplome_$c
well, that explains the missing Chocolate
Story about Motorola's new WebOS-like solution to be used instead of Android in some cases has various Apple and Adobe veterans at the helm. http://www.appleinsider.com/articles/11/03/23/motorola_hedging_android_bet_with_new_web_based_os.html Well, one of the guys pointed out there is Benoit Marchant, identified a former manager of JavaScript development at Apple... hmm.. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Play! Framework
Grails is more similar to WO than Play though -- especially considering GORM approaches some of the niceties of EOF and Wonder qualifiers. Both easier in the easy case, but harder when you have multiple relationships (stuck with Hibernate criteria builders then) On Wed, Mar 9, 2011 at 7:17 PM, Pascal Robert prob...@macti.ca wrote: Le 2011-03-09 à 20:57, Mike Schrag a écrit : of the non-wo java web frameworks, Play is the only one that ever looked interesting to me ... definitely inherits a lot of remove the crap from rails, which is nice. i haven't built anything with it, but it looked like a nice framework from the docs and examples. It even have a basic D2W-like system : http://www.playframework.org/documentation/1.1.1/guide7 ms On Mar 9, 2011, at 8:41 PM, Pascal Robert wrote: I saw a demo of the Play! Framework (http://www.playframework.org) at a conference today, and I must say that it's the first time that I saw something that I really want to try out. It seems like a good mix between Ruby on Rails and WO, so I was wondering if someone else here have tried out that framework? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Play! Framework
Well, I grok groovy more than scala, but that isn't saying much. I just see Grails as getting everything right about Java (for the most part) and picking what was right about Rails. Liftweb seems to make my brain hurt, and Play is a minimal Grails without half the traction to getting things done. On Thu, Mar 10, 2011 at 1:50 PM, Ray Kiddy r...@ganymede.org wrote: On Mar 10, 2011, at 1:29 PM, Anjo Krank wrote: Just finished glancing through a Scala book... how do you implement faulting with it? You know: Bar bar = foo.getBar(). The only thing I saw is continuation-passing, which is async by nature? Cheers, Anjo In order to use WO stuff with Scala you basically have to remove many of the ideas behind WO first. Every access to an object in EOF is done via one enormous lock on the entire framework. If you want the benefits of using Scala, you need to go to the old idea that every editing context will need its own entirely separate EOF stack. There is an obvious mis-match in the conceptual frames here I actually think it would be more interesting to see an implementation of WO and EOF in Clojure. It would be harder for people to wrap their heads around Clojure, but it it is a dynamic language like ObjC, and one could actually implement the concepts of WO and EOF in Clojure instead of subverting them, as one would have to do with Scala. - ray Am 10.03.2011 um 21:18 schrieb Lachlan Deck: lift (for scala) is pretty cool. http://liftweb.net/ http://demo.liftweb.net/ http://exploring.liftweb.net/ On 11/03/2011, at 3:25 AM, Joe Little wrote: Grails is more similar to WO than Play though -- especially considering GORM approaches some of the niceties of EOF and Wonder qualifiers. Both easier in the easy case, but harder when you have multiple relationships (stuck with Hibernate criteria builders then) On Wed, Mar 9, 2011 at 7:17 PM, Pascal Robert prob...@macti.ca wrote: Le 2011-03-09 à 20:57, Mike Schrag a écrit : of the non-wo java web frameworks, Play is the only one that ever looked interesting to me ... definitely inherits a lot of remove the crap from rails, which is nice. i haven't built anything with it, but it looked like a nice framework from the docs and examples. It even have a basic D2W-like system : http://www.playframework.org/documentation/1.1.1/guide7 ms On Mar 9, 2011, at 8:41 PM, Pascal Robert wrote: I saw a demo of the Play! Framework (http://www.playframework.org) at a conference today, and I must say that it's the first time that I saw something that I really want to try out. It seems like a good mix between Ruby on Rails and WO, so I was wondering if someone else here have tried out that framework? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.com with regards, - Lachlan Deck ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/anjo%40krank.net This email sent to a...@krank.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ray%40ganymede.org This email sent to r...@ganymede.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com
Re: Linux deployment advice
I can help with RPMs. I guess this part is open sourced. We don't need any jars for java monitor right? On Feb 23, 2011, at 6:41 AM, Pascal Robert prob...@macti.ca wrote: Le 2011-02-23 à 11:20, Klaus Berkling a écrit : On Feb 23, 2011, at 8:14 AM, David LeBer wrote: I'm thinking of doing a presentation on the WebEx channel on how to install a WO deployment environment on Linux (CentOS/RedHat), any interest for this? If anyone is interested in our experience with deploying to Ubuntu on Linode I'd be happy to gush about that over a beer at WOWOWDC. I'd be interested in that. Question is how much would I remember over a few beers? We can always do a deployment session at WOWODC that target CentOS, Ubuntu/Debian and whatever, but I don't think we need 65 minutes for this. I do plan to make a RPM for CentOS/RedHat that would instead the Apache module + Monitor + wotaskd. Side note. Anyone ever put a WOApp on a Sun Sparc 100 running FreeBSD? kib We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths. Walt Disney Klaus Berkling Web Application Dev. Systems Administrator DynEd International, Inc. www.dyned.com | blog ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W and non-relational insertion lists.
I won't be setting a relationship to that Person type, but want to fill in the values. I can't assume these will be set on creation either, just if the properties are null (whether on creation of entity or later when editing). My thinking is the modern approach is some sort of ajax live search on the text field, where the search is made against self.company.affiliates.fullName, but also where any of company, affiliates, etc is potentially null at this point of the search. My mind can grok how to setup something like this in the standard WO component model, but all I have to work with are derived pages from rules, and thus not sure how either the non-search approach I originally laid out (trivial) or this ajax approach is doable in the D2W world. On Tue, Feb 15, 2011 at 11:50 PM, Mark Wardle m...@wardle.org wrote: Hi Joe. I may have interpreted this incorrectly but I'll try some suggestions. I don't think your issue is a D2W problem per se. I would consider this a modelling one - if a membership is linked to a user but you want some details copied in to the membership on creation, then can't you do that as part of the setUser() setter in your membership with a check not to overwrite if there's already a value for that (those) properties. Mark -- Dr. Mark Wardle Specialist registrar, Neurology (Sent from my mobile) On 16 Feb 2011, at 05:49, Joe Little jmlit...@gmail.com wrote: Ok, I'll try to give a more specific example. I have a Membership entity with such properties as beginDate, endDate, company (relationship) and primaryContactName and primaryContactEmail. The end users want to select these last two values from a pull down list of known company.Affiliates, where Affiliates are people with name, email, etc. However, affliates move around so they want to store those values relative to one this membership whenever its created, so five years from now, those values stick. A slightly better example is Projects who have among other thing a String property of VisitingScholar or Fellow, which is just the name of an Affiliate again. In the same way, they want this name to stick with project even if that Affiliate changes companies or disappears altogether. I've done this before, but have no clue of how to do this with D2W. I want one to be able to set the value when say primaryContactName == null via a pull down of current company.Affiliates if company itself is != null, and then later, allow for just standard text field manipulation. On Tue, Feb 15, 2011 at 9:17 PM, David Holt programming...@me.com wrote: I'd love to help but this makes no sense to me at all. Can you be more specific? What are your entities? On 2011-02-15, at 8:49 PM, Joe Little jmlit...@gmail.com wrote: I want the certain fields (String) to take the values from a pull down from another Entity, inserting Entity.name or Entity.type for the string on selection. I don't want a relation since the choices are to be archival and not reflect what Entity.type is presently, but what it was at time of creation/edit. I was wondering how this is normally done with D2W rules. Also, I was hoping to do this on initial setting of the property only, but allow free-form editing when not null. I'm presuming pull downs like this are par for the coarse, but haven't found ready examples to point me to the right d2w keys. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org This email sent to m...@wardle.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
D2W and non-relational insertion lists.
I want the certain fields (String) to take the values from a pull down from another Entity, inserting Entity.name or Entity.type for the string on selection. I don't want a relation since the choices are to be archival and not reflect what Entity.type is presently, but what it was at time of creation/edit. I was wondering how this is normally done with D2W rules. Also, I was hoping to do this on initial setting of the property only, but allow free-form editing when not null. I'm presuming pull downs like this are par for the coarse, but haven't found ready examples to point me to the right d2w keys. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W and non-relational insertion lists.
Ok, I'll try to give a more specific example. I have a Membership entity with such properties as beginDate, endDate, company (relationship) and primaryContactName and primaryContactEmail. The end users want to select these last two values from a pull down list of known company.Affiliates, where Affiliates are people with name, email, etc. However, affliates move around so they want to store those values relative to one this membership whenever its created, so five years from now, those values stick. A slightly better example is Projects who have among other thing a String property of VisitingScholar or Fellow, which is just the name of an Affiliate again. In the same way, they want this name to stick with project even if that Affiliate changes companies or disappears altogether. I've done this before, but have no clue of how to do this with D2W. I want one to be able to set the value when say primaryContactName == null via a pull down of current company.Affiliates if company itself is != null, and then later, allow for just standard text field manipulation. On Tue, Feb 15, 2011 at 9:17 PM, David Holt programming...@me.com wrote: I'd love to help but this makes no sense to me at all. Can you be more specific? What are your entities? On 2011-02-15, at 8:49 PM, Joe Little jmlit...@gmail.com wrote: I want the certain fields (String) to take the values from a pull down from another Entity, inserting Entity.name or Entity.type for the string on selection. I don't want a relation since the choices are to be archival and not reflect what Entity.type is presently, but what it was at time of creation/edit. I was wondering how this is normally done with D2W rules. Also, I was hoping to do this on initial setting of the property only, but allow free-form editing when not null. I'm presuming pull downs like this are par for the coarse, but haven't found ready examples to point me to the right d2w keys. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
submit button errors on deployment
I'm getting these errors: Error: com.webobjects.appserver._private.WODynamicElementCreationException: 'action' is a constant. Reason: er.extensions.foundation.ERXPatcher$DynamicElementsPatches$SubmitButton'action' is a constant. For this section tr td style=text-align:rightwo:string value=$recentNotes.count/ nbsp; nbsp; wo:submit action=$viewRecentNotes value=View//td td style=text-align:rightwo:string value=$dueNotes.count/ nbsp; nbsp; wo:submit action=$viewDueNotes value=View//td td style=text-align:rightwo:string value=$newProjects.count/ nbsp; nbsp; wo:submit action=$viewNewProjects value=View//td td style=text-align:rightwo:string value=$expiringProjects.count/ nbsp; nbsp; wo:submit action=$viewExpiringProjects value=View//td /tr In ModernLook. I noticed that I was getting XML parsing errors as well in deployment though the PageWrapper marks it as HTML4 transitional. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: submit button errors on deployment
Again, I get these errors only in deployment. On Feb 10, 2011, at 11:04 AM, Joe Little jmlit...@gmail.com wrote: I'm getting these errors: Error: com.webobjects.appserver._private.WODynamicElementCreationException: 'action' is a constant. Reason: er.extensions.foundation.ERXPatcher$DynamicElementsPatches$SubmitButton'action' is a constant. For this section tr td style=text-align:rightwo:string value=$recentNotes.count/ nbsp; nbsp; wo:submit action=$viewRecentNotes value=View//td td style=text-align:rightwo:string value=$dueNotes.count/ nbsp; nbsp; wo:submit action=$viewDueNotes value=View//td td style=text-align:rightwo:string value=$newProjects.count/ nbsp; nbsp; wo:submit action=$viewNewProjects value=View//td td style=text-align:rightwo:string value=$expiringProjects.count/ nbsp; nbsp; wo:submit action=$viewExpiringProjects value=View//td /tr In ModernLook. I noticed that I was getting XML parsing errors as well in deployment though the PageWrapper marks it as HTML4 transitional. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: submit button errors on deployment
Yep, it's my status page since I couldn't list multiple entities in one page, i am instead getting 4 different arrays and creating listpageinterfaces for each similar to the excel look demo. As for wognl, it's enabled, as it works in development mode. On Feb 10, 2011, at 11:17 AM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-02-10, at 2:04 PM, Joe Little wrote: I'm getting these errors: Error: com.webobjects.appserver._private.WODynamicElementCreationException: 'action' is a constant. Reason: er.extensions.foundation.ERXPatcher$DynamicElementsPatches$SubmitButton'action' is a constant. For this section tr td style=text-align:rightwo:string value=$recentNotes.count/ nbsp; nbsp; wo:submit action=$viewRecentNotes value=View//td td style=text-align:rightwo:string value=$dueNotes.count/ nbsp; nbsp; wo:submit action=$viewDueNotes value=View//td td style=text-align:rightwo:string value=$newProjects.count/ nbsp; nbsp; wo:submit action=$viewNewProjects value=View//td td style=text-align:rightwo:string value=$expiringProjects.count/ nbsp; nbsp; wo:submit action=$viewExpiringProjects value=View//td /tr In ModernLook. I noticed that I was getting XML parsing errors as well in deployment though the PageWrapper marks it as HTML4 transitional. That does not look like ModernLook code. So I'm assuming it's a custom component of yours. Is WOOgnl enabled? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site:http://codeferous.com blog:http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: submit button errors on deployment
/WebServerResources/Java/JavaDTWGeneration.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDirectToWeb.framework/WebServerResources/Java/JavaDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaFoundation.framework/WebServerResources/Java/JavaFoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaXML.framework/WebServerResources/Java/javaxml.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWebObjects.framework/WebServerResources/Java/JavaWebObjects.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOAccess.framework/WebServerResources/Java/JavaEOAccess.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOControl.framework/WebServerResources/Java/JavaEOControl.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/WebServerResources/Java/JavaJDBCAdaptor.jar:/Library/WebObjects/Extensions/postgresql.jar:/Library/WebObjects/Extensions/ On Thu, Feb 10, 2011 at 1:21 PM, Chuck Hill ch...@global-village.net wrote: Is it missing from the deployment server? Did not get embedded? Classpath is wrong? On Feb 10, 2011, at 11:45 AM, Joe Little wrote: Yep, it's my status page since I couldn't list multiple entities in one page, i am instead getting 4 different arrays and creating listpageinterfaces for each similar to the excel look demo. As for wognl, it's enabled, as it works in development mode. On Feb 10, 2011, at 11:17 AM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-02-10, at 2:04 PM, Joe Little wrote: I'm getting these errors: Error: com.webobjects.appserver._private.WODynamicElementCreationException: 'action' is a constant. Reason: er.extensions.foundation.ERXPatcher$DynamicElementsPatches$SubmitButton'action' is a constant. For this section tr td style=text-align:rightwo:string value=$recentNotes.count/ nbsp; nbsp; wo:submit action=$viewRecentNotes value=View//td td style=text-align:rightwo:string value=$dueNotes.count/ nbsp; nbsp; wo:submit action=$viewDueNotes value=View//td td style=text-align:rightwo:string value=$newProjects.count/ nbsp; nbsp; wo:submit action=$viewNewProjects value=View//td td style=text-align:rightwo:string value=$expiringProjects.count/ nbsp; nbsp; wo:submit action=$viewExpiringProjects value=View//td /tr In ModernLook. I noticed that I was getting XML parsing errors as well in deployment though the PageWrapper marks it as HTML4 transitional. That does not look like ModernLook code. So I'm assuming it's a custom component of yours. Is WOOgnl enabled? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: submit button errors on deployment
That was it. Why oh why does it work in development? As for your quip about UNIX knowledge, you got me on that one. On Thu, Feb 10, 2011 at 1:55 PM, Chuck Hill ch...@global-village.net wrote: On Feb 10, 2011, at 1:49 PM, Joe Little wrote: Its embedded, but I'm wondering if there is a version issue with the classpath, as if something is overriding the methods in a new way. Do you see WOOGNL.framework in /Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks? It is NOT in your class path below. ognl is, but not WOOGNL. I don't get a classpath when running in development, but Wonder reports it in deployment, although its not easily parsable to the naked eye :) Ya know, a person with some UNIX knowledge could probably replace the : with a line break. Search and replace in a text editor has been known to work too. :-P com.webobjects.classpath=/Library/WebObjects/Applications/Affiliates.woa/Contents/Resources/Java/:/Library/WebObjects/Applications/Affiliates.woa/Contents/Resources/Java/affiliates.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernLook.framework/Resources/Java/ERModernLook.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernDefaultSkin.framework/Resources/Java/ERModernDefaultSkin.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernDirectToWeb.framework/Resources/Java/ERModernDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERDirectToWeb.framework/Resources/Java/ERDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/Ajax.framework/Resources/Java/Ajax.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/WOLips.framework/Resources/Java/WOLips.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERTaggable.framework/Resources/Java/ERTaggable.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/PostgresqlPlugIn.framework/Resources/Java/PostgresqlPlugIn.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERCoolComponents.framework/Resources/Java/ERCoolComponents.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/AffiliatesModel.framework/Resources/Java/affiliatesmodel.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERChronic.framework/Resources/Java/ERChronic.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDTWGeneration.framework/Resources/Java/javadtwgeneration.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDirectToWeb.framework/Resources/Java/javadirecttoweb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit-4.8.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar:/Library/WebObjects
Re: submit button errors on deployment
On Thu, Feb 10, 2011 at 2:04 PM, Chuck Hill ch...@global-village.net wrote: On Feb 10, 2011, at 2:01 PM, Joe Little wrote: That was it. Why oh why does it work in development? I am not sure. Is it getting embedded? Is it not installed in your dev environment, so embedding can't find it? Its working w/ WOOGNL even though it wasn't added to the project. Its in my dev environment in /Library/Frameworks, but of course for deployment it needs to be defined in the project to be embedded. As for your quip about UNIX knowledge, you got me on that one. Especially considering that it usually takes you about 2 seconds to leave me in the dust... On Thu, Feb 10, 2011 at 1:55 PM, Chuck Hill ch...@global-village.net wrote: On Feb 10, 2011, at 1:49 PM, Joe Little wrote: Its embedded, but I'm wondering if there is a version issue with the classpath, as if something is overriding the methods in a new way. Do you see WOOGNL.framework in /Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks? It is NOT in your class path below. ognl is, but not WOOGNL. I don't get a classpath when running in development, but Wonder reports it in deployment, although its not easily parsable to the naked eye :) Ya know, a person with some UNIX knowledge could probably replace the : with a line break. Search and replace in a text editor has been known to work too. :-P com.webobjects.classpath=/Library/WebObjects/Applications/Affiliates.woa/Contents/Resources/Java/:/Library/WebObjects/Applications/Affiliates.woa/Contents/Resources/Java/affiliates.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernLook.framework/Resources/Java/ERModernLook.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernDefaultSkin.framework/Resources/Java/ERModernDefaultSkin.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernDirectToWeb.framework/Resources/Java/ERModernDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERDirectToWeb.framework/Resources/Java/ERDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/Ajax.framework/Resources/Java/Ajax.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/WOLips.framework/Resources/Java/WOLips.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERTaggable.framework/Resources/Java/ERTaggable.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/PostgresqlPlugIn.framework/Resources/Java/PostgresqlPlugIn.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERCoolComponents.framework/Resources/Java/ERCoolComponents.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/AffiliatesModel.framework/Resources/Java/affiliatesmodel.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERChronic.framework/Resources/Java/ERChronic.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDTWGeneration.framework/Resources/Java/javadtwgeneration.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDirectToWeb.framework/Resources/Java/javadirecttoweb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar:/Library/WebObjects/Applications/Affiliates.woa
Re: submit button errors on deployment
A new feature of Eclipse 3.6.1? :) On Thu, Feb 10, 2011 at 2:37 PM, Chuck Hill ch...@global-village.net wrote: On Feb 10, 2011, at 2:08 PM, Joe Little wrote: On Thu, Feb 10, 2011 at 2:04 PM, Chuck Hill ch...@global-village.net wrote: On Feb 10, 2011, at 2:01 PM, Joe Little wrote: That was it. Why oh why does it work in development? I am not sure. Is it getting embedded? Is it not installed in your dev environment, so embedding can't find it? Its working w/ WOOGNL even though it wasn't added to the project. Its in my dev environment in /Library/Frameworks, but of course for deployment it needs to be defined in the project to be embedded. Really not sure how that could be working. As for your quip about UNIX knowledge, you got me on that one. Especially considering that it usually takes you about 2 seconds to leave me in the dust... On Thu, Feb 10, 2011 at 1:55 PM, Chuck Hill ch...@global-village.net wrote: On Feb 10, 2011, at 1:49 PM, Joe Little wrote: Its embedded, but I'm wondering if there is a version issue with the classpath, as if something is overriding the methods in a new way. Do you see WOOGNL.framework in /Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks? It is NOT in your class path below. ognl is, but not WOOGNL. I don't get a classpath when running in development, but Wonder reports it in deployment, although its not easily parsable to the naked eye :) Ya know, a person with some UNIX knowledge could probably replace the : with a line break. Search and replace in a text editor has been known to work too. :-P com.webobjects.classpath=/Library/WebObjects/Applications/Affiliates.woa/Contents/Resources/Java/:/Library/WebObjects/Applications/Affiliates.woa/Contents/Resources/Java/affiliates.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernLook.framework/Resources/Java/ERModernLook.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernDefaultSkin.framework/Resources/Java/ERModernDefaultSkin.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERModernDirectToWeb.framework/Resources/Java/ERModernDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERDirectToWeb.framework/Resources/Java/ERDirectToWeb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/Ajax.framework/Resources/Java/Ajax.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/WOLips.framework/Resources/Java/WOLips.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERTaggable.framework/Resources/Java/ERTaggable.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/PostgresqlPlugIn.framework/Resources/Java/PostgresqlPlugIn.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERCoolComponents.framework/Resources/Java/ERCoolComponents.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/AffiliatesModel.framework/Resources/Java/affiliatesmodel.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERChronic.framework/Resources/Java/ERChronic.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDTWGeneration.framework/Resources/Java/javadtwgeneration.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaDirectToWeb.framework/Resources/Java/javadirecttoweb.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/Library/WebObjects/Applications/Affiliates.woa/Contents/Frameworks
Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page
First, I have places whereby I have: 100: ((task = 'inspect' or task = 'list') and smartRelationship.isToMany = 1) = componentName = ERD2WDisplayToManyList (Assignment) This gives me the list view I want of my items, but I also want to have users able to select that row and go to the inspect page for that entity referred to in the relationship. Is this doable? I also want to create multiple compact list views in my primary page, each one a list of an entity that is qualified like recent notes, notes that are due, etc., but all on one page. Are there any examples lying around for rules to accomplish this? Or do I need to create my own multiple ajaxgrid's within a page I construct? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page
To be more specific, I want multiple ERModListPages within one page. Is that just not doable? On Wed, Feb 9, 2011 at 3:57 PM, Joe Little jmlit...@gmail.com wrote: First, I have places whereby I have: 100: ((task = 'inspect' or task = 'list') and smartRelationship.isToMany = 1) = componentName = ERD2WDisplayToManyList (Assignment) This gives me the list view I want of my items, but I also want to have users able to select that row and go to the inspect page for that entity referred to in the relationship. Is this doable? I also want to create multiple compact list views in my primary page, each one a list of an entity that is qualified like recent notes, notes that are due, etc., but all on one page. Are there any examples lying around for rules to accomplish this? Or do I need to create my own multiple ajaxgrid's within a page I construct? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page
I'm a little confused. I can make a pageConfiguration, and set multiple ERDList and ListEmbeddedStuff's -- Ok. But those are looking for stuffList which is just one of the NSArrays defined for a given set of entities. Thus, I'll have a couple of these, and they'll each show their results. How does one control the ordering of all these ERDLists? And then I presume there is an Inspect option per each embedded row? On Wed, Feb 9, 2011 at 4:25 PM, Ramsey Gurley rgur...@smarthealth.com wrote: Use ERDList as your component. I think all you need are a couple of rules like: 100: propertyKey = 'stuffList' = componentName = ERDList 100: propertyKey = 'stuffList' = listConfigurationName = ListEmbeddedStuff Ramsey On Feb 9, 2011, at 5:16 PM, Joe Little wrote: To be more specific, I want multiple ERModListPages within one page. Is that just not doable? On Wed, Feb 9, 2011 at 3:57 PM, Joe Little jmlit...@gmail.com wrote: First, I have places whereby I have: 100: ((task = 'inspect' or task = 'list') and smartRelationship.isToMany = 1) = componentName = ERD2WDisplayToManyList (Assignment) This gives me the list view I want of my items, but I also want to have users able to select that row and go to the inspect page for that entity referred to in the relationship. Is this doable? I also want to create multiple compact list views in my primary page, each one a list of an entity that is qualified like recent notes, notes that are due, etc., but all on one page. Are there any examples lying around for rules to accomplish this? Or do I need to create my own multiple ajaxgrid's within a page I construct? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page
Perhaps its actually ERMDSimpleListPageRepetition's that need to be defined which use displayGroups. Has does one do all of the qualifiers and such in the rules file? Otherwise, I don't have an obvious page centric way to get displayGroups with methods. I know I can call Entity methods without parameters in the rules, but not ones that take parameters. D2W again being non-congruent with my head. On Wed, Feb 9, 2011 at 5:52 PM, Joe Little jmlit...@gmail.com wrote: I'm a little confused. I can make a pageConfiguration, and set multiple ERDList and ListEmbeddedStuff's -- Ok. But those are looking for stuffList which is just one of the NSArrays defined for a given set of entities. Thus, I'll have a couple of these, and they'll each show their results. How does one control the ordering of all these ERDLists? And then I presume there is an Inspect option per each embedded row? On Wed, Feb 9, 2011 at 4:25 PM, Ramsey Gurley rgur...@smarthealth.com wrote: Use ERDList as your component. I think all you need are a couple of rules like: 100: propertyKey = 'stuffList' = componentName = ERDList 100: propertyKey = 'stuffList' = listConfigurationName = ListEmbeddedStuff Ramsey On Feb 9, 2011, at 5:16 PM, Joe Little wrote: To be more specific, I want multiple ERModListPages within one page. Is that just not doable? On Wed, Feb 9, 2011 at 3:57 PM, Joe Little jmlit...@gmail.com wrote: First, I have places whereby I have: 100: ((task = 'inspect' or task = 'list') and smartRelationship.isToMany = 1) = componentName = ERD2WDisplayToManyList (Assignment) This gives me the list view I want of my items, but I also want to have users able to select that row and go to the inspect page for that entity referred to in the relationship. Is this doable? I also want to create multiple compact list views in my primary page, each one a list of an entity that is qualified like recent notes, notes that are due, etc., but all on one page. Are there any examples lying around for rules to accomplish this? Or do I need to create my own multiple ajaxgrid's within a page I construct? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page
Ok. Ramsey's response was to my first question, but the result of doing this is the same as using the ERD2WDisplayToManyList. I get a list, but not something that is selectable to go into the inspect/edit page of the list item in the relationship. Thus, this discussion wasn't about my problems showing more than one entity listPage in a given page. On Wed, Feb 9, 2011 at 6:18 PM, Joe Little jmlit...@gmail.com wrote: Perhaps its actually ERMDSimpleListPageRepetition's that need to be defined which use displayGroups. Has does one do all of the qualifiers and such in the rules file? Otherwise, I don't have an obvious page centric way to get displayGroups with methods. I know I can call Entity methods without parameters in the rules, but not ones that take parameters. D2W again being non-congruent with my head. On Wed, Feb 9, 2011 at 5:52 PM, Joe Little jmlit...@gmail.com wrote: I'm a little confused. I can make a pageConfiguration, and set multiple ERDList and ListEmbeddedStuff's -- Ok. But those are looking for stuffList which is just one of the NSArrays defined for a given set of entities. Thus, I'll have a couple of these, and they'll each show their results. How does one control the ordering of all these ERDLists? And then I presume there is an Inspect option per each embedded row? On Wed, Feb 9, 2011 at 4:25 PM, Ramsey Gurley rgur...@smarthealth.com wrote: Use ERDList as your component. I think all you need are a couple of rules like: 100: propertyKey = 'stuffList' = componentName = ERDList 100: propertyKey = 'stuffList' = listConfigurationName = ListEmbeddedStuff Ramsey On Feb 9, 2011, at 5:16 PM, Joe Little wrote: To be more specific, I want multiple ERModListPages within one page. Is that just not doable? On Wed, Feb 9, 2011 at 3:57 PM, Joe Little jmlit...@gmail.com wrote: First, I have places whereby I have: 100: ((task = 'inspect' or task = 'list') and smartRelationship.isToMany = 1) = componentName = ERD2WDisplayToManyList (Assignment) This gives me the list view I want of my items, but I also want to have users able to select that row and go to the inspect page for that entity referred to in the relationship. Is this doable? I also want to create multiple compact list views in my primary page, each one a list of an entity that is qualified like recent notes, notes that are due, etc., but all on one page. Are there any examples lying around for rules to accomplish this? Or do I need to create my own multiple ajaxgrid's within a page I construct? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page
Thanks. This helped with the listing of entities within a relationship. For the other problem, I'm just punting on D2W for that page, listing totals for each type, and having the user click an action that generates a unix single-entity type list page from the qualifying results I get using ERChronic with quals. Seems to be the only way to incorporate that and get it all on one page. On Wed, Feb 9, 2011 at 6:55 PM, Ramsey Gurley ramseygur...@gmail.com wrote: On Feb 9, 2011, at 6:52 PM, Joe Little wrote: I'm a little confused. I can make a pageConfiguration, and set multiple ERDList and ListEmbeddedStuff's -- Ok. But those are looking for stuffList which is just one of the NSArrays defined for a given set of entities. Thus, I'll have a couple of these, and they'll each show their results. How does one control the ordering of all these ERDLists? I'm not sure which ordering you mean. The sort ordering can be specified with the defaultSortOrdering and sortOrdering RHS keys. If you use the ERCoreBusinessLogic framework, it has d2w userPreferences to persist the user selected sort ordering in the db. The order in which the different lists appear is controlled by displayPropertyKeys or tabSectionsContents or sectionsContents RHS keys. And then I presume there is an Inspect option per each embedded row? You can get one using the actions RHS key if you don't see one by default. Actions is a dictionary like 100: qual = actions = { right = (inspectAction); left = (editAction, deleteAction); } Those actions will be resolved by rules like 10: propertyKey = inspectAction = componentName = ERDInspectButton or something similar. If they aren't defined, you can create your own 10: propertyKey = controllerAction = componentName = ERDControllerButton; You can look in the rules for ERMod and ERD2W to see which ones are predefined. Ramsey On Wed, Feb 9, 2011 at 4:25 PM, Ramsey Gurley rgur...@smarthealth.com wrote: Use ERDList as your component. I think all you need are a couple of rules like: 100: propertyKey = 'stuffList' = componentName = ERDList 100: propertyKey = 'stuffList' = listConfigurationName = ListEmbeddedStuff Ramsey On Feb 9, 2011, at 5:16 PM, Joe Little wrote: To be more specific, I want multiple ERModListPages within one page. Is that just not doable? On Wed, Feb 9, 2011 at 3:57 PM, Joe Little jmlit...@gmail.com wrote: First, I have places whereby I have: 100: ((task = 'inspect' or task = 'list') and smartRelationship.isToMany = 1) = componentName = ERD2WDisplayToManyList (Assignment) This gives me the list view I want of my items, but I also want to have users able to select that row and go to the inspect page for that entity referred to in the relationship. Is this doable? I also want to create multiple compact list views in my primary page, each one a list of an entity that is qualified like recent notes, notes that are due, etc., but all on one page. Are there any examples lying around for rules to accomplish this? Or do I need to create my own multiple ajaxgrid's within a page I construct? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com This email sent to ramseygur...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Modern D2W Fu questions: ERD2WDisplayToManyList actionable links; multiple entities per page
Damn iPad spell checking. I have no idea what unix was originally meant to be in the below On Feb 9, 2011, at 8:23 PM, Joe Little jmlit...@gmail.com wrote: Thanks. This helped with the listing of entities within a relationship. For the other problem, I'm just punting on D2W for that page, listing totals for each type, and having the user click an action that generates a unix single-entity type list page from the qualifying results I get using ERChronic with quals. Seems to be the only way to incorporate that and get it all on one page. On Wed, Feb 9, 2011 at 6:55 PM, Ramsey Gurley ramseygur...@gmail.com wrote: On Feb 9, 2011, at 6:52 PM, Joe Little wrote: I'm a little confused. I can make a pageConfiguration, and set multiple ERDList and ListEmbeddedStuff's -- Ok. But those are looking for stuffList which is just one of the NSArrays defined for a given set of entities. Thus, I'll have a couple of these, and they'll each show their results. How does one control the ordering of all these ERDLists? I'm not sure which ordering you mean. The sort ordering can be specified with the defaultSortOrdering and sortOrdering RHS keys. If you use the ERCoreBusinessLogic framework, it has d2w userPreferences to persist the user selected sort ordering in the db. The order in which the different lists appear is controlled by displayPropertyKeys or tabSectionsContents or sectionsContents RHS keys. And then I presume there is an Inspect option per each embedded row? You can get one using the actions RHS key if you don't see one by default. Actions is a dictionary like 100: qual = actions = { right = (inspectAction); left = (editAction, deleteAction); } Those actions will be resolved by rules like 10: propertyKey = inspectAction = componentName = ERDInspectButton or something similar. If they aren't defined, you can create your own 10: propertyKey = controllerAction = componentName = ERDControllerButton; You can look in the rules for ERMod and ERD2W to see which ones are predefined. Ramsey On Wed, Feb 9, 2011 at 4:25 PM, Ramsey Gurley rgur...@smarthealth.com wrote: Use ERDList as your component. I think all you need are a couple of rules like: 100: propertyKey = 'stuffList' = componentName = ERDList 100: propertyKey = 'stuffList' = listConfigurationName = ListEmbeddedStuff Ramsey On Feb 9, 2011, at 5:16 PM, Joe Little wrote: To be more specific, I want multiple ERModListPages within one page. Is that just not doable? On Wed, Feb 9, 2011 at 3:57 PM, Joe Little jmlit...@gmail.com wrote: First, I have places whereby I have: 100: ((task = 'inspect' or task = 'list') and smartRelationship.isToMany = 1) = componentName = ERD2WDisplayToManyList (Assignment) This gives me the list view I want of my items, but I also want to have users able to select that row and go to the inspect page for that entity referred to in the relationship. Is this doable? I also want to create multiple compact list views in my primary page, each one a list of an entity that is qualified like recent notes, notes that are due, etc., but all on one page. Are there any examples lying around for rules to accomplish this? Or do I need to create my own multiple ajaxgrid's within a page I construct? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com This email sent to ramseygur...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Better D2W question: pull down lists for relationships
Forgot to reply all the first time: I did discover these, but wasn't grokking myself of which went to where. I'll try and take the other David's advice on what is used where. I think create/edit/update uses the *Edit types, and display/list are *Display. Next step is to find out how to limit the default to search panels and give out Lists by default for most of my entities. The harder one is having a page with multiple sections and lists (divs with their own entities list) based on some derived batch and limits, such as next 5 tasks that are due, most recent tasks created etc. On Tue, Feb 1, 2011 at 6:22 AM, David Avendasora webobje...@avendasora.com wrote: Hi Joe, I have found the D2WKeys link at the top of the Wonder API to be incredibly useful when trying to figure out which components are available: http://webobjects.mdimension.com/hudson/job/Wonder54/javadoc/d2wlist.html - I believe we have Ray Kiddy to thank for that piece of JavaDoc magic. Dave PS, now if we could just get Mr. Holt to chime in, you could have the DirectToDave trifecta! On Jan 31, 2011, at 10:51 PM, Joe Little wrote: Thanks. Still not finding these on my own -- or at least the logic to find them. I was looking for an ERD2WList type.. On Mon, Jan 31, 2011 at 2:39 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2011-01-31, at 5:26 PM, Joe Little wrote: Always in D2W, relationships selection is usually a search or new option. I was wondering how to override this will a pull down. I have a to-one relationship for a projectType, and I don't want my Project entities having to do a subsearch each time to find available projects, but select instead from a pull down. Is this something settable in D2W or is that a custom component. Try using ERD2WEditToOneRelationship? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
ERModern and brain freezing
I'm returning to D2W for some rules that are stale, and my sample project looks good for queries, but in ever Edit/Create page that has a date, it has a start and end date selection for a given date. I'd like to restrict those fields to just entering one date. I can't seem to find any examples of rules that target such fields, and my brain is already hurting trying to understand the rule engine here. Second, my ERModern apps have a homepage link in the right corner, that whenever clicked, always give me an exception of Attempt to remove null key from an com.webobjects.eocontrol._EOFlatMutableDictionary. I presume also this has been stumbled upon, but google fails me here too. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERModern and brain freezing
homepage link to the default action was fixed with a Wonder update, as well as the mutli-datePickers on edit/create. A bad build somewhere in there I guess. On Sat, Jan 29, 2011 at 5:02 PM, Joe Little jmlit...@gmail.com wrote: I'm returning to D2W for some rules that are stale, and my sample project looks good for queries, but in ever Edit/Create page that has a date, it has a start and end date selection for a given date. I'd like to restrict those fields to just entering one date. I can't seem to find any examples of rules that target such fields, and my brain is already hurting trying to understand the rule engine here. Second, my ERModern apps have a homepage link in the right corner, that whenever clicked, always give me an exception of Attempt to remove null key from an com.webobjects.eocontrol._EOFlatMutableDictionary. I presume also this has been stumbled upon, but google fails me here too. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Scala and WebObjects
On Sat, Nov 13, 2010 at 5:11 AM, Kieran Kelleher kelleh...@gmail.com wrote: You obviously have not seen us at WOWODC ;-) Before or after the night of drinking? Regards, Kieran. On Nov 13, 2010, at 2:40 AM, Mark Wardle m...@wardle.org wrote: I've heard rumors of WO developers using pink netbooks! (^_~) The Apple rules were written to avoid such horrors. You all appear to have missed the clauses covering stylish hair, personal jets and a playboy lifestyle that are essential parts of the Apple developer contract. (*) Mark (*) That is what you professional developers are like, aren't you? -- Dr. Mark Wardle Specialist registrar, Neurology (Sent from my mobile) ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com This email sent to kelleh...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Oracle and Apple Announce OpenJDK Project for Mac OS X
But what about WO? :) (Ducks for cover...) On Fri, Nov 12, 2010 at 6:56 AM, Kieran Kelleher kelleh...@gmail.com wrote: And thus all the hissy-fits and panic all over the internet and mailing lists was both amusing and a complete waste of energy! OK, back to work everyone .. java is alive and well on OS X ;-) On Nov 12, 2010, at 9:51 AM, Antonio Petri wrote: Larry and Steve are good friends, after all... Apple give up on the server business, so it will not compete with Oracle (even if it wasn't that big competitor) and at the same time, probably, fill up its new data center with Oracle kits. Oracle need backing for the OpenJDK, especially in view of their dispute with Google. So, it all makes sense. On 12 November 2010 14:22, Pascal Robert prob...@macti.ca wrote: Good news everyone! http://www.apple.com/pr/library/2010/11/12openjdk.html Oracle and Apple® today announced the OpenJDK project for Mac OS® X. Apple will contribute most of the key components, tools and technology required for a Java SE 7 implementation on Mac OS X, including a 32-bit and 64-bit HotSpot-based Java virtual machine, class libraries, a networking stack and the foundation for a new graphical client. OpenJDK will make Apple’s Java technology available to open source developers so they can access and contribute to the effort. ... Apple also confirmed that Java SE 6 will continue to be available from Apple for Mac OS X Snow Leopard® and the upcoming release of Mac OS X Lion. Java SE 7 and future versions of Java for Mac OS X will be available from Oracle. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/antonio.petri%40googlemail.com This email sent to antonio.pe...@googlemail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com This email sent to kelleh...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Scala and WebObjects
Well, all this talk about Roo still makes me unsure of what people find the most compelling part of WO that they are starting to look at other technologies for. Indeed, we are all a little skittish over future directions and future releases with a perhaps non-growing community. I still find Grails to be more to my taste and it fits a lot of the technology points I want to find in WO. I haven't thought about Grails for about a year, but the latest support of Redis in GORM makes things pretty interesting again. On Thu, Nov 11, 2010 at 5:08 PM, Pascal Robert prob...@macti.ca wrote: Le 2010-11-11 à 19:12, Chuck Hill a écrit : On Nov 11, 2010, at 4:05 AM, Pascal Robert wrote: I have a question that I kept to myself for months, but let's go public. People talks about moving away from WO or even writing WO/EOF replacements. But AFAIK, Wonder shows that we can extend the core frameworks a lot. Sure, extending WO so that EOF become multi-threaded or anything like this would be a huge task, but from my point of view (a non-technical one), we can do a lot on top of WO to fix problems. And to me, it make more sense to extend WO than trying to rewrite it... Was there a question in there? The question is more that I don't understand why people wants to rewrite WO when you can simply extend it. To me, it's just like the Linux people who keeps rewriting stuff instead of improving it. It's incredible the number of stuff on FreshMeat that do almost the same thing and that could be done in one or two applications instead of dozens of them. -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: OS X Java Deprecation JVM Source Code
On Oct 21, 2010, at 6:00 AM, David LeBer dleber_wo...@codeferous.com wrote: On 2010-10-21, at 5:16 AM, David Avendasora wrote: On Oct 21, 2010, at 4:54 AM, David Avendasora wrote: Hi all, I just noticed in Apple's latest Java release (Java 6, update 3) that Apple has deprecated it's JVM. That's the bad news. The GOOD news is that they also included the Apple JVM source code in the package. So a non-Apple JVM for OS X shouldn't be far behind. It installs the source here: /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Home/src.jar Nevermind. That's _not_ the JVM source. :-( Let the hysteria begin. Ahg! Okay. Maybe I'm not really hysterical. Concerned, though. Well, I hear that Ubuntu is nice this time of year... That was my thought as well, I swear :p ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site:http://codeferous.com blog:http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: OS X Java Deprecation JVM Source Code
Perhaps but not cocoa/aqua native. In other words, eclipse can't use it to display GUI elements unless you rebuild eclipse to use x11, and then finder drag and drop is lost among other things On Oct 21, 2010, at 11:21 AM, Ramsey Gurley ram...@xeotech.com wrote: On Oct 21, 2010, at 12:39 PM, David LeBer wrote: On 2010-10-21, at 12:29 PM, Ken Anderson wrote: Couldn't we just use the SoyLatte JVM for WO development? Earlier today from twitter: mschrag 11:18 AM surprised at how smooth it was to build openjdk on mac Does this mean we'll see an OpenJDK 7 binary package for 10.6 up on mDimension build server soon? That would rock (^_^) Ramsey On Oct 21, 2010, at 12:21 PM, Paulo Siqueira wrote: +1 =p Well, I hear that Ubuntu is nice this time of year... That was my thought as well, I swear :p -- Paulo JCranky Siqueira Visit my blog: http://www.jcranky.com/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com This email sent to kenli...@anderhome.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com This email sent to dleber_wo...@codeferous.com ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site:http://codeferous.com blog:http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com This email sent to ram...@xeotech.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: OS X Java Deprecation JVM Source Code
Thanks for the clarification from you and David. I knew there was some apple java dependencies but not sure of which. The only way to make openjdk work now though is x11 I think, correct? On Oct 21, 2010, at 11:38 AM, John Huss johnth...@gmail.com wrote: On Thu, Oct 21, 2010 at 1:26 PM, Joe Little jmlit...@gmail.com wrote: Perhaps but not cocoa/aqua native. In other words, eclipse can't use it to display GUI elements unless you rebuild eclipse to use x11, and then finder drag and drop is lost among other things That's not true, Eclipse uses native cocoa widgets, so it is largely unaffected by this. But it does rely on a few extensions to standard java provided by the mac version of the JVM, and these will have to be dealt with. X11 will never be necessary to run an SWT app on mac. John ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: OS X Java Deprecation JVM Source Code
But it will still be 5.4.3 On Oct 21, 2010, at 12:29 PM, Kieran Kelleher kelleh...@gmail.com wrote: My 2 cents: Relax, don't panic, There is always a way forward. Look at the positive. I am sure that in 5 years, much of this community will still be here developing WebObjects enterprise apps in Java 9 on Mac OS XI Cobra ;-) -Kieran On Oct 21, 2010, at 12:32 PM, Ken Foust wrote: I have not seen a response form Mike Schrag and would hold most comments until he responds. But what do you think of CocoaWO now My opinion Apple needs to incorporate and brilliant enterprise web dev app tied to Cocoa. On Oct 21, 2010, at 10:29 AM, Ken Anderson wrote: Couldn't we just use the SoyLatte JVM for WO development? On Oct 21, 2010, at 12:21 PM, Paulo Siqueira wrote: +1 =p Well, I hear that Ubuntu is nice this time of year... That was my thought as well, I swear :p -- Paulo JCranky Siqueira Visit my blog: http://www.jcranky.com/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com This email sent to kenli...@anderhome.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/fousto%40me.com This email sent to fou...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com This email sent to kelleh...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: REST routes in JavaMonitor
I'm not dead yet! I think I'll go for a walk... (thump) Yes, my pre-burial grave site just had a small earth tremor. Busy finishing up old projects and about to jump back into the latest 3.6.1 w/ Wonder 5.4 branch goodness for ERModern stuff. Hopefully its not breaking daily at this point. D2W mind binding will commence next week as I hope to relearn (or learn) that state of mind. In all seriousness, I'm unsure of what should be done with JavaMonitor and passwords to alleviate the obvious potential weaknesses. SSL is a chore and not worth the hassle for this per se, but I still think some hash approach for ?pwhash=123456ABCDEF that could be longish (think WEP?) that is evaluated by the REST service on its end to compare hashes seems to be a least more proper approach. Yes, the hash could be replayed if caught over the air, but its still just a computed representation of the password, and not the password itself. This still keeps the clear text password secret from the net since this may be in use at other places (db pass, user account, etc) On Wed, Sep 29, 2010 at 4:18 AM, David Avendasora webobje...@avendasora.com wrote: On Sep 29, 2010, at 6:55 AM, Pascal Robert wrote: Good morning! Yesterday, I committed REST routes inside JavaMonitor, this is the stuff that was demonstrated at WOWODC 2010. With those routes + the direct actions Anjo added last year, you can control almost everything remotely (make sure JavaMonitor is not open to the world!). The code was added to the trunk of Wonder (the Wonder53 build) so if you want to play with it, make sure you get it from this build. Whoo hoo! Please note that if JavaMonitor requires a password, you need to append ?passwd=X at the end of the URLs. I think Joe Little just turned over in his grave. I mean, he would have if he were dead. He's not dead, is he? I haven't seen him around much lately. *sob* He never writes, I guess we're not important to him anymore. He's probably off single-signing-on with a Ruby developer. Dave Fetching the details of all applications : curl -X GET http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications.json Adding a new application : curl -X POST -d {id: 'AjaxExample',type: 'MApplication', name: 'AjaxExample',unixOutputPath: '/opt/Local/Library/WebObjects/Logs', unixPath: '/opt/Local/Library/WebObjects/Applications/AjaxExample.woa/AjaxExample'} http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications.json Adding a new instance : curl -X GET http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/AjaxExample/addInstancehost=localhost Delete an application : curl -X DELETE http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/AjaxExample.json Delete an instance : curl -X GET http://127.0.0.1:56789/cgi-bin/WebObjects/JavaMonitor.woa/ra/mApplications/AjaxExample/deleteInstance?id=1 Adding a new host : curl -X POST -d {id: 'otherserver.com',type: 'MHost', osType: 'MACOSX',address: '192.168.20.5', name: 'otherserver.com'} http://127.0.0.1:56789/apps/WebObjects/JavaMonitor.woa/ra/mHosts.json -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: two different databases at same time?
I'll probably just show the code off at WOWODC.. I honestly think it has something to do with some aspect of the frameworks used. The only true delta between the projects that work (older) and this new one, is that the old would have models/dbs into two separate frameworks, and in those cases, only one had ERAttachment. This time around, I have ERAttachment for both relative to both DBs. There is some automagic with regards to ERAttachment tables and perhaps referencing two separate DBs for two separate models w/ ERAttachment is the real no-no. On Fri, Aug 6, 2010 at 2:53 AM, Cheong Hee (Gmail) chn...@gmail.com wrote: Could it be something else that is the culprit? If you think worth to cross examine, let me know so that I could repackage the test files into eclipse project and send over. - Original Message - From: Cheong Hee (Gmail) chn...@gmail.com To: Joe Little jmlit...@gmail.com Cc: David LeBer dleber_wo...@codeferous.com; WO Dev Group webobjects-dev@lists.apple.com Sent: Friday, August 06, 2010 3:09 PM Subject: Re: two different databases at same time? It should be quite straight forward. To show it works, I have just tested with 2 model, each point to their own db. It works as expected :) The testing environment however is mysql, and wo5.2.4, with plain vanila without PW. Don't think it is matter for test. Just to add, the database url are defined in each model. Cheers Cheong Hee - Original Message - From: Joe Little jmlit...@gmail.com To: Cheong Hee (Gmail) chn...@gmail.com Cc: David LeBer dleber_wo...@codeferous.com; WO Dev Group webobjects-dev@lists.apple.com Sent: Friday, August 06, 2010 1:07 PM Subject: Re: two different databases at same time? I just checked and my models do indeed have a complete URL, etc in their default connection dictionaries. On Thu, Aug 5, 2010 at 7:57 PM, Cheong Hee (Gmail) chn...@gmail.com wrote: Will there make any difference if these connection dictionaries is defined in respective model db url? - Original Message - From: Joe Little jmlit...@gmail.com To: Joe Little jmlit...@gmail.com Cc: Cheong Hee (Gmail) chn...@gmail.com; David LeBer dleber_wo...@codeferous.com; WO Dev Group webobjects-dev@lists.apple.com Sent: Friday, August 06, 2010 2:17 AM Subject: Re: two different databases at same time? So, I'm starting to wonder if something broke/changed in Wonder. I've set up test projects that list two DBs in the Properties file for two models, but only one is ever added to the connection dictionary. Does there need to workable values for the default database in the eomodeld directory itself? This has worked for me before, with one framework model and one local project model. This time, i have two models in one framework. On Aug 4, 2010, at 7:26 PM, Joe Little jmlit...@gmail.com wrote: You gave me a good clue. I may be using the same damn ec On Aug 4, 2010, at 7:17 PM, Cheong Hee \(Gmail\) chn...@gmail.com wrote: When the question posted, I intended to find out if the different db works in the same ec. I have not thought more on the storing and fetching. I am not sure if this is right but merely bring it out for better understanding. Please point out whichever does not seem right: Said the Student table is in databaase A. The AdmitApplicant table is stored in database B. A row admitApplicantID is created in Student table and a relationship should be defined, said admitApplicant. The modelling cross different database should be fine. If I understand what David mentioned, the EOF fetch through relationship admitApplicant will fail. Therefore, I will assume that the fetch will have to be done by getting the admitApplicant key from Student, and then use the key to search the AdmitApplicant that is resided in database B. Good thing is both could be done in the same ec. Cheers Cheong Hee - Original Message - From: David LeBer dleber_wo...@codeferous.com To: Joe Little jmlit...@gmail.com Cc: Cheong Hee chn...@gmail.com; WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, August 05, 2010 2:36 AM Subject: Re: two different databases at same time? On 2010-08-04, at 2:26 PM, Joe Little wrote: On Wed, Aug 4, 2010 at 11:20 AM, David LeBer dleber_wo...@codeferous.com wrote: On 2010-08-04, at 2:12 PM, Joe Little wrote: Digging up an old thread. This is the first time I'm creating a multi-database relation. When my migrations kick off to generate my newer database that has a single relation to the old, it fails in spectacular ways. Specifically, it has this error: Caused by: java.lang.RuntimeException: Failed to execute 'ALTER TABLE STUDENT ADD CONSTRAINT STUDENT_admitApplicantID_ID_FK FOREIGN KEY (admitApplicantID) REFERENCES ADMIT_APPLICANT (ID) DEFERRABLE INITIALLY DEFERRED'. PSQLException: ERROR: relation admit_applicant does not exist student has a relation to admit_applicant, where student is db2.student
Re: two different databases at same time?
So, I'm starting to wonder if something broke/changed in Wonder. I've set up test projects that list two DBs in the Properties file for two models, but only one is ever added to the connection dictionary. Does there need to workable values for the default database in the eomodeld directory itself? This has worked for me before, with one framework model and one local project model. This time, i have two models in one framework. On Aug 4, 2010, at 7:26 PM, Joe Little jmlit...@gmail.com wrote: You gave me a good clue. I may be using the same damn ec On Aug 4, 2010, at 7:17 PM, Cheong Hee \(Gmail\) chn...@gmail.com wrote: When the question posted, I intended to find out if the different db works in the same ec. I have not thought more on the storing and fetching. I am not sure if this is right but merely bring it out for better understanding. Please point out whichever does not seem right: Said the Student table is in databaase A. The AdmitApplicant table is stored in database B. A row admitApplicantID is created in Student table and a relationship should be defined, said admitApplicant. The modelling cross different database should be fine. If I understand what David mentioned, the EOF fetch through relationship admitApplicant will fail. Therefore, I will assume that the fetch will have to be done by getting the admitApplicant key from Student, and then use the key to search the AdmitApplicant that is resided in database B. Good thing is both could be done in the same ec. Cheers Cheong Hee - Original Message - From: David LeBer dleber_wo...@codeferous.com To: Joe Little jmlit...@gmail.com Cc: Cheong Hee chn...@gmail.com; WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, August 05, 2010 2:36 AM Subject: Re: two different databases at same time? On 2010-08-04, at 2:26 PM, Joe Little wrote: On Wed, Aug 4, 2010 at 11:20 AM, David LeBer dleber_wo...@codeferous.com wrote: On 2010-08-04, at 2:12 PM, Joe Little wrote: Digging up an old thread. This is the first time I'm creating a multi-database relation. When my migrations kick off to generate my newer database that has a single relation to the old, it fails in spectacular ways. Specifically, it has this error: Caused by: java.lang.RuntimeException: Failed to execute 'ALTER TABLE STUDENT ADD CONSTRAINT STUDENT_admitApplicantID_ID_FK FOREIGN KEY (admitApplicantID) REFERENCES ADMIT_APPLICANT (ID) DEFERRABLE INITIALLY DEFERRED'. PSQLException: ERROR: relation admit_applicant does not exist student has a relation to admit_applicant, where student is db2.student and admit_applicant is db1.admit_applicant This is keyed off this migration line: studentTable.addForeignKey(admitApplicantID, ADMIT_APPLICANT, ID); Don't do that. EOF is fine with cross database relationships but your DB probably isn't. So it won't like you trying to create a foreign key constraint to a different database, so don't. So, what is the alternative? Would a join table work -- I think that still has foreign key constraints. Or is it simply stating a differ type of join (not inner)? I haven't done this before so my lack of clue is telling. Sorry, I wasn't clear. Model the relationship in the EOModel, create a vanilla row in the db that will act as a foreign key for the relationship, but don't tell the db that it is a foreign key. Let EOF manage the relationship for you. Am I just missing some clue that others already have? On Thu, Apr 1, 2010 at 8:17 PM, Cheong Hee chn...@gmail.com wrote: Apparently I have complicated it by thinking of using multi ec to handle respective database connections. Thanks for clarification.. Cheers Cheong Hee - Original Message - From: David LeBer dleber_wo...@codeferous.com To: Cheong Hee chn...@gmail.com Cc: WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, April 01, 2010 8:23 PM Subject: Re: two different databases at same time? On 2010-04-01, at 12:07 AM, Cheong Hee wrote: Is there any pointers or sample code how these could be done to initiate connection and save changes in respective ec? You don't need multiple ec's unless you want them. Other than that it's transparent. EOEditingContext ec = ERXEC.newEditingContext(); Person p = (Person)EOUtitlites.createAndInsertInstance(ec, Person.ENTITY_NAME); // Person entity persists in database A Horse h = (Horse)EOUtitlites.createAndInsertInstance(ec, Horse.ENTITY_NAME); // Horse entity persists in database B // make chagnes to h and p ec.saveChanges(); // p saved to database A, h saved to database B You can model cross database relationships as long as you don't try and create a fetch based on them. Cheers Cheong Hee - Original Message - From: Mark Ritchie mark.ritc...@mac.com To: James Cicenia ja...@jimijon.com Cc: WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, April
Re: two different databases at same time?
Digging up an old thread. This is the first time I'm creating a multi-database relation. When my migrations kick off to generate my newer database that has a single relation to the old, it fails in spectacular ways. Specifically, it has this error: Caused by: java.lang.RuntimeException: Failed to execute 'ALTER TABLE STUDENT ADD CONSTRAINT STUDENT_admitApplicantID_ID_FK FOREIGN KEY (admitApplicantID) REFERENCES ADMIT_APPLICANT (ID) DEFERRABLE INITIALLY DEFERRED'. PSQLException: ERROR: relation admit_applicant does not exist student has a relation to admit_applicant, where student is db2.student and admit_applicant is db1.admit_applicant This is keyed off this migration line: studentTable.addForeignKey(admitApplicantID, ADMIT_APPLICANT, ID); Am I just missing some clue that others already have? On Thu, Apr 1, 2010 at 8:17 PM, Cheong Hee chn...@gmail.com wrote: Apparently I have complicated it by thinking of using multi ec to handle respective database connections. Thanks for clarification.. Cheers Cheong Hee - Original Message - From: David LeBer dleber_wo...@codeferous.com To: Cheong Hee chn...@gmail.com Cc: WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, April 01, 2010 8:23 PM Subject: Re: two different databases at same time? On 2010-04-01, at 12:07 AM, Cheong Hee wrote: Is there any pointers or sample code how these could be done to initiate connection and save changes in respective ec? You don't need multiple ec's unless you want them. Other than that it's transparent. EOEditingContext ec = ERXEC.newEditingContext(); Person p = (Person)EOUtitlites.createAndInsertInstance(ec, Person.ENTITY_NAME); // Person entity persists in database A Horse h = (Horse)EOUtitlites.createAndInsertInstance(ec, Horse.ENTITY_NAME); // Horse entity persists in database B // make chagnes to h and p ec.saveChanges(); // p saved to database A, h saved to database B You can model cross database relationships as long as you don't try and create a fetch based on them. Cheers Cheong Hee - Original Message - From: Mark Ritchie mark.ritc...@mac.com To: James Cicenia ja...@jimijon.com Cc: WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, April 01, 2010 1:05 AM Subject: Re: two different databases at same time? On 31/Mar/2010, at 8:15 AM, James Cicenia wrote: Is it possible to use two different databases, I guess via two different models? I will need to connect to an Oracle big database on a remote server and was wondering if I could also use a mySQL or postgres database for user control on local server. Yes, yes! You can have multiple concurrent connections! One for each EOModel! Just make sure that the entity names are unique across all EOModels! Good luck! M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chng34%40gmail.com This email sent to chn...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com This email sent to dleber_wo...@codeferous.com ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: two different databases at same time?
On Wed, Aug 4, 2010 at 11:20 AM, David LeBer dleber_wo...@codeferous.com wrote: On 2010-08-04, at 2:12 PM, Joe Little wrote: Digging up an old thread. This is the first time I'm creating a multi-database relation. When my migrations kick off to generate my newer database that has a single relation to the old, it fails in spectacular ways. Specifically, it has this error: Caused by: java.lang.RuntimeException: Failed to execute 'ALTER TABLE STUDENT ADD CONSTRAINT STUDENT_admitApplicantID_ID_FK FOREIGN KEY (admitApplicantID) REFERENCES ADMIT_APPLICANT (ID) DEFERRABLE INITIALLY DEFERRED'. PSQLException: ERROR: relation admit_applicant does not exist student has a relation to admit_applicant, where student is db2.student and admit_applicant is db1.admit_applicant This is keyed off this migration line: studentTable.addForeignKey(admitApplicantID, ADMIT_APPLICANT, ID); Don't do that. EOF is fine with cross database relationships but your DB probably isn't. So it won't like you trying to create a foreign key constraint to a different database, so don't. So, what is the alternative? Would a join table work -- I think that still has foreign key constraints. Or is it simply stating a differ type of join (not inner)? I haven't done this before so my lack of clue is telling. Am I just missing some clue that others already have? On Thu, Apr 1, 2010 at 8:17 PM, Cheong Hee chn...@gmail.com wrote: Apparently I have complicated it by thinking of using multi ec to handle respective database connections. Thanks for clarification.. Cheers Cheong Hee - Original Message - From: David LeBer dleber_wo...@codeferous.com To: Cheong Hee chn...@gmail.com Cc: WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, April 01, 2010 8:23 PM Subject: Re: two different databases at same time? On 2010-04-01, at 12:07 AM, Cheong Hee wrote: Is there any pointers or sample code how these could be done to initiate connection and save changes in respective ec? You don't need multiple ec's unless you want them. Other than that it's transparent. EOEditingContext ec = ERXEC.newEditingContext(); Person p = (Person)EOUtitlites.createAndInsertInstance(ec, Person.ENTITY_NAME); // Person entity persists in database A Horse h = (Horse)EOUtitlites.createAndInsertInstance(ec, Horse.ENTITY_NAME); // Horse entity persists in database B // make chagnes to h and p ec.saveChanges(); // p saved to database A, h saved to database B You can model cross database relationships as long as you don't try and create a fetch based on them. Cheers Cheong Hee - Original Message - From: Mark Ritchie mark.ritc...@mac.com To: James Cicenia ja...@jimijon.com Cc: WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, April 01, 2010 1:05 AM Subject: Re: two different databases at same time? On 31/Mar/2010, at 8:15 AM, James Cicenia wrote: Is it possible to use two different databases, I guess via two different models? I will need to connect to an Oracle big database on a remote server and was wondering if I could also use a mySQL or postgres database for user control on local server. Yes, yes! You can have multiple concurrent connections! One for each EOModel! Just make sure that the entity names are unique across all EOModels! Good luck! M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chng34%40gmail.com This email sent to chn...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com This email sent to dleber_wo...@codeferous.com ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects
Multiple databases and migrations causing weird side affect
I have two databases, and two models with their own migrations pointing at each. When I kick off an application tied to database and model B, the migration kicks off with a fresh db as expected. However, since one relation exists in B to an entity in A, it would appear that migrations are kicking off to generate the model tables for both A and B in Database B. Thus, after migrations, but code is searching against empty tables generated in B for data in that was in A. I hope you followed along with the bouncing ball. It took a while to see that the model was migrating these duplicate but empty tables into db B. My Properties file only makes mention of migration models for B, but I'm presuming that some dependency is being kicked off incorrectly to cause this. Anyway to force a migration not to happen? Here's an example from my dev machine and DBs. I have to define the global for ERAttachment to work, and both Models A and B do have references to ERAttachment. dbConnectURLGLOBAL=jdbc:postgresql://localhost/gradoffice dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= dbConnectPluginGLOBAL=PostgresqlPlugIn dbConnectDriverGLOBAL=org.postgresql.Driver dbConnectJDBCInfoGlobal= gradoffice.URL=jdbc:postgresql://localhost/gradoffice gradoffice.DBUser = postgres gradoffice.DBPassword = gradoffice.DBDriver = org.postgresql.Driver gradoffice.DBPlugin = PostgresqlPlugIn gradoffice.DBJDBCInfo = admitarch.URL = jdbc:postgresql://localhost/admit-archive admitarch.DBUser = postgres admitarch.DBPassword = admitarch.DBDriver = org.postgresql.Driver admitarch.DBPlugin = PostgresqlPlugIn admitarch.DBJDBCInfo = ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Multiple databases and migrations causing weird side affect
I'm on to something here. When I remove the relation and try to run, this application is simply not fetching the model and loading it for admitarch as defined in the Properties files below. Is that normal? On Wed, Aug 4, 2010 at 4:41 PM, Joe Little jmlit...@gmail.com wrote: I have two databases, and two models with their own migrations pointing at each. When I kick off an application tied to database and model B, the migration kicks off with a fresh db as expected. However, since one relation exists in B to an entity in A, it would appear that migrations are kicking off to generate the model tables for both A and B in Database B. Thus, after migrations, but code is searching against empty tables generated in B for data in that was in A. I hope you followed along with the bouncing ball. It took a while to see that the model was migrating these duplicate but empty tables into db B. My Properties file only makes mention of migration models for B, but I'm presuming that some dependency is being kicked off incorrectly to cause this. Anyway to force a migration not to happen? Here's an example from my dev machine and DBs. I have to define the global for ERAttachment to work, and both Models A and B do have references to ERAttachment. dbConnectURLGLOBAL=jdbc:postgresql://localhost/gradoffice dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= dbConnectPluginGLOBAL=PostgresqlPlugIn dbConnectDriverGLOBAL=org.postgresql.Driver dbConnectJDBCInfoGlobal= gradoffice.URL=jdbc:postgresql://localhost/gradoffice gradoffice.DBUser = postgres gradoffice.DBPassword = gradoffice.DBDriver = org.postgresql.Driver gradoffice.DBPlugin = PostgresqlPlugIn gradoffice.DBJDBCInfo = admitarch.URL = jdbc:postgresql://localhost/admit-archive admitarch.DBUser = postgres admitarch.DBPassword = admitarch.DBDriver = org.postgresql.Driver admitarch.DBPlugin = PostgresqlPlugIn admitarch.DBJDBCInfo = ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Multiple databases and migrations causing weird side affect
Thanks. I think my problem is more fundamental now since it can't find any existing entities relative to the second defined database and model. This has working for me in other other cases, but I'm wondering if having both models depending on ERAttachment somehow disallows the secondary database connection, or something similar. I'm simply not connecting at all to one of my DBs. On Wed, Aug 4, 2010 at 5:08 PM, Ramsey Lee Gurley rgur...@mac.com wrote: A possibly helpful email from May 6 on the wonder list: Hi Ricardo, I'm usually adding the relationships programatically in such situations. E.g. ERXEOAccessUtilities.createRelationship( contactModifier, // name PDBUUser.ENTITY_NAME, id, // from PDCrmContact.ENTITY_NAME, modifiedByID, // to true, // toMany EOEntityClassDescription.DeleteRuleDeny, false, // mandatory false, // class property false // propagate PK ); Another more complex example: private void setupDynamicRelationships() { String ownerEntityName = ERXProperties.stringForKey(PROPERTY_OWNER_ENTITY_NAME); if (ownerEntityName == null || .equals(ownerEntityName)) { log.warn(PROPERTY_OWNER_ENTITY_NAME + is not set, not setting up owner support!); } else { EOEntity ownerEntity = ERXEOAccessUtilities.entityNamed(ERXEC.newEditingContext(), ownerEntityName); @SuppressWarnings(unchecked) NSArrayString primaryKeyAttributeNames = ownerEntity.primaryKeyAttributeNames(); if (primaryKeyAttributeNames.count() 1) throw new RuntimeException(Composite primary keys are unsupported); String ownerEntityPrimaryKeyAttributeName = primaryKeyAttributeNames.lastObject(); ERXEOAccessUtilities.createRelationship( owner, PDIBArticle.ENTITY_NAME, ownerID, ownerEntityName, ownerEntityPrimaryKeyAttributeName, false, EOClassDescription.DeleteRuleNullify, false, true, false); ERXEOAccessUtilities.createRelationship( articles, ownerEntityName, ownerEntityPrimaryKeyAttributeName, PDIBArticle.ENTITY_NAME, ownerID, true, EOClassDescription.DeleteRuleCascade, false, true, false); } } For frameworks, I execute that in the framework principal. See ERXFrameworkPrincipal#finishInitialization(). For applications, in the Application class (ERXapplication#didFinishLaunching() or finishInitialization()). Timo Am 07.05.2010 um 01:51 schrieb Ricardo J. Parada: Framework A has an entity named 'A'. Framework B has an entity named 'B' I need to setup a to-one named toB which takes me from A--B. The only catch is that I don't want to introduce a dependency on framework B in my application or framework A. If my application links against framework A only then Wonder throws an exception at startup, which is a good thing. :-) But I do need to join from A to B somehow and keep these frameworks independent of each other. Has anyone done this? I created a SimpleB entity that maps to the same table as B. Then setup A--SimpleB. That works... but I'm wondering if there's a better way. Like defining SimpleB in a core framework and then have B entity extend SimpleB or something like that. Thanks, Ricardo On Aug 4, 2010, at 7:57 PM, Joe Little wrote: I'm on to something here. When I remove the relation and try to run, this application is simply not fetching the model and loading it for admitarch as defined in the Properties files below. Is that normal? On Wed, Aug 4, 2010 at 4:41 PM, Joe Little jmlit...@gmail.com wrote: I have two databases, and two models with their own migrations pointing at each. When I kick off an application tied to database and model B, the migration kicks off with a fresh db as expected. However, since one relation exists in B to an entity in A, it would appear that migrations are kicking off to generate the model tables for both A and B in Database B. Thus, after migrations, but code is searching against empty tables generated in B for data in that was in A. I hope you followed along with the bouncing ball. It took a while to see that the model was migrating these duplicate but empty tables into db B. My Properties file only makes mention of migration models for B, but I'm presuming that some dependency is being kicked off incorrectly to cause this. Anyway to force a migration not to happen? Here's an example from my dev machine and DBs. I have to define the global for ERAttachment to work, and both Models A and B do have references to ERAttachment. dbConnectURLGLOBAL=jdbc:postgresql://localhost/gradoffice dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= dbConnectPluginGLOBAL=PostgresqlPlugIn dbConnectDriverGLOBAL
Re: Multiple databases and migrations causing weird side affect
My connection dictionary only contains one DB (multiple times) instead of the expect multiple DBs.. Aug 04 17:21:28 AdvisorImport[62414] WARN er.extensions.eof.ERXModelGroup - Clearing previous class descriptions Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - Using JDBCPlugIn 'PostgresqlPlugIn' for jdbcadap...@1692466348 Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - Using JDBCPlugIn 'PostgresqlPlugIn' for jdbcadap...@396836144 Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - Using JDBCPlugIn 'PostgresqlPlugIn' for jdbcadap...@1688348273 Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - Using JDBCPlugIn 'PostgresqlPlugIn' for jdbcadap...@832064157 Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - Using JDBCPlugIn 'PostgresqlPlugIn' for jdbcadap...@1625488363 Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - connecting with dictionary: {plugin = PostgresqlPlugIn; username = postgres; driver = org.postgresql.Driver; password = password deleted for log; URL = jdbc:postgresql://localhost/gradoffice; } Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - === Begin Internal Transaction Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - Using JDBCPlugIn 'PostgresqlPlugIn' for jdbcadap...@380449691 Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - fetching JDBC Info with jdbccont...@1159139518 Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - connecting with dictionary: {plugin = PostgresqlPlugIn; username = postgres; driver = org.postgresql.Driver; password = password deleted for log; URL = jdbc:postgresql://localhost/gradoffice; } Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - connection disconnected. Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - fetching JDBC Info with jdbccont...@1639291161 Aug 04 17:21:28 AdvisorImport[62414] DEBUG NSLog - connecting with dictionary: {plugin = PostgresqlPlugIn; username = postgres; driver = org.postgresql.Driver; password = password deleted for log; URL = jdbc:postgresql://localhost/gradoffice; } But again both models are defined and in the build path: gradoffice.URL=jdbc:postgresql://localhost/gradoffice gradoffice.DBUser = postgres gradoffice.DBPassword = gradoffice.DBDriver = org.postgresql.Driver gradoffice.DBPlugin = PostgresqlPlugIn gradoffice.DBJDBCInfo = admitarch.URL = jdbc:postgresql://localhost/admit-archive admitarch.DBUser = postgres admitarch.DBPassword = admitarch.DBDriver = org.postgresql.Driver admitarch.DBPlugin = PostgresqlPlugIn admitarch.DBJDBCInfo = dbConnectURLGLOBAL=jdbc:postgresql://localhost/gradoffice dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= dbConnectPluginGLOBAL=PostgresqlPlugIn dbConnectDriverGLOBAL=org.postgresql.Driver dbConnectJDBCInfoGlobal= On Wed, Aug 4, 2010 at 5:14 PM, Joe Little jmlit...@gmail.com wrote: Thanks. I think my problem is more fundamental now since it can't find any existing entities relative to the second defined database and model. This has working for me in other other cases, but I'm wondering if having both models depending on ERAttachment somehow disallows the secondary database connection, or something similar. I'm simply not connecting at all to one of my DBs. On Wed, Aug 4, 2010 at 5:08 PM, Ramsey Lee Gurley rgur...@mac.com wrote: A possibly helpful email from May 6 on the wonder list: Hi Ricardo, I'm usually adding the relationships programatically in such situations. E.g. ERXEOAccessUtilities.createRelationship( contactModifier, // name PDBUUser.ENTITY_NAME, id, // from PDCrmContact.ENTITY_NAME, modifiedByID, // to true, // toMany EOEntityClassDescription.DeleteRuleDeny, false, // mandatory false, // class property false // propagate PK ); Another more complex example: private void setupDynamicRelationships() { String ownerEntityName = ERXProperties.stringForKey(PROPERTY_OWNER_ENTITY_NAME); if (ownerEntityName == null || .equals(ownerEntityName)) { log.warn(PROPERTY_OWNER_ENTITY_NAME + is not set, not setting up owner support!); } else { EOEntity ownerEntity = ERXEOAccessUtilities.entityNamed(ERXEC.newEditingContext(), ownerEntityName); @SuppressWarnings(unchecked) NSArrayString primaryKeyAttributeNames = ownerEntity.primaryKeyAttributeNames(); if (primaryKeyAttributeNames.count() 1) throw new RuntimeException(Composite primary keys are unsupported); String ownerEntityPrimaryKeyAttributeName = primaryKeyAttributeNames.lastObject(); ERXEOAccessUtilities.createRelationship( owner, PDIBArticle.ENTITY_NAME, ownerID, ownerEntityName, ownerEntityPrimaryKeyAttributeName, false, EOClassDescription.DeleteRuleNullify, false, true, false); ERXEOAccessUtilities.createRelationship( articles
Re: two different databases at same time?
You gave me a good clue. I may be using the same damn ec On Aug 4, 2010, at 7:17 PM, Cheong Hee \(Gmail\) chn...@gmail.com wrote: When the question posted, I intended to find out if the different db works in the same ec. I have not thought more on the storing and fetching. I am not sure if this is right but merely bring it out for better understanding. Please point out whichever does not seem right: Said the Student table is in databaase A. The AdmitApplicant table is stored in database B. A row admitApplicantID is created in Student table and a relationship should be defined, said admitApplicant. The modelling cross different database should be fine. If I understand what David mentioned, the EOF fetch through relationship admitApplicant will fail. Therefore, I will assume that the fetch will have to be done by getting the admitApplicant key from Student, and then use the key to search the AdmitApplicant that is resided in database B. Good thing is both could be done in the same ec. Cheers Cheong Hee - Original Message - From: David LeBer dleber_wo...@codeferous.com To: Joe Little jmlit...@gmail.com Cc: Cheong Hee chn...@gmail.com; WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, August 05, 2010 2:36 AM Subject: Re: two different databases at same time? On 2010-08-04, at 2:26 PM, Joe Little wrote: On Wed, Aug 4, 2010 at 11:20 AM, David LeBer dleber_wo...@codeferous.com wrote: On 2010-08-04, at 2:12 PM, Joe Little wrote: Digging up an old thread. This is the first time I'm creating a multi-database relation. When my migrations kick off to generate my newer database that has a single relation to the old, it fails in spectacular ways. Specifically, it has this error: Caused by: java.lang.RuntimeException: Failed to execute 'ALTER TABLE STUDENT ADD CONSTRAINT STUDENT_admitApplicantID_ID_FK FOREIGN KEY (admitApplicantID) REFERENCES ADMIT_APPLICANT (ID) DEFERRABLE INITIALLY DEFERRED'. PSQLException: ERROR: relation admit_applicant does not exist student has a relation to admit_applicant, where student is db2.student and admit_applicant is db1.admit_applicant This is keyed off this migration line: studentTable.addForeignKey(admitApplicantID, ADMIT_APPLICANT, ID); Don't do that. EOF is fine with cross database relationships but your DB probably isn't. So it won't like you trying to create a foreign key constraint to a different database, so don't. So, what is the alternative? Would a join table work -- I think that still has foreign key constraints. Or is it simply stating a differ type of join (not inner)? I haven't done this before so my lack of clue is telling. Sorry, I wasn't clear. Model the relationship in the EOModel, create a vanilla row in the db that will act as a foreign key for the relationship, but don't tell the db that it is a foreign key. Let EOF manage the relationship for you. Am I just missing some clue that others already have? On Thu, Apr 1, 2010 at 8:17 PM, Cheong Hee chn...@gmail.com wrote: Apparently I have complicated it by thinking of using multi ec to handle respective database connections. Thanks for clarification.. Cheers Cheong Hee - Original Message - From: David LeBer dleber_wo...@codeferous.com To: Cheong Hee chn...@gmail.com Cc: WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, April 01, 2010 8:23 PM Subject: Re: two different databases at same time? On 2010-04-01, at 12:07 AM, Cheong Hee wrote: Is there any pointers or sample code how these could be done to initiate connection and save changes in respective ec? You don't need multiple ec's unless you want them. Other than that it's transparent. EOEditingContext ec = ERXEC.newEditingContext(); Person p = (Person)EOUtitlites.createAndInsertInstance(ec, Person.ENTITY_NAME); // Person entity persists in database A Horse h = (Horse)EOUtitlites.createAndInsertInstance(ec, Horse.ENTITY_NAME); // Horse entity persists in database B // make chagnes to h and p ec.saveChanges(); // p saved to database A, h saved to database B You can model cross database relationships as long as you don't try and create a fetch based on them. Cheers Cheong Hee - Original Message - From: Mark Ritchie mark.ritc...@mac.com To: James Cicenia ja...@jimijon.com Cc: WO Dev Group webobjects-dev@lists.apple.com Sent: Thursday, April 01, 2010 1:05 AM Subject: Re: two different databases at same time? On 31/Mar/2010, at 8:15 AM, James Cicenia wrote: Is it possible to use two different databases, I guess via two different models? I will need to connect to an Oracle big database on a remote server and was wondering if I could also use a mySQL or postgres database for user control on local server. Yes, yes! You can have multiple concurrent connections! One for each EOModel! Just make sure that the entity names
Re: OT: WO Wiki search less than helpful
On Thu, Jul 22, 2010 at 2:30 PM, David Holt programming...@mac.com wrote: Hi Joe, I've been really impressed with the updated confluence site itself. The search has become especially useful to me. I hope that the extension can match it, but if not, the confluence wiki itself is still only a click away. Well, for me it doesn't work in that putting an incomplete search yields no results. Yes, relative to that search bar you get live search completion, but the results from a sub-string are still blank: http://wiki.objectstyle.org/confluence/dosearchsite.action?queryString=ERModern Gets you nothing, and the dashboard search results with the above as well. And no, I don't think you put up your notes about ERModernLook. I am pretty sure I would have seen them. d On 22-Jul-10, at 2:04 PM, Joe Little wrote: I was trying out the new extension, and wanted to see what I last posted on ERModernLook (or if I ever did get around to adding my notes). I was lazy, and did a search for ERModern but came up blank. Only by searching full names like ERModernLook did results come up. This is relative to the search provided by Confluence. Is there a way that searches on substrings is supposed to work there? Considering WebObjects is the land of the VeryLongAndHardToRememberExactOrderingMethodNames, I thought perhaps this was something to bring up. Relying on google doesn't help much, as it doesn't always direct me to the real meat at the objectstyle wiki or even find things there. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
OT: WO Wiki search less than helpful
I was trying out the new extension, and wanted to see what I last posted on ERModernLook (or if I ever did get around to adding my notes). I was lazy, and did a search for ERModern but came up blank. Only by searching full names like ERModernLook did results come up. This is relative to the search provided by Confluence. Is there a way that searches on substrings is supposed to work there? Considering WebObjects is the land of the VeryLongAndHardToRememberExactOrderingMethodNames, I thought perhaps this was something to bring up. Relying on google doesn't help much, as it doesn't always direct me to the real meat at the objectstyle wiki or even find things there. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
semi OT: converting strings to 80 column wide pretty print
I have a request in to deal with the usual Word text pasted into a large text field. I found the great examples already on this list for solving odd character conversion. What I'm stuck on and hoping to avoid re-inventing a wheel on is converting the text from one long line whether for a browser or email into something that is 80 columns wide automatically (or less depending on length of last word). I've seen Pretty Printers, but all involve the usual code guidelines with auto-indentation, etc. I'm hoping someone has dealt with a similar request from clients and won't mind sharing what approach they took to making work easier for the end user. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: semi OT: converting strings to 80 column wide pretty print
One could say I'm looking for a better ERXSimpleHTMLFormatter -- one that inserts breaks at appropriate points, but perhaps I'm looking for the wrong solution, and that CSS is the right thing here? On Sun, Jul 11, 2010 at 8:43 PM, Joe Little jmlit...@gmail.com wrote: I have a request in to deal with the usual Word text pasted into a large text field. I found the great examples already on this list for solving odd character conversion. What I'm stuck on and hoping to avoid re-inventing a wheel on is converting the text from one long line whether for a browser or email into something that is 80 columns wide automatically (or less depending on length of last word). I've seen Pretty Printers, but all involve the usual code guidelines with auto-indentation, etc. I'm hoping someone has dealt with a similar request from clients and won't mind sharing what approach they took to making work easier for the end user. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: semi OT: converting strings to 80 column wide pretty print
And I have answered myself. The key wasn't max-width, but setting a pre-wrap for my pre tags: max-width: 90%; white-space: pre-wrap; On Sun, Jul 11, 2010 at 8:57 PM, Joe Little jmlit...@gmail.com wrote: One could say I'm looking for a better ERXSimpleHTMLFormatter -- one that inserts breaks at appropriate points, but perhaps I'm looking for the wrong solution, and that CSS is the right thing here? On Sun, Jul 11, 2010 at 8:43 PM, Joe Little jmlit...@gmail.com wrote: I have a request in to deal with the usual Word text pasted into a large text field. I found the great examples already on this list for solving odd character conversion. What I'm stuck on and hoping to avoid re-inventing a wheel on is converting the text from one long line whether for a browser or email into something that is 80 columns wide automatically (or less depending on length of last word). I've seen Pretty Printers, but all involve the usual code guidelines with auto-indentation, etc. I'm hoping someone has dealt with a similar request from clients and won't mind sharing what approach they took to making work easier for the end user. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WO at WWDC?
CHEF-AID? On Tue, Jun 8, 2010 at 4:02 PM, Karl kgret...@mac.com wrote: Should we all donate some Aeroplan points to the Chuck Hill Envy Fund to help him make it here? ;-) Karl On 2010-06-08, at 3:58 PM, Chuck Hill wrote: On Jun 8, 2010, at 3:36 PM, Mark Ritchie wrote: On 8/Jun/2010, at 3:31 PM, Chuck Hill wrote: After the lot of you finish off Tommy's it WILL be a less reputable establishment! :-) Now you sound envious... There's still lots of time to hop a plane and get down here! ;-) Have no doubt - I AM envious. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/kgretton%40mac.com This email sent to kgret...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
solutions to boolean queries in D2W
I didn't get an answer to my focused question on how one enables D2W queries to work against boolean attributes. I'm back to the point of converting all my boolean's to intBoolean, but as a D2W newbie, I'm unsure of what I need to do to have custom d2w components that will just work, ie check boxes, queries for true/false, etc for my boolean values against integers in the DB. I definitely can't expect my user base to understand 1=true and 0=false, nor display values that way. I know how to do this in the standard WO way, but not how to hide this complexity for D2W to show/modify the attributes correctly. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Deadlocks in one of our apps
Another thing to note if this is a long request to a database housed in an ESX vm. We had similar problems with long requests timing out between two systems, with one hosted by esx 4.x. Such long requests were caught by some low level interface muxing issue and my whole EOF stack was frozen when the underlying db connection was lost mid-transaction. I resolved it by moving this application off of a vm. On May 31, 2010, at 5:33 PM, Pascal Robert prob...@macti.ca wrote: Ok, will try with ERXWOLongResponsePage since it look like it's locking and unlocking all ECs in the thread. There's a bunch of stuff wrong here. First, the only actually locked thread is: - com.webobjects.eocontrol.EOObjectStoreCoordinator.addCooperatingObjectStore(com.webobjects.eocontrol.EOCooperatingObjectStore) @bci=5, line=130 (Interpreted frame) - com.webobjects.eoaccess.EODatabaseChannel.setCurrentEditingContext(com.webobjects.eocontrol.EOEditingContext) @bci=34, line=166 (Interpreted frame) - com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext) @bci=158, line=788 (Interpreted frame) - com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext) @bci=64, line=215 (Interpreted frame) - com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext) @bci=219, line=3205 (Interpreted frame) - com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext) @bci=34, line=3346 (Interpreted frame) - com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext) @bci=97, line=539 (Interpreted frame) - com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext) @bci=79, line=4114 (Interpreted frame) - er.extensions.eof.ERXEC.objectsWithFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext) @bci=72, line=1211 (Interpreted frame) - com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification) @bci=3, line=4500 (Interpreted frame) - com.acaiq.fondation.acaiqCore._Licence.fetchLicences(com.webobjects.eocontrol.EOEditingContext, com.webobjects.eocontrol.EOQualifier, com.webobjects.foundation.NSArray) @bci=19, line=1062 (Interpreted frame) - com.acaiq.fondation.acaiqCore._Membre.licences(com.webobjects.eocontrol.EOQualifier, com.webobjects.foundation.NSArray, boolean) @bci=77, line=8920 (Interpreted frame) - com.acaiq.fondation.acaiqCore._Membre.licences(com.webobjects.eocontrol.EOQualifier, boolean) @bci=4, line=8893 (Interpreted frame) - com.acaiq.fondation.acaiqCore.Membre.licencesParEtats(com.acaiq.fondation.acaiqCore.EtatMembre[]) @bci=100, line=980 (Interpreted frame) - com.acaiq.fondation.acaiqCore.Membre.licencesValides() @bci=11, line=996 (Interpreted frame) - com.acaiq.fondation.acaiqCore.Membre.estCourtier() @bci=5, line=1035 (Interpreted frame) - sun.reflect.GeneratedMethodAccessor87.invoke(java.lang.Object, java.lang.Object[]) @bci=40 (Interpreted frame) Which reminds me of an unlocked EC/OSC. Second: java.lang.IllegalArgumentException: Attribute noCommandeOracle can't receive a null parameter : at com.acaiq.fondation.depot.lbaArticle._CommandesEcom.setNoCommandeOracle(_CommandesEcom.java:419) This is a *template* that throws on null?? You sure that's such a bright idea? Isn't this what validation is for? And third: at com.acaiq.depot.component.TransactionAchat.performAction(TransactionAchat.java:63) at com.webobjects.woextensions.WOLongResponsePage.run(WOLongResponsePage.java:119) As you're throwing from inside a normal com.webobjects.woextensions.WOLongResponsePage, I seriously hope you're doing your part of try{} finally{} and EC unlocking. Cheers, Anjo Am 31.05.2010 um 20:02 schrieb Pascal Robert: One of our apps have deadlocked 5 times over 3 days, strangely enough it started when we moved our Oracle Database 10gR2 DB to our VMWare ESX 4.0 cluster. e didn't re-install Oracle, I simply did a P2V (Physical to VM) conversion, so it's the exact same version of Oracle DB as before. What's happenning is that we store some information on our Oracle database, save it, and we built a copy of some of the data to a new EO (different entity) in a SQL Server 2005 db so the accounting system take care of billing.
Re: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)
and I'm local. On Wed, May 26, 2010 at 9:02 PM, George Domurot geo...@boxofficetickets.com wrote: Two geeks from out team will be there too ... more tequila shots this year? -G On May 26, 2010, at 6:18 PM, David LeBer wrote: On 2010-05-26, at 8:55 PM, Chuck Hill wrote: On May 26, 2010, at 5:53 PM, Mark Ritchie wrote: See you about town! ;-) Are you up here enjoying the cold, wet summer? Nope, I was more thinking at the previously arranged pub meet in San Francisco in a week! ;-) Sadly, I won't be at WWDC this year. My house is getting renovated and I want to keep an eye on it. Will you be at WOWODC? Chuck I'm hijacking this thread (well, kinda, I created a new email) to ask about list member attendance at WWDC. I'll be there, Chuck won't, and I'm sure there are lots of you who would find little of interest, but how many does that leave? Can I get a show of hands? Are there enough to plan anything? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/george%40boxofficetickets.com This email sent to geo...@boxofficetickets.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: File Upload
I take it that one for use with ERAttachment, one would need to use the code route to push an attachment into the system, since this approach is mutually exclusive, correct? On Thu, Apr 29, 2010 at 6:34 AM, David LeBer dleber_wo...@codeferous.com wrote: On 2010-04-29, at 6:58 AM, David Avendasora wrote: Absolutely brilliant! I have some users that have been asking for exactly this functionality, with one addition: Is there a way to have the server report back file metadata upon completion? (What they want is the ability to attach up to 15MB of files, or 5 attachments, whichever comes first.) Again, David, this is an excellent addition to WO! There will be a WO action and a JS function called when the upload is complete. You can use those to do whatever you wish with the uploaded file. I just looked a the implementation for the AjaxUploadRequestHandler and there is a global value for maximum upload size. There is also a progress state object AjaxUploadProgress which is per upload, I suppose I could add an upload size value there that could override the global one. Dave On Apr 28, 2010, at 11:17 PM, David LeBer wrote: Hey all, Because of the way inline edit pages work in ERModernLook all of the standard file upload components don't. So I've been working on one that will. I've got to say it's a pig of a problem. Mike had already done some heavy lifting on AjaxUpload but it required it's own form. Andrew Valums AjaxUpload.js http://valums.com/ajax-upload/ helps work around that. But getting the behaviour just right is tough. Widespread adoption of HTML5's file object cannot get here fast enough for me. Anyway, here is a sample movie of what I've been working on, I'd love feedback on whether the UI behaviour makes sense. http://files.me.com/dav1d/bkh7bx.mov ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Wotonomy
The newer (well, more maintained) is SOPE, which is another re-implementation used originally for OpenGroupWare. There is a commercial variant that is actively being used by http://www.skyrix.de/ . Also, The Merlin Server was demonstrated at a WWDC to be another re-implementation of WO, put together by ProjectWizards. These are all more up to date, but non-Java, compared to Wotonomy. On Sun, Apr 25, 2010 at 8:42 PM, Cheong Hee chn...@gmail.com wrote: I visited the site some time back. It seemed to me that it was created due to WO is still in Objective-C and initiative was taken to port over to Java version. It has been stopped development for quite a long time. Any reason you found it useful? - Original Message - From: Mike Schrag msch...@pobox.com To: WebObjects Development webobjects-dev@lists.apple.com Sent: Saturday, April 24, 2010 9:50 PM Subject: Re: Wotonomy last commit was 3.5 years ago ... doesn't look active anymore. On Apr 23, 2010, at 11:27 PM, Andrew Lindesay wrote: Hello; I see there is a Wotonomy project which (was) is implementing a WO-API re-implementation. Does anybody know what became of that? Is it still being developed? http://sourceforge.net/projects/wotonomy cheers. ___ Andrew Lindesay www.silvereye.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chng34%40gmail.com This email sent to chn...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: announcement
As I've mentioned to Chuck -- if I had to do Spring + Hibernate, I'd only go with Grails, as the GORM approach is far better than just being stuck with Hibernate Criteria. On Thu, Apr 22, 2010 at 10:57 AM, Chuck Hill ch...@global-village.net wrote: Hi Lachlan, On Apr 21, 2010, at 7:40 PM, Lachlan Deck wrote: In other news, while announcements are in order: I started a new job a couple of weeks ago where spring+hibernate is in play. So my contributions will mostly likely slow down somewhat, not that they weren't slow already ;) Oh, and my wife and I had a little baby boy 4 weeks ago. Lots of fun. A little bundle of joy! Congratulations on your new son! Remember: in some far off time from now, you WILL get a good night's sleep again. :-P As for the Spring + Hibernate, I am sure that many people here would be interested in hearing of your experiences and opinions on how it compares to WO development, the better and the worse. Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Open WO / Java / DB Position in the Bay Area
Oracle is not South Bay Area :) On Thu, Mar 18, 2010 at 11:18 AM, Chuck Hill ch...@global-village.net wrote: On Mar 18, 2010, at 11:07 AM, Guido Neitzer wrote: Hey, there is a very exciting open developer position in the San Francisco South Bay area where we'd like to see some senior database / Java / WO background. So, if you are very deep into low level database work, have worked with database internals, maybe have worked on distributed storage or databases Smells like Oracle! :-P and have a strong background in Java WebObjects development - shoot me a mail. -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: OT: Cheese Rolling event in England cancelled for 2010
Well, this was only in response to the previous thread here where someone included footage. The coincidence of WO devs looking at that and then the cancellation due to increased interest was too suspicious :() On Mon, Mar 15, 2010 at 8:35 AM, Miguel Arroz ar...@guiamac.com wrote: Hi! Why won't you actually try to EAT the cheese? :P Yours Miguel Arroz On 2010/03/15, at 03:58, Joe Little wrote: Due to increased exposure from the thousands of WebObjects developers who have flocked to the event after seeing the video posted here, they have decided to cancel this year's event. http://www.dailymail.co.uk/news/article-1257445/Gloucester-cheese-rolling-event-Coopers-Hill-cancelled-200-years.html ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com This email sent to ar...@guiamac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
OT: Cheese Rolling event in England cancelled for 2010
Due to increased exposure from the thousands of WebObjects developers who have flocked to the event after seeing the video posted here, they have decided to cancel this year's event. http://www.dailymail.co.uk/news/article-1257445/Gloucester-cheese-rolling-event-Coopers-Hill-cancelled-200-years.html ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC 2010 : Community Evening
Only truly constructive thing I'd add is the ability to sponsor one's spouse/etc to join in as well for the night. Its community after all. On Thu, Mar 11, 2010 at 9:16 AM, Pascal Robert prob...@macti.ca wrote: I was looking at options to do a bash at WOWODC 2010, but instead I came up with this idea. On the first day of the conference (Friday 27th August), we will host a Community Evening (or An evening with the community ?) that would be a bash/Birds of a Feather combo. We will serve food and drinks (one glass of wine or one beer for alcool, soft drinks and water too) and after everyone sits down, people can present their WO apps/projects (15-20 minutes per presentation). Any comments on this? Pascal Robert prob...@macti.ca AIM: MacTICanada Twitter : MacTICanada LinkedIn : http://www.linkedin.com/in/macti WO Community profile : http://wocommunity.org/page/member?name=probert ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Core services design patern
Sadly I doubt I'd be able to build out a framework by August nor get the necessary funding to attend WOWODC, but perhaps the following event? Then again, Tim might be further along. I will start a project come Sept 1 that will involve OpenSSO for use with Shibboleth for Stanford that is not WO related, but I'll then be retrofitting most of my WO projects to use that effort shortly afterwards. I think 2011 is a safe target date (sadly) for anything from me. On Thu, Feb 4, 2010 at 4:02 PM, David Avendasora webobje...@avendasora.com wrote: Now this sounds like a great WOWODC talk, especially by someone that has just implemented it! Dave On Jan 30, 2010, at 3:09 PM, Tim Worman wrote: I'll be implementing shib here for at least one of my solutions in the very near future. UCLA has migrated to it for all web authentication. I'd definitely be interested to see what others have done with it. I'm actually really looking forward to getting it done. It should definitely simplify a lot of the log in process as far as my app is concerned. Tim Worman UCLA GSEIS On Jan 30, 2010, at 9:19 AM, Joe Little wrote: I've been wanting to get my but off the ground and build out a WO howto on integrating with Shib. OpenSSO might make it easier, but the end result is still just getting a REMOTE_USER back that is asserted to be ok. Authorization levels won't be know, but most store that in-app (internal) or reference indirectly via LDAP or the methods noted above. On Fri, Jan 29, 2010 at 6:46 AM, Daniel Beatty danielbea...@mac.com wrote: Greetings Xavier, Mike, Cheong, and the Practical guys, There are two features emerging that kind of like for this idea. One is the CardDAV notion and second is this assertion authentication pattern that has been implemented by Mobile Access Service, OpenSSO, and Shibboleth. A link to the CardDAV reference, even if kept semi-private, would be sufficient to have a unique reference to any user to be had. Since both Apple and Amazon seem to be making such a standard available, then it makes sense for authorization. If the Java OpenSSO (https://opensso.dev.java.net/) libraries can use the assertions found in Shibboleth and Mobile Access environments, then this would be a most useful for a wide spread and deployed WO app. But, Chuck may already have me on the certified list. Certified for what, don't ask. Later, Daniel Beatty, ABD Computer Scientist China Lake Naval Air Warfare Center dan.bea...@me.com On Jan 29, 2010, at 4:35 AM, Xavier Destombes wrote: Hello Cheong, Portability isn't a requirement for us, we just need to ensure we're using standard like if we use an Open Directory it's not a big deal, we will eventually only have to redo our read/write method to the ldap, but the attributes will be correct. We also have more and more related services, some come directly from OS X Server and some from our apps so being tied to the OS isn't an issue. What you explained also tells me I won't have to deal with security that much if I forward this to the ldap;) I'll probably have to dig a little bit more on this to understand how security will be handled for exemple in the following case: -someone trying to log to another user: if the ldap banish it for like 15mn after the 3rd attempt, I have to make sure the ldap get the correct originated IP and not the one from the core web app I've got quite a bunch of things to clarify before actually do it... Thanks for your inputs, Xavier Coincidentally, I have completed a small framework on this same request from customer. It is a pure java framework since it is aimed to be portable to any application e.g. Broadvision, WO. Quite similar that it creates new user password, authenticates user/password and returned error messages. It also has the user capabilities on the access module level. I used Sha-1, and I thought it should be good enough for hash algo. Is it secured enough? Otherwise, I could change to DES/3DES/ MD4/5 etc. Just 2c. I've got multiple web applications that share some common users. I was thinking about creating a core user application to provide the authentication service. Basically I'd like my client applications to forward the login and password to this core user app and get either succeed or fail (maybe a broader range of fail messages). I don't really need the entire user to be stored directly in the client apps, but I would sometimes need some attributes from the user object. My though was: -to create a framework to store an abstract class for the user -to extend this class within the core user app (basically just make them non-abstract) -to use the abstract class in the client apps (and eventually make only a couple attributes non-abstract at that level) That way I could make sure my object is really the same throughout the apps, at least they share a commun set of attributes
Re: Core services design patern
I should add, that just like we do with WebAuth, the path of least resistance is to just use Shibboleth and Apache, restrict your URLs, and within WebObjects check your WOContext for the HTTP header REMOTE_USER. Circling back, you can then store user information in your DB and fetch/cache from LDAP, but you have left the authentication outside the app. This is simple if you want users to always login to access the application, but not ideal if you have some public vs private pages in the same application, URL rewrites not withstanding. Here's an example page at Stanford on configuring Shibboleth: http://www.stanford.edu/services/shibboleth/sp/ A WO app is almost always going to be the service provider side of the business. Don't see the need to be the IdP. On Fri, Feb 5, 2010 at 9:46 AM, Joe Little jmlit...@gmail.com wrote: Sadly I doubt I'd be able to build out a framework by August nor get the necessary funding to attend WOWODC, but perhaps the following event? Then again, Tim might be further along. I will start a project come Sept 1 that will involve OpenSSO for use with Shibboleth for Stanford that is not WO related, but I'll then be retrofitting most of my WO projects to use that effort shortly afterwards. I think 2011 is a safe target date (sadly) for anything from me. On Thu, Feb 4, 2010 at 4:02 PM, David Avendasora webobje...@avendasora.com wrote: Now this sounds like a great WOWODC talk, especially by someone that has just implemented it! Dave On Jan 30, 2010, at 3:09 PM, Tim Worman wrote: I'll be implementing shib here for at least one of my solutions in the very near future. UCLA has migrated to it for all web authentication. I'd definitely be interested to see what others have done with it. I'm actually really looking forward to getting it done. It should definitely simplify a lot of the log in process as far as my app is concerned. Tim Worman UCLA GSEIS On Jan 30, 2010, at 9:19 AM, Joe Little wrote: I've been wanting to get my but off the ground and build out a WO howto on integrating with Shib. OpenSSO might make it easier, but the end result is still just getting a REMOTE_USER back that is asserted to be ok. Authorization levels won't be know, but most store that in-app (internal) or reference indirectly via LDAP or the methods noted above. On Fri, Jan 29, 2010 at 6:46 AM, Daniel Beatty danielbea...@mac.com wrote: Greetings Xavier, Mike, Cheong, and the Practical guys, There are two features emerging that kind of like for this idea. One is the CardDAV notion and second is this assertion authentication pattern that has been implemented by Mobile Access Service, OpenSSO, and Shibboleth. A link to the CardDAV reference, even if kept semi-private, would be sufficient to have a unique reference to any user to be had. Since both Apple and Amazon seem to be making such a standard available, then it makes sense for authorization. If the Java OpenSSO (https://opensso.dev.java.net/) libraries can use the assertions found in Shibboleth and Mobile Access environments, then this would be a most useful for a wide spread and deployed WO app. But, Chuck may already have me on the certified list. Certified for what, don't ask. Later, Daniel Beatty, ABD Computer Scientist China Lake Naval Air Warfare Center dan.bea...@me.com On Jan 29, 2010, at 4:35 AM, Xavier Destombes wrote: Hello Cheong, Portability isn't a requirement for us, we just need to ensure we're using standard like if we use an Open Directory it's not a big deal, we will eventually only have to redo our read/write method to the ldap, but the attributes will be correct. We also have more and more related services, some come directly from OS X Server and some from our apps so being tied to the OS isn't an issue. What you explained also tells me I won't have to deal with security that much if I forward this to the ldap;) I'll probably have to dig a little bit more on this to understand how security will be handled for exemple in the following case: -someone trying to log to another user: if the ldap banish it for like 15mn after the 3rd attempt, I have to make sure the ldap get the correct originated IP and not the one from the core web app I've got quite a bunch of things to clarify before actually do it... Thanks for your inputs, Xavier Coincidentally, I have completed a small framework on this same request from customer. It is a pure java framework since it is aimed to be portable to any application e.g. Broadvision, WO. Quite similar that it creates new user password, authenticates user/password and returned error messages. It also has the user capabilities on the access module level. I used Sha-1, and I thought it should be good enough for hash algo. Is it secured enough? Otherwise, I could change to DES/3DES/ MD4/5 etc. Just 2c. I've got multiple web applications that share some common users
Re: Core services design patern
OpenSSO and their ilk come into play if you can't go the apache/shib route. This is especially common when you are trying to connect with multiple IdPs, say as a hosted service provider that has specific parts of the app accessible to only one IdP vs another, or to support multiple IdPs at the same time (if that is even possible). I'm thinking its still a royal pain to get OpenSSO to do all of this, but its sometimes necessary to build this out more finer grain and in-app, perhaps with the config/XML stored in the database, then managing multiple external modules and text files. On Fri, Feb 5, 2010 at 9:56 AM, Tim Worman li...@thetimmy.com wrote: I guess I have to look at Open SSO. From what time I did spend looking at Shib it didn't appear that any other frameworks would really be necessary. Tim Worman UCLA GSEIS On Feb 5, 2010, at 9:46 AM, Joe Little wrote: Sadly I doubt I'd be able to build out a framework by August nor get the necessary funding to attend WOWODC, but perhaps the following event? Then again, Tim might be further along. I will start a project come Sept 1 that will involve OpenSSO for use with Shibboleth for Stanford that is not WO related, but I'll then be retrofitting most of my WO projects to use that effort shortly afterwards. I think 2011 is a safe target date (sadly) for anything from me. On Thu, Feb 4, 2010 at 4:02 PM, David Avendasora webobje...@avendasora.com wrote: Now this sounds like a great WOWODC talk, especially by someone that has just implemented it! Dave On Jan 30, 2010, at 3:09 PM, Tim Worman wrote: I'll be implementing shib here for at least one of my solutions in the very near future. UCLA has migrated to it for all web authentication. I'd definitely be interested to see what others have done with it. I'm actually really looking forward to getting it done. It should definitely simplify a lot of the log in process as far as my app is concerned. Tim Worman UCLA GSEIS On Jan 30, 2010, at 9:19 AM, Joe Little wrote: I've been wanting to get my but off the ground and build out a WO howto on integrating with Shib. OpenSSO might make it easier, but the end result is still just getting a REMOTE_USER back that is asserted to be ok. Authorization levels won't be know, but most store that in-app (internal) or reference indirectly via LDAP or the methods noted above. On Fri, Jan 29, 2010 at 6:46 AM, Daniel Beatty danielbea...@mac.com wrote: Greetings Xavier, Mike, Cheong, and the Practical guys, There are two features emerging that kind of like for this idea. One is the CardDAV notion and second is this assertion authentication pattern that has been implemented by Mobile Access Service, OpenSSO, and Shibboleth. A link to the CardDAV reference, even if kept semi-private, would be sufficient to have a unique reference to any user to be had. Since both Apple and Amazon seem to be making such a standard available, then it makes sense for authorization. If the Java OpenSSO (https://opensso.dev.java.net/) libraries can use the assertions found in Shibboleth and Mobile Access environments, then this would be a most useful for a wide spread and deployed WO app. But, Chuck may already have me on the certified list. Certified for what, don't ask. Later, Daniel Beatty, ABD Computer Scientist China Lake Naval Air Warfare Center dan.bea...@me.com On Jan 29, 2010, at 4:35 AM, Xavier Destombes wrote: Hello Cheong, Portability isn't a requirement for us, we just need to ensure we're using standard like if we use an Open Directory it's not a big deal, we will eventually only have to redo our read/write method to the ldap, but the attributes will be correct. We also have more and more related services, some come directly from OS X Server and some from our apps so being tied to the OS isn't an issue. What you explained also tells me I won't have to deal with security that much if I forward this to the ldap;) I'll probably have to dig a little bit more on this to understand how security will be handled for exemple in the following case: -someone trying to log to another user: if the ldap banish it for like 15mn after the 3rd attempt, I have to make sure the ldap get the correct originated IP and not the one from the core web app I've got quite a bunch of things to clarify before actually do it... Thanks for your inputs, Xavier Coincidentally, I have completed a small framework on this same request from customer. It is a pure java framework since it is aimed to be portable to any application e.g. Broadvision, WO. Quite similar that it creates new user password, authenticates user/password and returned error messages. It also has the user capabilities on the access module level. I used Sha-1, and I thought it should be good enough for hash algo. Is it secured enough? Otherwise, I could change to DES/3DES/ MD4/5 etc. Just 2c. I've got multiple web
Re: Core services design patern
Replying to myself here for the benefit of all. I'm an idiot. No surprise there. I've re-dived into my notes and did some research on where things stand today for all things shib. Not sure if this is worthy of a presentation or not. 1) OpenSSO can be used to provide either an IdP or SP. You'll need to have one of these on site, but in general, as app developers, they are likely already present where you are for you to use. 2) SPs are currently C++ based, and the Java Servlet only (must be J2EE) version of an SP is forthcoming real-soon-now. If you are only providing a service and wish to enable logins to external authentication sources, then yes, you too will want to implement/run an SP. However, whether a WO house picks the stable RPMs or EXEs available for the C++ SP or wants to go with OpenSSO(full Sun DS and J2EE stack) or the J2EE SP is a matter of taste. 3) The simple approach is THE approach. In all cases, your app is going to use REMOTE_USER in the WOContext. If you go with a servlet deploy, there is a lot of fun to be had disabling tomcat or similar auth and getting these values passed to you. If you use Apache/wotaskd, its slightly less involved. That said, getting _other_ information to your app and/or configuring Apache to handle other criteria/restrictions is a boat load of joy for all the masochists out there. In its simplest form, you'd do this in Apache: Location /secure AuthType shibboleth ShibRequireSession On require valid-user /Location All the federation and who you trust is in your configuration of the shib module, tied to SAML artifact URLs. If you hate Maven, you'll likely hate the whole Shibboleth mess even more, as its XML fun for all. This is a good concise howto to wrap your heads around it: http://www.federation.org.au/twiki/bin/view/Federation/ManualInstallSP?skin=print.pattern For more fun with Apache, you can see where the rabbit hole is heading to with this: In .htaccess: AuthType shibboleth ShibRequireSession On require affiliation ~ ^facu...@.+\.edu$ And your SAML: Path name=“myapp/secure” requireSession=“true” AccessControl RuleRegex require=“affiliation” ignoreCase=“true”^facu...@.+\.edu$/RuleRegex /AccessControl /Path Request a passive login(e.g. initial access to a portal): response.sendRedirect( “/Shibboleth.sso/Login?isPassive=1”); Request a login via client certificate from Ohio State: response.sendRedirect( “/Shibboleth.sso/Login” +“?entityID=“ +“urn:mace:incommon:osu.edu” +“authnContextClassRef=“ +“urn:oasis:names:tc:SAML:2.0:ac:classes:TLSClient”); These were from: http://www.ja-sig.org/wiki/download/attachments/13567279/Shibboleth+-+JASIG.ppt?version=1 On Fri, Feb 5, 2010 at 10:01 AM, Joe Little jmlit...@gmail.com wrote: OpenSSO and their ilk come into play if you can't go the apache/shib route. This is especially common when you are trying to connect with multiple IdPs, say as a hosted service provider that has specific parts of the app accessible to only one IdP vs another, or to support multiple IdPs at the same time (if that is even possible). I'm thinking its still a royal pain to get OpenSSO to do all of this, but its sometimes necessary to build this out more finer grain and in-app, perhaps with the config/XML stored in the database, then managing multiple external modules and text files. On Fri, Feb 5, 2010 at 9:56 AM, Tim Worman li...@thetimmy.com wrote: I guess I have to look at Open SSO. From what time I did spend looking at Shib it didn't appear that any other frameworks would really be necessary. Tim Worman UCLA GSEIS On Feb 5, 2010, at 9:46 AM, Joe Little wrote: Sadly I doubt I'd be able to build out a framework by August nor get the necessary funding to attend WOWODC, but perhaps the following event? Then again, Tim might be further along. I will start a project come Sept 1 that will involve OpenSSO for use with Shibboleth for Stanford that is not WO related, but I'll then be retrofitting most of my WO projects to use that effort shortly afterwards. I think 2011 is a safe target date (sadly) for anything from me. On Thu, Feb 4, 2010 at 4:02 PM, David Avendasora webobje...@avendasora.com wrote: Now this sounds like a great WOWODC talk, especially by someone that has just implemented it! Dave On Jan 30, 2010, at 3:09 PM, Tim Worman wrote: I'll be implementing shib here for at least one of my solutions in the very near future. UCLA has migrated to it for all web authentication. I'd definitely be interested to see what others have done with it. I'm actually really looking forward to getting it done. It should definitely simplify a lot of the log in process as far as my app is concerned. Tim Worman UCLA GSEIS On Jan 30, 2010, at 9:19 AM, Joe Little wrote: I've been wanting to get my but off the ground and build out a WO howto on integrating with Shib. OpenSSO might make it easier, but the end result
Re: Core services design patern
Don't know. SHA-1 is still safe for certain applications -- I think dig signatures is fine. But not for authentication. On Sun, Jan 31, 2010 at 9:20 PM, Cheong Hee (Gmail) chn...@gmail.com wrote: Thanks! Do you think secured email S/MIME should follow the same too, e.g. sha256+rsa? I have this email signing module that is using sha1rsa as combination. The concern is some platforms are still not SHA-2 ready yet. Cheers Cheong Hee - Original Message - From: Joe Little jmlit...@gmail.com To: Cheong Hee (Gmail) chn...@gmail.com Cc: WebObjects-Dev Mailing List List webobjects-dev@lists.apple.com Sent: Sunday, January 31, 2010 1:00 AM Subject: Re: Core services design patern FYI, SHA-1 is broken. Need to use a SHA-2 variety, such as SHA-256. Just need to store 56-byte Strings and use SHA-256 in the digest instantiation. On Thu, Jan 28, 2010 at 9:19 PM, Cheong Hee (Gmail) chn...@gmail.com wrote: Coincidentally, I have completed a small framework on this same request from customer. It is a pure java framework since it is aimed to be portable to any application e.g. Broadvision, WO. Quite similar that it creates new user password, authenticates user/password and returned error messages. It also has the user capabilities on the access module level. I used Sha-1, and I thought it should be good enough for hash algo. Is it secured enough? Otherwise, I could change to DES/3DES/ MD4/5 etc. Just 2c. I've got multiple web applications that share some common users. I was thinking about creating a core user application to provide the authentication service. Basically I'd like my client applications to forward the login and password to this core user app and get either succeed or fail (maybe a broader range of fail messages). I don't really need the entire user to be stored directly in the client apps, but I would sometimes need some attributes from the user object. My though was: -to create a framework to store an abstract class for the user -to extend this class within the core user app (basically just make them non-abstract) -to use the abstract class in the client apps (and eventually make only a couple attributes non-abstract at that level) That way I could make sure my object is really the same throughout the apps, at least they share a commun set of attributes. A client app could request a login for a user and store only a subset of the user. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Core services design patern
FYI, SHA-1 is broken. Need to use a SHA-2 variety, such as SHA-256. Just need to store 56-byte Strings and use SHA-256 in the digest instantiation. On Thu, Jan 28, 2010 at 9:19 PM, Cheong Hee (Gmail) chn...@gmail.com wrote: Coincidentally, I have completed a small framework on this same request from customer. It is a pure java framework since it is aimed to be portable to any application e.g. Broadvision, WO. Quite similar that it creates new user password, authenticates user/password and returned error messages. It also has the user capabilities on the access module level. I used Sha-1, and I thought it should be good enough for hash algo. Is it secured enough? Otherwise, I could change to DES/3DES/ MD4/5 etc. Just 2c. I've got multiple web applications that share some common users. I was thinking about creating a core user application to provide the authentication service. Basically I'd like my client applications to forward the login and password to this core user app and get either succeed or fail (maybe a broader range of fail messages). I don't really need the entire user to be stored directly in the client apps, but I would sometimes need some attributes from the user object. My though was: -to create a framework to store an abstract class for the user -to extend this class within the core user app (basically just make them non-abstract) -to use the abstract class in the client apps (and eventually make only a couple attributes non-abstract at that level) That way I could make sure my object is really the same throughout the apps, at least they share a commun set of attributes. A client app could request a login for a user and store only a subset of the user. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Core services design patern
I've been wanting to get my but off the ground and build out a WO howto on integrating with Shib. OpenSSO might make it easier, but the end result is still just getting a REMOTE_USER back that is asserted to be ok. Authorization levels won't be know, but most store that in-app (internal) or reference indirectly via LDAP or the methods noted above. On Fri, Jan 29, 2010 at 6:46 AM, Daniel Beatty danielbea...@mac.com wrote: Greetings Xavier, Mike, Cheong, and the Practical guys, There are two features emerging that kind of like for this idea. One is the CardDAV notion and second is this assertion authentication pattern that has been implemented by Mobile Access Service, OpenSSO, and Shibboleth. A link to the CardDAV reference, even if kept semi-private, would be sufficient to have a unique reference to any user to be had. Since both Apple and Amazon seem to be making such a standard available, then it makes sense for authorization. If the Java OpenSSO (https://opensso.dev.java.net/) libraries can use the assertions found in Shibboleth and Mobile Access environments, then this would be a most useful for a wide spread and deployed WO app. But, Chuck may already have me on the certified list. Certified for what, don't ask. Later, Daniel Beatty, ABD Computer Scientist China Lake Naval Air Warfare Center dan.bea...@me.com On Jan 29, 2010, at 4:35 AM, Xavier Destombes wrote: Hello Cheong, Portability isn't a requirement for us, we just need to ensure we're using standard like if we use an Open Directory it's not a big deal, we will eventually only have to redo our read/write method to the ldap, but the attributes will be correct. We also have more and more related services, some come directly from OS X Server and some from our apps so being tied to the OS isn't an issue. What you explained also tells me I won't have to deal with security that much if I forward this to the ldap;) I'll probably have to dig a little bit more on this to understand how security will be handled for exemple in the following case: -someone trying to log to another user: if the ldap banish it for like 15mn after the 3rd attempt, I have to make sure the ldap get the correct originated IP and not the one from the core web app I've got quite a bunch of things to clarify before actually do it... Thanks for your inputs, Xavier Coincidentally, I have completed a small framework on this same request from customer. It is a pure java framework since it is aimed to be portable to any application e.g. Broadvision, WO. Quite similar that it creates new user password, authenticates user/password and returned error messages. It also has the user capabilities on the access module level. I used Sha-1, and I thought it should be good enough for hash algo. Is it secured enough? Otherwise, I could change to DES/3DES/ MD4/5 etc. Just 2c. I've got multiple web applications that share some common users. I was thinking about creating a core user application to provide the authentication service. Basically I'd like my client applications to forward the login and password to this core user app and get either succeed or fail (maybe a broader range of fail messages). I don't really need the entire user to be stored directly in the client apps, but I would sometimes need some attributes from the user object. My though was: -to create a framework to store an abstract class for the user -to extend this class within the core user app (basically just make them non-abstract) -to use the abstract class in the client apps (and eventually make only a couple attributes non-abstract at that level) That way I could make sure my object is really the same throughout the apps, at least they share a commun set of attributes. A client app could request a login for a user and store only a subset of the user. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com This email sent to webobje...@anazys.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/danielbeatty%40mac.com This email sent to danielbea...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com
ertaggable not migrating
I'm getting this error, A fatal exception occurred: The connection dictionaries for ERTaggable and AffiliateEOModel have the same URL and username, but the connection dictionaries are not equal. Check your connection dictionaries carefully! This problem is often caused by jdbc2Info not matching between the two. One fix for this is to set ERTaggable.removeJdbc2Info=true and AffiliateEOModel.removeJdbc2Info=true in your Properties file. (ERTaggable={password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }; and AffiliateEOModel={driver = org.postgresql.Driver; plugin = PostgresqlPlugIn; password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }) I've also put those two properties in the Properties file without help. I've defined my database via Properties as well: dbConnectURLGLOBAL=jdbc:postgresql://localhost/affiliates dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= Has someone seen this before and can suggest what the answer was? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ertaggable not migrating
doh.. didn't see that when checking the two. On Mon, Jan 25, 2010 at 12:54 PM, Mike Schrag msch...@mdimension.com wrote: you can see from the two connection dicts what the diff is ... AffiliateEOModel explicitly declares a plugin name while ERTaggable does not. Just set a global override for plugin and it should fix your problem. ms On Jan 25, 2010, at 3:44 PM, Joe Little wrote: I'm getting this error, A fatal exception occurred: The connection dictionaries for ERTaggable and AffiliateEOModel have the same URL and username, but the connection dictionaries are not equal. Check your connection dictionaries carefully! This problem is often caused by jdbc2Info not matching between the two. One fix for this is to set ERTaggable.removeJdbc2Info=true and AffiliateEOModel.removeJdbc2Info=true in your Properties file. (ERTaggable={password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }; and AffiliateEOModel={driver = org.postgresql.Driver; plugin = PostgresqlPlugIn; password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }) I've also put those two properties in the Properties file without help. I've defined my database via Properties as well: dbConnectURLGLOBAL=jdbc:postgresql://localhost/affiliates dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= Has someone seen this before and can suggest what the answer was? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ertaggable not migrating
I'll do that. Also ran into trouble with ERAttachment. Doesn't it auto-migrate in the table creation? Failed to execute 'ALTER TABLE FILE_ATTACHMENT ADD CONSTRAINT FILE_ATTACHMENT_ATTACHMENT_ID_id_FK FOREIGN KEY (ATTACHMENT_ID) REFERENCES ERAttachment (id) DEFERRABLE INITIALLY DEFERRED' ERROR: relation erattachment does not exist If you use Project Wonder migrations and migrateOnStartup, then the ERAttachment tables will be automatically created for you on the first launch. If you do not, then you can either manually execute the .migration SQL scripts that are in the Resources folder (execute them in numeric order), or you can open the EOModel and generate SQL for your particular database. I definitely have the migrations running as that's how I'm building my DB and adding ERTaggable. On Mon, Jan 25, 2010 at 1:22 PM, Mike Schrag msch...@mdimension.com wrote: i honestly don't know why we don't just tell you this outright rather than make you visually diff the two ... seems like something these new-fangled computational machines would be good at. feel free to log a jira on that. ms On Jan 25, 2010, at 4:16 PM, Joe Little wrote: doh.. didn't see that when checking the two. On Mon, Jan 25, 2010 at 12:54 PM, Mike Schrag msch...@mdimension.com wrote: you can see from the two connection dicts what the diff is ... AffiliateEOModel explicitly declares a plugin name while ERTaggable does not. Just set a global override for plugin and it should fix your problem. ms On Jan 25, 2010, at 3:44 PM, Joe Little wrote: I'm getting this error, A fatal exception occurred: The connection dictionaries for ERTaggable and AffiliateEOModel have the same URL and username, but the connection dictionaries are not equal. Check your connection dictionaries carefully! This problem is often caused by jdbc2Info not matching between the two. One fix for this is to set ERTaggable.removeJdbc2Info=true and AffiliateEOModel.removeJdbc2Info=true in your Properties file. (ERTaggable={password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }; and AffiliateEOModel={driver = org.postgresql.Driver; plugin = PostgresqlPlugIn; password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }) I've also put those two properties in the Properties file without help. I've defined my database via Properties as well: dbConnectURLGLOBAL=jdbc:postgresql://localhost/affiliates dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= Has someone seen this before and can suggest what the answer was? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ertaggable not migrating
So, I need to define a migration explicitly for ERAttachment, including setting an ERAttachment.MigrationClassPrefix=blah.foo.bar? On Mon, Jan 25, 2010 at 1:50 PM, Mike Schrag msch...@mdimension.com wrote: hmmm ... out of curiosity, in your ERAttachmentMigration subclass, if you add the method: @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 1)); } does that fix it? we should probably put that in there. ms On Jan 25, 2010, at 4:34 PM, Joe Little wrote: I'll do that. Also ran into trouble with ERAttachment. Doesn't it auto-migrate in the table creation? Failed to execute 'ALTER TABLE FILE_ATTACHMENT ADD CONSTRAINT FILE_ATTACHMENT_ATTACHMENT_ID_id_FK FOREIGN KEY (ATTACHMENT_ID) REFERENCES ERAttachment (id) DEFERRABLE INITIALLY DEFERRED' ERROR: relation erattachment does not exist If you use Project Wonder migrations and migrateOnStartup, then the ERAttachment tables will be automatically created for you on the first launch. If you do not, then you can either manually execute the .migration SQL scripts that are in the Resources folder (execute them in numeric order), or you can open the EOModel and generate SQL for your particular database. I definitely have the migrations running as that's how I'm building my DB and adding ERTaggable. On Mon, Jan 25, 2010 at 1:22 PM, Mike Schrag msch...@mdimension.com wrote: i honestly don't know why we don't just tell you this outright rather than make you visually diff the two ... seems like something these new-fangled computational machines would be good at. feel free to log a jira on that. ms On Jan 25, 2010, at 4:16 PM, Joe Little wrote: doh.. didn't see that when checking the two. On Mon, Jan 25, 2010 at 12:54 PM, Mike Schrag msch...@mdimension.com wrote: you can see from the two connection dicts what the diff is ... AffiliateEOModel explicitly declares a plugin name while ERTaggable does not. Just set a global override for plugin and it should fix your problem. ms On Jan 25, 2010, at 3:44 PM, Joe Little wrote: I'm getting this error, A fatal exception occurred: The connection dictionaries for ERTaggable and AffiliateEOModel have the same URL and username, but the connection dictionaries are not equal. Check your connection dictionaries carefully! This problem is often caused by jdbc2Info not matching between the two. One fix for this is to set ERTaggable.removeJdbc2Info=true and AffiliateEOModel.removeJdbc2Info=true in your Properties file. (ERTaggable={password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }; and AffiliateEOModel={driver = org.postgresql.Driver; plugin = PostgresqlPlugIn; password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }) I've also put those two properties in the Properties file without help. I've defined my database via Properties as well: dbConnectURLGLOBAL=jdbc:postgresql://localhost/affiliates dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= Has someone seen this before and can suggest what the answer was? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ertaggable not migrating
Never mind my last comment. Yes, I put the below modelDependencies value in my primary migration, and it works now. On Mon, Jan 25, 2010 at 1:50 PM, Mike Schrag msch...@mdimension.com wrote: hmmm ... out of curiosity, in your ERAttachmentMigration subclass, if you add the method: @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 1)); } does that fix it? we should probably put that in there. ms On Jan 25, 2010, at 4:34 PM, Joe Little wrote: I'll do that. Also ran into trouble with ERAttachment. Doesn't it auto-migrate in the table creation? Failed to execute 'ALTER TABLE FILE_ATTACHMENT ADD CONSTRAINT FILE_ATTACHMENT_ATTACHMENT_ID_id_FK FOREIGN KEY (ATTACHMENT_ID) REFERENCES ERAttachment (id) DEFERRABLE INITIALLY DEFERRED' ERROR: relation erattachment does not exist If you use Project Wonder migrations and migrateOnStartup, then the ERAttachment tables will be automatically created for you on the first launch. If you do not, then you can either manually execute the .migration SQL scripts that are in the Resources folder (execute them in numeric order), or you can open the EOModel and generate SQL for your particular database. I definitely have the migrations running as that's how I'm building my DB and adding ERTaggable. On Mon, Jan 25, 2010 at 1:22 PM, Mike Schrag msch...@mdimension.com wrote: i honestly don't know why we don't just tell you this outright rather than make you visually diff the two ... seems like something these new-fangled computational machines would be good at. feel free to log a jira on that. ms On Jan 25, 2010, at 4:16 PM, Joe Little wrote: doh.. didn't see that when checking the two. On Mon, Jan 25, 2010 at 12:54 PM, Mike Schrag msch...@mdimension.com wrote: you can see from the two connection dicts what the diff is ... AffiliateEOModel explicitly declares a plugin name while ERTaggable does not. Just set a global override for plugin and it should fix your problem. ms On Jan 25, 2010, at 3:44 PM, Joe Little wrote: I'm getting this error, A fatal exception occurred: The connection dictionaries for ERTaggable and AffiliateEOModel have the same URL and username, but the connection dictionaries are not equal. Check your connection dictionaries carefully! This problem is often caused by jdbc2Info not matching between the two. One fix for this is to set ERTaggable.removeJdbc2Info=true and AffiliateEOModel.removeJdbc2Info=true in your Properties file. (ERTaggable={password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }; and AffiliateEOModel={driver = org.postgresql.Driver; plugin = PostgresqlPlugIn; password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }) I've also put those two properties in the Properties file without help. I've defined my database via Properties as well: dbConnectURLGLOBAL=jdbc:postgresql://localhost/affiliates dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= Has someone seen this before and can suggest what the answer was? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ertaggable not migrating
I wanted a to-many relationship for attachments on multiple entities (journals, payments,invoices, whatnot). In the end, I added that one line model dependency and it work. My model defines an entity called FileAttachment, which itself is modeled as a to-many for multiple other entities. FileAttachment has only the to-one relationship to ERAttachment as it seemingly requires based on what's documented. This may add a little work in creating an extra entity before uploads can happen, but it cleanly allows the two-many that I need. On Mon, Jan 25, 2010 at 1:58 PM, Mike Schrag msch...@mdimension.com wrote: sketchy. In your model, it has a to-one relationship to ERAttachment, right? it should have figured that out automagically and not even required ERAttachment declared explicitly, though it's generally a good thing to do anyway, since an explicit declaration defines the version #. On Jan 25, 2010, at 4:56 PM, Joe Little wrote: Never mind my last comment. Yes, I put the below modelDependencies value in my primary migration, and it works now. On Mon, Jan 25, 2010 at 1:50 PM, Mike Schrag msch...@mdimension.com wrote: hmmm ... out of curiosity, in your ERAttachmentMigration subclass, if you add the method: @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 1)); } does that fix it? we should probably put that in there. ms On Jan 25, 2010, at 4:34 PM, Joe Little wrote: I'll do that. Also ran into trouble with ERAttachment. Doesn't it auto-migrate in the table creation? Failed to execute 'ALTER TABLE FILE_ATTACHMENT ADD CONSTRAINT FILE_ATTACHMENT_ATTACHMENT_ID_id_FK FOREIGN KEY (ATTACHMENT_ID) REFERENCES ERAttachment (id) DEFERRABLE INITIALLY DEFERRED' ERROR: relation erattachment does not exist If you use Project Wonder migrations and migrateOnStartup, then the ERAttachment tables will be automatically created for you on the first launch. If you do not, then you can either manually execute the .migration SQL scripts that are in the Resources folder (execute them in numeric order), or you can open the EOModel and generate SQL for your particular database. I definitely have the migrations running as that's how I'm building my DB and adding ERTaggable. On Mon, Jan 25, 2010 at 1:22 PM, Mike Schrag msch...@mdimension.com wrote: i honestly don't know why we don't just tell you this outright rather than make you visually diff the two ... seems like something these new-fangled computational machines would be good at. feel free to log a jira on that. ms On Jan 25, 2010, at 4:16 PM, Joe Little wrote: doh.. didn't see that when checking the two. On Mon, Jan 25, 2010 at 12:54 PM, Mike Schrag msch...@mdimension.com wrote: you can see from the two connection dicts what the diff is ... AffiliateEOModel explicitly declares a plugin name while ERTaggable does not. Just set a global override for plugin and it should fix your problem. ms On Jan 25, 2010, at 3:44 PM, Joe Little wrote: I'm getting this error, A fatal exception occurred: The connection dictionaries for ERTaggable and AffiliateEOModel have the same URL and username, but the connection dictionaries are not equal. Check your connection dictionaries carefully! This problem is often caused by jdbc2Info not matching between the two. One fix for this is to set ERTaggable.removeJdbc2Info=true and AffiliateEOModel.removeJdbc2Info=true in your Properties file. (ERTaggable={password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }; and AffiliateEOModel={driver = org.postgresql.Driver; plugin = PostgresqlPlugIn; password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }) I've also put those two properties in the Properties file without help. I've defined my database via Properties as well: dbConnectURLGLOBAL=jdbc:postgresql://localhost/affiliates dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= Has someone seen this before and can suggest what the answer was? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com This email sent to msch...@mdimension.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ertaggable not migrating
Another hitch. Docs say to create a convenience method: ERTaggableEntity provides entity-level tag management and fetching methods. Typically you would provide a cover method from your entity class to an instance of an ERTaggableEntity: public class Person extends _Person { ... public static ERTaggableEntity taggableEntity() { return new ERTaggableEntity(Person.ENTITY_NAME); } } So.. when I define public static ERTaggableEntity taggableEntity() { return new ERTaggableEntity(Company.ENTITY_NAME); } I get an error since Company.ENTITY_NAME returns a string where as the ERTaggableEntity expects an EOEntity in the constructor. However, nothing else seems to work there either. Another point where I must be doing something wrong. On Mon, Jan 25, 2010 at 2:54 PM, Joe Little jmlit...@gmail.com wrote: I wanted a to-many relationship for attachments on multiple entities (journals, payments,invoices, whatnot). In the end, I added that one line model dependency and it work. My model defines an entity called FileAttachment, which itself is modeled as a to-many for multiple other entities. FileAttachment has only the to-one relationship to ERAttachment as it seemingly requires based on what's documented. This may add a little work in creating an extra entity before uploads can happen, but it cleanly allows the two-many that I need. On Mon, Jan 25, 2010 at 1:58 PM, Mike Schrag msch...@mdimension.com wrote: sketchy. In your model, it has a to-one relationship to ERAttachment, right? it should have figured that out automagically and not even required ERAttachment declared explicitly, though it's generally a good thing to do anyway, since an explicit declaration defines the version #. On Jan 25, 2010, at 4:56 PM, Joe Little wrote: Never mind my last comment. Yes, I put the below modelDependencies value in my primary migration, and it works now. On Mon, Jan 25, 2010 at 1:50 PM, Mike Schrag msch...@mdimension.com wrote: hmmm ... out of curiosity, in your ERAttachmentMigration subclass, if you add the method: @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 1)); } does that fix it? we should probably put that in there. ms On Jan 25, 2010, at 4:34 PM, Joe Little wrote: I'll do that. Also ran into trouble with ERAttachment. Doesn't it auto-migrate in the table creation? Failed to execute 'ALTER TABLE FILE_ATTACHMENT ADD CONSTRAINT FILE_ATTACHMENT_ATTACHMENT_ID_id_FK FOREIGN KEY (ATTACHMENT_ID) REFERENCES ERAttachment (id) DEFERRABLE INITIALLY DEFERRED' ERROR: relation erattachment does not exist If you use Project Wonder migrations and migrateOnStartup, then the ERAttachment tables will be automatically created for you on the first launch. If you do not, then you can either manually execute the .migration SQL scripts that are in the Resources folder (execute them in numeric order), or you can open the EOModel and generate SQL for your particular database. I definitely have the migrations running as that's how I'm building my DB and adding ERTaggable. On Mon, Jan 25, 2010 at 1:22 PM, Mike Schrag msch...@mdimension.com wrote: i honestly don't know why we don't just tell you this outright rather than make you visually diff the two ... seems like something these new-fangled computational machines would be good at. feel free to log a jira on that. ms On Jan 25, 2010, at 4:16 PM, Joe Little wrote: doh.. didn't see that when checking the two. On Mon, Jan 25, 2010 at 12:54 PM, Mike Schrag msch...@mdimension.com wrote: you can see from the two connection dicts what the diff is ... AffiliateEOModel explicitly declares a plugin name while ERTaggable does not. Just set a global override for plugin and it should fix your problem. ms On Jan 25, 2010, at 3:44 PM, Joe Little wrote: I'm getting this error, A fatal exception occurred: The connection dictionaries for ERTaggable and AffiliateEOModel have the same URL and username, but the connection dictionaries are not equal. Check your connection dictionaries carefully! This problem is often caused by jdbc2Info not matching between the two. One fix for this is to set ERTaggable.removeJdbc2Info=true and AffiliateEOModel.removeJdbc2Info=true in your Properties file. (ERTaggable={password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }; and AffiliateEOModel={driver = org.postgresql.Driver; plugin = PostgresqlPlugIn; password = ; username = postgres; URL = jdbc:postgresql://localhost/affiliates; }) I've also put those two properties in the Properties file without help. I've defined my database via Properties as well: dbConnectURLGLOBAL=jdbc:postgresql://localhost/affiliates dbConnectUserGLOBAL=postgres dbConnectPasswordGLOBAL= Has someone seen this before and can suggest what the answer
Re: ertaggable not migrating
Searching for things within Confluence is still problematic, but I do believe its still the best place for showing _how_ to use things in general. I've found better explanations there on average than what I can glean from the java docs, but mostly that's because I'm more example-driven than one to discern usage from Java Docs. Each has their advantages to different people. That said, if its a copy from the java docs, then yes it should be by reference. I think ideally that you have all your Wonder frameworks in Confluence, a nice intro/example page for each framework, with links to the java docs to avoid duplication and/or outdated-ness where possible. On Mon, Jan 25, 2010 at 3:42 PM, Mike Schrag msch...@mdimension.com wrote: the great quandry of javadocs i wonder if this should be a symlink to the package.html for the bulk of this page? Maybe it should only include notes and comments above and beyond what appears in the javadoc? Ray is working on a tool that might make this process suck less. ms On Jan 25, 2010, at 6:39 PM, Joe Little wrote: I was originally using the confluence docs.. and when that failed, went to the class file docs. Both were wrong. I'll go and update the confluence docs. http://wiki.objectstyle.org/confluence/display/WONDER/ERTaggable On Mon, Jan 25, 2010 at 3:38 PM, Mike Schrag msch...@mdimension.com wrote: not sure which docs you were looking at, but the package.html* (which i consider to be The Docs (TM) ) looks correct: * http://webobjects.mdimension.com/hudson/job/Wonder53/javadoc/er/taggable/package-summary.html ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: webobjects.mdimension.com down?
) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:122) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3488) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3074) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) On Sat, Jan 23, 2010 at 12:19 PM, David LeBer dleber_wo...@codeferous.com wrote: On 2010-01-23, at 3:07 PM, Joe Little wrote: Nothing in console and have yet to find eclipse log [WORKSPACE]/.metadata/.log ? On Jan 23, 2010, at 11:30 AM, Chuck Hill ch...@global-village.net wrote: On Jan 23, 2010, at 9:46 AM, Joe Little wrote: On Sat, Jan 23, 2010 at 8:37 AM, Mike Schrag msch...@mdimension.com wrote: should be back now ... sorry for the confusion and delay That sounds too much like Thomas the Tank Engine (sorry for those of you without kids). What's strange to me is that eclipse 3.5.1 + latest 3.5 wolips tree allows me to create new classes again, where as my trusty eclipse 3.4.2 install with wolips 3.4.5744 stopped allowing me to create new java Classes. Did you check the Eclipse log and the console log for exceptions? I can create WOComponents and copy/paste classes just fine. Just that eclipse new class wizard has become a no-op. It may have broken some time ago on this machine as I've primarily used it just for editing/bug fixing pre-existing applications. Strange nonetheless. On Jan 23, 2010, at 11:26 AM, Joe Little wrote: yep.. it was down for the count for most of the night :) On Fri, Jan 22, 2010 at 10:10 PM, Chuck Hill ch...@global-village.net wrote: Looking for something here? http://webobjects.mdimension.com/wolips/ On Jan 22, 2010, at 7:11 PM, Joe Little wrote: I'm having a bad error tonight, where I can do everything in eclipse except for create new java classes. A full no-op for me. So, I decided to update wolips and/or go with eclipse 3.5 and that tree just to see if this was fixed. In doing so, it appears that webobjects.mdimension.com is off the net. Is this expected? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase
webobjects.mdimension.com down?
I'm having a bad error tonight, where I can do everything in eclipse except for create new java classes. A full no-op for me. So, I decided to update wolips and/or go with eclipse 3.5 and that tree just to see if this was fixed. In doing so, it appears that webobjects.mdimension.com is off the net. Is this expected? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Best way to run period task?
Quartz? On Jan 6, 2010, at 4:22 PM, Mark Woollard m...@taptapas.com wrote: What's the recommended way to run a periodic task from within a WO application? In this case its infrequently (hourly) and independent of any web requests. Thanks Mark ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Connection to Postgresql...
Keep the message on the list. For instance, I'll be out of touch for the next four days. You should check the wiki, and just grab the pre-build Wonder Frameworks. No need to unnecessarily build it all. You need to alter the package name in the eomodel to have them go other than the default package. I think there is stuff in the wiki, as well as David LeBer's screencasts showing this. On Thu, Dec 10, 2009 at 9:35 PM, Michael Andronov michael_andro...@sd-kyber.com wrote: Ok, 1. I took Wonder sources, looked into Build.txt, followed instructions... 2. Started a new project, ( Wonder project this time), created EOModel, run EOGenerate... 3. The corresponding .java classes were generated within (default package). (Within WOLips project before, the same steps were generating the files within your.app.eo package). I can not include the classes from default package to my Main.java. Is it a problem within my environment? Or, I just missed some magic words somewhere? Thanks. Michael. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Connection to Postgresql...
I'd recommend two things: 1) Do get Wonder, and do make sure ERPrototypes is in your class path, as well as the PostgresqlPlugin found w/ Wonder 2) Grab the model for the Movies DB from David LeBer. Its for mysql, but its updated to use Wonder/Prototypes so its the path of least resistance to fixing this problem. http://davidleber.net/?p=316 Note well, (and not to stroke the flames), I'd recommend keeping with Postgresql if you can and not necessarily drop it for MySQL. I used Postgresql for 90% of my projects, and only use other DBs for mostly read-only data :) On Thu, Dec 10, 2009 at 7:09 PM, Michael Andronov michael_andro...@sd-kyber.com wrote: Ramsey - Thanks a lot for the informative reply. Following your message, I'm using - - OSX 10.6, Snow Leopard; - Eclipse 3.4.1 - WOlips - WO 5.4.3 Though I'm using WOlips, for some reason, I do not have any prototype within prototype field available. ( Like on your screen, for example. ( My guess is -- some wrong libraries are used somewhere? ). About the Wonder project. I heard a lot about it. I even tried. I downloaded binary .tar.gz and followed instructions to unzip/extract... But I guess it is more than that in order to start to use it :) Also, I see a point in installing from source code -- it gaves the possibility to trace the code, if needed... So, I think I have to make to follow the 'installation from source' instructions. Thanks for the link. So, I'll read the links you gave me, and I'll try again. ( Now, I have some ideas what to try). Michael. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: All In One Installer broken
Let me apologize for the group, and hope you stay with us a little longer. We all tend to use the mailing list as the official conduit of communications and forget that direct email may be preferred when reporting a problem for some. Worse yet, bringing up such issues over a weekend can be a recipe for more disastrous fun. The only bit I agree on is making it even more obvious to new users whatever the group preffered methods are. Anything to limit confusion is _usually_ best. On Dec 6, 2009, at 12:20 PM, Jeremy Matthews jeremymatth...@mac.com wrote: Clearly broken, eh? I suppose after seeing more than a dozen messages no one thought of actually talking to me? Sigh...so many assumptions, so little meaningful conversation I'm not sure what the issue is, since we test it routinely, and this is the first time we've heard in MONTHS that there was a problem. And now there's talk of abandoning it entirely - within an hour. Nice. So, seems everyone wants to talk AROUND me and not TO me, let me make a few things clear: 1) I regularly test and maintain the installer. 2) Whenever we hear there is an issue we FIX it. Usually pretty damn fast. Ask around. 3) I do not build WO Apps _ROUTINTELY_ anymore - this does not mean I care less about the tools or the installer, or the great people in the community. I still develop too, I just don't advertise it. Usually the opposite since there are tons of talented people here. That being said, if someone wants to take the installer over, fine by me. I've had fun working with some really cool people, and being able to create something a lot of people thanked me for. I've been fortunate to work with this great community, and am sincerely thankful for that. But...if people will not communicate with me, then there is nothing I can do (to help this community). I wish everyone the absolute best of luck. So long, and thanks for all the fish! -jeremy P.S. - There have a been more than a few people along the way who said they owed me a beer. If I see you at WWDC, I'll be collecting those! # I was setting up a new SL dev environment, and just to see what the initial installation and setup procedure would be like for a complete newbie on SL, I looked on the wiki for instructions for the simplest possible path to new installation on a virgin Snow Leopard. It seems that really, a newbie would probably be confused and would probably struggle. :-( After installing WebObjects 5.4.3 using Apple's dmg installer and then installing the All In One Eclipse/WOLips installer from Jeremy's .mac page (since the sisu download was slow as molasses with an est time of 1 day+!), I then hit a roadblock, getting an error when launching Eclipse after running Jeremy's installer. An Error has occurred See the log file ~/.eclipse/./blahblah.log That error log file is full of missing required bundle messages. Anyway, just FYI, I don't have time for troubleshooting this now I am doing my usual 3.4.2 download and install/setup the manual way. Since Jeremy is not working in WO anymore and this is AIO (All In One) installer is clearly broken for install on a virgin OS X Snow Leopard box, we might want to just discontinue the all-in-one installer and just go write a concise WebObjects Developer Quick Start Guide for newbies ...so I started a wiki page on this and will work on completing it as I get time. Any thoughts on that? Should I wipe all references on the wiki to the AIO? If we are ever going to get new devs to come to WebObjects, we need to have a working quick start. Any dev worth his salt should be comfortable on the command line, so maybe a bash install script that downloads and installs various bits and configures everything might be the better route. Any opinions on that? BTW, I went to use the WOInstaller.jar initially and thinking that a newbie would want standard install paths, I set the WOInstaller.jar target as /, but got an error saying System directory already exists. Should the WOInstaller.jar's CPIO class be changed to just overwrite existing files? Does that overlay directory paths (aka merge eith existing files if named differently, or does it realyl replace existing directories (ie., wiping them out)? Anyway, this is just some meandering thoughts / discussion before I leave off the How would a newbie WO dev fare on getting started for now and go do some work. Regards, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
OT: Stepwise gone
Scott took his site down as noted below. http://www.stepwise.com/ Every once in a while there is mention of an article or info that was posted there. He deleted it all. So, someone cache anything relevant, its the right time to move it to the wiki. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Reverse Engineering a PostgreSQL database.
You appeared to have tried the 3.4.x line of WOLips with Eclipse 3.5.1. You should instead try the 3.5.x line of wolips mentioned below, as any fix would be there. On Wed, Nov 18, 2009 at 6:21 PM, Louis Demers louisdem...@mac.com wrote: On 2009-11-18, at 21:06 , Lon Varscsak wrote: I believe that reverse engineering is broken in the 3.4.2 line (for all databases), but is fixed in the 3.5.x codebase (http://webobjects.mdimension.com/wolips/eclipse_3_5/). From reading a series of jiras, that is what I understood. This is why I tried Eclipse 3.5.1, without success. Yet comments in WOL-1048 http://issues.objectstyle.org/jira/browse/WOL-1048 on 2009-09-08 seem to indicate it should be working, including in 3.4.2 -Lon On Wed, Nov 18, 2009 at 6:37 PM, Louis Demers louisdem...@mac.com wrote: Hi, i'm trying to create an eo-model of an existing PostgreSQL database. Running Eclipse 3.4.2, WOLips 3.4.5830, OS X 10.6.1 but after seeing some messages and jira's tries Eclipse 3.4.2, WOLips 3.4.5950, OS X 10.6.2 Eclipse 3.5.1, WOLips 3.4.5950, OS X 10.6.2 always with the latest Wonder/PostgresqlPlugIn. It all seems to go well until the last steps. The tables appear in the list (all selected) and when I press OK, nothing happens. At best, I get the beach-ball for a few seconds. This is all happening into a project that already talks to another postgres database on the same server, confirming that I have access and proper configurations... The Eclipse console logs no error... Watched the Console App to confirm no error messages get logged... Stumped. Louis Demers eng. www.obzerv.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/varscsak%40smarthealth.com This email sent to varsc...@smarthealth.com Louis Demers eng. www.obzerv.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Installing WO 543 on Linux
Did you just set that env var, or did you export NEXT_ROOT=something? Export is required hear to persist into the next sub-shell that you are likely using. On Mon, Nov 9, 2009 at 1:30 PM, David Griffith da...@infinityspain.com wrote: Hi John, I did have an error in the path to the apps, I've fixed that and it works great now. To start the apps I mean. I can connect to JavaMonitor on port 56789. I've installed all the Wonder frameworks, the mysql-connector/j, mysql server, installed my database and added users etc. Now, I'm sure this is something so stupid, but I can't see what it is I'm trying to start the iPSDistributor app as user 'appserver'. The NEXT_ROOT variable IS set as you can see below, but the first thing the app says is that it is NOT set. [appser...@localhost iPSDistributor.woa]$ echo $NEXT_ROOT /opt [appser...@localhost iPSDistributor.woa]$ ./iPSDistributor iPSDistributor: NEXT_ROOT environment variable is not set! Reading UNIXClassPath.txt ... Launching iPSDistributor.woa ... Obviously it crashes out with NoClassDef errors etc as it can't find the NEXT_ROOT. What have I done wrong here? Regards, David. On Nov 9, 2009, at 4:07 PM, John Bruce wrote: Hi David, you can test that the script works properly by trying to launch webobjects via: /etc/init.d/webobjects start /etc/init.d/webobjects stop after running this you should have the two java processes running - if not then there's something wrong. Perhaps check the permissions on the script, the NEXT_ROOT / USER variables and that it is executable etc Also the reason for the: chkconfig --levels 2345 webobjects on is that the script defaults to 345 (at least it did for me) and you porbably want it to run at level 2 as well. - John On Mon, Nov 9, 2009 at 2:30 PM, David Griffith da...@infinityspain.com wrote: Immediately after reboot: root 2764 0.0 0.1 3916 664 pts/0 R+ 17:29 0:00 grep java Regards, David. On Nov 9, 2009, at 3:23 PM, Pascal Robert wrote: ps auxww | grep java ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/wolists%40gmail.com This email sent to woli...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Installing WO 543 on Linux
He wasn't embedding, so I assume noneof the frameworks are local to the deployment server, or at least are at different paths then when it was built On Nov 9, 2009, at 4:13 PM, Chuck Hill ch...@global-village.net wrote: On Nov 9, 2009, at 4:04 PM, David Griffith wrote: LOCALROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ ERExtensions.jar Is LOCALROOT defined? Where is ERExtensions.jar? Chuck I've moved ERExtensions to appear above JavaFoundation, still the same. The above is the second line I believe, with JavaFoundation coming further down. On Nov 10, 2009, at 12:56 AM, John Bruce wrote: Hi David, Whats the classpath entry for ERExtensions.jar in UNIXClassPath.txt? Also ERExtensions.jar needs to appear before the entry for javafoundation.jar. Cheers, John On Mon, Nov 9, 2009 at 11:47 PM, David Griffith da...@infinityspain.com wrote: Well I think I figured out how to set that value, but this is what I am getting still: java.lang.NoClassDefFoundError: er/extensions/appserver/ ERXApplication at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:303) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at com.webobjects._bootstrap.WOBootstrap.main (WOBootstrap.java:84) Caused by: java.lang.ClassNotFoundException: er.extensions.appserver.ERXApplication at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:303) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 316) ... 11 more On Nov 9, 2009, at 11:35 PM, David Griffith wrote: I've noticed that when I manually launch this app on my new local server, I get: -DWOEnvClassPath= Whereas on development machine, or the existing deployment server, I get: -DWOEnvClassPath=.:/usr/java/jre1.5.0_06/lib/classes.zip Where is this value set or how do I set it? It seems that this is causing the errors I'm getting, i.e. NoClassDef for Application etc. Regards, David. On Nov 9, 2009, at 10:58 PM, John Bruce wrote: Hi David, If exporting the NEXT_ROOT doens't work you can also edit the UNIXClassPath.txt file which is inside your woa in the Contents/UNIX directory. There you can set the path to the frameworks explicity which should solve the problem for now while you work on the NEXT_ROOT issue. In my build / deploy process I embed the frameworks (as well as the particular WO version that app is using) inside a directory and set the path explicity in the file. That way I can depoy different apps that use differnt WO versions alongside each other. Cheers, John On Mon, Nov 9, 2009 at 9:30 PM, David Griffith da...@infinityspain.com wrote: Hi John, I did have an error in the path to the apps, I've fixed that and it works great now. To start the apps I mean. I can connect to JavaMonitor on port 56789. I've installed all the Wonder frameworks, the mysql-connector/j, mysql server, installed my database and added users etc. Now, I'm sure this is something so stupid, but I can't see what it is I'm trying to start the iPSDistributor app as user 'appserver'. The NEXT_ROOT variable IS set as you can see below, but the first thing the app says is that it is NOT set. [appser...@localhost iPSDistributor.woa]$ echo $NEXT_ROOT /opt [appser...@localhost iPSDistributor.woa]$ ./iPSDistributor iPSDistributor: NEXT_ROOT environment variable is not set! Reading UNIXClassPath.txt ... Launching iPSDistributor.woa ... Obviously it crashes out with NoClassDef errors etc as it can't find the NEXT_ROOT. What have I done wrong here? Regards, David. On Nov 9, 2009, at 4:07 PM, John Bruce wrote: Hi David, you can test that the script works properly by trying to launch webobjects via: /etc/init.d/webobjects start /etc/init.d/webobjects stop after running this you should have the two java processes running - if not then there's something wrong. Perhaps check the permissions on the script, the NEXT_ROOT / USER variables and that it is executable etc Also the reason for the: chkconfig --levels 2345 webobjects on is that the script defaults to 345 (at least it did for me) and you porbably want it to run at level 2 as well. - John On Mon, Nov 9, 2009
Re: Installing WO 543 on Linux
I recall having to adjust the make file in too locations, force the gcc somewhere else. But Pascal is correct in that there are also prebuilt one's available. I'm thinking I should reconsider packaging though and perhaps remake my RPMs available at some point. On Sat, Nov 7, 2009 at 11:59 AM, David Griffith da...@infinityspain.com wrote: Hi Joe, Yes I have already done that. I did manage to get it to complete the 'make' command by running it from the Adaptor directory and not from the Apache2.2 directory (it wouldn't run from there) but I think I am perhaps missing some settings in the make.config. Firstly, should the make.config be copied into the Apache2.2 directory to allow it to run from there? Then, even though it doesn't specifically say in the instructions I was following below, I think I need to tell the make.config where my apache modules are but I'm having trouble determining that path. I'm using CentOS 5.4 with the bundled Apache 2.2.3. The only place I can seem to locate mod_WebObjects.la, which it clearly is looking for, is in the following directory after installing WO 5.4.3: /opt/Library/WebObjects/Adaptors/Apache2.2/.libs/mod_WebObjects.la Is this the directory it's looking for, or rather is that the appropriate file to use? Regards, David. On Nov 7, 2009, at 4:22 PM, Joe Little wrote: On Sat, Nov 7, 2009 at 2:00 AM, David Griffith da...@infinityspain.com wrote: Sorry, I found apxs but this is the error I'm getting: apxs -i -a -n WebObjects mod_WebObjects.la /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/apr-1/build/libtool' mod_WebObjects.la /usr/lib/httpd/modules /usr/lib/apr-1/build/libtool --mode=install cp mod_WebObjects.la /usr/lib/httpd/modules/ libtool: install: `mod_WebObjects.la' is not a valid libtool archive Try `libtool --help --mode=install' for more information. apxs:Error: Command failed with rc=65536 You need to force the CC var to be CC=gcc http://wiki.objectstyle.org/confluence/pages/viewpage.action?pageId=196936navigatingVersions=true On Nov 7, 2009, at 10:35 AM, David Griffith wrote: Hi all, Following the instructions at: http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux Building the Apache WO Module, I'm running into this problem: /usr/local/apache/bin/apxs -i -a -n WebObjects mod_WebObjects.la I get: -bash: /usr/local/apache/bin/apxs: No such file or directory I have gcc installed but I can't figure out what I should install to be able to use apxs. I have Apache 2.2.3 installed and working. Is it just a matter of finding and downloading and installing apache2-threaded-dev for that version of Apache? Anyone know where I can find that installer? Regards, David. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com This email sent to da...@infinityspain.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Installing WO 543 on Linux
On Sat, Nov 7, 2009 at 2:00 AM, David Griffith da...@infinityspain.com wrote: Sorry, I found apxs but this is the error I'm getting: apxs -i -a -n WebObjects mod_WebObjects.la /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/apr-1/build/libtool' mod_WebObjects.la /usr/lib/httpd/modules /usr/lib/apr-1/build/libtool --mode=install cp mod_WebObjects.la /usr/lib/httpd/modules/ libtool: install: `mod_WebObjects.la' is not a valid libtool archive Try `libtool --help --mode=install' for more information. apxs:Error: Command failed with rc=65536 You need to force the CC var to be CC=gcc http://wiki.objectstyle.org/confluence/pages/viewpage.action?pageId=196936navigatingVersions=true On Nov 7, 2009, at 10:35 AM, David Griffith wrote: Hi all, Following the instructions at: http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux Building the Apache WO Module, I'm running into this problem: /usr/local/apache/bin/apxs -i -a -n WebObjects mod_WebObjects.la I get: -bash: /usr/local/apache/bin/apxs: No such file or directory I have gcc installed but I can't figure out what I should install to be able to use apxs. I have Apache 2.2.3 installed and working. Is it just a matter of finding and downloading and installing apache2-threaded-dev for that version of Apache? Anyone know where I can find that installer? Regards, David. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com This email sent to da...@infinityspain.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WO Mini conference in Southern California
We are actually looking at doing something for the bay area on a bi-monthly basis. Its still preliminary among local WO people, but one end result was to have session recorded and distributed for posterity. I saw it as more of a full west coast time zone event since we could also make it a webex like event. Perhaps there is interest in general unconferences where there is regular online sessions. But, the draw is usually getting locals together, if for no other reason than the excuse to drink afterwards. On Thu, Nov 5, 2009 at 2:51 PM, David Avendasora webobje...@avendasora.com wrote: Hey Daniel, Josh and Tim, Andrew Kinnie and I are trying to work out the details for webcasting our WONoVA meeting this Tuesday (the 10th). Maybe the three of you can get together and we can at least link the two meetings together! WONoVA and WOSoCA. Dave On Nov 5, 2009, at 5:32 PM, Tim Worman wrote: Josh and Daniel: I would be interested in having a meeting for So Cal. My schedule is pretty tight right now but it would definitely be good to get something going. There's other options for presentation - I work at UCLA and I could possibly host something. Apple also has a place in Santa Monica where they host events, do trainings, etc. T On Nov 5, 2009, at 1:40 PM, Beatty, Daniel D CIV NAVAIR, 474300D wrote: Greetings Josh, That reduces the time from about 3 to 2 1/2 hours at best. It is do able though. Although, we might want to ask the Apple Store if they would be willing to allow us to use their theater, at for a couple of presentations or occasions. Besides, it allows them to get my undivided attention in their toy shop. Later, Daniel Beatty Computer Scientist, Detonation Sciences Branch Code 4743000 2400 E. Pilot Plant Rd. China Lake, CA 93555-6107 daniel.bea...@navy.mil (760) 939-7097 -Original Message- From: Josh Paul [mailto:joshp...@gmail.com] Sent: Thu 11/5/2009 9:40 AM To: Beatty, Daniel D CIV NAVAIR, 474300D Subject: Re: WO Mini conference in Southern California Would Burbank work for you? On Nov 4, 2009, at 10:40 AM, Beatty, Daniel D CIV NAVAIR, 474300D wrote: Greetings Josh, Any place a guy driving in from the valley can get to. From what Google maps said, the Grove is a good 3 hour drive. Well worth it, but still 3 hours. I would be driving in from North of Mojave. If that helps. One thing that would be nice if the Grove store would game to produce podcasts of our meetings for community benefit. The last place I did that, I kind of had to provide my own. That was alright as it was an university and I could hodge-podge some Macs and Suns together. I look forward to such a meeting and plan to spread the word, Daniel Beatty Computer Scientist, Detonation Sciences Branch Code 474300D 2400 E. Pilot Plant Rd. M/S 1109 China Lake, CA 93555 daniel.bea...@navy.mil (760)939-7097 -Original Message- From: Josh Paul [mailto:joshp...@gmail.com] Sent: Wednesday, November 04, 2009 10:34 To: Beatty, Daniel D CIV NAVAIR, 474300D Cc: webobjects-dev@lists.apple.com Subject: Re: WO Mini conference in Southern California Off the top of my head, no. I know the Store at The Grove has (had?) a theater, and I used to present sessions there. But I'm not sure if they still are open to it. I can call and check. Also, Apple Corp. has (had?) an office in Santa Monica that we used to be able to meet at. Do you have a preference where in LA? Beaches (Santa Monica, Venice), Downtown, Sunset, Burbank, Valley? On Nov 4, 2009, at 10:30 AM, Beatty, Daniel D CIV NAVAIR, 474300D wrote: Greetings Josh, Got a spot where we can meet? I thought there was an Apple Store somewhere in LA. Hopefully, I don't run into characters named Snake either on my way in or out. Are weekends good? Later, Daniel Beatty Computer Scientist, Detonation Sciences Branch Code 474300D 2400 E. Pilot Plant Rd. M/S 1109 China Lake, CA 93555 daniel.bea...@navy.mil (760)939-7097 -Original Message- From: webobjects-dev-bounces+daniel.beatty=navy@lists.apple.com [mailto:webobjects-dev-bounces +daniel.beatty=navy@lists.apple.com] On Behalf Of Josh Paul Sent: Wednesday, November 04, 2009 10:04 To: danielbea...@mac.com Cc: webobjects-dev@lists.apple.com Subject: RE: WO Mini conference in Southern California 100% in. We used to have a meetup in the LA area, but it slowly quite down. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/daniel.beatty %40 navy.mil This email sent to daniel.bea...@navy.mil ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)