iTunes 9 store

2009-09-11 Thread Houdah - ML Pierre Bernard
Hi! Is the new HTML iTunes store using Gianduja? Pierre ___ 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:

Re: Nested EOEditingContext Question

2009-09-06 Thread Houdah - ML Pierre Bernard
Editing contexts within the same EOF stack get notified of changes and merge those in. This is unfortunately not always desirable behavior. A user could successfully overwrite information that is more recent than what he has seen displayed. I.e. if changes happened within the same EOF

Re: Hibernate

2009-03-23 Thread Houdah - ML Pierre Bernard
Last time Iooked at Hibernate it was a half baked alternative to EOAccess. Nothing in it that could compare to EOControl. I was forced to use Hibernate on a WebObjects project. I will never never ever again even remotely think about looking into Hibernate. Pierre On 24 Feb 2009, at 17:29,

Re: a nice SVN GUI client ?

2009-01-18 Thread Houdah - ML Pierre Bernard
I prefer Cornerstone On 31 Oct 2008, at 17:28, Chuck Hill wrote: On Oct 31, 2008, at 6:47 AM, Frédéric JECKER wrote: Hi, Version(http://www.versionsapp.com/) is definitively the one I prefer. Even it's beta, it's already full featured and very pleaseant to use (I hold my life in a svn

Re: a nice SVN GUI client ?

2009-01-18 Thread Houdah - ML Pierre Bernard
Hill wrote: Why? On Jan 18, 2009, at 12:13 PM, Houdah - ML Pierre Bernard wrote: I prefer Cornerstone On 31 Oct 2008, at 17:28, Chuck Hill wrote: On Oct 31, 2008, at 6:47 AM, Frédéric JECKER wrote: Hi, Version(http://www.versionsapp.com/) is definitively the one I prefer. Even it's

Re: WO way to SELECT MAX(FOO) FROM BAR

2008-12-13 Thread Houdah - ML Pierre Bernard
Use SepcialityFetches from the HoudahEOAccess framework. On 11 Dec 2008, at 21:44, David Avendasora wrote: Hi all, I've googled this, but can't seem to find any answers even though I'm guessing it's a pretty common thing. I have a table that has nearly 2 million rows and I want to

Re: CSS background images

2008-08-19 Thread Houdah - ML Pierre Bernard
/trunk/HoudahAppServer/src/com/houdah/appserver/stylesheets/StyleSheetAction.java Best, Pierre Bernard Houdah Software s.à r.l. On 13 Aug 2008, at 15:03, A wrote: Hey, I've been designing a layout with static html/css that I'm now trying to add dynamic elements to via webobjects. I added

Re: EOFetchSpecification text to number conversion

2008-07-08 Thread Pierre Bernard
this feature was lost when moving from 4.5 to 5.0. That's why I wrote http://code.google.com/p/houdah-webobjects-frameworks/source/browse/trunk/HoudahEOAccess/src/com/houdah/eoaccess/coercion/QualifierAttributeCoercion.java Pierre -- Pierre Bernard http://www.bernard-web.com/pierre http

Re: empty relationship qualifier question

2008-07-04 Thread Pierre Bernard
the ExistsInRelationshipQualifier from my Houdah WebObjects frameworks project. Best, Pierre Bernard Houdah Software s.à r.l. On 4 Jul 2008, at 10:32, Michael Bushkov wrote: Hi, I have quite simple task, but I don't see any proper solution. The task is as follows: I have 2 entities - Song and Track. Song has a one

Re: [Annoucement] New WOLips Java Client / Direct To Java Client Tutorial

2008-06-26 Thread Pierre Bernard
Interesting! I used to create 2 distinct projects: one pretty plain WOLips project for the server and on non-WOLips Java project for the client. If you care to have a look at it, I'm sure I can dig up one such project. Best, Pierre Bernard Houdah Software s.à r.l. On 25 Jun 2008, at 16:46

Re: [OT] Moscone center infected?

2008-05-12 Thread Pierre Bernard
. 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-dev%40houdah.com This email sent to [EMAIL PROTECTED] --- Pierre Bernard http://www.bernard-web.com/pierre http

Re: Filtered to many relationship

2008-05-02 Thread Pierre Bernard
of the graph at a given point in time, one would set the desired date on an editing context subclass. From then on all relationships would automatically be filtered and thus large parts of the code could just ignore the whole date thing. Best, Pierre Bernard Houdah Software s.à r.l. On 2 May

Re: @sum optimization?

2008-04-28 Thread Pierre Bernard
/source/browse/trunk/HoudahEOAccess/src/com/houdah/eoaccess/utilities/SpecialityFetches.java Best, Pierre Bernard Houdah Software s.à r.l. On 28 Apr 2008, at 16:54, Florijan Stamenkovic wrote: Hi all, Is there an optimization in EOF not to fire a fault for a to-many when it is asked for a @sum

Re: EOF operation ordering

2008-02-19 Thread Pierre Bernard
, 2008, at 10:43 AM, Dov Rosenberg wrote: We have had to resort to deferred constraints for Oracle. For SQL Server we have had to disable the constraints. I am certainly interested in a more portable solution. Dov Rosenberg On 2/19/08 10:37 AM, Pierre Bernard webobjects- [EMAIL PROTECTED

EOF operation ordering

2008-02-19 Thread Pierre Bernard
Hi! Back in the day of WO 4.5 to WO 5.1, I worked on a project where we relied on EOF's capability to order database operations. Actually we even extended the mechanism using a database context delegate to apply further sorting to already sorted operations. On more recent projects, I

Re: Opposite of EOQualifierSQLGeneration.Support.qualifierMigratedFromEntityRelationshipPath(EOQualifier, EOEntity, String)?

2008-02-18 Thread Pierre Bernard
. With a little luck, one of the qualifiers (probably InSubQueryQualifier) can be used to do just what you want. Best, Pierre Bernard Houdah Software s.à r.l. On 18 Feb 2008, at 20:14, Lachlan Deck wrote: Hi there, I'm wondering if there's something akin to the above but that allows migrating

Re: Unexpected awakeFromInsertion() behaviour

2008-01-11 Thread Pierre Bernard
side. Best, Pierre Bernard Houdah Software s.à r.l. On 10 Jan 2008, at 20:04, Chuck Hill wrote: That looks like a bug, the EC should either not be calling awakeFromInsertion() or should be seeing the notifications from the change in value. It makes sense to me for it to call

[Houdah Frameworks] Added Wiki pages

2007-12-30 Thread Pierre Bernard
Hi! I added a couple of pages to the Houdah Frameworks wiki: http://code.google.com/p/houdah-webobjects-frameworks/w/list The project as a whole still lacks a sample application showing off the end-to-end use as D2W alternative. I'll find the time to add that some day... Best, Pierre -

Re: HoudahFoundation

2007-12-12 Thread Pierre Bernard
ever need to touch a WOD - Usable without the rule engine. I know of one customer who does this. Why? That's beyond my understanding Best, Pierre Bernard Houdah Software s.à r.l. On Dec 12, 2007, at 10:23 AM, Guido Neitzer wrote: On 12.12.2007, at 01:14, Christian Trotobas wrote: I'd add

Re: Need some advice on handling EO validation errors

2007-12-07 Thread Pierre Bernard
It is important to see the EOEditingContext as a sandbox. It's the EC that contains your unsaved changes. It's not the EOF stack that is clogged with pending updates. Other clients of the EOF stack will not even see your local changes until they are committed. When saving fails over a

Re: ExistsInRelationshipQualifier

2007-12-05 Thread Pierre Bernard
On Dec 4, 2007, at 5:51 PM, David Holt wrote: Hello All, I am finally getting the chance to use the QualifierAdditions from Pierre Bernard (thanks Pierre!). I am using the following code that generates a NullPointerException. Can anyone see what I have done wrong? I am trying to show all

Re: ExistsInRelationshipQualifier

2007-12-05 Thread Pierre Bernard
, sourceAttribute and destinationAttribute look like at the moment of the crash? Pierre On Dec 5, 2007, at 2:51 AM, David Holt wrote: Hello All, I am finally getting the chance to use the QualifierAdditions from Pierre Bernard (thanks Pierre!). I am using the following code that generates

Re: ExistsInRelationshipQualifier

2007-12-05 Thread Pierre Bernard
, supportv2.gestweb.component.GWSActions, supportv2.gestweb.component.search.GWSSearchOrder, supportv2.gestweb.component.manage.GWSInsertOrder ); } Some other info: I'm working with WO 5.3 on tiger, with Java 1.4.2. 2007/12/5, Pierre Bernard

Re: ExistsInRelationshipQualifier

2007-12-05 Thread Pierre Bernard
many though. E.g. Chuck has found bugs and suggested fixes. The version committed with Houdah Frameworks includes all fixes I am aware of. Yet in all likeliness not all possible setups have been tested or thought of. Qualifier SQL generation is a very complex subject. Best, Pierre Bernard

Re: ExistsInRelationshipQualifier

2007-12-05 Thread Pierre Bernard
yet bother trying 5.4. I am currently roaming in Cocoa-land. I know that recent versions of WOLips balk at my WOComponents because I rely on handleUnboundKey. If you want the components, turn those warnings off. Everything is just fine. Best, Pierre Bernard Houdah Software s.à r.l. On Dec 5

Re: ExistsInRelationshipQualifier

2007-12-05 Thread Pierre Bernard
useful. Thanks again, David On 5-Dec-07, at 2:33 PM, Pierre Bernard wrote: David, You have a compilation error. You lack AbstractKeyValueCodingProtectedAccessor from the HoudahFoundationFramework. You could either drop KeyValueCodingProtectedAccessor from

Re: EO lastModifiedTS @ validateForUpdate?

2007-11-30 Thread Pierre Bernard
One should directly not modify EOs during the validation. Such changes will go unnoticed by EOF and will not get validated. You are welcome to use the audit trail mechanism from the Houdah WebObjects Frameworks: http://code.google.com/p/houdah-webobjects-frameworks/wiki/HoudahAuditTrail

Re: Slogan

2007-11-08 Thread Pierre Bernard
? You should! On Nov 8, 2007, at 5:03 PM, Michael Warner wrote: OR: WebObjects: Less Tar, More Taste On Nov 7, 2007, at 10:25 AM, Michael Kondratov wrote: OR: Easy things are easy and hard things are possible. On Nov 7, 2007, at 5:49 AM, Pierre Bernard wrote: +1 On Nov 5, 2007, at 12

Re: Slogan

2007-11-07 Thread Pierre Bernard
+1 On Nov 6, 2007, at 10:36 PM, Q wrote: There's the WebObjects way, and then there's the hard way - - - Houdah Software s. à r. l. http://www.houdah.com HoudahGeo: One-stop photo geocoding HoudahSpot: Powerful Spotlight frontend ___ Do

Re: Slogan

2007-11-07 Thread Pierre Bernard
+1 On Nov 5, 2007, at 12:41 PM, Mitchel Roider wrote: Imagine - WebObjects - Deploy - - - Houdah Software s. à r. l. http://www.houdah.com HoudahGeo: One-stop photo geocoding HoudahSpot: Powerful Spotlight frontend ___ Do not post admin

Re: Slogan

2007-11-07 Thread Pierre Bernard
Spiders would use WebObjects ;-) On Nov 8, 2007, at 12:42 AM, Joshua Archer wrote: Since we're just having fun here... 1) WO is Me 2) Tell me your tales of WO 3) WebObjects puts the WO in WOnder On Nov 7, 2007, at 3:17 PM, David Marioni wrote: WebObjects ? I WOAnt it ! I WOant it ! I

[Announce] Houdah WebObjects Frameworks

2007-10-26 Thread Pierre Bernard
I finally got around to publishing the Houdah WebObjects Frameworks to Google Code. The frameworks make up a new major open source project to extend Apple's WebObjects application server. Granted the Houdah Frameworks can't compete in size with Project WONDER. Yet I am proud of what I

Re: Windows XP Dev D2W Issue

2007-10-05 Thread Pierre Bernard
Updates are not all cumulative. It is safer to install 5.2.1 then 5.2.2, ... Yes: that's a whole lot of reboots on Windows. On Oct 5, 2007, at 4:15 PM, David Chaney wrote: Daniele, I usually do my personal development with WO on Mac OS X, however with my recent new position I only have

Re: Deep hierarchical search

2007-09-22 Thread Pierre Bernard
this list for an announcement in October. Pierre Bernard Houdah Software s.à r.l. On Sep 21, 2007, at 10:24 PM, Chuck Hill wrote: See Pierre Bernards excellent Qualifiers Additions at http:// www.bernard-web.com/pierre/webobjects/code.html, as well as some in Project Wonder. You will probably

Re: Validation Week

2007-09-19 Thread Pierre Bernard
IIRC SimpleDateFormat is not thread safe. Oh joy! Pierre Bernard Houdah Software s.à r.l. On Sep 19, 2007, at 10:54 PM, James Cicenia wrote: OK - Now I am trying to validate dates. I hate dates. I especially hate java dates, but I digress. So now I have this little wizard component that asks

Re: Validating a percentage?

2007-09-19 Thread Pierre Bernard
110% agree Validation is business logic. Belongs into your EO. Accepting a string that is either a number or a number with a suffix character is string parsing. A job for a formatter. Pierre Bernard Houdah Software s.à r.l. On Sep 19, 2007, at 4:48 PM, Chuck Hill wrote: On Sep 19, 2007

Re: Force Refresh Relation

2007-09-18 Thread Pierre Bernard
It should, but under WO 5.2 it doesn't. I haven't tested in later versions. There is a way to fix this by subclassing EODatabaseContext: /** * Internal method that handles prefetching of to-many relationships.BR * // TBD This is a workaround to what looks like a bug in WO 5.1

Re: migrating a jc application from Xcode to wolips - how to build the client side stuff ?

2007-09-13 Thread Pierre Bernard
I created 2 WOLips projects. One for the server side and one for the client side. This keeps things well separated and you can launch them independently. On deployment I combine both and thus enable JavaWebStart. Pierre On Sep 11, 2007, at 5:27 PM, Paolo Sommaruga wrote: finally I have

Re: Status of informations

2007-09-13 Thread Pierre Bernard
You get a $50,000 application server for $0. Actually $500, development machine included. For $500 a year you get to peek at beta versions. As a bonus these $500 give you access to a wide variety of resources including technical support. Do $50,000 application server vendors let you have

Re: Installing Web Objects 5.3.3 on Windows for development

2007-09-13 Thread Pierre Bernard
I believe I was the one who suggested this procedure the last time this discussion came up. I however never actually tried the procedure. My customer still runs WO 5.2.x In that same discussion thread someone did however try the procedure and wrote about it on a blog or a wiki. You should

Re: In WOComponent constructor and need to go to another WOComponent and not come back

2007-09-05 Thread Pierre Bernard
Hi! The constructor is an odd place for this. The constructor is called from pageWithName(). That is in the request- response loop preceding the one that would actually use the component. If you already know at that point in time where you want to go and where not, you should modify the

Re: Auto-filtering EOF queries based on the current client

2007-09-04 Thread Pierre Bernard
Hi! You could also create an EOF stack or application instance for each client. On load you could walk all the entities and add a restricting qualifier. Pierre On Sep 4, 2007, at 8:08 PM, Sam Barnum wrote: I'm designing a WO app where multiple clients maintain their own discreet sets

Re: Fetch data with NULL-Value

2007-09-02 Thread Pierre Bernard
new EOAndQualifier(new NSArray(new EOQualifier[] { new EOKeyValueQualifier(fielda, EOQualifier.QualifierOperatorEqual, NSKeyValueCoding.NullValue) new EOKeyValueQualifier(fieldb, EOQualifier.QualifierOperatorEqual, NSKeyValueCoding.NullValue) })); On Sep 2, 2007, at 10:52 PM, Ute Hoffmann

Re: setting default order of entity fetches

2007-08-24 Thread Pierre Bernard
Hi! CoreData - the reincarnated EOF - actually uses sets. Rightfully so. To the model to-many relationships have no order. Actually to a database a to-many relationship is not all that real. It's a by- product of ato-one relationship. Ever noticed that adding an object to a to-many

Re: Looking for an update foo set bar = bar + 1 solution for WO

2007-08-17 Thread Pierre Bernard
Hi Chuck! You might want to simulate this using an attribute with write format that contains SQL to do this. E.g. something along the lines of COLUMN + %V In your code you would set the special attribute's value to the increment you want. On the next commit it would do the stuff. The

Re: Which way is more efficient to get particular EOEnterpriseObject

2007-08-16 Thread Pierre Bernard
Hi! I have a to-many relationship, which points to rather large (about 100) heap of objects. 100 is by no account a large number. - cycle through array (which I get from relationship attribute), checking if attributes match Kinda OK. - construct EOQualifier and filter the array with

Re: Pierre, your [EMAIL PROTECTED] mailbox is full

2007-08-16 Thread Pierre Bernard
On Aug 16, 2007, at 11:40 AM, Steven Mark McCraw wrote: Hi Pierre, Can you elaborate on stale cache notification a bit, or else point us to some documentation on it? He means the EOObjectStore ObjectsChangedInStoreNotification. It is up to you to interpret it. You can get a little help

Re: Which way is more efficient to get particular EOEnterpriseObject

2007-08-16 Thread Pierre Bernard
(aDestinationEntity.isAbstractEntity()); cat.debug(fetchSpec = + fetchSpec); return fetchSpec; } On Aug 16, 2007, at 11:00 PM, Paolo Sommaruga wrote: Hi Pierre, please, Il giorno 16/ago/07, alle ore 19:18, Pierre Bernard ha scritto: [...] - just fetch required object regarding

Re: Concurrency question

2007-08-01 Thread Pierre Bernard
You can simulate OL, by listening to merge notifications. If it affects a modified object you can later on refuse to save. Pierre On Aug 1, 2007, at 7:18 PM, Chuck Hill wrote: On Aug 1, 2007, at 5:00 AM, Miguel Arroz wrote: Hi! The contexts are locked. The problem is that it's not

Re: Multiple submit button form

2007-07-31 Thread Pierre Bernard
it doesn't look so good. Prototype wants to encode all INPUT elements which is no good. jQuery encodes correctly, but it seems to be incompatible with Prototype. So it takes some coercing Prototype. Pierre On Jul 30, 2007, at 11:25 PM, Pierre Bernard wrote: Hi! Does anyone happen to know how

Multiple submit button form

2007-07-30 Thread Pierre Bernard
Hi! Does anyone happen to know how WebObjects knows which button was clicked to submit a form? I do know that the INPUT element has an elementID and how this maps to actions in invokeAction... So it's not the WebObjects side of things I am worried about, it's the HTML. So when a form

Re: [SOLVED] ERXQualifierInSubquery problem

2007-07-10 Thread Pierre Bernard
Did you check out the InSubQueryQualifier available from my web page: http://www.bernard-web.com/pierre ? It will soon be folded in my future open source project: Houdah Frameworks Pierre On Jul 9, 2007, at 1:19 PM, Miguel Arroz wrote: Hi! Ok, I fixed the bug, it wasn't in fact

Re: Complex EOQualifier format

2007-07-04 Thread Pierre Bernard
I feel the urge to voice opinions about this. - EOF is an ORM not a SQL generator. Its task is to allow you to work in a pure OO work and make object graph management and persistent transparent. Meaning: you want to do your processing in Java, not in the database. - You are free to extend

Re: Help installing WebObjects on a PC still required

2007-07-04 Thread Pierre Bernard
the frameworks with the newer versions from your Mac installation. Caveat: I don't think your XCode/WebObjects license allows you to do all this. Best, Pierre Bernard Houdah Software s.à r.l. On Jul 5, 2007, at 12:36 AM, Lachlan Scott wrote: We have now set up a development environment

Re: Complex EOQualifier format

2007-07-04 Thread Pierre Bernard
ID is assigned to all the rows that make up the operation's result. You then do a simple fetch with (uniqueID = myID) to get your result as array of read only EOs. Pierre On Jul 4, 2007, at 11:28 PM, Steven Mark McCraw wrote: On Jul 4, 2007, at 5:15 PM, Pierre Bernard wrote: I feel

Re: How to preserve all the states of stateful components?

2007-06-29 Thread Pierre Bernard
Check out the backtracking code at http://www.bernard-web.com/pierre Does exactly that. On Jun 28, 2007, at 11:31 PM, Miguel Arroz wrote: Hi! Ok, this is a weird question. My problem is this: I implemented a pager and a pager controller. (I know all this stuff is in Wonder, but I'm a

Re: Java Client refuses to use Client-Side classes once deployed

2007-06-22 Thread Pierre Bernard
On Jun 22, 2007, at 1:04 PM, David Avendasora wrote: On Jun 21, 2007, at 6:03 PM, Johan Henselmans wrote: On 22-jun-2007, at 0:24, Pierre Bernard wrote: That's one of the bad things of JavaClient. The little bits that make it hard to debug. In this instance, JavaClient silently falls

Re: Java Client refuses to use Client-Side classes once deployed

2007-06-21 Thread Pierre Bernard
That's one of the bad things of JavaClient. The little bits that make it hard to debug. In this instance, JavaClient silently falls back to EOGenericRecord when it doesn't find the appropriate class. You should check the JAR downloaded to the client. Probably your classes aren't in there.

Re: News from Webobjecs sessions

2007-06-15 Thread Pierre Bernard
A++ On Jun 15, 2007, at 9:52 AM, Mark Ritchie wrote: ___ 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:

Re: News from Webobjecs sessions

2007-06-15 Thread Pierre Bernard
We have been seriously investigating Hibernate. No matter where in the world you are now. You might have heard me crying! I had the pleasure to be involved in a Hibernate project. I wouldn't know where to start criticizing this whatever you want to call it. I actually purged much of my

Re: [ANN] Tying my hands...

2007-06-13 Thread Pierre Bernard
to see usable code before? Not to say taht Wonder is not the biggest thing in a WO life today, but anything new is a good news. Cheers, Christian -- message original -- Sujet: [ANN] Tying my hands... De: Pierre Bernard [EMAIL PROTECTED] Date: 13.06.2007 02:52 Just so I feel a bit

Re: [ANN] Tying my hands...

2007-06-13 Thread Pierre Bernard
or to a hosting site like code.google.com Pierre Bernard Houdah Software s.à r.l. On Jun 13, 2007, at 12:01 PM, [EMAIL PROTECTED] wrote: Hi Pierre Can't wait until the summer :) anyway to see usable code before? Not to say taht Wonder is not the biggest thing in a WO life today, but anything new

[ANN] Tying my hands...

2007-06-12 Thread Pierre Bernard
the above rule engine. The result is a highly extensible alternative to D2W - Rule based validation framework, based on the same rule engine - Rule based message / exception handling based again on the same rule engine Keep your eyes open ... Wish me luck Pierre Bernard Houdah Software s.à

Re: WWDC meeting

2007-06-06 Thread Pierre Bernard
Sunday evening there already is a MACSB meeting. BTW I will be wandering around WWDC wearing a HoudahGeo t-shirt. Best, Pierre Bernard Houdah Software s.à r.l. On Jun 6, 2007, at 6:32 PM, Chuck Hill wrote: I suggested it earlier, but nothing official has been arranged. I guess that we

Re: How to fetch Null objects

2007-06-05 Thread Pierre Bernard
new EOKeyValueQualifier( postingsForMonth /* let EOGenerator create a constant */, EOQualifier.QualifierOperatorEqual, NSKeyValueCoding.NullValue); Pierre Bernard Houdah Software s.à r.l. On Jun 5, 2007, at 11:17 PM, Ted Archibald wrote: I forgot to mention

Re: Slow Batch Utility

2007-05-26 Thread Pierre Bernard
Hi! I would first try the obvious. Check your algorithm is O(n). Keep it memory stable. Here the FetchSpecBatchIterator could help: http://www.bernard- web.com/pierre/webobjects/code.html Pierre On May 25, 2007, at 9:22 AM, Ted Archibald wrote: Hi, I have a webobjects accounts

Re: overriding certain NSKeyValueCoding methods in EOs

2007-04-15 Thread Pierre Bernard
Take a look at this: http://developer.apple.com/documentation/WebObjects/Reference/API/com/ webobjects/foundation/ NSKeyValueCoding.ErrorHandling.html#handleQueryWithUnboundKey (java.lang.String) Pierre Bernard Houdah Software s.à r.l. On Apr 15, 2007, at 1:50 PM, Florijan Stamenkovic

Re: WebObjects 5.3.3 released

2007-02-16 Thread Pierre Bernard
Is there any chance for this update to bring NSTimestamp's time zone behavior in line with Java 1.4? Up to now (and maybe still), NSTimeZone (like Java 1.3) made the assumption that time zones are immutable. I.e. what's at GMT+1 today, has always been at GMT+1. Java 1.4 on the other hand

Re: using primary and foreign keys as class properties

2007-02-04 Thread Pierre Bernard
and omits the respective setter methods. Best, Pierre Bernard Houdah Software s.à r.l. On 4 Feb 2007, at 00:36, Steven Mark McCraw wrote: Hi everyone, I recall reading in some of the early Apple WebObjects documentation that it's a huge terrible thing to mark your foreign and primary keys

Re: Split install script

2007-01-25 Thread Pierre Bernard
It's a bit outdated, but you can grab my install scripts from http:// www.bernard-web.com/pierre/code.html Pierre Bernard Houdah Software s.à r.l. http://www.houdah.com On 25 Jan 2007, at 08:25, Helmut Schottmüller wrote: Hi Group, does anyone have a working split install ant script

Re: EOOrQualifier generated from an array

2006-12-25 Thread Pierre Bernard
You may also want to use the InSetQualifier available from my web site: http://www.bernard-web.com/pierre/code.html This will give you: where ... LOCATION in ($1, $2,...) Pierre On 25 Dec 2006, at 16:24, Ken Anderson wrote: Clark, You should look at all the qualifier classes. To do what

Re: Bug in stateless WOComponent management?

2006-12-07 Thread Pierre Bernard
A stateless component should be locked to one request/response loop and thus thread at a given time. No two things should happen concurrently. If the stateless component is needed by another thread, a new copy will be created. I have had a similar problem that I traced back to having my

Re: Question about Session

2006-12-07 Thread Pierre Bernard
Are you holding onto an EO that was created within the default editing context? E.g. are you assigning the User or Currency objects to a variable within your application class, or to a static variable? Pierre On 7 Dec 2006, at 18:45, Chuck Hill wrote: On Dec 7, 2006, at 8:40 AM,

Re: Obscure Primary Key Gotcha

2006-10-21 Thread Pierre Bernard
Hi! My guess is that someone tested for zero value using number.intValue () == 0. This of course does rounding first and only then compares to 0. The correct way of doing things would have been to use a compare() method. Guess that's worth a bug report. I believe you can work around the

Re: Detecting eo changes when they happen

2006-10-11 Thread Pierre Bernard
Hi! Using the ChangeNotificationCenter from http://www.bernard-web.com/ pierre/webobjects/code.html you may be notified that an object has changed. It won't however tell you which attribute was affected. Pierre On Oct 10, 2006, at 6:03 PM, Florijan Stamenkovic wrote: Hi all, I am

Re: Detecting eo changes when they happen

2006-10-11 Thread Pierre Bernard
Florijan, the code I am proposing builds upon the ObjectsChangedInEditingContextNotification. This notification is posted as changes happen. It is not delayed until saveChanges(). This is actually used in the Java client to update the UI as changes happen. This is also posted when

Re: RE : Re: restart except saturday and sunday

2006-09-17 Thread Pierre Bernard
)) { // ignore return; } } super.refuseNewSession(flag); } On Sep 17, 2006, at 9:26 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello Can you write an exemple?? Thank!! Eric --- Pierre Bernard [EMAIL PROTECTED

Re: restart except saturday and sunday

2006-09-16 Thread Pierre Bernard
Hi! There are several ways of doing this. One would by to override refuseNewSessions(flag) to just do nothing when passed a true value on a Saturday or Sunday. Best, Pierre - - - Houdah Software s. à r. l. - [EMAIL PROTECTED] - Quality Mac OS X software - Premium WebObjects consulting

_EOCheapCopyMutableArray bug!

2006-05-05 Thread Pierre Bernard
Hi! it appears that the iterator() method on _EOCheapCopyMutableArray does not trip faults. One thus may end up with an empty iterator. Pierre. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: reproduction of mailing list posts

2006-04-27 Thread Pierre Bernard
IANAL, but I would assume that the poster of a message retains copyright property. Thus if the original author grants permission to reproduce outside the mailing list all should be OK. I would anyway advocate an ask first approach. I for one would always agree to see my posts quoted or

Re: CUSTOM ORDERING IDEA

2006-04-27 Thread Pierre Bernard
OK, I am going to throw a bit of SQL at the list: update MY_TABLE set ORDER = (1 + ORDER) where ORDER $current; Shifts all rows above by one. Blows the EOF cache. Pierre On Apr 27, 2006, at 4:01 PM, Jerry W. Walker wrote: Hi, Amedeo, On Apr 27, 2006, at 9:34 AM, Amedeo Mantica wrote:

Re: Pop Up windows in WebObjects - can i do it

2006-03-30 Thread Pierre Bernard
Hi! Maybe you could investigate how the Dashboard like overlays are created on this web site: http://www.widgetmachine.com/ This would be an elegant interface to communicate the notion of window within a web page. Keep us posted of your findings. Pierre On Mar 29, 2006, at 11:47 AM,

Re: Deployment on Solaris 10 / SPARC

2006-02-03 Thread Pierre . Bernard
I did it! :-D Thanks to the WOnder source Pierre [EMAIL PROTECTED] wrote on 02/03/2006 04:18:39 PM: HI! Did anyone ever succeed deploying WebObjects 5.2 on Solaris 10? I am having problems with the Apache adaptor. Apache says the included adaptor module is garbled.

Word of caution: trouble with updating to WO 5.2.4 on Solaris

2006-01-31 Thread Pierre . Bernard
Hi! I am in the process of making a fresh install on a Solaris system. It appears that installing only WO 5.2.4 over a CD install of WO 5.2 does not lead to the same result as one gets by installing all of the intermediate patches. It seems like the direct to web framework does not get updated

Re: refreshing and relationships

2006-01-16 Thread Pierre . Bernard
Hi! Rather than deleting the object manually I would suggest you configure the delete rule of your relationship to your liking. With an owns destination relationship a call to removeObjectFromRelationshipWithKey will remove the object from the array and subsequently delete it. A call to

Re: refreshing and relationships

2006-01-16 Thread Pierre . Bernard
processRecentChanges() gets called by saveChanges(). t does however not propagate changes to the parent store like saveChanges() does. It's role is to apply delete rules. I find it to be a good idea to call processRecentChanges() regularly. E.g. at the end of some kind of run loop. Pierre

Re: Java Client Cursor placement in text fields?

2005-12-14 Thread Pierre . Bernard
I can confirm that the problem exists with WO 5.2.3, Java 1.4.2 on Win 2K funny I never noticed. Pierre [EMAIL PROTECTED] wrote on 12/14/2005 07:00:42 AM: Has anyone else noticed in Java Client that if you tab into a text field or a text cell in a table, the cursor is placed at the end of

Re: Fun with Primitives

2005-12-13 Thread Pierre . Bernard
Owen, Key-value coding takes care of type coercion. takeValueForKey(myNumber, 1) may call either setMyNumber(Integer aNumber) or setMyNumber(int anInt). Your example should work just fine with only one setter method defined. Pierre [EMAIL PROTECTED] wrote on 12/13/2005 06:00:49 AM: Hi All,

Re: Subclass conflict with single-table mapping?

2005-12-12 Thread Pierre . Bernard
___ 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/pierre. bernard%40bcl.lu

Re: rawRowsForStoredProcedureNamed NullPointerException...

2005-11-08 Thread Pierre . Bernard
Did you declare your stored procedure in your EOModel? [EMAIL PROTECTED] wrote on 11/08/2005 04:28:17 PM: I'm about to resort to CallableStatement and ResultSets On Nov 8, 2005, at 10:22 AM, Nathan Walker wrote: When used against MySQL 5.0.13 and JDBC 3.1.11, I get a null