Re: Model dependencies

2012-04-25 Thread Kieran Kelleher
Sure, here you go. https://github.com/kierankelleher/WebObjectsIncubator On Apr 25, 2012, at 5:33 PM, Henrique Prange wrote: > Hi Kieran, > > On 25/04/2012, at 16:12, Kieran Kelleher wrote: > >> Have a Principal class in the "pluggable framework" that looks for a >> (runtime) properties that

Re: Deploying to multiple servers

2012-04-25 Thread John Huss
Good guesses. Actually I had to open up ports 2001, 2002, etc on Server2 to let requests go to the app. I didn't realize it worked that way. Thanks, John On Wed, Apr 25, 2012 at 12:27 PM, Chuck Hill wrote: > Hi John, > > It sounds like Server1 is talking to something other than server2 or > se

Re: Model dependencies

2012-04-25 Thread Henrique Prange
Hi Kieran, On 25/04/2012, at 16:12, Kieran Kelleher wrote: > Have a Principal class in the "pluggable framework" that looks for a > (runtime) properties that define a relationship destination (1) entity name, > (2) primary key attribute and (3) relationship name and then dynamically > create t

Re: Model dependencies

2012-04-25 Thread Chuck Hill
Yeah, that is a problem that sounds like it should be easy but is very tricky in practice. Kieran's idea is about the best I have heard. It is like dependancy injection where the dependancy can be optional. Chuck On 2012-04-25, at 12:12 PM, Kieran Kelleher wrote: > Have a Principal class i

Re: ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread Tim Worman
Thanks Philippe. In my standard Wonder apps, I can simply add a getter to my Application class to return my ERXEditiingContextDelegate. What is the method for registering it with EC factory in a D2W app? There's probably some samples in Wonder. I'll poke around. In any case, that does answer my

Re: force D2W query pages to use "contains" operator

2012-04-25 Thread Tim Worman
David: That's great and looks like exactly what I need. I'll give it a try! Thanks, Tim On Apr 25, 2012, at 11:00 AM, David Holt wrote: > Actually if you're talking about an attribute in an Entity's query page you > can control what is seen in a specific query pull down with a simple rule: >

Re: force D2W query pages to use "contains" operator

2012-04-25 Thread Tim Worman
Ramsey: Thanks for that. I was actually referring to an entity query page, but even so, this is really useful. Thanks much! Definitely the issue is exactly those types of strings - I can't stand having my users wade through the pop-ups. Tim On Apr 25, 2012, at 8:47 AM, Ramsey Gurley wrote:

Re: Model dependencies

2012-04-25 Thread Philippe Rabier
Ho the good question. No answer sorry but very interesting by this answers. If someone can give more information about ERPartial, I'm interested too (Mike ?) Philippe On 25 avr. 2012, at 20:27, Ramsey Gurley wrote: > I'm just wondering what others are doing... > > I'd like to create framework

Re: Model dependencies

2012-04-25 Thread Kieran Kelleher
Have a Principal class in the "pluggable framework" that looks for a (runtime) properties that define a relationship destination (1) entity name, (2) primary key attribute and (3) relationship name and then dynamically create the relationship at startup time. I have an example framework that de

Re: ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread James Cicenia
I am in the final stages of getting this beast converted to wonder. I am using mostly best practices and this whole logging/audit would be great to learn and use. Are there any docs/screencasts on CoreBusinessLogic? Thanks James On Apr 25, 2012, at 10:32 AM, Ramsey Gurley wrote: > At the me

Model dependencies

2012-04-25 Thread Ramsey Gurley
I'm just wondering what others are doing... I'd like to create frameworks that are independent and snap together with the least amount of work. A contrived example: Say I want a user framework, an address book framework, and a calendar framework. Each framework provides functionality independ

Re: force D2W query pages to use "contains" operator

2012-04-25 Thread David Holt
Actually if you're talking about an attribute in an Entity's query page you can control what is seen in a specific query pull down with a simple rule: 100 : propertyKey = 'abstractSummary' => qualifierOperators = ("contains") [com.webobjects.directtoweb.Assignment] David On 2012-04-25, at 8:47

Re: Maven

2012-04-25 Thread Henrique Prange
Hi Ron, Could you execute the following command and send us the maven.log file generated? mvn clean install -e -X > maven.log Cheers, Henrique On 25/04/2012, at 03:28, Ron X wrote: > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > > 23 апреля 2012 г. 19:24 пользователь Henrique Pr

Re: Deploying to multiple servers

2012-04-25 Thread Chuck Hill
Hi John, It sounds like Server1 is talking to something other than server2 or server2 is not listening. First, check the WebObject's apache.conf to see if the server name is correct. Also make sure that wotaskd and the apps on Server2 are getting launched with -WOHost . They could be starti

Re: Deploying to multiple servers

2012-04-25 Thread Kieran Kelleher
What does your apache config for the wo adaptor look like? On Apr 25, 2012, at 1:06 PM, John Huss wrote: > I'm trying set up an app to run on multiple servers and I'm having some > problems. I got it working in my dev environment, but production is not > working. > > The setup is like this:

Deploying to multiple servers

2012-04-25 Thread John Huss
I'm trying set up an app to run on multiple servers and I'm having some problems. I got it working in my dev environment, but production is not working. The setup is like this: 1) Server1 is the primary entrypoint (or proxy) - it does Apache and JavaMonitor and 1/2 of the app instances 2) Server2

Re: Jar frameworks and resource loading

2012-04-25 Thread Henrique Prange
Hi Hugi, Do you have the complete stacktrace of the original exception? Original Exception: java.lang.NullPointerException Cheers, Henrique On 23/04/2012, at 09:04, Hugi Thordarson wrote: > Hi all. > I'm converting my WO application projects to build with Maven (I've > previously only used M

Re: force D2W query pages to use "contains" operator

2012-04-25 Thread Ramsey Gurley
You're talking about the query all page? And that double WOPopup thing? There's no control over what operator is selected in that component. You can only set what operators appear using the relationalQualifierOperators key. The attribute is selected using D2WUtils.smartDefaultKeyForEntity. Th

Re: new Components, or better DynamicElements - CCGoogleMap andCCGoogleMapMarker

2012-04-25 Thread Pascal Robert
Le 2012-04-25 à 05:55, Cheong Hee (Gmail) a écrit : > Thanks for keeping informed and updated. > Will wait and see when it is integrated.. It will probably be integrated into the master branch of Wonder in 3 weeks, so use the integration branch if you want to try it now. Pre-built of integrati

Re: new Components, or better DynamicElements - CCGoogleMap andCCGoogleMapMarker

2012-04-25 Thread Emmanuel Tote Dominguez Torres
Thanks a lot, for the contribution. Emmanuel~ On Wed, Apr 25, 2012 at 4:55 AM, Cheong Hee (Gmail) wrote: > ** > Thanks for keeping informed and updated. > Will wait and see when it is integrated.. > > > - Original Message - > *From:* Amedeo Mantica > *To:* Cheong Hee (Gmail) > *Cc:* Web

Re: ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread Ramsey Gurley
At the mention of ERCStampedEnterpriseObject, I thought I'd mention ERCAuditTrail stuff. ERCAuditTrailHandler sets up a listener on ERXEC.EditingContextWillSaveChangesNotification. That way there are no modifications to the Entity classes and it happens automagically just by setting an ERXAudit

Problem with download link in 'appendToResponse'

2012-04-25 Thread Juergen Lorenz Simon
Hi, I'm trying to generate some file content on the fly and return it when the user clicks a link. I'm doing this in a D2W context, the component is a propoerty level component. I had some success by overwriting appendToResponse like so: public void appendToResponse(com.webobjects.appserver.WOR

Re: ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread Philippe Rabier
Hi Tim (again) I suspect you don't set your delegate correctly in your EC factory. It's quite easy to trace when your app is running. You can also use ERCStampedEnterpriseObject that handles the created and lastModified attributes for you. http://webobjects.mdimension.com/hudson/job/Wonder/ja

Re: force D2W query pages to use "contains" operator

2012-04-25 Thread Philippe Rabier
Hi Tim, I don't know if you can specify the list of operators on a the query all page but on a "standard" query page you can. I'm on vacation so I don't remember the rule but I'll give you the rule in a couple of hours. Philippe Sent from my iPhone On 25 avr. 2012, at 09:07, Tim Worman w

Re: new Components, or better DynamicElements - CCGoogleMap andCCGoogleMapMarker

2012-04-25 Thread Cheong Hee (Gmail)
Thanks for keeping informed and updated. Will wait and see when it is integrated.. - Original Message - From: Amedeo Mantica To: Cheong Hee (Gmail) Cc: WebObjects-Dev Mailing List Sent: Wednesday, April 25, 2012 5:47 PM Subject: Re: new Components, or better DynamicElement

Re: new Components, or better DynamicElements - CCGoogleMap andCCGoogleMapMarker

2012-04-25 Thread Amedeo Mantica
There are CCGoogleMap and CCGoogleMapMarker components (DynamicElements) in the Wonder/Integration branch. I also just did commit a small update in my fork. Would be available soon Sent from my iPhone On 25/apr/2012, at 11:09, "Cheong Hee (Gmail)" wrote: > Hi Amedeo > > Yeah, it is working

Re: new Components, or better DynamicElements - CCGoogleMap andCCGoogleMapMarker

2012-04-25 Thread Cheong Hee (Gmail)
Hi Amedeo Yeah, it is working with plain html/css/js without wo. I could run it stand alone and taking it to component-based will making our life easier. Cheers Cheong Hee - Original Message - From: Amedeo Mantica To: Cheong Hee (Gmail) Cc: WebObjects-Dev Mailing List S

Re: new Components, or better DynamicElements - CCGoogleMap andCCGoogleMapMarker

2012-04-25 Thread Amedeo Mantica
Hi, The demo in about INGoogleMap.js without wo. But with wo in much more easy. Bindings in are commented in javadocs Sent from my iPhone On 25/apr/2012, at 10:52, "Cheong Hee (Gmail)" wrote: > Hi Amedeo > > Great and neat demo! Thanks. > > Cheers > > Cheong Hee > - Original Messag

ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread Tim Worman
Another D2W issue tonight - I have an editingContextDelegate declared in my ERModern Application. The purpose of the ERXEditingContextDelegate is to update the modifyDate attribute of any EO that gets saved to my database. This works great in all of my apps except for the ERModern app. Is this

Re: new Components, or better DynamicElements - CCGoogleMap andCCGoogleMapMarker

2012-04-25 Thread Cheong Hee (Gmail)
Hi Amedeo Great and neat demo! Thanks. Cheers Cheong Hee - Original Message - From: Amedeo Mantica To: WebObjects-Dev Mailing List Sent: Tuesday, April 24, 2012 1:32 AM Subject: new Components, or better DynamicElements - CCGoogleMap andCCGoogleMapMarker Hello, I a

Re: SQL

2012-04-25 Thread Ron X
i think it's an error in wonder-mysql-plugin 25 апреля 2012 г. 9:22 пользователь Ron X написал: > i think i use MySQL-plugin checkouted from WONDER-repo. > > 25 апреля 2012 г. 1:33 пользователь Pascal Robert написал: > > You have to use the MySQL plugin from Wonder, the bundled plugin coming >>

force D2W query pages to use "contains" operator

2012-04-25 Thread Tim Worman
D2W experts: Is there a RHS key/value pair that will control what the default search operator is for an attribute on a query page? On an entity "search all" page, I have attributes where I don't want my users to have to select the pop-up button in order to switch to the "contains" option. Than