Re: MySQL JDBC generate SQL exception

2009-02-17 Thread Chuck Hill
On Feb 17, 2009, at 7:35 PM, amiel montecillo wrote: Hello List, I am trying to generate the sql for my eomodel but got an exception: java.lang.RuntimeException: Failed to generate SQL. at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory $ ReflectionSQLGenerator .gene

MySQL JDBC generate SQL exception

2009-02-17 Thread amiel montecillo
Hello List, I am trying to generate the sql for my eomodel but got an exception: java.lang.RuntimeException: Failed to generate SQL. > at > org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory$ReflectionSQLGenerator.generateSchemaCreationScript(EOFSQLGeneratorFactory.java:60) >

Re: BigDecimal vs WOConditional

2009-02-17 Thread Stamenkovic Florijan
On Feb 17, 2009, at 13:58, Ondřej Čada wrote: What on earth has Java and its contracts to do with this?!? WebObjects are no Java; it's a language-independent framework, actually designed for Objective C. The assumption that its number-to- boolean translation is C-like is thus well-founded an

Re: BigDecimal vs WOConditional

2009-02-17 Thread Chuck Hill
On Feb 17, 2009, at 9:58 AM, Ondřej Čada wrote: Hi, On Feb 17, 2009, at 6:20 PM, Stamenkovic Florijan wrote: Just for reference, is that my fault or WO fault? To be quite frank, I cannot find in specifications the exact API contract for this... I've always thought the C rules apply there

Re: BigDecimal vs WOConditional

2009-02-17 Thread Mike Schrag
Actually, this is not (or, more precisely, SHOULD not) be a WOConditional trait; the very same behaviour should be used for all .wod boolean bindings which contain a number object (say, for a WOHyperlink "disabled" binding, and for WOString "escapeHTML" binding, yadda yadda yadda...). it's

Re: BigDecimal vs WOConditional

2009-02-17 Thread Ondřej Čada
Hugi, On Feb 17, 2009, at 8:00 PM, Hugi Thordarson wrote: Heh, yeah- it's somewhat insane that the only way to find out how WOConditional works Actually, this is not (or, more precisely, SHOULD not) be a WOConditional trait; the very same behaviour should be used for all .wod boolean bin

Re: BigDecimal vs WOConditional

2009-02-17 Thread Hugi Thordarson
Heh, yeah- it's somewhat insane that the only way to find out how WOConditional works is to decompile it (or by trial and error). And I agree - WOConditional should only resolve to false for null or (exactly) zero. But since WOConditional's behaviour will never be modified, the simplest w

Re: ADC / WO after 5.4 and NDA

2009-02-17 Thread Pascal Robert
Look like we need an invitation, even if we have a ADC Select account : To link your Apple ID to your AppleSeed Account, You MUST have an email invitation that contains AppleSeed User Name and Password. Please enter the name and password provided in the email. If you are an existing custome

Re: ADC / WO after 5.4 and NDA

2009-02-17 Thread Mike Schrag
login to http://appleseed.apple.com On Feb 17, 2009, at 12:38 PM, Amedeo Mantica wrote: where are the AppleSeed forums? On 17/feb/09, at 14:51, Stamenkovic Florijan wrote: On Feb 17, 2009, at 08:12, Mike Schrag wrote: I'm a Select ADC member I'm not aware of any forums available to discuss

Re: BigDecimal vs WOConditional

2009-02-17 Thread Ondřej Čada
Hi, On Feb 17, 2009, at 6:20 PM, Stamenkovic Florijan wrote: Just for reference, is that my fault or WO fault? To be quite frank, I cannot find in specifications the exact API contract for this... I've always thought the C rules apply there (i.e., for any numeric value, nonzero equals true

Re: Theorical Question of performActionNamed()

2009-02-17 Thread Pascal Robert
Le 09-02-17 à 12:47, Gustavo Pizano a écrit : Hello, well, I understand that if I set a directAactionNamed= "whatever", in a wo, it will go to the DirectAction and search for the action whateverAction(), am I right?. but somehow that's not happening, I declared this method on the directAct

Theorical Question of performActionNamed()

2009-02-17 Thread Gustavo Pizano
Hello, well, I understand that if I set a directAactionNamed= "whatever", in a wo, it will go to the DirectAction and search for the action whateverAction(), am I right?. but somehow that's not happening, I declared this method on the directAction.java, @Override public WOAc

Re: ADC / WO after 5.4 and NDA

2009-02-17 Thread Amedeo Mantica
where are the AppleSeed forums? On 17/feb/09, at 14:51, Stamenkovic Florijan wrote: On Feb 17, 2009, at 08:12, Mike Schrag wrote: I'm a Select ADC member I'm not aware of any forums available to discuss NDA material for select ... I think AppleSeed members have similar access privileges t

Re: BigDecimal vs WOConditional

2009-02-17 Thread Stamenkovic Florijan
On Feb 17, 2009, at 12:57, Ondřej Čada wrote: Just bumped into a ugly thing: a WOConditional considers a BigDecimal 'false' for values < 1 -- self-evidently, it checks an integer value of the thing. Just for reference, is that my fault or WO fault? To be quite frank, I cannot find in spe

Re: BigDecimal vs WOConditional

2009-02-17 Thread Ken Anderson
Honestly, giving WOConditional anything but a boolean would seem like an invitation for disaster. Who's to say what value of an integer or a decimal constitutes true or false? I would add methods to your objects to return a boolean based on what you consider true or false... On Feb 17, 2

Re: BigDecimal vs WOConditional

2009-02-17 Thread Ondřej Čada
And a followup question... On Feb 17, 2009, at 5:57 PM, Ondřej Čada wrote: Just bumped into a ugly thing: a WOConditional considers a BigDecimal 'false' for values < 1 -- self-evidently, it checks an integer value of the thing. ... does anybody know some trick how to find in a medium-size

BigDecimal vs WOConditional

2009-02-17 Thread Ondřej Čada
Just bumped into a ugly thing: a WOConditional considers a BigDecimal 'false' for values < 1 -- self-evidently, it checks an integer value of the thing. Just for reference, is that my fault or WO fault? To be quite frank, I cannot find in specifications the exact API contract for this... I'

Re: JDBC URL on a per session basis

2009-02-17 Thread Ken Anderson
Personally, I think this is the better solution, as long as your clients don't care that their data is sharing a table with someone else. Of course, you don't necessarily have to tell them :) On Feb 16, 2009, at 9:40 PM, Richard Stephens wrote: Hi Chuck, Andrew, and Cheong, Thanks heaps f

Re: Embedding wo: elements within eachother

2009-02-17 Thread Mike Schrag
IIRC stuff like this gets hosed when you do a Reformat in WOLips anyway. If you do it with inline bindings it will because of the nested quote, but we support reformatting old WOBuilder-style variants of this where they don't put quotes around the value in . ms

Re: ADC / WO after 5.4 and NDA

2009-02-17 Thread Stamenkovic Florijan
On Feb 17, 2009, at 08:12, Mike Schrag wrote: I'm a Select ADC member I'm not aware of any forums available to discuss NDA material for select ... I think AppleSeed members have similar access privileges to those of Select ADC members. Well, I am not sure of the details, but when AppleSe

Re: Embedding wo: elements within eachother

2009-02-17 Thread Kieran Kelleher
The recommended way is to bind href to a method that returns the String result. IIRC stuff like this gets hosed when you do a Reformat in WOLips anyway. On Feb 17, 2009, at 4:31 AM, Freddie Tilley wrote: Is it possible to embed multiple wo elements in each other with Apple's new component

Re: ADC / WO after 5.4 and NDA

2009-02-17 Thread Mike Schrag
I'm a Select ADC member I'm not aware of any forums available to discuss NDA material for select ... ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscr

Re: Eclipse + WOLips on Windows

2009-02-17 Thread amiel montecillo
Thanks Lachlan, I appreciate the reply. As you have said, I got it working by creating the wolips.properties file. Amiel On Tue, Feb 17, 2009 at 6:27 PM, Lachlan Deck wrote: > Hi Amiel, > > On 17/02/2009, at 6:13 PM, amiel montecillo wrote: > > I'm not sure if this is the right place to post th

Re: Eclipse + WOLips on Windows

2009-02-17 Thread Lachlan Deck
Hi Amiel, On 17/02/2009, at 6:13 PM, amiel montecillo wrote: I'm not sure if this is the right place to post this but I'm kind of at wits end on my problem. the woproject-...@objectstyle.org list is the usual for wolips problems. http://wiki.objectstyle.org/confluence/display/WOL/Mailing+Li

Re: ADC / WO after 5.4 and NDA

2009-02-17 Thread Amedeo Mantica
I'm a Select ADC member On 16/feb/09, at 23:30, Mike Schrag wrote: Where is possible to write about future WO version ? There are mailing lists for ADC members? If you're a member of the AppleSeed program, the AppleSeed forums is the place to discuss it. If you're not, I don't think there ar

Embedding wo: elements within eachother

2009-02-17 Thread Freddie Tilley
Is it possible to embed multiple wo elements in each other with Apple's new component file format? If not, it would make the WOResourceURL pretty much useless as it cannot be used to include css files. The following obviously does not work: " /> I have checked the apple docs on the unified

Re: Eclipse Version: 3.4.1 and WOLIps

2009-02-17 Thread Jim Roepcke
I had the same experience today installing the current stable WOLips into a fresh Eclipse 3.4.1 installation (with an existing workspace that I used in 3.3.2 before). I had to create the wolips.properties file in the ~/Library/Application Support/WOLips folder (copied the content from an example f

Re: Eclipse Version: 3.4.1 and WOLIps

2009-02-17 Thread Bogdan Zlatanov
Hi,You probably need to check if ~/Library/Application Support/WOLips/wolips.properties exists and is correct. I think you miss it.If this is the case, you can either create a new working space and then create a new project so that WOLips plugin creates it for you,or get the attached one, change th