Re: Interfaces and Java Client

2006-04-26 Thread David Avendasora
Okay, maybe I need to re-think my architecture (won't be the first time!) Let me give a quick run-down of an example of the basic structure and maybe someone can give me some tips on how to architect it in a nice OO/WO way. I have a Superclass of Part and three subclasses of Raw, Intermedia

Re: reproduction of mailing list posts

2006-04-26 Thread Anjo Krank
Did they actually annoy you with some mail from their legal dept or are you just cautious? Because otherwise I´d say just go ahead, as what you do is citation which should be well covered under any fair use laws. On the other hand: "publish them in any way on any media in any form" would

Re: Custom PopUp Problems

2006-04-26 Thread wojingo
wojingo wrote: Hey Scott, Scott Winn wrote: [snip] The problem I am having is that I want to make the Pop-Up a reusable component. I don't want to have to include all of the Fetch and Qualifier logic in every page component that needs this pop-up. So I made the new WOComponent. It is

Re: Custom PopUp Problems

2006-04-26 Thread wojingo
Hey Scott, Scott Winn wrote: [snip] The problem I am having is that I want to make the Pop-Up a reusable component. I don't want to have to include all of the Fetch and Qualifier logic in every page component that needs this pop-up. So I made the new WOComponent. It is a partial page.

Re: Reverse engineering Oracle DB in EOModeler

2006-04-26 Thread wojingo
Hi, Carter Wojcik wrote: Hi All - I am currently working on a project that has a legacy Oracle database. It uses the column type Date instead of Timestamp. Are there any benefits of using Timestamp over Date? As an example, we have an auditing attribute named dateAdded of type Date. When c

Re: reproduction of mailing list posts

2006-04-26 Thread Mike Schrag
For the curious, from Apple's mailing list terms of service:"You may not collect e-mail addresses from those archives, or create any public archive of these messages, or publish them in any way on any media in any form, without explicit permission of the list administrators and Apple Computer."So I

Re: Bug in WOContext.directActionURLForActionNamed() when using query dictionary

2006-04-26 Thread Mike Schrag
I have no idea what happens if you try to use that inside of Javascript as a location = '..', I blogged about it here: Apparently I _DO_ know what happens if you use it in Javascript, since I posted a response on your blog entry saying that it breaks :)

Re: Bug in WOContext.directActionURLForActionNamed() when using query dictionary

2006-04-26 Thread David LeBer
On 26-Apr-06, at 8:32 PM, Mike Schrag wrote: David LeBer, Nov 15 2005 says a quick Mail search ... This teeters on a religious debate I believe :) It comes down to how you are using the result of that method. If you use it inside of an href = ".."> then it's SUPPOSED to be escaped (to be X

reproduction of mailing list posts

2006-04-26 Thread Mike Schrag
Hey everyone ... The WO Wikibook is pretty sad at the moment, and I have been collecting mailing list posts that i found to be interesting since about Jan 2005. I was thinking it might be kind of handy to organize snippets and the occasional full post from my "filtered" archive into the co

Re: Bug in WOContext.directActionURLForActionNamed() when using query dictionary

2006-04-26 Thread Chuck Hill
On Apr 26, 2006, at 5:32 PM, Mike Schrag wrote: So basically, if you were expecting it the old way, it's broken, but if you thought it was broken before, it's fixed :) ROFL! -- Coming in late 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-vill

Re: Bug in WOContext.directActionURLForActionNamed() when using query dictionary

2006-04-26 Thread Mike Schrag
David LeBer, Nov 15 2005 says a quick Mail search ... This teeters on a religious debate I believe :) It comes down to how you are using the result of that method. If you use it inside of an ".."> then it's SUPPOSED to be escaped (to be XHTML compliant). However, apparently it fails if you

MySQL JDBC Drivers

2006-04-26 Thread Zac Konopa
Hey all,I came across a problem and managed to find a solution so I thought I would share it.  I was getting this exceptions:com.webobjects.jdbcadaptor.JDBCChannel: method failed to delete row in databaseIt didn't appear to be related to the problems already discussed that can cause this exception.

Re: Bug in WOContext.directActionURLForActionNamed() when using query dictionary

2006-04-26 Thread Chuck Hill
Not really sure I want to step into this... :-) On Apr 26, 2006, at 3:49 PM, Nathan Hadfield wrote: I seem to have encountered a bug in WOContext.directActionURLForActionNamed(). When I pass it a query dictionary containing more than one key, it returns a string in which the query argument

WebObjects on Rails

2006-04-26 Thread Pierce T. Wetter III
(If you received this twice, that's because I just found out there are TWO WO mailing lists, one at Apple and one at OmniGroup and sent it to both) The Ruby On Rails book has inspired me to share some of the tricks I've learned over the years to make WebObjects more streamlined. Let's sta

Bug in WOContext.directActionURLForActionNamed() when using query dictionary

2006-04-26 Thread Nathan Hadfield
I seem to have encountered a bug in WOContext.directActionURLForActionNamed(). When I pass it a query dictionary containing more than one key, it returns a string in which the query arguments are separted by '&' instead of just an ampersand. As a result, if I pass a query dictionary contain

Re: Custom PopUp Problems

2006-04-26 Thread Mark Morris
Hi Scott, Just to add my voice here, from my understanding of your problem I think Ken and Jerry are pointing you in the right direction. But even if there is not a one-to-many from your User object to the objects that go in the pop-up, you could still place a method in your User object

Re: Custom PopUp Problems

2006-04-26 Thread Ken Anderson
Scott, Other people have given you references to how to hook up your sub- component, so I'm not going to go into that here. On Apr 26, 2006, at 4:58 PM, Scott Winn wrote: First off, welcome to WebObjects!\ Thanks! Like I told Chuck. I feel like I am learning WebObjects from the inside

Re: Custom PopUp Problems

2006-04-26 Thread Jerry W. Walker
Hi, Scott, On Apr 26, 2006, at 4:58 PM, Scott Winn wrote: First off, welcome to WebObjects!\ Thanks! Like I told Chuck. I feel like I am learning WebObjects from the inside out. Hi WOList, I am relatively new to WebObjects (and Java for that matter). I am trying to create a reusable

Re: Custom PopUp Problems

2006-04-26 Thread Scott Winn
First off, welcome to WebObjects!\ Thanks! Like I told Chuck. I feel like I am learning WebObjects from the inside out. Hi WOList, I am relatively new to WebObjects (and Java for that matter). I am trying to create a reusable component that is essentially a WOPopUpButton with a custom

Re: Webobjects-dev Digest, Vol 3, Issue 264

2006-04-26 Thread Kieran Kelleher
Andrew, try following my command-line build and deploy instructions here (updated for Tiger)http://homepage.mac.com/kelleherk/iblog/C1117175888/E96563561/index.htmlHTH, -Kieran Blog: http://webobjects.webhop.org/ On Apr 26, 2006, a

Re: fetch loop

2006-04-26 Thread Kieran Kelleher
Philippe,If you can understand Chinese, you will have no problem understanding threads ;-)The guys on Software Engineering Radio have just started a series of podcasts on concurrency.http://se-radio.net/Seriously though, sooner or later, you need to have separate threads doing work independently of

Re: Custom PopUp Problems

2006-04-26 Thread Kieran Kelleher
FYI, ERXToOneRelationship in Project Wonder has bindings for a EODataSource and also a Qualifier for providing a "custom fetch" list. On Apr 26, 2006, at 1:13 PM, Scott Winn wrote: Hi WOList, I am relatively new to WebObjects (and Java for that matter). I am trying to create a reusable com

Re: Custom PopUp Problems

2006-04-26 Thread Ken Anderson
First off, welcome to WebObjects! On Apr 26, 2006, at 1:13 PM, Scott Winn wrote: Hi WOList, I am relatively new to WebObjects (and Java for that matter). I am trying to create a reusable component that is essentially a WOPopUpButton with a custom fetch that generates the list attribute.

Reverse engineering Oracle DB in EOModeler

2006-04-26 Thread Carter Wojcik
Hi All - I am currently working on a project that has a legacy Oracle database. It uses the column type Date instead of Timestamp. Are there any benefits of using Timestamp over Date? As an example, we have an auditing attribute named dateAdded of type Date. When creating a model from the exis

Re: Custom PopUp Problems

2006-04-26 Thread Tanmoy Roy
Hi Scott, Firstly while creating a Custom Component I believe you have created it as a partial document. If so then you must have provided a binding which you must have specified. Now in the Custom DropDown Component you also should have written get-set methods to accept the values. If that is not

Custom PopUp Problems

2006-04-26 Thread Scott Winn
Hi WOList, I am relatively new to WebObjects (and Java for that matter). I am trying to create a reusable component that is essentially a WOPopUpButton with a custom fetch that generates the list attribute. That part is working. When I put this component in a page, it will be used to edi

Re: multiple submit - possible workaround advice

2006-04-26 Thread Sam Barnum
You can also use a regular submit button and hide it using CSS. Make this the first button in your form: style="position:fixed;visibility:hidden;"/> Pressing enter will now trigger this button, which isn't dynamic, so shouldn't do anything (as long as the form action is not set).

Re: fetch loop

2006-04-26 Thread Philippe Lafoucrière
On 25 avr. 06, at 12:55, Kieran Kelleher wrote:Also, when I said the "DA can run the code", I really mean the "DA should spawn off your CheckRemoteTask into a separate thread" in case your checking code is longer than the allowable 30 seconds for R-R loop. This is really easy if your just use use a

Re: Interfaces and Java Client

2006-04-26 Thread David Avendasora
Oh, and by "interfaces" I'm NOT referring to GUI interfaces, I mean classes implementing java interfaces as in "public class Foo implements Bar" (Bar being the interface). I hope this clears up any confusion! Dave On Apr 26, 2006, at 9:30 AM, David Avendasora wrote: Here is some more det

Re: Interfaces and Java Client

2006-04-26 Thread Robert Walker
David, Unfortunately, you've gone beyond my experience. I've used interfaces across EOs but not in the way you are describing here, and never on the client-side. However, I'm not surprised you are having trouble with this design. There are some relatively complex things happening under

Re: Webobjects-dev Digest, Vol 3, Issue 264

2006-04-26 Thread Andrew Kinnie
On Tuesday, April 25, 2006, Art Isbell <[EMAIL PROTECTED]> wrote: > > This error is consistent with the use of Java 1.5: OK, I set the Java on the development machine back to 1.4.2 and it works on the dev machine. I also updated the Openbase JDBC driver (per Jerry Walker) and that also

Re: Interfaces and Java Client

2006-04-26 Thread David Avendasora
Here is some more detail after some substantial work on this: I think it all comes down to that EOModeler and Direct to Java Client (and probably Direct to Web) cannot handle interfaces. (Please tell me I'm wrong!) If the actual code does not agree with the .eomodeld package, then it causes