Re: owns destination + deny prohibited?

2022-02-27 Thread Philippe Rabier via Webobjects-dev
Hi OC, When an EO entity A owns an entity B, consider A and B as a whole. B does not exist separately. If you'd use a nosql document database, everything will be in the same document. The best and known examples of usage are invoices or quotes and their lines. What you want to do is to

Re: Complimentary App Server Choice

2020-02-21 Thread Philippe Rabier via Webobjects-dev
ity of java libraries and jdbc connectivity. > > Tim > >> On Feb 19, 2020, at 4:10 PM, Philippe Rabier via Webobjects-dev >> wrote: >> >> We considered using Typescript but we faced weird behaviors so we gave up. >> Too much stuff to learn at the same time

Re: Complimentary App Server Choice

2020-02-19 Thread Philippe Rabier via Webobjects-dev
ript tries to give you a more Java feel to JavaScript - maybe you > could try that? You can use it via npm and cli or in an ide > > > >>> On 19 Feb 2020, at 20:12, Philippe Rabier via Webobjects-dev >>> wrote: >>> >> Hi Tim, >> >

Re: Complimentary App Server Choice

2020-02-19 Thread Philippe Rabier via Webobjects-dev
Hi Tim, I worked as CTO in a company where Node has been chosen and I didn't want to trouble the team and continue w/ the same technology. So I decided to jump in the train and learned JavaScript, node etc. It's not an easy language if you want to get benefit of the dynamic part of the

Re: Definitely solved: More SharedEC woes: relationships into SEC not saved with more EOF stacks

2020-01-14 Thread Philippe Rabier via Webobjects-dev
Hi all, I would bet on your answer, Chuck. And I agree w/ you: I don’t remember the details but we had some side effects/issues in the past w/ SEC OC, I recommend an article titled "Development-Which cache to use with EOs?" I wrote several years ago:

Re: Multi-tenant Postgres support with EOF ?

2016-11-28 Thread Philippe Rabier
Bonjour Josef, Maybe this WOWODC'13 presentation could be useful as well: http://www.slideshare.net/wocommunity/filtering-data-with-d2w Best, Philippe > On 25 Nov 2016, at 19:16, Vanek Josef

Re: IllegalStateException: "...EOEditingContext has already been disposed"

2016-09-29 Thread Philippe Rabier
> On 29 sept. 2016, at 12:18, Paul Hoadley wrote: > When do you dispose of the EC? >>> >>> I don’t formally dispose of it. I just let it eventually fall out of scope >>> and get GC’d. Is that a bad idea? >> >> No but seems the right thing to do. I was just trying

Re: Looking for strategy

2016-07-22 Thread Philippe Rabier
Hi Markus, I made a presentation http://www.slideshare.net/wocommunity/filtering-data-with-d2w It could help you as well. Our need was to manage a multi-tenants database so it was close of your description: a user belongs to a company and can see only the data linked to the company. Best,

Re: How to avoid expensive fetches in database when setting to-one-relationship

2016-06-06 Thread Philippe Rabier
Hi Jeremy, I highly doubt that all toMany relationships are fetched without something that triggers the fetch. You can read this article if you want to optimize the requests: https://wiki.wocommunity.org/pages/viewpage.action?pageId=12943886

Re: Sad news

2016-03-31 Thread Philippe Rabier
Chuck, why do you say that? François didn't drink. He just did kitesurfing with a friend… Philippe - http://twitter.com/prabier Sent from my iPhone > On 31 Mar 2016, at 21:07, Chuck Hill wrote: > > That is very sad news indeed. > > > If you drink,

Re: Quick EOModel Column Locking ?

2016-03-23 Thread Philippe Rabier
For most of my attributes, last in wins will be fine. > > Would like to avoid SQL as there are a lot of fairly complicated computations > being performed so really want to stick with Java for that. > > Jeff > > > >> On Mar 18, 2016, at 1:02 PM, Philippe Rabier <prab.

Re: Quick EOModel Column Locking ?

2016-03-19 Thread Philippe Rabier
Jeff, if you remove the lock, you have a risk to get a write-write conflict, aka a write replaced by another. It’s maybe not a big deal. I don’t know. Another solution, if you are sure your background db process is the only one to modify an attribute, is to use raw sql to update the column you

Re: velocity or.....for templates?

2015-10-10 Thread Philippe Rabier
Hi Tim, Rather than using ERXSimpleTemplateParser which is quite old, doesn’t handle repetitions, … I would take a look at Mustache - http://mustache.github.io I use this library for example: https://github.com/samskivert/jmustache Or WOComponent as said Samuel. But Mustache syntax is simple

Re: Joda LocalTime attribute in ERRest

2015-09-23 Thread Philippe Rabier
Hi Paul, You have to modify ERXRestUtils but I’m surprised it’s not already done. There are 2 methods: - convertValue to build the output - coerceValueToTypeNamed to convert input data For example, we wanted to support epoch format for NSTimestamp attributes so we modified a little bit

Re: Eclipse 4.5 (Mars) and wolips

2015-06-23 Thread Philippe Rabier
Of course you're not the only one to thank Wolfy for his work. Thank you. Philippe Rabier - http://twitter.com/prabier Sent from my iPhone On 23 Jun 2015, at 20:20, Ramsey Gurley rgur...@smarthealth.com wrote: Thanks Wolfy I’m looking forward to some of the new

Re: WebObjects Caching Proxy

2015-05-12 Thread Philippe Rabier
Hi Vicky, I wrote an article 1 year ago on wocommunity: https://wiki.wocommunity.org/pages/viewpage.action?pageId=12943886 Maybe it can help you. Philippe http://www.youandpush.com On 7 mai 2015, at 14:20, Vicky Miller vmil...@cssg.com wrote: Has anyone developed a WebObjects caching proxy

Re: OT: The Beers of WOWODC

2015-05-02 Thread Philippe Rabier
Thanks for sharing, David. Even if I’m not unlucky as I’m in SF, I miss this WOWODC 2015. I like the real french man with the bier. Apparently, Chuck didn’t leave Vancouver this time… Philippe On 29 avr. 2015, at 04:52, David Avendasora webobje...@avendasora.com wrote: For those that were

Re: ERRest skipping my NSDictionary

2014-10-11 Thread Philippe Rabier
in advance, Riccardo On 10/ott/2014, at 23:59, Philippe Rabier prab...@icloud.com wrote: Hi Riccardo Did you think to create an alias and use it in your filter? And didn't you forget to add a filter that includes all the keys when you built your write filter? Otherwise all map content

Re: ERRest skipping my NSDictionary

2014-10-10 Thread Philippe Rabier
takes a key and a filter as parameters. Philippe Rabier - http://twitter.com/prabier Sent from my iPhone Philippe Rabier - http://twitter.com/prabier Sent from my iPhone Anyone on this? On 09/ott/2014, at 15:52, Riccardo De Menna deme...@tuorlo.net

Re: URGENT help needed: app simply stopped working (sort of)

2014-09-29 Thread Philippe Rabier
Marcus, did you try to also deploy a very basic app? Can you disable any security like firewall ? What do you see in your apache logs? (You should see the requests and the http code) Philippe - http://twitter.com/prabier Sent from my iPhone On 29 Sep 2014, at 22:59,

Re: ERRest with non-PK attribute

2014-09-26 Thread Philippe Rabier
It's very easy. You have to create a REST delegate which returns the value for the ID and fetches the object with the id contained in the route. Look at Pascal's slides on slideshare. One presentation ERRest in depth or something like that explains everything. Philippe -

Re: angular and rest questions

2014-08-14 Thread Philippe Rabier
Hi Laurence, It's just by curiosity: what do you try to achieve with angular? Prepare some part of a page on the server side the send back to angular (a mix of data + HTML + javascript)? 1 member of our team gave it a try but didn't like it very much. And personally I don't know Angular. We

Re: D2W app date field is required ???

2014-08-05 Thread Philippe Rabier
I would add to (almost) always call super.validateForSave() first. All your mandatory attributes are tested so you don’t need to write: if (myAttribute() != null) { // check some stuff } Your mandatory attributes can’t be null after super.validateForSave(). There are some rare circumstances

Re: D2W app date field is required ???

2014-07-22 Thread Philippe Rabier
If you have this kind of error, check your validateForSave method. Maybe do you just forget to call super.validateForSave()? There is nothing related to D2W or NSTimestamp attribute. And initializing your attribute with now is crap. If your users delete the value you will have fixed nothing.

Re: EO*Qualifier implements equals() but not hashcode()

2014-07-19 Thread Philippe Rabier
That's very nasty … Philippe ;-) - http://twitter.com/prabier Sent from my iPhone On 19 juil. 2014, at 01:24, Chuck Hill ch...@global-village.net wrote: That is a favorite interview question. :-) On Jul 18, 2014, at 4:00 PM, Ramsey Gurley rgur...@smarthealth.com wrote:

Re: The Good Path to D2W localization

2014-07-10 Thread Philippe Rabier
I agree with Fabian: I would add the key displayName like that: { name = ListUser; displayName = ListUserKey; action = session.navController.listUserAction; }, And in your Localizable.strings file, I put this: Nav.ListUserKey

Re: Webobject project is not runing!

2014-07-07 Thread Philippe Rabier
I don't think so. I got something similar several years ago: it was unable to find the Application class. I was unable to fix it and I think I reinstalled everything on another computer I guess. Do you have a Mac? Can you try also to create a Wonder app? Philippe Rabier

Re: Which RIA

2014-05-21 Thread Philippe Rabier
it for a while without Montage Studio. Philippe Rabier - http://twitter.com/prabier Sent from my iPhone On 21 May 2014, at 11:57, Frank Stock frank.st...@telenet.be wrote: Hi All, I want to build new applications with a RIA framework. I did some (very basic) testing

Re: Which RIA

2014-05-21 Thread Philippe Rabier
. Frank Hi there, I think the real question is the backend technology - what are you using here? WebServices - Hibernate? Whats the data binding done with? You know www.vaadin.com? I now think its better than WO … Mat Am 21.05.2014 um 13:01 schrieb Philippe Rabier prab

Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE

2014-05-19 Thread Philippe Rabier
Hi Hugi Would you consider using Apache FTP library in a WO app? I'm asking because we have also to deal with big files and preferred to use FTPS (FTP over SSL). The slides are on slideshare (look up WOCommunity). Bests, Philippe Rabier - http://twitter.com/prabier Sent

Re: Mixing and matching prototypes

2014-04-17 Thread Philippe Rabier
I think there was a big lie at the last WOWODC: the first session was about how to write code clean in order to be read by a simple developer like David A. I trusted you but I'm not sure now you are what you said ;-) Philippe - http://twitter.com/prabier Sent from my

Re: Java 8

2014-03-26 Thread Philippe Rabier
A colleague installed Java 8 some months ago on his Mac for development purpose only. It worked great but as it wasn't the final version he reverted to Java 7 to have the same JVM as the rest of the team. Philippe - http://twitter.com/prabier Sent from my iPhone On 26

Re: Flattened to-one relationship problems

2014-03-06 Thread Philippe Rabier
through some set of relationships, I usually provide support for that in the class by creating a final static of the qualifier, or add methods to get across the set of joins, or both. - ray Le 2 mars 2014 à 14:39, Philippe Rabier prab...@me.com a écrit : I don’t understand why you try

Re: Flattened to-one relationship problems

2014-03-02 Thread Philippe Rabier
I don’t understand why you try to flatten a to-one relationship. You can flatten an attribute or a many2many relationship. Creating a many2many relationship is pretty straightforward: when you create a relationship between 2 entities, you choose to many on both sides, give a name to the join

A new article about Guava on wocommunity

2014-02-17 Thread Philippe Rabier
Hi the community, A brief email to let you know there is a new article about ERXEnterpriseObjectCache and Guava Cache. http://wiki.wocommunity.org/pages/viewpage.action?pageId=12943886 Enjoy. Philippe Rabier --- Web : http

Re: Which open source alternative to use to replace WebObjects 4.5.1/Objective-C codebase?

2013-12-02 Thread Philippe Rabier
Agree with Markus. I would be tempted by Andrus approach but that means you have to rewrite the applications entirely. We used in the past the Obj-C/java converter and it does a lot. We even transform Openstep applications to Java client and reused the Nib files !! You could take a couple of

Re: Can someone please point me to sample ERQuartzScheduler code

2013-11-25 Thread Philippe Rabier
Hi Robert, Are you still interested by the example I used to demo ERQuartzScheduler the first time? I read your email this we and I adapted the code to ERQuartzScheduler instead of COScheduler (previous name). It's a simple example. Philippe On 17 sept. 2013, at 16:05, Theodore Petrosky

Re: Application Login Page

2013-11-24 Thread Philippe Rabier
Hi Miguel, Sorry if it's a bit late but I can give you some piece of code. Not rocket science but maybe you won't lose time on this part. What we do: - reusable login panel + loginHelper - used in D2W and non D2W apps - of course no session until the user is authenticated - handle SSL in

Fatal exception occurred: java.io.IOException when WO app is launched

2013-08-07 Thread Philippe Rabier
Hi all, Not a question. Just to feed Google because the email below saved my life. We are migrating You 'N Push from Mac OS X Server to Linux and one of our app failed to launch on Linux with the following log: Aug 07 10:29:55 YnpNOScheduler[2007] WARN NSLog - A fatal exception occurred:

Re: WoMonitor Failed to contact ...

2013-08-03 Thread Philippe Rabier
(ERXEnterpriseObjectCache.java:380) Do you have more than one EOF stack (Object Store Co-ordinator)? I have a deadlock to investigate related to that. Chuck On 2013-08-02, at 7:49 AM, Philippe Rabier wrote: Hi All, I resurrect this discussion again ;-) We had today the same symptom Failed

Re: WoMonitor Failed to contact ...

2013-08-02 Thread Philippe Rabier
Hi All, I resurrect this discussion again ;-) We had today the same symptom Failed to contact... which was persistent. We got this problem in the past but rarely. After googling Failed to contact... I found Kieran email. And we got the same result when executing the following command:

Re: malformed bundle version number in deployment with Java 1.6

2013-06-07 Thread Philippe Rabier
reveals: Philippe Rabier pointed me to this solution a few months back - http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x; So thanks, Philippe too :-) On 2013-06-07, at 12:03 PM, Johnny Miller jlmil...@kahalawai.com wrote: Cool. Glad I remembered having

Re: [SOLVED]Rép : Re: checking device or platform

2013-05-26 Thread Philippe Rabier
On 23 mai 2013, at 00:45, Paul Hoadley wrote: On 22/05/2013, at 11:51 PM, Raymond NANEON rnan...@me.com wrote: Thanks to all, problem resolved. What was the issue? +1 ___ Do not post admin requests to the list. They will be ignored.

Re: Cannot find strings into WebObjects application files

2013-05-26 Thread Philippe Rabier
Hi Filippo, You have to be more specific about your problems. I didn't understand if it's a localization issue as Fabian and Theodore guess or if it's a question about framework dependencies and how you can access to a specific component… as you talk about several frameworks linked together in

Re: Cannot find strings into WebObjects application files

2013-05-26 Thread Philippe Rabier
Yep. Mee too. Filippo are you the author of the application or do you maintain it? Philippe On 26 mai 2013, at 19:17, Theodore Petrosky wrote: Is this a d2w app? It certainly sounds like it. --- On Sun, 5/26/13, Filippo Laurìa filippo.laur...@gmail.com wrote: From: Filippo Laurìa

Re: Parallel structure EO modeling

2013-02-26 Thread Philippe Rabier
Hi Ken, Could you imagine an app for male and another one for female? If that case, you could create your model where table name have _male as suffix, use it as this in the WOApp for males and with a property file, change the table names dynamically with, by convention, _female as suffix in

Re: JavaFoundation opens in place of own Application

2013-01-20 Thread Philippe Rabier
Philippe Rabier: First of all I don't have any solution to provide. So don't be too much disappointed ;-). We got this kind of error when we set up the Mac of a new WO developer. We followed the wiki (WO install, golips, …) and he started a new basic project to learn. When he creates a second

Re: JavaFoundation opens in place of own Application

2013-01-20 Thread Philippe Rabier
Thanks Ramsey. I think that's what we did: create a pure WO app because Antoine tries first to follow the official tutorial provided by Apple based on Eclipse. Philippe On 20 janv. 2013, at 13:51, Ramsey Gurley wrote: I still see the session error in the run log. Are you sure you removed the

Re: Deploying for Java 1.6

2013-01-08 Thread Philippe Rabier
Hi Johnny, If you are using Mac OS X Server 10.5 (don't know if same behavior with Mac OS X client), the cause is that the launch script of wotaskd uses java 5 whatever the java settings you choose. There is some minor modification at the OS level. I try to retrieve that and I'll keep you

Re: Newbie question about REST

2012-10-23 Thread Philippe Rabier
assume that the ec is always auto-locked? Philippe On 22 oct. 2012, at 17:03, Mike Schrag wrote: if you run wonder with auto locking, you'll auto lock. if you don't, you need to lock. same rules as normal WO. ms On Oct 22, 2012, at 11:00 AM, Philippe Rabier prab...@me.com wrote: Hi

Re: Newbie question about REST

2012-10-22 Thread Philippe Rabier
and I didn't see some auto-lock mechanisms. So where is the truth? Philippe On 21 oct. 2012, at 21:05, Philippe Rabier wrote: Sorry. I read the ERXEORestDelegate code and I got my answer. We have to lock/unlock the ec manually. Philippe On 21 oct. 2012, at 14:47, Philippe Rabier wrote

Re: WOWODC 2013: call for presenters

2012-10-21 Thread Philippe Rabier
Hi Pascal, Depending on the period, we will have some stuffs to show. However, the airfare and hotel are a big concern. Even if I understand that Jazz festival is great event, everything is more expensive and july/august is bad also (because it's more expensive and because our team can be in

Newbie question about REST

2012-10-21 Thread Philippe Rabier
Hi all, If we do some fetches or updates manually in our controllers (in the createAction(), indexAction(), …) I suppose we have to manually lock the editingContext returned by the provided method edtingContext(). Is my assumption correct? Philippe

Re: WOWODC 2013: call for presenters

2012-10-21 Thread Philippe Rabier
, Philippe Rabier wrote: Hi Pascal, Depending on the period, we will have some stuffs to show. However, the airfare and hotel are a big concern. Even if I understand that Jazz festival is great event, everything is more expensive and july/august is bad also (because it's more expensive

Re: Newbie question about REST

2012-10-21 Thread Philippe Rabier
Sorry. I read the ERXEORestDelegate code and I got my answer. We have to lock/unlock the ec manually. Philippe On 21 oct. 2012, at 14:47, Philippe Rabier wrote: Hi all, If we do some fetches or updates manually in our controllers (in the createAction(), indexAction(), …) I suppose we

Re: WOWODC 2013: call for presenters

2012-10-21 Thread Philippe Rabier
else) to meet the community, for religious experience like Au pied de Cochon, not for entertainments. Philippe On 21 oct. 2012, at 18:28, Chuck Hill wrote: On 2012-10-21, at 5:27 AM, Philippe Rabier wrote: Hi Pascal, Depending on the period, we will have some stuffs to show. However

Re: WOWODC 2013?

2012-10-18 Thread Philippe Rabier
A bit late: we have to continue the event. The last one was successful even if some of us were/was upset. Of course, I don't forget it depends on you. Regarding the sessions and the fact that you organize and create and present sessions, you can rely on us (Sophiacom). We will have new stuffs

Re: Periodic Tasks in WO

2012-08-01 Thread Philippe Rabier
To be honest, ERQuartzScheduler still has some issues. If a job is running, the app doesn't stop, all (future) jobs are removed but the app doesn't restart when the job is done… Need more investigation (see my next post). Philippe On 31 juil. 2012, at 16:03, Pascal Robert wrote: Le

Re: Migrating from EOF to ????

2012-07-14 Thread Philippe Rabier
On 14 juil. 2012, at 03:49, John Huss wrote: In general though there is nothing compelling enough for me to think about rewriting existing code in Tapestry (or any framework). For new projects it might be worth a look, but there are lot of frameworks out there and I would put many in

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

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.

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 frameworks

Re: Newbie question about on WOInject (so for Henrique)

2012-04-04 Thread Philippe Rabier
Thanks for your replies/feedback Henrique and James. Happy you are to have an average transaction of 10ms. I'm fighting against Mysql at this moment. But it's another problem ;-) Philippe Sent from my iPhone On 4 avr. 2012, at 09:17, Brook, James jbr...@upcbroadband.com wrote: Sent

Newbie question about on WOInject (so for Henrique)

2012-04-02 Thread Philippe Rabier
Hi Henrique, I prepare my brain to use WOInject. I have a specific case where I need your help. We have 2 frameworks: - web services - foundation which have no dependency with WO, EOF, … (pure java I could say). Foundation provides factories used by web services but they return objects

Re: checkBox clickable from a Rule

2012-03-29 Thread Philippe Rabier
For a list, you write rules with task='edit' ? Or because you want a different behavior for the list, you do specific rules for the edit task? However, your first rule seems to be wrong. If (propertyKey = 'estimateApproved') is true, the rule will be fired whatever the value of task. The same

Re: WebObjects 5.4.3 and JavaClient Apps

2012-02-24 Thread Philippe Rabier
Maybe you can try to post your problem on WOLF if you speak french. The list is very quiet now but I know some members who did a lot of JC. At Sophiacom, we use heavily but it was 6 or 7 years ago with WO 5.2.4. Now you can't use Interface Builder anymore so you have to code your UI and it's

Re: Relationship with EO_PK_TABLE

2012-02-19 Thread Philippe Rabier
There is no relationship with eo_pk_table. That's a table, not an EOEntity. What are you trying to do? Philippe On 17 févr. 2012, at 23:49, Xavi Garcia wrote: Hi all, I have some entity tables without relationship with eo_pk_table and I need it to autoincrement the primary key id.

Re: Entirely independent EOF on Quartz Threads - How to do?

2012-02-17 Thread Philippe Rabier
Hi Paul, I can give you a complete framework I presented at the last WOWODC that allows Quartz integration in a Wonder app. Every class is documented, there is a package-info, … and it allows of course the execution of jobs in // There is also a UI (simple) to see the jobs running and the

Re: D2W inspect page with custom embedded list

2012-02-17 Thread Philippe Rabier
Hi David, I think I have a hack for you. The context is almost the same: I need to write a QueryDataSourceDelegate which filters EOs when a user click on the search button of an ERMODEditRelationshipPage page. The filter is based on the parent object who is unknown at this stage (or I didn't

Re: Properties, Frameworks and App

2012-01-11 Thread Philippe Rabier
Hi James, We did differently (maybe for this reason but I don't remember and it works from the beginning so you know…). We have a connection dic per framework:

We need assistance for unit testings

2012-01-05 Thread Philippe Rabier
regards, Philippe Rabier ___ 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

Re: Weird Behaviour...

2011-12-06 Thread Philippe Rabier
I can feel how uncomfortable you are. What makes me confused is to never see this bug before. It's hard to believe that nobody saw the errors if there are error. But on another side, I (and all the team) worked on many applications so following the explanation, I don't know why we don't see

Re: Weird Behaviour...

2011-12-06 Thread Philippe Rabier
Hi Chuck, I like your answer :-) Any insight that could explain why we see this bug so rarely? Philippe Sent from my iPhone On 6 déc. 2011, at 23:45, Chuck Hill ch...@global-village.net wrote: On 2011-12-06, at 2:31 PM, Lachlan Deck wrote: On 07/12/2011, at 9:23 AM, Philippe Rabier

Re: NullPointerException

2011-12-04 Thread Philippe Rabier
Hi Kevin You have to use a operator when you test if your string is not null and length 0. ;-) Bad copy/paste I guess. Your code is clean. Philippe Sent from my iPhone On 4 déc. 2011, at 09:01, Kevin Spake sparky0...@yahoo.com wrote: Still working on the WebObjects, WOlips and Wonder

Re: How do I initialize an Entity attribute upon creation in D2W?

2011-11-05 Thread Philippe Rabier
. 2011, at 17:49, James Cicenia wrote: I do use ModernLook I am not quite certain how to get the attributes of the newly created entity. Thanks James On Nov 5, 2011, at 11:39 AM, Philippe Rabier wrote: Do you use Modern Look ? Because we use the navigation manager to set

Q about ERModernLook and embedded lists

2011-11-04 Thread Philippe Rabier
Hi all, One week ago before knowing the list server outage, I sent the following email which was never sent. And the solution below. (if you want to read my question quickly go to the end) The email I sent: I have 2 entities: - Client (company) -

Re: Component based email without a context

2011-10-30 Thread Philippe Rabier
Hi Ken, We use the following code to do what you want: … NSMutableDictionary headers = new NSMutableDictionary(); headers.setObjectForKey(new NSArray(language), accept-language); // WORequest will answer true when method request.isUsingWebServer() is called and so will use Host and Port

Re: setting properties ??

2011-10-24 Thread Philippe Rabier
Theodore, I'm afraid you use properties the wrong way. Personally, I never set properties in my own code, only read them (except for frameworks I wrote of course). Properties are used to initialize informations. By setting default values in your framework, you can change them in your

Re: CLOSE_WAIT when database is offline

2011-10-17 Thread Philippe Rabier
Alexander, do you open a database connection each time the web app receives an incoming request? Philippe Sent from my iPhone On 17 oct. 2011, at 14:54, Alexander Spohr a...@freeport.de wrote: Hi list, we have a rather busy WO-service. Sometimes one of our multiple database servers

Re: CLOSE_WAIT when database is offline

2011-10-17 Thread Philippe Rabier
://www.webobjects.me/API/wo542/com/webobjects/appserver/WOAdaptor.html It's surely easier to fix the database issue but you know already that. Philippe On 17 oct. 2011, at 16:51, Alexander Spohr wrote: Am 17.10.2011 um 16:19 schrieb Philippe Rabier: Alexander, do you open a database connection each time

Q about locked ec (again)

2011-10-17 Thread Philippe Rabier
The question is mainly for Kieran. In the framework COScheduler (job scheduling), I expose an abstract method newEditingContext() to let the developer create his own ec with autolock = false (see discussion in february 2010) like this: @Override public EOEditingContext

#wondertip twitter

2011-10-16 Thread Philippe Rabier
Hi all, I've just started to write some tips on twitter relative to wonder. The goal is to share some simple stuffs (very simple cause there is only 140 characters). You can follow me (http://twitter.com/prabier) or if you don't want, just look up #wondertip. But it would be great if other WO

Re: Finding WO people for startups

2011-09-26 Thread Philippe Rabier
Ho I love that. I don't have any certification :-) Philippe Sent from my iPhone On 26 sept. 2011, at 20:37, Chuck Hill ch...@global-village.net wrote: And I tend to be cautious about people with too many certifications. Passing tests makes you a good student, not a good developer.

Re: Finding WO people for startups

2011-09-25 Thread Philippe Rabier
Hi Marius, I have several developers who were new at WO in 2 different companies. The main point is that they knew java. All the problem talked by Pascal and other regarding documentation for example are important for a new developer that can not be trained/coached by another one. But that's

Re: Feedback about issue with MySQL and get primary key

2011-09-07 Thread Philippe Rabier
, at 7:49 AM, Philippe Rabier wrote: Hi all, Not a question but a feedback if you have the same issue but I don't have explanation and I didn't look for any. Env: WO 5.4.3, java 6 on Mac OS X 10.6.7, Eclipse 3.4, Wonder a bit old (several months), MySQL v5.0.88 Context: DA where

Re: Feedback about issue with MySQL and get primary key

2011-09-05 Thread Philippe Rabier
the primary keys yourself. There is a better way to do this. See below. - ray On Sep 4, 2011, at 7:49 AM, Philippe Rabier wrote: Hi all, Not a question but a feedback if you have the same issue but I don't have explanation and I didn't look for any. Env: WO 5.4.3, java 6

Re: Feedback about issue with MySQL and get primary key

2011-09-05 Thread Philippe Rabier
your point to be sure : ) Just to test, you may need to invalidate all objects in the ec and try to save the log object again. Cheers Cheong Hee - Original Message - From: Philippe Rabier To: Ray Kiddy Cc: WebObjects (Group) Sent: Monday, September 05, 2011 4:55PM

Re: Feedback about issue with MySQL and get primary key

2011-09-05 Thread Philippe Rabier
Log_TEST is a new table that you have created lately and that your EO_PK_TABLE could not locate it for primary key. Just curious. On Mon, Sep 5, 2011 at 8:17 PM, Philippe Rabier prab...@me.com wrote: I don't want to bug the list too much because I can deal easily with this issue

Feedback about issue with MySQL and get primary key

2011-09-04 Thread Philippe Rabier
Hi all, Not a question but a feedback if you have the same issue but I don't have explanation and I didn't look for any. Env: WO 5.4.3, java 6 on Mac OS X 10.6.7, Eclipse 3.4, Wonder a bit old (several months), MySQL v5.0.88 Context: DA where informations are checked, fetched then if

Newbie question about ERRest

2011-09-02 Thread Philippe Rabier
Hi all, We are starting using ERRest in our team and I have a first question: The default way to get an object (in our case a Project) is : GET /ra/Project/id But suppose we have our own globalUID that is not the primary key or if we want to use something else (for example login for a user as

Re: Newbie question about ERRest

2011-09-02 Thread Philippe Rabier
by convention and I should say, the default implementation, everything has been designed to get object based on their primary key, isn't it? Philippe On 2 sept. 2011, at 14:59, Pascal Robert wrote: Le 2011-09-02 à 08:49, Philippe Rabier a écrit : Hi all, We are starting using ERRest in our

Re: Newbie question about ERRest

2011-09-02 Thread Philippe Rabier
Thanks Mike. I deduced that when I read the source code of your example. Philippe Sent from my iPhone On 2 sept. 2011, at 16:55, Mike Schrag msch...@pobox.com wrote: So by convention and I should say, the default implementation, everything has been designed to get object based on their

Re: Intro to ERRest presentation?

2011-09-02 Thread Philippe Rabier
To be honest, the WOWODC'09 and '10 + the example are good enough to start and do some stuffs. Maybe some explanations on WOCommunity.org, something highly visible like: You want to use Rest with WO? Look at the videos x and y and use the sample code. We started to use ERRest yesterday so no

Re: ModernLook fresh app, noobie question -- no add entity button?

2011-09-02 Thread Philippe Rabier
BTW, I tried to look at some video through iTunes (podcast) but it doesn't work 10 mn ago (this one : http://www.wocommunity.org/podcasts/wowodc/2010/GettingStartedWithWonder.mov ) If I remember correctly, iTunes doesn't host the videos. So it must have an issue somewhere. But it works on

Re: WebOjects Apache Adaptor for 16 Servers+

2011-08-27 Thread Philippe Rabier
Stefan, you have to read the WO deployment guide wrote by Apple. If you don't have it google with this word: webobjects déployment guide pdf Philippe Sent from my iPhone On 26 août 2011, at 19:16, Chuck Hill ch...@global-village.net wrote: On 2011-08-26, at 8:13 AM, Alexander Spohr wrote:

Re: WebOjects Apache Adaptor for 16 Servers+

2011-08-26 Thread Philippe Rabier
Hi Stephan, Maybe one solution is to have 2 javaMonitor apps running in // by setting a different WOPort. Of course, you need also to configure the wotaskd instances accordingly. I do that but with web servers running on 2 different machines. I never try to have this configuration with only

Re: D2W app and Excel and PDF generation example (also msg for David Holt)

2011-08-05 Thread Philippe Rabier
Hi Johan, (David, Q for you at then end) I have the same issue: I want to generate export list into an excel file but I didn't completely succeed because it took too much time to get it work (question of priority). But I'm not far. So if you are using ModernLook, I found informations: search

Re: D2W app and Excel and PDF generation example (also msg for David Holt)

2011-08-05 Thread Philippe Rabier
= ERXEmptyComponent [com.webobjects.directtoweb.Assignment] 60 : pageConfiguration = 'ListMyBlogEntry' = controllerButtonComponentName = ERDControllerButton [com.webobjects.directtoweb.Assignment] David On 2011-08-05, at 1:38 AM, Philippe Rabier wrote: Hi Johan, (David, Q for you

Re: WebObjects and servlets (Milton)

2011-08-03 Thread Philippe Rabier
Hi Jeremy, I didn't know Milton and I found the project interesting. I read this link: http://milton.ettrema.com/guide/non-servlet.html Why don't you include Milton that way? You could create a requestHandler and make a presentation at the next WOWODC. Philippe On 3 août 2011, at 09:04,

Re: disposing of an EC

2011-07-21 Thread Philippe Rabier
when changes are made (see EditingContextDidSaveChangesNotification) and other editing contexts listen for these. If you dispose of an ec as soon as you no longer need it, NSNotificationCenter and the other ECs have less work to do. Chuck On 2011-07-20, at 4:11 PM, Philippe Rabier

  1   2   >