Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread Jim Murry
This worked perfectly. Try something like D2WPage page = (D2WPage)D2W.factory().defaultPage(session()); D2WContext c = page.d2wContext(); EODatabaseDataSource ds = new EODatabaseDataSource(session().defaultEditingContext(), c.entity().name()); page.setDataSource(ds); return page; Thank

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread Ramsey Lee Gurley
On Jun 9, 2010, at 8:31 PM, Jim Murry wrote: > > On Jun 9, 2010, at 4:07 PM, David Holt wrote: > >> Hi Andrew, >> >> On 9-Jun-10, at 3:34 PM, akinnie wrote: >> >>> OK, that all makes sense. >> >> :-) >> >>> I didn't think I needed a home() method as I was putting it in a >>> subcomponent,

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread David Holt
Hi Jim, On 2010-06-09, at 5:31 PM, Jim Murry wrote: >> If you prefer a different task to be your beginning task, set your new >> 'startupTask' at a higher priority in the rules and make sure that you >> specify a 'startupEntityName' as well (any task other than queryAll acts on >> an entity).

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread David Holt
Hi Andrew, On 9-Jun-10, at 3:34 PM, akinnie wrote: OK, that all makes sense. :-) I didn't think I needed a home() method as I was putting it in a subcomponent, so I commented it out. homeAction() is just a name. Don't be confused by that. In this case, David arbitrarily made the choice

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread akinnie
OK, that all makes sense. I didn't think I needed a home() method as I was putting it in a subcomponent, so I commented it out. I think. I am in school at the moment, so I do have it in front of me. Hopefully, if I'm not a zombie, I'll be able to look at it after 10:30 tonight. Thanks to y

WWDC - What's the consensus for dinner on Wednesday?

2010-06-09 Thread Mark Ritchie
[Apologies for cc'ing the WO list however I don't have everyone's e-mail...] Hey Everyone! What are peoples thoughts about getting together for dinner tonight? Thanks! M. ___ Do not post admin requests to the list. They will be ignored. Webobjects-

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread Ramsey Gurley
On Jun 9, 2010, at 3:49 PM, Andrew R. Kinnie wrote: Sorry, didn't reply all with my last reply. Begin forwarded message: Thanks David and Ramsey. I seem to be having issues, unfortunately. To clarify, originally, I was planning to have the admin component be a subcomponent within the nor

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread David Holt
How are you calling the Admin page? David On 9-Jun-10, at 12:49 PM, Andrew R. Kinnie wrote: Sorry, didn't reply all with my last reply. Begin forwarded message: Thanks David and Ramsey. I seem to be having issues, unfortunately. To clarify, originally, I was planning to have the admin com

Fwd: D2W/ERModernLook in non D2W app

2010-06-09 Thread Andrew R. Kinnie
Sorry, didn't reply all with my last reply. Begin forwarded message: > Thanks David and Ramsey. I seem to be having issues, unfortunately. > > To clarify, originally, I was planning to have the admin component be a > subcomponent within the normal wrapper (by "normal I mean pre-d2w -- not > "

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread David Holt
Hi Andrew, In order to minimize the work that you need to do, I would consider rethinking your approach to the admin side. Instead of it opening inside your AUC, why don't you have the admin link open up a nice full page completely outside your current pagewrapper with the unchanged ERMod

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread Ramsey Gurley
On Jun 9, 2010, at 2:10 PM, Andrew R. Kinnie wrote: Thanks. I added a rule in the d2wmodel file for pageWrapperName. However, I managed to discover several other problems. My page wrapper was for a non-d2w page and site, and I want the d2w stuff to be a subcomponent of this. It is very

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread Andrew R. Kinnie
Thanks. I added a rule in the d2wmodel file for pageWrapperName. However, I managed to discover several other problems. My page wrapper was for a non-d2w page and site, and I want the d2w stuff to be a subcomponent of this. It is very simple, I have a header, sidebar navigation, and an AjaxU

Re: Reboot server, webapp can't launch!

2010-06-09 Thread Amedeo Mantica
try sudo apachectl restart On 08/giu/2010, at 20.42, gsbr...@umich.edu wrote: > Hi, > > When I reboot a 10.4.11 server, wotaskd and monitor? start, but wotaskd can't > start my webapp. The symptoms are it seems like it is trying to start, and > womonitor shows that it is trying. The app's lo

Re: Reboot server, webapp can't launch!

2010-06-09 Thread Chuck Hill
There was a problem. It was starting the WO services before the networking had fully initialized, IIRC. Cliff Tuel posted some wait logic for one of the scripts, but I don't recall what or where or where to find it now. Ah, right. Google. Here: http://lists.apple.com/archives/webobject

Re: Reboot server, webapp can't launch!

2010-06-09 Thread Simon
didn't 10.4 have an issue with starting wo / apache in the wrong order ? try stopping webserver, then stop wo, then start webserver, then start wo. or the other way round, it's been a while since i played with a 10.4 server :-) simon On 8 June 2010 19:42, wrote: > Hi, > > When I reboot a 10.4.

Re: maven repository access problem

2010-06-09 Thread Henrique Prange
Hi Laurent, The service is working now. The server was missing the LauchDaemons configuration to start Nexus after a restart. Sorry for the inconvenience. Cheers, Henrique On 09/06/10 08:31, Cros Laurent wrote: Hi all, I am trying to add the wonder project to maven. I change my setting

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread Ramsey Gurley
On Jun 9, 2010, at 9:22 AM, Andrew R. Kinnie wrote: I am again attempting to use D2W for the admin portion of an existing app. Basically, I have an existing site, and wanted to add an admin link to the home page navigation bar, based on whether the user has logged in and has admin privil

D2W/ERModernLook in non D2W app

2010-06-09 Thread Andrew R. Kinnie
I am again attempting to use D2W for the admin portion of an existing app. Basically, I have an existing site, and wanted to add an admin link to the home page navigation bar, based on whether the user has logged in and has admin privileges. When the user clicks on the link, I want to load a

maven repository access problem

2010-06-09 Thread Cros Laurent
Hi all, I am trying to add the wonder project to maven. I change my settings.xml according to the following document : http://wiki.objectstyle.org/confluence/display/WOL/Quick+Start#QuickStart-Step2%3AConfiguringyourMavenSettings But all the maven repositories can't be accessible :