Re: Type casting in WOComponents

2007-06-07 Thread Anjo Krank
Am 08.06.2007 um 06:19 schrieb Mike Schrag: Right, so this is true -- If assignedRegion is a property of Admin only, then you can't bind to that key on User or WOLips will yell. What is going on here is that the contract you have in your component says that it's a User, so in the general

Re: URGENT!!! Downgrade WebObjects 5.3.* to 5.2.4 as well Java 1.5.* to 1.4.2_09

2007-06-07 Thread Shravan Kumar.M
Hi Group, I think now I have a way to Downgrade Java from 1.5.* to 1.4.2 with the steps provided by Kieran. I'll try this out soon and update the group. I actually checked the .dmg of Mac OS X server I could not find anything related to WebObjects... I am really looking for a nice/safe

Re: Type casting in WOComponents

2007-06-07 Thread Mike Schrag
Right, so this is true -- If assignedRegion is a property of Admin only, then you can't bind to that key on User or WOLips will yell. What is going on here is that the contract you have in your component says that it's a User, so in the general case, you can't bind assignedRegion. If, how

Re: Type casting in WOComponents

2007-06-07 Thread Aaron Thompson
Perhaps "phone" was a bad example property of admin to use, "assignedRegion" might be better without getting into too much detail. assignedRegion belongs to Administrator and *not* User. User is a subclass of EOGenericRecord, generated by EOGenerator from my model. If I bind a 's value

Re: validationFailedWithException not being called

2007-06-07 Thread Chuck Hill
On Jun 7, 2007, at 2:41 PM, Janine Sisk wrote: Ok, just so this makes sense in the archives, and I make sure I understand what you're telling me: The WOFileUpload is bound to imageData, an instance variable, instead of bigImage, an EO attribute, to avoid wiping out the value of bigImage

Re: validationFailedWithException not being called

2007-06-07 Thread Janine Sisk
Ok, just so this makes sense in the archives, and I make sure I understand what you're telling me: The WOFileUpload is bound to imageData, an instance variable, instead of bigImage, an EO attribute, to avoid wiping out the value of bigImage in the situation where the user is editing a recor

Re: validationFailedWithException not being called

2007-06-07 Thread Chuck Hill
On Jun 7, 2007, at 2:24 PM, Janine Sisk wrote: BigImage : WOFileUpload { mimeType = displayBoard.mimeType; data = imageData; OK _that_ is not going to validate during takeValues by itself. displayBoard.bigImage will. IIRC, you want public void setImageData(NSData data) {

Re: validationFailedWithException not being called

2007-06-07 Thread Janine Sisk
BigImage : WOFileUpload { mimeType = displayBoard.mimeType; data = imageData; filePath = imageFileName; } Ok, I get where you're going with this - when we changed this to bind to an instance variable I needed to change the validation routine name too. *smacks forehead

Re: validationFailedWithException not being called

2007-06-07 Thread Chuck Hill
What are the bindings on your WOFileUpload? On Jun 7, 2007, at 2:17 PM, Janine Sisk wrote: Crud. I tried to append the stack trace to this message, but it got kicked back to me from the list for being too long. Chuck should have received it, though. On Jun 7, 2007, at 2:04 PM, Chuck Hil

Re: validationFailedWithException not being called

2007-06-07 Thread Chuck Hill
On Jun 7, 2007, at 1:43 PM, Janine Sisk wrote: I'm totally stumped by this. Here's the scenario: The user chooses a file to upload that we can't handle. They hit the submit button. My saveChanges method runs, Does not! :-P At least not exactly like that. Here is what really happens

validationFailedWithException not being called

2007-06-07 Thread Janine Sisk
I'm totally stumped by this. Here's the scenario: The user chooses a file to upload that we can't handle. They hit the submit button. My saveChanges method runs, which runs the built-in one, which validates all the attributes in my model. My validateBigImage method runs, which checks the

Re:WWDC Meeting

2007-06-07 Thread Calven Eggert
The Chieftain is close: http://www.thechieftain.com/findus.html I agree that the Marriott¹s prices are a tad high, even for us Canadians, with/without the current exchange rates. I suggest that we simply pick a place and meet there and then we can decide to go somewhere else before some people

WWDC WebObjects Event

2007-06-07 Thread Mr. Pierre Frisch
To all WWDC attendees, In addition to our two WebObjects sessions at this year's WWDC, we are hosting an informal after-hours developer gathering. We will have a machine with two 30" Cinema Displays, so please bring your demos and ideas to share them with the Apple team and your fellow W

Re: WWDC meeting

2007-06-07 Thread Chuck Hill
The Chieftain is close: http://www.thechieftain.com/findus.html On Jun 7, 2007, at 9:52 AM, Jeremy Rosenberg wrote: I agree about the view, but the drinks were like 6 bucks and the place wasn't all that roomy, I don't know how many people are coming. Just my 2 cents. I think there is a lou

Re: WWDC meeting

2007-06-07 Thread Jeremy Rosenberg
I agree about the view, but the drinks were like 6 bucks and the place wasn't all that roomy, I don't know how many people are coming. Just my 2 cents. I think there is a lounge at ground level too. Jeremy On Jun 7, 2007, at 9:50 AM, [EMAIL PROTECTED] wrote: From: Gaastra Dennis - WO

Re: Type casting in WOComponents

2007-06-07 Thread Guido Neitzer
On 07.06.2007, at 10:03, Mike Schrag wrote: Yes, definitely, but given his original problem description, just using regular KVC should be a totally straightforward thing to do and that it isn't working implies a design problem that is probably better solved more directly. Yupp. +1 as ofte

Re: Type casting in WOComponents

2007-06-07 Thread Mike Schrag
Yes, definitely, but given his original problem description, just using regular KVC should be a totally straightforward thing to do and that it isn't working implies a design problem that is probably better solved more directly. ms On Jun 7, 2007, at 11:58 AM, Guido Neitzer wrote: On 07.

Re: Type casting in WOComponents

2007-06-07 Thread Guido Neitzer
On 07.06.2007, at 08:39, Mike Schrag wrote: This is not a good choice of words -- You obviously can only call a method on an object whose class HAS that method, But isn't that just using KVC and a thing he could (not that he should) is overriding "handleQueryWithUnboundKey" and return null

Re: Type casting in WOComponents

2007-06-07 Thread Guido Neitzer
On 07.06.2007, at 08:30, Aaron Thompson wrote: Forgive me if this is a really obvious answer, but what do you mean by "the key"? If phone is a property of Administrator but not User, and in my component I have a WOString with value = user.phone, it gives an error. Na, if you have an EOGe

Re: URGENT!!! Downgrade WebObjects 5.3.* to 5.2.4 as well Java 1.5.* to 1.4.2_09

2007-06-07 Thread Guido Neitzer
On 07.06.2007, at 08:27, Shravan Kumar.M wrote: Let me check with XCode CD for WebObjects Uninstall script... One question though, do we install WebObjects deployment version in a Mac OS X server through XCode or it comes by default with Mac OS X server ? On Server it comes with the defau

Re: SQL Logging in wonder.

2007-06-07 Thread Q
Thanks. I needed to bump the log4j.logger.er log level up to get the extra detail. On 07/06/2007, at 11:59 PM, Guido Neitzer wrote: On 07.06.2007, at 05:06, Q wrote: In wonder how does one enable logging of the number of rows being returned from an sql query? By activating SQL logging

Re: Type casting in WOComponents

2007-06-07 Thread Mike Schrag
It's "type independent" This is not a good choice of words -- You obviously can only call a method on an object whose class HAS that method, but rather I mean it's not statically bound to the method call like if you wrote this string of method calls in code, so as long as each object in the

Re: Type casting in WOComponents

2007-06-07 Thread Mike Schrag
"user.phone" is just like performing each of those method calls using Java reflection -- It's "type independent". Fundamentally this is an issue of your model design. If Administrator extends User (as an aside, this is generally not a good design style -- Administrator is a role of a user

Re: Type casting in WOComponents

2007-06-07 Thread Aaron Thompson
Forgive me if this is a really obvious answer, but what do you mean by "the key"? If phone is a property of Administrator but not User, and in my component I have a WOString with value = user.phone, it gives an error. Otherwise, as Chuck kinda pointed out, it might be easiest to create s

Re: URGENT!!! Downgrade WebObjects 5.3.* to 5.2.4 as well Java 1.5.* to 1.4.2_09

2007-06-07 Thread Shravan Kumar.M
Thank you for providing steps to DOWNGRADE JAVA, Kieran. Actually on a development machine, under /Applications/Utilities folder we'll be having WebObjects Uninstall scripts. I didn't find such scripts in the same location in the Mac OS X server. Let me check with XCode CD for WebObjects Un

Re: SQL Logging in wonder.

2007-06-07 Thread Guido Neitzer
On 07.06.2007, at 05:06, Q wrote: In wonder how does one enable logging of the number of rows being returned from an sql query? By activating SQL logging with: er.extensions.ERXAdaptorChannelDelegate.enabled=true er.extensions.ERXAdaptorChannelDelegate.maxMilliSeconds=1000 er.extensions.ERX

Re: URGENT!!! Downgrade WebObjects 5.3.* to 5.2.4 as well Java 1.5.* to 1.4.2_09

2007-06-07 Thread Kieran Kelleher
Java version can be easily changed by making the CurrentJDK soft link point to 1.4 in the directory: kieranbook:~ kieran$ cd /System/Library/Frameworks/JavaVM.framework/ Versions/ kieranbook:/System/Library/Frameworks/JavaVM.framework/Versions kieran $ ls -al total 40 drwxr-xr-x 11 root wh

Re: URGENT!!! Downgrade WebObjects 5.3.* to 5.2.4 as well Java 1.5.* to 1.4.2_09

2007-06-07 Thread Shravan Kumar.M
No Kieran. We actually want to have WebObjects 5.2.4, Java 1.4.2_09 and Wonder frameworks we had, because our application is tested on these versions of software and is stable in these versions. Thanks & Rgds, Shravan Kumar.M "Let us learn from the past to profit by the present,and from the

Re: URGENT!!! Downgrade WebObjects 5.3.* to 5.2.4 as well Java 1.5.* to 1.4.2_09

2007-06-07 Thread Kieran Kelleher
Since you have upgraded this far on that machine, have you tried installing the latest Wonder frameworks instead of the old versions you are using? On Jun 7, 2007, at 8:51 AM, Shravan Kumar.M wrote: The exception is raised in the super.takeValuesFromRequest() method call of our Custom clas

Re: WOHyperLink and form submit

2007-06-07 Thread Kieran Kelleher
Google for "HWOSubmitLink" WOComponent which does this using javascript. On Jun 7, 2007, at 8:35 AM, fraise tagada wrote: Hi, I've a WOHyperLink with an action (binding) and I want that the action submit a form. I try to do that in my action but is not the good solution : **

Re: URGENT!!! Downgrade WebObjects 5.3.* to 5.2.4 as well Java 1.5.* to 1.4.2_09

2007-06-07 Thread Shravan Kumar.M
The exception is raised in the super.takeValuesFromRequest() method call of our Custom class. Thanks & Rgds, Shravan Kumar.M "Let us learn from the past to profit by the present,and from the present to live better in the future." --William WordsWorth

WOHyperLink and form submit

2007-06-07 Thread fraise tagada
Hi, I've a WOHyperLink with an action (binding) and I want that the action submit a form. I try to do that in my action but is not the good solution : *** public String testSuppression() { listeEtudiants.removeObject(itSelectEtudiantEl

Re: URGENT!!! Downgrade WebObjects 5.3.* to 5.2.4 as well Java 1.5.* to 1.4.2_09

2007-06-07 Thread Daniele Corti
2007/6/7, Shravan Kumar. M <[EMAIL PROTECTED]>: Hello Group, Can anyone guide me how to downgrade *WebObjects 5.3.** to *WebObjects ** 5.2.4* as well *Java 1.5.* *to *Java **1.4.2_09* ? We need this ASAP, one of our production server is upgraded to *WebObjects 5.3.2 and Java 1.5.0_07, *and OS i

Re: WOHyperLink and form submit

2007-06-07 Thread David LeBer
On 7-Jun-07, at 8:35 AM, fraise tagada wrote: Hi, I've a WOHyperLink with an action (binding) and I want that the action submit a form. I try to do that in my action but is not the good solution : *** public String testSuppression(

URGENT!!! Downgrade WebObjects 5.3.* to 5.2.4 as well Java 1.5.* to 1.4.2_09

2007-06-07 Thread Shravan Kumar . M
Hello Group, Can anyone guide me how to downgrade WebObjects 5.3.* to WebObjects 5.2.4 as well Java 1.5.* to Java 1.4.2_09 ? We need this ASAP, one of our production server is upgraded to WebObjects 5.3.2 and Java 1.5.0_07, and OS is Apple Mac OS X 10.4.8 and our application is failing to

Re: New Eclipse Project not seeing Model

2007-06-07 Thread Calven Eggert
The model appears in the builds Resource folder. Hmmm, is there something else I should be checking for? On 6/6/07 11:15 AM, "David Holt" <[EMAIL PROTECTED]> wrote: > If you add your own model, you will likely need to add it to your Resources > subfolder for it to be built properly. If you put

SQL Logging in wonder.

2007-06-07 Thread Q
For the wonder experts. In wonder how does one enable logging of the number of rows being returned from an sql query? -- Seeya...Q Quinton Dolan - [EMAIL PROTECTED] Gold Coast, QLD, Australia Ph: +61 419 729 806 ___ Do not post admin requests t

Re: D2W and Direct Actions

2007-06-07 Thread Denis Frolov
Yes, sure, we'll do that. On Jun 6, 2007, at 12:47 PM, Anjo Krank wrote: You can contrib the pool if you want? Sth like: get first from pool (taking languages into account), do stuff, check in. If none is in pool, create new. Cheers, Anjo Am 06.06.2007 um 09:39 schrieb Denis Frolov: Addi