Re: images in database... a suggestion

2005-12-13 Thread Georg Tuparev
Dave, In the past we did extensive comparison of several databases for two projects - one similar to Alex' and the other is an astronomical database - a combination of many and large images and really astronomical amounts of coordinates and other catalogue data. According to my notes, the

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 Al

Re: Securing File System Resources ?

2005-12-13 Thread Denis Frolov
We use the following approach: 1. Request to file is handled by Apache with mod_rewrite rule that triggers a rewrite map 2. Rewrite map is actually a PHP-script that makes a request to directAction of our application responsible for authorization that returns either an URL to resource or an URL to

Re: Java 1.5 & WO?

2005-12-13 Thread Tonny Staunsbrink
Yes, I've run an app wih 1.5 (using Generics and the new for functionality) . No problems encountered - this is an app running for short periods of time though. /Tonny On Dec 12, 2005, at 12:38 PM, Ken Anderson wrote: Has anyone tried Java 1.5 and WO? ___

Re: images in database... a suggestion

2005-12-13 Thread Micky Holdorf
Hi, Do anyone have similar tests with OpenBase? What are the experiences? /Micky Holdorf On 13/12/2005, at 9.20, Georg Tuparev wrote: Dave, In the past we did extensive comparison of several databases for two projects - one similar to Alex' and the other is an astronomical database - a c

Setting up a Target for Any Build of WOA app...

2005-12-13 Thread Nathan Walker
I have tried setting up an External Target in XCode to issue Ant, but it doesn't run it as root which is needed to copy certain directories. Whenever I'm ready to Deploy, I essentially just want to change the Configuration to 'Deployment' and hit Command-B to set off Ant and that's it. I am

WOConditional and WOCheckbox Display Problems

2005-12-13 Thread csengbusch
Hi All - I have a form that contains a wopopup that uses on change to submit the form. The form is refreshed and depending on the value of the wopopoup, some wocheckboxes (wrapped in a woconditional) are displayed. Example: If 'number' is selected in the wopopup, a Is Zero Filled? checkbox is d

Database System Tables [WO newbie]

2005-12-13 Thread Thomas Friesen
I am just beginning to work with WebObjects/EnterpriseObjects, and as an Ingres DBA, am rather interested in accessing the system catalogues (iitables, iirelations, etc.) via Enterprise Objects. I was a little surprised that I was able to have EO connect and pick up the user tables with no

Re: Ridiculously stupid problem

2005-12-13 Thread Miguel Arroz
Hi! You must add the component to the Application Server target. The target with the project name is almost useless. Yours Miguel Arroz On 2005/12/12, at 23:39, Matthew McKay wrote: Hello, As you will probably figure out by reading the next few sentences, I'm very new to WO and the

Re: WOConditional and WOCheckbox Display Problems

2005-12-13 Thread Wolfram Stebel
Am 13.12.2005 15:48 Uhr schrieb "[EMAIL PROTECTED]" unter <[EMAIL PROTECTED]>: > > Hi All - > > I have a form that contains a wopopup that uses on change to submit the > form. The form is refreshed and depending on the value of the wopopoup, > some wocheckboxes (wrapped in a woconditional) are

Re: WOConditional and WOCheckbox Display Problems

2005-12-13 Thread Ken Anderson
You can't change the structure of the page until WO has completely parsed the post. What I usually do is hold any changes that could change the structure of the page until appendToResponse, and do something like: public void appendToResponse(WOResponse aResponse, WOContext aContext) {

Re: WOConditional and WOCheckbox Display Problems

2005-12-13 Thread Alex Finkel
Shouldn't that be a post-processing? After the call to super.appendToResponse. On 12/13/05, Ken Anderson <[EMAIL PROTECTED]> wrote: > You can't change the structure of the page until WO has completely > parsed the post. What I usually do is hold any changes that could > change the structure of

Re: WOConditional and WOCheckbox Display Problems

2005-12-13 Thread Ken Anderson
No, because then your updated page would not reflect the flags and state the way you want it. On Dec 13, 2005, at 1:57 PM, Alex Finkel wrote: Shouldn't that be a post-processing? After the call to super.appendToResponse. On 12/13/05, Ken Anderson <[EMAIL PROTECTED]> wrote: You can't cha

How do I update a relationship in a WODisplayGroup?

2005-12-13 Thread ktbull
Hi all,I have been following Nathan's WODisplayGroup podcast and incorporating some of his ideas into my own application.I have a simple WODisplayGroup that displays a group of Localizations.  (Localization is the entity).  This entity has single to-one relation to another entity called DateFormatC

Re: How do I update a relationship in a WODisplayGroup?

2005-12-13 Thread Ken Anderson
Is the dateOfBirthFormatCode a class property?  If it is the basis for a relationship, it shouldn't be.  You should let EOF take care of the keys, and change the relationship to the new format, rather than changing the code itself.In general, attributes used to define relationships should not be cl

Re: How do I update a relationship in a WODisplayGroup?

2005-12-13 Thread ktbull
Hi Ken,Thanks for the tip.  You were correct, I was doing some iterative development and was cheating by changing the code itself while I figured out how to create and properly bind a WOPopupButton.  While waiting for a reply, I figured out how to add the WOPopup Button (drop down list) and low and

Re: How do I update a relationship in a WODisplayGroup?

2005-12-13 Thread Zak Burke
[EMAIL PROTECTED] wrote on 12/13/05 3:57 PM: I can change any of the attributes [snip] However, while I can change [a relationship] and I even verify it is stored in the database, my WODisplayGroup still shows the old value. In my experience, WO will update attributes persisted to the DB,

stringQualifierOperators (like, contains)

2005-12-13 Thread David Holt
I am binding the display group stringQualifierOperators to a pop-up button so that users can have some option for how they want to search a field. The "CONTAINS" qualifier generates SQL such as this: SELECT t0.evidence_abstract, t0.title, t0.year_publication FROM evidence t0 WHERE UPPER(t0.tit

Re: Fun with Primitives

2005-12-13 Thread Owen McKerrow
Hi Guys, Hmmm. The specific thing Im trying to set which is causing the problem is the batchIndex of a display group. So the call is nextPage.takeValueForKeyPath(dictionary.objectForKey(keyName),keyName); Where keyname is "displayGroup.currentBatchIndex" and the value is well anything.

SQL generation 'create index null'?

2005-12-13 Thread Ian Joyner
I have a slight problem that when I SQL generate particular tables in EOModeler, with 'Create Tables' and 'Primary Key Constraints' set, I get a null index created, which SQL complains: Error from JDBC adaptor: EvaluateExpression failed: $OpenBaseExpression: "create index null PRIMARY_KEY">:

Re: SQL generation 'create index null'?

2005-12-13 Thread Chuck Hill
Hi Ian, Abstract or not, it is always a good thing to give each entity a table name and to generate the SQL for the table. This is to handle various DB specific oddities. The one below is a good example. For another, FrontBase associates the primary key generator with a table. So, even

Re: SQL generation 'create index null'?

2005-12-13 Thread Ian Joyner
Thanks Chuck. I guess I'll put the table names for abstract entities back in, especially if it is a problem with FrontBase (but not OpenBase). Just another one of those examples where trying to be clean comes back to bite you ;-) Ian On 14/12/2005, at 12:04 PM, Chuck Hill wrote: Hi Ian,

Re: Subclass conflict with single-table mapping?

2005-12-13 Thread Ian Joyner
On 13/12/2005, at 12:19 PM, Chuck Hill wrote: On Dec 12, 2005, at 4:59 PM, Drew Thoeni wrote: See below... On Dec 12, 2005, at 7:12 AM, [EMAIL PROTECTED] wrote: What is the primary key of your Employee table? employeID (long integer) Does the database's primary key definition match wi

Re: stringQualifierOperators (like, contains)

2005-12-13 Thread Alex Finkel
i think that you will make your 'like' qualifier work if you wrap your search string with the asterisks: *handwashing* On 12/13/05, David Holt <[EMAIL PROTECTED]> wrote: > I am binding the display group stringQualifierOperators to a pop-up > button so that users can have some option for how they

Re: stringQualifierOperators (like, contains)

2005-12-13 Thread David Holt
You're right! So what this means is that LIKE exposes the wildcard functionality to the end user. I am not sure that I want to do this, but at least I understand what's going on now. Thanks, I appreciate it.David -- Just because everything is different doesn't mean anything has changed. -- Irene P

Java Client Cursor placement in text fields?

2005-12-13 Thread Ian Joyner
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 the text instead of all the text being selected for over typing? Is there a way to tell a Swing text editor or EOTextEditor to select the field or cell cont