Re: Hudson and frameworks reference

2011-01-15 Thread Ramsey Lee Gurley
On Jan 15, 2011, at 6:49 AM, Lachlan Deck wrote: On 15/01/2011, at 2:12 PM, Mike Schrag wrote: I'm all for Q's approach, too. For me, Ivy is the part of Maven that isn't so bad. You get the dependency management without all the other stuff on top. And, of course, you can interpret 'all

Re: D2W Query Pages w/ Ajax

2010-11-28 Thread Ramsey Lee Gurley
On Nov 28, 2010, at 8:07 AM, David Avendasora wrote: Hi all, On my the D2W query page for one of my entities, I have several popups for searching on toOne relationships. There's a few whose possible values are dependent upon the values selected for other relationship popups. Is there

Re: D2W Query Pages w/ Ajax

2010-11-28 Thread Ramsey Lee Gurley
morning and I get an answer. Awesome! It may take me a while to wrap my head around it, though. Have you considered adding this to ERModern? It seems like an excellent extension to it since ERModern already has a lot of Ajaxy goodness. Dave On Nov 28, 2010, at 8:30 AM, Ramsey Lee Gurley

Re: Owns destination doesn't play well with nullify delete rule?

2010-11-25 Thread Ramsey Lee Gurley
Should there perhaps be an error/warning in entity modeler for this? Ramsey On Sep 8, 2010, at 6:15 PM, Chuck Hill wrote: It's because if you nullify the relationship, after EOF does that it can't find the related objects to do the cascade delete. Nullify and Cascade are not compatible.

Re: D2W Query Relationship with multiple values

2010-11-25 Thread Ramsey Lee Gurley
I think the ERD2W has a sectioned query repetition so you could do something like displayPropertyKeys = ((person),firstName, lastName,(passport),passport.country,passport.idNumber) or maybe sectionsContents =((person, firstname, lastname), (passport, passport.country, passport.idNumber))

Re: Consuming SOAP (mmm, delicious)

2010-11-17 Thread Ramsey Lee Gurley
On Nov 17, 2010, at 2:10 PM, Lachlan Deck wrote: On 18/11/2010, at 3:48 AM, Pascal Robert wrote: Since the SOAP in the core WO frameworks is not much useful, That's a fairly subjective statement. Axis ain't useless... Yeah, Axis is okay. It's just old. Using WSDL2Java is basically the

Re: Consuming SOAP (mmm, delicious)

2010-11-16 Thread Ramsey Lee Gurley
Hi Lon, On Nov 16, 2010, at 4:50 PM, Lon Varscsak wrote: I've never worked with SOAP before, definitely with XML and REST apis. Is there a good example of how to generate a SOAP request and process the results. If you're doing SOAP and WO, you might be tempted to use Axis since that is

Re: nstimestampformatter error?

2010-10-30 Thread Ramsey Lee Gurley
http://issues.objectstyle.org/jira/browse/WONDER-425 From Oct 7, 2009: I ran into this bug quite a while ago! I found this code somewhere ... I don't recall where ... I think it may have been the Houdah framework. Anyway, I'm not going to take credit for it, but it works! /**

Re: nstimestampformatter error?

2010-10-30 Thread Ramsey Lee Gurley
Also daylight savings that week. On Oct 30, 2010, at 3:15 PM, Chuck Hill wrote: timezones On Oct 30, 2010, at 11:50 AM, James Cicenia wrote: Hello - Here is the code: weekStart = beginDate.timestampByAddingGregorianUnits(0,0,(k*7),0,0,0); weekAfterStart =

Re: build wonder sources

2010-10-24 Thread Ramsey Lee Gurley
On Oct 24, 2010, at 7:35 AM, Francesco Romano wrote: Hi to everyone. I'd like to take a look to ERModernLook and to try to create my first D2W application. I've a new iMac that I want to set up to develop with WebObjects, but I can't build Wonder... So.. this is what I've done till

Re: build wonder sources

2010-10-24 Thread Ramsey Lee Gurley
.. The 2 frameworks are ERJQuery and ERWOAdaptor.. Francesco On 24/ott/2010, at 14.19, Ramsey Lee Gurley wrote: On Oct 24, 2010, at 7:35 AM, Francesco Romano wrote: Hi to everyone. I'd like to take a look to ERModernLook and to try to create my first D2W application. I've a new iMac

Joda Time Prototypes [was Re: Patched MySQL plugin]

2010-10-21 Thread Ramsey Lee Gurley
Ok guys, I've done some work on this and now have working Joda LocalTime, LocalDate, and LocalDateTime prototypes. For any of you who are interested/adventurous, I've put patches to enable this up on JIRA. Feel free to give it a try and see if it works for you. Let me know if you find any

Re: Joda Time Prototypes [was Re: Patched MySQL plugin]

2010-10-21 Thread Ramsey Lee Gurley
Oh, and I forgot to mention, 5.4 branch only. Ramsey On Oct 21, 2010, at 10:36 PM, Ramsey Lee Gurley wrote: Ok guys, I've done some work on this and now have working Joda LocalTime, LocalDate, and LocalDateTime prototypes. For any of you who are interested/adventurous, I've put patches

Re: Why doesn't this rule work?

2010-10-12 Thread Ramsey Lee Gurley
Wrong assignment class. You need a key value assignment. Although, I don't know if that will actually work either. You have to at least request that value from the context for it to assign it to the key... but it might just assign that to the string key. If you are trying to provide initial

Re: D2W an Unmodeled Relationship

2010-10-06 Thread Ramsey Lee Gurley
On Oct 6, 2010, at 7:38 PM, David Holt wrote: On 2010-10-06, at 3:09 PM, David Avendasora wrote: First of all, the changes to RuleModeler rock in that I could just copy paste your rules below directly into my rule files! It's a new world! Second. It doesn't quite work yet.

Re: Delete of parent object triggers delete of to-one destination object

2010-10-05 Thread Ramsey Lee Gurley
On Oct 5, 2010, at 8:26 PM, Chuck Hill wrote: Is there another relationship with Owns Destination or Cascade Delete set on it. Those are the only things that I can think of that would make EOF delete an EO. I can think of one other thing, because it happened to me recently... I had a

Re: Patched MySQL plugin

2010-09-29 Thread Ramsey Lee Gurley
On Sep 29, 2010, at 9:40 PM, Paul Hoadley wrote: On 30/09/2010, at 10:21 AM, Louis Demers wrote: In my app, when that's the behaviour I want, I zero out the data before writing it to the database so that subsequent checks for equality will return values... FWIW, I've found that the

Re: D2W Auto-Qualifying all listings

2010-09-22 Thread Ramsey Lee Gurley
Speaking of MySQLPlugin support from committers, let's not forget Mr. Travis Britt (^_^) He's been quite active making MySQL a first class citizen in Wonder lately. Quoting would be an excellent addition to that plugin BTW. I stumbled on that problem myself once when I used MySQL. I was

Re: More thoughts to rile MS

2010-09-11 Thread Ramsey Lee Gurley
On Sep 11, 2010, at 12:15 AM, Ken Foust wrote: Some more thoughts even if they are total BS I wonder how many people still use D2W ? I would say fold project wonder into WO bring back WOB in HTML 5 Even if you make WOB a stand alone Apple Dev App leaving WO open-source If D2W is

Re: ERModernDirectToWeb Formatter Bug?

2010-09-09 Thread Ramsey Lee Gurley
Committed. I noticed this yesterday too. D2WDisplayNumber didn't like it. Ramsey On Sep 9, 2010, at 5:58 AM, David Avendasora wrote: Hi all, mostly David LeBer, I see that a little over a week ago David LB added the following rule: 40 : *true* = formatter = %Y-%m-%d

Re: D2W Auto-Qualifying all listings

2010-09-09 Thread Ramsey Lee Gurley
On Sep 9, 2010, at 6:03 PM, David Avendasora wrote: Hi all D2W Gurus, I'm starting a new D2W app, and one of the things it needs to do is automatically pre-qualify all listings of of entities to filter down to only the EOs that the user is allowed to see. The logic to tell if a user is

Re: Eclipse setup

2010-08-16 Thread Ramsey Lee Gurley
Ditto. 3.6 at home. I'm stuck with 3.4 at work. The difference is truly painful. Ramsey On Aug 16, 2010, at 7:30 AM, Paul D Yu wrote: I'm on Eclipse 3.6 and WOLips 3.6.6122. Works great. This is where all the performance and other fixes is happening. Paul On Aug 16, 2010, at 7:25

Re: Dates (1-day resolution) redux

2010-08-11 Thread Ramsey Lee Gurley
Perhaps this is a stupid question, but is there any reason a GregorianCalendar wouldn't work? It seems it only needs a simple subclass providing factory methods for an EOAttribute prototype. Ramsey On Aug 11, 2010, at 11:10 AM, Mike Schrag wrote: Julian Day is a really handy way to store

Re: Multiple databases and migrations causing weird side affect

2010-08-04 Thread Ramsey Lee Gurley
A possibly helpful email from May 6 on the wonder list: Hi Ricardo, I'm usually adding the relationships programatically in such situations. E.g. ERXEOAccessUtilities.createRelationship( contactModifier, // name PDBUUser.ENTITY_NAME, id, // from

Re: Inverse to-one relationships

2010-07-24 Thread Ramsey Lee Gurley
I tested it using a ERD2W edit relationship page subclass. I believe the code that sets up the edit relationship page uses addObjectToBothSide. On Jul 23, 2010, at 8:33 PM, Paul Hoadley wrote: On 23/07/2010, at 11:44 PM, Ramsey Gurley wrote: Nice trick Chuck (^_^) You are awesome! And it

Re: D2W How does one use a variable in the RHS of a rule?

2010-06-30 Thread Ramsey Lee Gurley
I don't think you'd actually use @@ in your localized key. That template string would go into your Localizable.strings file like blahblah.userPurchaseList.whatever = @@object.fullname@@ Purchase List; and then in your rule you'd use blah = displayNameForPageConfiguration =

Re: [OT] Room reservation at the Gouverneur

2010-06-14 Thread Ramsey Lee Gurley
For a moment, I was confused! I thought you meant early bird pricing for the hotel (^_^) I assume August 14th is still the deadline for discounted lodging. June 21st ( Only one week left! ) is only the deadline for WOWODC tickets. Is that correct? Ramsey On Jun 10, 2010, at 1:02 PM,

Re: @sum and

2010-06-13 Thread Ramsey Lee Gurley
On Jun 13, 2010, at 8:33 PM, Theodore Petrosky wrote: userList = User.fetchDistinctUsers(timeListEC, User.IS_ACTIVE.eq(true).and(User.ETIMES.dot(ETime.JOB).dot(Job.PROJECT).eq(theProject())), null); userListDG.setObjectArray(userList); I have a repetition fed with this

Re: D2W/ERModernLook in non D2W app

2010-06-09 Thread Ramsey Lee Gurley
On Jun 9, 2010, at 8:31 PM, Jim Murry wrote: On Jun 9, 2010, at 4:07 PM, David Holt wrote: Hi Andrew, On 9-Jun-10, at 3:34 PM, akinnie wrote: OK, that all makes sense. :-) I didn't think I needed a home() method as I was putting it in a subcomponent, so I commented it out.

[OT] Yay Apple!

2010-05-27 Thread Ramsey Lee Gurley
Our favorite fruit company just surpassed Microsoft and is now the second largest company in the US behind Exxon-Mobil (^_^) http://www.nytimes.com/2010/05/27/technology/27apple.html?hp Congratulations to everyone at Apple! Ramsey smime.p7s Description: S/MIME cryptographic signature

Re: Eclipse/WOLips Strange Chinese Characters

2010-05-13 Thread Ramsey Lee Gurley
That sounds promising. I'll have to try it again sometime Ken. Last time I attempted it, only UTF-16 worked for me. UTF-8 would be better because when I create a new project using a project template, the .strings are always UTF-8. WOLips doesn't seem to have a way to mark them UTF-16 in a

Re: Dependent popUp with D2W

2010-05-10 Thread Ramsey Lee Gurley
On Jul 31, 2009, at 11:01 AM, Daniel Mejía wrote: Hi all, I have a D2W edit form with three dependent PopUps, something like country- state - city. Is there any component or example where I can find out how to have dependent popUps in a D2W forms? Regards, Daniel. Hi Daniel,

Re: AppleInsider | Apple developing Flash alternative named Gianduia

2010-05-09 Thread Ramsey Lee Gurley
This one is front paging on digg. It has 228 diggs in an hour and a half, and 122 comments. http://news.cnet.com/8301-13579_3-20004509-37.html I guess the secret's out (^_~)d On May 7, 2010, at 6:54 PM, Gaastra Dennis - WO Lists wrote: But only in French... On 2010-05-07, at 3:50 PM,

Re: Switch from 5.3.3 to 5.4.3 breaks tomcat deployment

2010-05-05 Thread Ramsey Lee Gurley
On May 5, 2010, at 10:42 PM, Ken Anderson wrote: All, We're in the midst of converting some WO apps from 5.3.3 to 5.4.3. Everything works well in Eclipse, but when we deploy to tomcat 5.5 via a .war file, the app basically does nothing. Remote debugging shows that the Application

Re: D2W - Do the pros use dummy tables?

2010-04-19 Thread Ramsey Lee Gurley
On Apr 19, 2010, at 5:06 PM, James Cicenia wrote: Hello - This has baffled me about D2W. It definitely seems to need to have an entity. So my question is ... how do you model custom screens? Do you create a dummy entity with dummy attributes associated with the areas on the screen?

Re: D2W - Do the pros use dummy tables?

2010-04-19 Thread Ramsey Lee Gurley
would be your stock quote entity, and so on. On Apr 19, 2010, at 5:47 PM, Ramsey Lee Gurley wrote: On Apr 19, 2010, at 5:06 PM, James Cicenia wrote: Hello - This has baffled me about D2W. It definitely seems to need to have an entity. So my question is ... how do you model custom

Re: Basic question - lightweight to-one relationship from entity to POJO/enum

2010-04-15 Thread Ramsey Lee Gurley
On Apr 15, 2010, at 8:07 AM, David Avendasora wrote: On Apr 14, 2010, at 9:49 PM, Ramsey Lee Gurley wrote: Well, there's only going to be one of each enum in memory. So, that's a bonus. Memory is cheap. :-) They are fast to access... I don't block a thread waiting on a fault

Re: Basic question - lightweight to-one relationship from entity to POJO/enum

2010-04-14 Thread Ramsey Lee Gurley
On Apr 14, 2010, at 6:07 PM, David Avendasora wrote: I've always just created Entities for these types of things so all relationships work the same. For me, it depends on the usage. If it is something like a transaction state (e.g. ACCEPT, DECLINE, ERROR) I would go with an enum. In a

Re: Basic question - lightweight to-one relationship from entity to POJO/enum

2010-04-08 Thread Ramsey Lee Gurley
For an enum specifically, you can use a custom component like https://r2d2w.svn.sourceforge.net/svnroot/r2d2w/trunk/ERR2d2w/Components/Nonlocalized.lproj/R2D2WEditEnum.wo/ Or you can just use rules and the ERDEditToOneRelationship component. That component is flexible enough to handle the job.

Re: Basic question - lightweight to-one relationship from entity to POJO/enum

2010-04-08 Thread Ramsey Lee Gurley
that should work for you. Standard warnings apply: Completely untested code, your milage may vary, objects in mirror are closer than they appear ... (^_^) Ramsey On Thursday, April 8, 2010, Ramsey Lee Gurley rgur...@mac.com wrote: For an enum specifically, you can use a custom

Re: Can an entity be promoted in single table inheritance?

2010-04-01 Thread Ramsey Lee Gurley
I suspected as much, but I was curious and had to ask (^_^) Thanks to everyone for the replies! Ramsey On Mar 31, 2010, at 10:54 PM, Chuck Hill wrote: On Mar 31, 2010, at 7:48 PM, Ramsey Lee Gurley wrote: I can't see this being possible in Vertical or Horizontal, but with single table

Can an entity be promoted in single table inheritance?

2010-03-31 Thread Ramsey Lee Gurley
I can't see this being possible in Vertical or Horizontal, but with single table... could the qualifying attribute be updated to 'promote' an entity to a new class? Let's say we have we have an abstract Person entity with three subclasses, Peasant, Knight, King. If I wanted to promote a

Re: Document/literal Style WebServices

2010-02-16 Thread Ramsey Lee Gurley
I wish I could, but I've never used the other style. From your description, it doesn't sound like there is an easy way to convert from one to the other. Maybe someone here has used document literal and can be of more assistance. Ramsey On Feb 15, 2010, at 10:18 PM, Kalpana Vaka wrote:

Re: What would it take?

2010-02-16 Thread Ramsey Lee Gurley
On Feb 16, 2010, at 8:33 PM, Mike Schrag wrote: +1 He's alluding to that still as yet all mysterious, apparently sweet tasting, hazelnut flavoured chocolate treat. The question is: when's desert going to be served? :-) actually not in this case ... just that if you were thinking about

Re: D2WEditRelationship

2010-02-15 Thread Ramsey Lee Gurley
On Feb 15, 2010, at 5:32 PM, Mark Wardle wrote: Dear all, I'm trying to subclass and customise D2WEditRelationshipPage to create a custom look (in fact, I'm subclassing ERNEUEditRelationshipPage). Specifically, I want to be able to customise the page using the rule system. Firstly, I

Re: What would it take?

2010-02-15 Thread Ramsey Lee Gurley
On Feb 15, 2010, at 5:46 PM, Mike Schrag wrote: I think the idea of a very robust Ajax capable template would be ideal. That way it can at least have its footing on the right foundation. Don't spend time working on this. ms What you talkin' about Willis? Ramsey smime.p7s

[OT] Javascript editing in Eclipse

2010-02-10 Thread Ramsey Lee Gurley
Hi all, This is probably a little off topic, but here goes: What are you using to edit javascript? I've noticed the default editor in eclipse has a tendency to autocomplete quotes and braces, but does not auto-un-complete when you press the delete key. It also doesn't do a very good job in

Re: JavaScript is not Working with AjaxSubmitButton

2010-02-10 Thread Ramsey Lee Gurley
Hi Venu, For the benefit of others, please keep replies on the mailing list. With regards to this question, I'm not sure how to answer. The part that is failing is not included in the message. Perhaps if you were to post the js for Validator, I or someone here might be able to assist you.

Re: [OT] Fact about Apple Store and WO

2010-02-09 Thread Ramsey Lee Gurley
+1 with David and Lachlan here. Besides, listing speculation under the 'facts' section seems a bit of a stretch (^_^) There's no need to defend WO or belittle anyone else. Demonstrate why WO is the best solution available, and the rest will take care of itself. On Feb 9, 2010, at 9:12 PM,

Re: AjaxSubmitButton

2010-01-22 Thread Ramsey Lee Gurley
On Jan 22, 2010, at 8:08 AM, Ramsey Lee Gurley wrote: On Jan 22, 2010, at 2:24 AM, Venu A wrote: Hi, Thanks for giving reply,I have the image is in my project's Resources/folder it self. If i given only WOImage (without AjaxSubmitButton) it is appearing on UI. But not appearing when i

Re: Inline Task into Task component extravaganza

2010-01-20 Thread Ramsey Lee Gurley
On Jan 20, 2010, at 6:40 AM, Riccardo De Menna wrote: Hi all, A D2W related question... I want a component that allows me to edit a record and also edit another one through a relationship. An InlineEditRelationship thing. I want it because I often have correlation tables in to-many

Re: AjaxSubmitButton

2010-01-20 Thread Ramsey Lee Gurley
You can use a binding like elementName=button; And then wrap your image with the button. http://webobjects.mdimension.com/hudson/job/Wonder53/javadoc/er/ajax/AjaxSubmitButton.html On Jan 21, 2010, at 1:22 AM, Venu A wrote: Hi all, When i use AjaxSubmitButton it is generated a normal html

Re: Is there a User pattern/framework out there?

2010-01-16 Thread Ramsey Lee Gurley
The only thing I'm aware of is the user preferences stuff in ERCoreBusinessLogic. You can see how it works with the bugtracker example. I think basically all it remembers is batch sizes and sort orderings, but you can replace the delegate to extend that. Ramsey On Jan 16, 2010, at 10:18 AM,

Re: D2WS Assistant

2010-01-15 Thread Ramsey Lee Gurley
I couldn't get the WSAssistant to work at all. With or without wonder, it seems totally broken. Also, D2WS in 5.4 will not work with Wonder's D2W, because it requires that the rule model descends from D2WFastModel or some such. Also, WOWS fails on WSDLs with XSD imports, so if you are trying

Re: How to get the failing EO when a unique constraint violation occurs?

2010-01-12 Thread Ramsey Lee Gurley
Hi Amiel, That's basically what I'm doing with Postgresql right now too. I managed to retrieve an EO if the operation is updating the EO instead of creating one. I cheated and used the editingContext for the database context from _databaseContextState().objectForKey(editingContext). Even

Re: UTF-8 forms and database, still some special characters get through as things like #64257; Why?

2010-01-10 Thread Ramsey Lee Gurley
On Nov 13, 2009, at 4:04 AM, Pascal Robert wrote: - Johan Henselmans jo...@netsense.nl a écrit : Op 12 nov 2009, om 14:44 heeft Pascal Robert het volgende geschreven: 6) Localizable.strings should be encoded in UTF-16 And to be more specific, they should be in UTF-16LE

Re: Localization problem, hello world too [solved]

2009-12-26 Thread Ramsey Lee Gurley
On Dec 26, 2009, at 6:16 AM, Johann Werner wrote: Am 24.12.2009 um 17:10 schrieb Ramsey Lee Gurley: Hmm, beyond that, I'm not really sure. Maybe someone who does session-less WO apps has better advice. Since writing that bit of info, I've accepted that attempting to use WO without

Re: Localization problem, hello world too [solved]

2009-12-24 Thread Ramsey Lee Gurley
put a patch on jira. Happy Christmas, jw Am 02.12.2008 um 23:55 schrieb Ramsey Lee Gurley: On Dec 2, 2008, at 2:53 AM, Anjo Krank wrote: Am 02.12.2008 um 08:04 schrieb Anjo Krank: If it doesn't, rewrite the method so it re-orders the nsarray so that it still has all items from

Re: Localization problem, hello world too [solved]

2009-12-24 Thread Ramsey Lee Gurley
)); but when I invoke pageWithName the current localizer is ignored. jw Am 24.12.2009 um 15:59 schrieb Ramsey Lee Gurley: On Dec 24, 2009, at 9:20 AM, Johann Werner wrote: Hi list, I have the same problem as described in this thread. I have an app that uses only direct actions

Re: Getting strange KVC error concerning width and ERXSortOrder

2009-12-24 Thread Ramsey Lee Gurley
On Dec 24, 2009, at 8:18 PM, Daniel Beatty wrote: Greetings all, I was just toying with a D2W example and got a rather weird error. The error states the following: Application: Forum Error:valueForKey()]: lookup of unknown key: 'width'. The WOComponent

Re: Can't create new project.

2009-12-20 Thread Ramsey Lee Gurley
Happened to me once before. http://issues.objectstyle.org/jira/browse/WOL-994 Something in the upgrade process borked my setup. Reinstall starting with a clean copy of eclipse Ramsey On Dec 19, 2009, at 8:21 PM, James Cicenia wrote: Hello - I haven't created a new project in a

Re: Reference Docs -- Where?

2009-12-19 Thread Ramsey Lee Gurley
And those are available for download via ADC. On Dec 19, 2009, at 8:58 AM, Johann Werner wrote: Hi Drew, the URL of the latest reference documentation has changed to http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/index.html jw Am

Re: You backtrack too far problem. Analyzing ERXRequests...

2009-12-18 Thread Ramsey Lee Gurley
On Dec 18, 2009, at 3:18 AM, Gustavo Pizano wrote: Then I click an AjaxSubmitButton which will update a dummy AUC, this one will onRefreshComplete update a AUC inside the Second AjaxSelectionList with a unique ID generated in the server side, Hmmm... I'm not sure this is your problem

Re: JUnit test method generation

2009-12-13 Thread Ramsey Lee Gurley
classes. It needs a bit of adjustment so it can find your test classes, but if you have some naming convention for your test classes you should be OK. Here's the link: http://moreunit.sourceforge.net/index.html Cheers, Katya On Dec 13, 2009, at 2:30 AM, Ramsey Lee Gurley wrote

JUnit test method generation

2009-12-12 Thread Ramsey Lee Gurley
Hi all, I'm wondering if there is an easier way to generate a JUnit test method stub for a test class that already exists. Let's say I have a class Foo with method bar(). When I generate the JUnit test FooTest in eclipse, I can select the methods and generate the source stub for testBar()

Re: JUnit test method generation

2009-12-12 Thread Ramsey Lee Gurley
On Dec 12, 2009, at 7:02 PM, Ray Kiddy wrote: On Dec 12, 2009, at 8:14 AM, Ramsey Lee Gurley wrote: Hi all, I'm wondering if there is an easier way to generate a JUnit test method stub for a test class that already exists. Let's say I have a class Foo with method bar(). When I

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2009-12-05 Thread Ramsey Lee Gurley
On Dec 5, 2009, at 1:40 AM, Lachlan Deck wrote: On 05/12/2009, at 12:02 AM, Ramsey Lee Gurley wrote: Hi Kieran, Have you tried vertical inheritance with MySQL? He wouldn't have. I have and continue to. I have Animal-Cat-Leopard. I try to create a leopard and it fails because

Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]

2009-12-04 Thread Ramsey Lee Gurley
Hi Kieran, Have you tried vertical inheritance with MySQL? I have Animal-Cat-Leopard. I try to create a leopard and it fails because com.webobjects.eoaccess.EOGeneralAdaptorException: EvaluateExpression failed: com.webobjects.jdbcadaptor._MySQLPlugIn$MySQLExpression: INSERT INTO

Re: Handling DB Unique Constraints

2009-11-29 Thread Ramsey Lee Gurley
On Nov 24, 2009, at 5:21 PM, Chuck Hill wrote: On Nov 24, 2009, at 2:17 PM, Anjo Krank wrote: Not really sure of the messages can be useful, tough, as they use the name of the constraint: ERROR: duplicate key value violates unique constraint bb and not the key (postgres). So the

Re: Handling DB Unique Constraints

2009-11-29 Thread Ramsey Lee Gurley
On Nov 29, 2009, at 10:54 PM, Kieran Kelleher wrote: On Nov 29, 2009, at 10:12 PM, Chuck Hill wrote: On Nov 29, 2009, at 6:01 PM, Ramsey Lee Gurley wrote: On Nov 24, 2009, at 5:21 PM, Chuck Hill wrote: On Nov 24, 2009, at 2:17 PM, Anjo Krank wrote: Not really sure

Re: Handling DB Unique Constraints

2009-11-29 Thread Ramsey Lee Gurley
On Nov 29, 2009, at 10:12 PM, Chuck Hill wrote: On Nov 29, 2009, at 6:01 PM, Ramsey Lee Gurley wrote: On Nov 24, 2009, at 5:21 PM, Chuck Hill wrote: On Nov 24, 2009, at 2:17 PM, Anjo Krank wrote: Not really sure of the messages can be useful, tough, as they use the name

Re: Frames and AjaxUpdateContainer

2009-11-25 Thread Ramsey Lee Gurley
Hi Raghavender, I assume you're talking about Wonder's Ajax framework? You can update across frames by calling something like parent.[frame].[updateContainerID]Update(); So, if you're in your 'content' frame, and you want to update an update container with an id of brillig in the 'header'

Re: State of Windows deployment in 2009?

2009-11-24 Thread Ramsey Lee Gurley
On Nov 24, 2009, at 5:48 PM, Mike Schrag wrote: If you had your magic wishing well, what would you wish for WO to do that it doesn't? I wish that when I find on line 409 of WOWebServiceClient that someone decided to hand the WSDLReader's readWSDL a null instead of url.toString(), thus

Re: Is this a violation of the EOF commandment?

2009-11-13 Thread Ramsey Lee Gurley
On Nov 13, 2009, at 12:05 AM, Chuck Hill wrote: On Nov 12, 2009, at 7:12 PM, Ramsey Lee Gurley wrote: On Nov 12, 2009, at 9:32 PM, Chuck Hill wrote: On Nov 12, 2009, at 6:13 PM, Ramsey Lee Gurley wrote: In this case though, he would be changing the value passed. It is my understanding

Re: Writing maintainable and extendable D2W rules

2009-11-13 Thread Ramsey Lee Gurley
On Nov 13, 2009, at 10:30 AM, David LeBer wrote: On 2009-11-13, at 10:16 AM, Mike Schrag wrote: ... Added a new Documentation field to RuleModeler. Stores as a key named documentation inside the rule (which is just ignored by the runtime). Sweet! Toootally! (^_^) Thanks Mike!

Re: File Upload Example or Project Import Problem

2009-11-12 Thread Ramsey Lee Gurley
If you're using Wonder, ERAttachment framework is the way to go. http://webobjects.mdimension.com/hudson/job/Wonder53/javadoc/er/attachment/package-summary.html Ramsey On Nov 12, 2009, at 4:47 AM, Chan Yeow Heong, Jerome wrote: Hello! Is there an example on how to use file upload in

Re: Is this a violation of the EOF commandment?

2009-11-12 Thread Ramsey Lee Gurley
On Nov 12, 2009, at 9:32 PM, Chuck Hill wrote: On Nov 12, 2009, at 6:13 PM, Ramsey Lee Gurley wrote: In this case though, he would be changing the value passed. It is my understanding from the javadocs that this is what validateKey methods are for, explicitly. http

Re: Writing maintainable and extendable D2W rules

2009-11-12 Thread Ramsey Lee Gurley
On Nov 12, 2009, at 3:22 PM, Mark Wardle wrote: Not to hijack this thread but as a related issue, I wish I could add comments to my rule files +1 If I had the time, I'd patch it myself. I'm afraid I am more than a bit rusty with XCode and Obj-C. I'd probably do more harm than good

Re: snip-me.com

2009-11-12 Thread Ramsey Lee Gurley
I can't read a word of it, but looks like an awesome site (^_^) Nice work! Ramsey On Nov 12, 2009, at 2:19 PM, Ken ISHIMOTO wrote: Hi, It's a long time to write here, but I am alive^^ I am using WO now for two years. Also 100% in my 3 Project's that I am developing. I am reading this

Re: Postponed validation possible?

2009-11-11 Thread Ramsey Lee Gurley
Nice :-) I learned something today. Ramsey On Nov 11, 2009, at 5:38 PM, Anjo Krank wrote: Because then the user loses what they typed which can sometimes be annoying (e.g., if it's too long a string etc) As i said: then push the invalid value. This is what ERXValidation does. And if

Re: Owns destination implies mandatory?

2009-11-11 Thread Ramsey Lee Gurley
to be controlled by a property. It appears that if you want to turn it on you would put er.extensions.ERXValidationShouldPushChangesToObject=true In your properties file. On Nov 11, 2009, at 7:28 PM, Ramsey Lee Gurley wrote: Hi Ricardo, I think Anjo's reply was in regards to postponed

Re: Numbers Only in WOTextField

2009-11-10 Thread Ramsey Lee Gurley
On Nov 10, 2009, at 3:21 PM, David Avendasora wrote: On Nov 10, 2009, at 3:07 PM, Chuck Hill wrote: On Nov 10, 2009, at 11:52 AM, David Avendasora wrote: Never mind! Great minds think alike, right Lon? http://lists.apple.com/archives/webobjects-dev/2009/Oct/msg00342.html And not

Re: D2WQuery embedded loses state

2009-11-08 Thread Ramsey Lee Gurley
to see the hands moving under the table now! That's how I learned it. On Sunday, November 8, 2009, Ramsey Lee Gurley rgur...@mac.wrote: On Nov 7, 2009, at 4:58 PM, Mark Wardle wrote: Hi all. This may be a stupid question... I've embedded a D2WQuery within a ListPage. It acts as a filter

Re: D2WQuery embedded loses state

2009-11-07 Thread Ramsey Lee Gurley
On Nov 7, 2009, at 4:58 PM, Mark Wardle wrote: Hi all. This may be a stupid question... I've embedded a D2WQuery within a ListPage. It acts as a filter for the list; in fact I use ERDQueryAnyKey exclusively to allow a google-like search of the listed entities. Thank you to all who helped me

Re: WO Mini conference in Southern California

2009-11-05 Thread Ramsey Lee Gurley
On Nov 5, 2009, at 5:51 PM, David Avendasora wrote: Hey Daniel, Josh and Tim, Andrew Kinnie and I are trying to work out the details for webcasting our WONoVA meeting this Tuesday (the 10th). Maybe the three of you can get together and we can at least link the two meetings together!

Re: Validation errors inside a sub-component

2009-11-05 Thread Ramsey Lee Gurley
Maybe drop all your validation handling into your page component instead and then you can get at it with context.page? Extra bonus: use the same page super class everywhere and your validation handling is done in one place for your entire app. (^_^) Ramsey On Nov 5, 2009, at 9:12 PM,

Re: WO Mini conference in Southern California

2009-11-05 Thread Ramsey Lee Gurley
might be a bit far to Miami 5 hours! .. Fort Myers/Naples would be half-way if there are any WO Devs around that area. -Kieran On Nov 5, 2009, at 6:29 PM, Ramsey Lee Gurley wrote: On Nov 5, 2009, at 5:51 PM, David Avendasora wrote: Hey Daniel, Josh and Tim, Andrew Kinnie

Re: Frameworks and Subcomponents

2009-11-04 Thread Ramsey Lee Gurley
On Nov 4, 2009, at 8:09 AM, David Griffith wrote: Well I discovered that there was an empty folder in the Dist App Build directory for the component that I was getting a blank screen with. Not sure how that happened. Anyway, I did a Clean and Rebuild and it seems to have sorted it. So

EntityModler - EOEntityIndex

2009-11-03 Thread Ramsey Lee Gurley
Hi all, Is there any way to make use of EOEntityIndex in Entity Modeler? http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO_BundleReference/Articles/EOModelBundle.html#//apple_ref/doc/uid/TP40004837-SW16 Ramsey smime.p7s Description: S/MIME cryptographic

Re: EntityModler - EOEntityIndex

2009-11-03 Thread Ramsey Lee Gurley
Very cool indeed (^_^) Thank you Mike! Ramsey On Nov 3, 2009, at 8:20 AM, Mike Schrag wrote: yeah, just do a new entity index on an entity On Nov 3, 2009, at 8:14 AM, Ramsey Lee Gurley wrote: Hi all, Is there any way to make use of EOEntityIndex in Entity Modeler? http

Re: The requested application was not found on this server.

2009-11-03 Thread Ramsey Lee Gurley
Hi Lon, I've found it imperative to use the updated mod_Webobjects. I don't know if it's a 5.4 thing, the apache 2.2, or what, but I get plenty of No Instance Available pages without it. You're probably aware already, but I just thought I would mention it ...

Re: Customising D2W - adding filtering to list pages

2009-11-02 Thread Ramsey Lee Gurley
be nice. Is there such a thing, and how do I use it? Thank you, Dan On Nov 1, 2009, at 3:45 PM, Ramsey Lee Gurley wrote: On Nov 1, 2009, at 6:37 PM, Ramsey Lee Gurley wrote: Hi Mark, If you're starting with ERNeu then you could always display the result list embedded in your query page

Re: Customising D2W - adding filtering to list pages

2009-11-01 Thread Ramsey Lee Gurley
Hi Mark, If you're starting with ERNeu then you could always display the result list embedded in your query page with the showListInSamePage d2w key. That way, your search results simply load embedded in your query page and if you'd like to add/update query parameters, they're right

Re: Customising D2W - adding filtering to list pages

2009-11-01 Thread Ramsey Lee Gurley
On Nov 1, 2009, at 6:37 PM, Ramsey Lee Gurley wrote: Hi Mark, If you're starting with ERNeu then you could always display the result list embedded in your query page with the showListInSamePage d2w key. That way, your search results simply load embedded in your query page and if you'd

Re: Actions from D2W pages

2009-10-26 Thread Ramsey Lee Gurley
On Oct 26, 2009, at 7:53 AM, Mark Wardle wrote: Hi all, Would be grateful for advice regarding invoking actions from D2W pages, specifically, List and Inspect pages. I don't know if this is exactly what you want, but you might want to check out ERXComponentActionRedirector. I'd like

Re: Actions from D2W pages

2009-10-26 Thread Ramsey Lee Gurley
On Oct 26, 2009, at 9:28 AM, Anjo Krank wrote: You mean ERXComponentActionRedirector.Restorable ERXComponentActionRedirector by itself is (for good reason!) considered bhighly/b experimental... Cheers, Anjo About that ... Do you have any ideas on what can be done to make it less

Re: 2009 surveys results

2009-10-25 Thread Ramsey Lee Gurley
On Oct 25, 2009, at 7:28 AM, Pascal Robert wrote: - Chuck Hill ch...@global-village.net a écrit : On Oct 24, 2009, at 11:57 AM, Don Lindsay wrote: I agree with Robert, I created several tutorials for WebObjects as well as an installer for windows and linux. This is something that

[OT] Pre-selecting a printer?

2009-10-25 Thread Ramsey Lee Gurley
Is it possible, if I have control of the client machines, to select a printer based on the printed page size? Also, is it possible to bypass the print dialog? I tried searching the Apple printing list but didn't come up with a lot of answers... Ramsey smime.p7s Description: S/MIME

Re: [OT] Pre-selecting a printer?

2009-10-25 Thread Ramsey Lee Gurley
On Oct 25, 2009, at 4:26 PM, Andrew Lindesay wrote: Hi Ramsey; Are you able to just print directly to the printer from the application server? cheers. Is it possible, if I have control of the client machines, to select a printer based on the printed page size? Also, is it possible to

Re: [OT] Pre-selecting a printer?

2009-10-25 Thread Ramsey Lee Gurley
No, that would be crazy, even for me (^_^) I was just wondering if it were possible to set up a client Mac to print automatically to a specific printer based on characteristics of the print job. So, let's say I have a color inkjet printer, a black and white laser printer, and a star

  1   2   >