Re: The type NSMutableArray is not generic; it cannot be parameterized with arguments

2008-04-22 Thread Archibald Singleton
On 23 Apr 2008, at 04:12, Mike Schrag wrote: I keep getting the above error message even though I've included Wonder JavaWOExtensions as both a project and a frameworks in the examples project (using the Java Build Path project properties. Since JavaWOExtensions provides an implementation of

The type NSMutableArray is not generic; it cannot be parameterized with arguments

2008-04-22 Thread Archibald Singleton
HI All, OK, I'm stuck. I'm trying to make some Apple provided WO examples to work. The examples came with WO 5.4 but I'm running WO 5.3.(I could switch to using 5.4 just to run the examples but I'd like to understand what's going on) I keep getting the above error message even though I'v

Re: The sky is falling! The world is ending! WebObjects is Dead!

2008-04-03 Thread Archibald Singleton
On 03 Apr 2008, at 13:32, Pierce T. Wetter III wrote: "Java Sucks, bring back WO ObjC!" +1 Sorry, could not help it :-) = tmk = ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@li

Re: stateless component

2008-04-03 Thread Archibald Singleton
On 03 Apr 2008, at 14:39, Chuck Hill wrote: On Apr 3, 2008, at 10:28 AM, Tonny Staunsbrink wrote: The top level component is allways created, subcomponents are reused, not sure why Because they have to go in the page cache as unique instances recording page state. Stateless and page

stateless component

2008-04-02 Thread Archibald Singleton
Hello, From the WO API docs: "For extra efficiency, you can create stateless components: components that can be shared between sessions. Stateless components aren't replicated each time they're needed; rather, a single shared instance is referenced each time the component is used." But lo

Re: How to get the application object from a DirectAction

2008-04-01 Thread Archibald Singleton
On 01 Apr 2008, at 10:39, Mike Schrag wrote: WOApplication.application() OK, time to get some sleep, thanks! ms On Apr 1, 2008, at 9:32 AM, Archibald Singleton wrote: Hello, I suppose there must be an obvious and easy way to get the application object from a subclass of

How to get the application object from a DirectAction

2008-04-01 Thread Archibald Singleton
Hello, I suppose there must be an obvious and easy way to get the application object from a subclass of WODirectAction but I can't find it %-) Can someone please point me to the obvious? TIA = tmk = ___ Do not post admin requests to the list. They

Re: binding validation problem

2008-04-01 Thread Archibald Singleton
On 01 Apr 2008, at 09:06, Mike Schrag wrote: That warning is normal when you use the default method application() from WOComponent. That method returns an object of type WOApplication that does not have your ivar declared. That should not be true in WOLips ... If it is, it's a bug. WOAppli

Re: Hyperlinks and action methods

2008-03-31 Thread Archibald Singleton
On 01 Apr 2008, at 00:14, Mike Schrag wrote: No -- this is a component action, not a direct action (it has to have the object being referenced). Right, overlooked that. If you want to do it on a direct action, just do a normal hyperlink with ?personID=person.primaryKey and reload the perso

Re: binding validation problem

2008-03-31 Thread Archibald Singleton
On 01 Apr 2008, at 00:16, Mike Schrag wrote: filename = "~$currentItem + \".gif\""/> OGNL doesn't use $, it just uses the binding name, so "~$currentItem + \".gif\"" is invalid, it should be "~currentItem + '.gif'" (single tick instead of quote is a lot easier with OGNL, too -- a lot less e

binding validation problem

2008-03-31 Thread Archibald Singleton
Hello, I've got the following subcomponent in my Main component for which WOLips is giving me a "There is no key $currentItem in Main" error message. = "~$currentItem + \".gif\""/> The problem is that the key does exist (private ivar with vanilla accessor methods) and in fact WOLips doe

Re: Hyperlinks and action methods

2008-03-31 Thread Archibald Singleton
person in the DA. Yeah, that's what I was doing but I liked the elegance of ERXDataHyperlink. Thanks! = tmk = ms On Mar 31, 2008, at 10:49 PM, Archibald Singleton wrote: Is this supposed to work with a direct action? E.g.: "$person">edit person I'm asking bec

Re: Hyperlinks and action methods

2008-03-31 Thread Archibald Singleton
Is this supposed to work with a direct action? E.g.: "$person">edit person I'm asking because I tried it and the person binding just yield and entree attribute for the tag. Looking at the implementation of ERXDataHyperlink I don't seem to see any reason why it wouldn't work. So, what am

Re: [Wonder-disc] Is there an equivalent for the ?key="value" syntax but for ognl inline bindings

2008-03-28 Thread Archibald Singleton
On 28 Mar 2008, at 01:26, Mike Schrag wrote: How about inserting the closing "]" as soon as one types the opening "[" in the context of a binding value? Valid point -- totally could do that ... Trying to think if there's a case where this would get confused, but it seems pretty straightforw

Re: [Wonder-disc] Is there an equivalent for the ?key="value" syntax but for ognl inline bindings

2008-03-27 Thread Archibald Singleton
On 27 Mar 2008, at 20:19, Lachlan Deck wrote: [snip] On a related note, I wish eclipse would behave more like TextMate which always does the Right Things e.g. surrounding the selection with the opening char and corresponding closing char when one type a opening char type with some text se

Re: [Wonder-disc] [ANN] New Screencast

2008-03-27 Thread Archibald Singleton
On 26 Mar 2008, at 09:57, David LeBer wrote: I just posted part 2 of my WO/Project Wonder/Wolips Series. Really cool, thanks! This is a really great format to WO learners. Btw, I got tired of almost always deleting the automatically inserted wo closing tag. S

Re: [Wonder-disc] Is there an equivalent for the ?key="value" syntax but for ognl inline bindings

2008-03-27 Thread Archibald Singleton
On 27 Mar 2008, at 19:01, Guido Neitzer wrote: On 27.03.2008, at 15:47, Mike Schrag wrote: My bullet points on the subject :) * [xxx] guarantees you an extra character to type on every binding -- completion can never fill it in for you because it never knows when you're done Just becau

Re: [Wonder-disc] Is there an equivalent for the ?key="value" syntax but for ognl inline bindings

2008-03-27 Thread Archibald Singleton
On 27 Mar 2008, at 18:06, Mike Schrag wrote: I assume you mean WOOGNL inline bindings? Yes, the syntax is ? Yep. key="value" ... Pretty easy, huh :) Of course, thanks! I *almost* tried it but'?' not being a valid XML name character, I though it wouldn't work. On a related note is it

Is there an equivalent for the ?key="value" syntax but for ognl inline bindings

2008-03-27 Thread Archibald Singleton
Hello, Subject line says it all. Btw I'm using WO 5.3.x NOT WO 5.4.x for which apparently such syntax exists. On a related note is it possible to change the market ( currently "$") used to denote non-litteral expressions in ognl bindings (e.g use the WO 5.4.x "[...] " marker)? And if it

Re: Using Design Patterns ???

2008-03-24 Thread Archibald Singleton
On 22 Mar 2008, at 19:17, Gustavo Pizano wrote: Hello, well, while developing my application, I came to fork. To Use or not TO use Design pattern?? I mean should I implement something like a DAO which will be in charge to communicate with EO's, or should I make this directly from the .j

Re: Better start with Wonder than WO

2008-03-22 Thread Archibald Singleton
On 21 Mar 2008, at 17:20, Archibald Singleton wrote: +1 I've tried the newbie path both w/ and w/o Wonder. Based on my experience, I definitely recommend using WOnder. My experience is that WOnder didn't add much complexity to the learning curve. *On the contrary*, I thin

Re: Better start with Wonder than WO

2008-03-21 Thread Archibald Singleton
+1 I've tried the newbie path both w/ and w/o Wonder. Based on my experience, I definitely recommend using WOnder. My experience is that WOnder didn't add much complexity to the learning curve. *On the contrary*, I think it makes things simpler (while making some of the broken stuff Jus

Re: Migration Error

2008-03-21 Thread Archibald Singleton
On 20 Mar 2008, at 21:17, Gustavo Pizano wrote: Hello after deciding the proper name for the PK add the following lines to the properties file # Migrations er.migration.migrateAtStartup=true er.migration.createTablesIfNecessary=true er.migration.modelNames=Convocatoriawo ConvocatoriaWO.Migr

Re: Mark your calendar: WOWODC is coming

2008-03-18 Thread Archibald Singleton
On 17 Mar 2008, at 21:31, Miguel Arroz wrote: Hi! On 2008/03/17, at 23:33, Anjo Krank wrote: Am 18.03.2008 um 00:18 schrieb Chuck Hill: Me too, now. Thank you kindly. Things are getting full and expensive in that part of town. Expensive? If the dollar continues to do what it does, y

Re: Another EO question

2008-03-11 Thread Archibald Singleton
On 11 Mar 2008, at 18:10, Daniel Brajkovic wrote: Wow, thanks for all of that. That's way too much for such a newbie like me. I'll wait until I get more comfortable with programming WO in general. Well that's what I thought (I'm a newbie too) too but than I realised that I *will* have t