Re: FetchSpec binding order

2010-10-04 Thread David Avendasora
Before Chuck says it, yes, I'm the hyena on the right. Dave On Oct 5, 2010, at 2:05 AM, Matt Stokes wrote: > Just thought I would set the scene. See attached "scene". :-) > > Sorry, couldn't resist. :-) > > Matt > > > > > On Tue, Oct 5, 2010 at 12:51 AM, Chuck Hill wrote: > > On Oct

Re: FetchSpec binding order

2010-10-04 Thread Matt Stokes
Just thought I would set the scene. See attached "scene". :-) Sorry, couldn't resist. :-) Matt On Tue, Oct 5, 2010 at 12:51 AM, Chuck Hill wrote: > > On Oct 4, 2010, at 9:49 PM, David Avendasora wrote: > > > > > On Oct 5, 2010, at 12:47 AM, Mike Schrag wrote: > > > I completely not

Re: FetchSpec binding order

2010-10-04 Thread Chuck Hill
On Oct 4, 2010, at 9:49 PM, David Avendasora wrote: > > On Oct 5, 2010, at 12:47 AM, Mike Schrag wrote: > I completely not being able to change the existing one >>> I completely not with grammar write? >> some day you're going to mess up and we'll all be waiting it will be >> like th

Re: FetchSpec binding order

2010-10-04 Thread David Avendasora
On Oct 5, 2010, at 12:47 AM, Mike Schrag wrote: >>> I completely not being able to change the existing one >> I completely not with grammar write? > some day you're going to mess up and we'll all be waiting it will be > like the hyenas attacking Scar at the end of The Lion King. Only Scar

Re: FetchSpec binding order

2010-10-04 Thread David Avendasora
On Oct 5, 2010, at 12:46 AM, Chuck Hill wrote: > On Oct 4, 2010, at 9:40 PM, David Avendasora wrote: >> I completely not being able to change the existing one > > I completely not with grammar write? Back off Chuck! It's tomorrow here. :-P ___ Do no

Re: FetchSpec binding order

2010-10-04 Thread Mike Schrag
>> I completely not being able to change the existing one > I completely not with grammar write? some day you're going to mess up and we'll all be waiting it will be like the hyenas attacking Scar at the end of The Lion King. ms ___ Do not post adm

Re: FetchSpec binding order

2010-10-04 Thread Chuck Hill
On Oct 4, 2010, at 9:40 PM, David Avendasora wrote: > I completely not being able to change the existing one I completely not with grammar write? -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of

Re: FetchSpec binding order

2010-10-04 Thread David Avendasora
On Oct 5, 2010, at 12:31 AM, Mike Schrag wrote: >>> The order in which fetch specification bindings are in the >>> $fetchSpecification.allBindings and $fetchSpecification.distinctBindings >>> are not the same, and neither match the sequence that they are put in the >>> fetch specification in t

Re: FetchSpec binding order

2010-10-04 Thread Mike Schrag
>> The order in which fetch specification bindings are in the >> $fetchSpecification.allBindings and $fetchSpecification.distinctBindings are >> not the same, and neither match the sequence that they are put in the fetch >> specification in the model. > Let me revise that. It appears that the al

Re: FetchSpec binding order

2010-10-04 Thread Mike Schrag
as with anything, it's not quite that straightforward getAllBindings() returns the bindings in the order they appear in the qualifier, but that's based on the parsed qualifier model. i would actually expect that to generally match the order it appears in your qualifier. you can send me your

Re: FetchSpec binding order

2010-10-04 Thread David Avendasora
On Oct 5, 2010, at 12:20 AM, David Avendasora wrote: > Hi all, > > I'm running into an annoying problem. > > The order in which fetch specification bindings are in the > $fetchSpecification.allBindings and $fetchSpecification.distinctBindings are > not the same, and neither match the sequence

FetchSpec binding order

2010-10-04 Thread David Avendasora
Hi all, I'm running into an annoying problem. The order in which fetch specification bindings are in the $fetchSpecification.allBindings and $fetchSpecification.distinctBindings are not the same, and neither match the sequence that they are put in the fetch specification in the model. This ma

Re: Boolean expression parser

2010-10-04 Thread Mike Schrag
EOQualifier? On Oct 5, 2010, at 12:03 AM, Kieran Kelleher wrote: > Rather than reinvent the wheel, I am trying to find a real simple library or > java class that will just do boolean expression only parsing and allow me to > evaluate the value of the symbols to true or false (via callback or st

Boolean expression parser

2010-10-04 Thread Kieran Kelleher
Rather than reinvent the wheel, I am trying to find a real simple library or java class that will just do boolean expression only parsing and allow me to evaluate the value of the symbols to true or false (via callback or sth like that) For example and expression might look like this:

Velocity Template & $fetchSpec.sharesObjects

2010-10-04 Thread David Avendasora
Okay, I'm in the process of converting an old EOGenerator template to Velocity. One of the things it was checking is to see if the objects that a FetchSpec returns are "shared" According to the Velocity Generator Reference on the Wiki (http://wiki.objectstyle.org/confluence/display/WOL/Velocity

2010 Individual Survey results

2010-10-04 Thread Pascal Robert
The results are in! http://wiki.objectstyle.org/confluence/x/W4R9 It cool to see people with less than 2 years of experience coming into the community. -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert _

Organization survey period is extended

2010-10-04 Thread Pascal Robert
The individual and WOWODC 2011 surveys will close tonight, but the organization survey is still open, I will close it on October 13. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists

Re: ERXThreadStorage and willUpdate()

2010-10-04 Thread Travis Britt
ERCStampedEnterpriseObject works well for that. tb On Oct 4, 2010, at 5:29 PM, David Avendasora wrote: > > On Oct 4, 2010, at 4:40 PM, Kieran Kelleher wrote: > >> The only thing not clear to me from your code sample is what editing context >> your system user is in, or whether you can guaran

Re: ERXThreadStorage and willUpdate()

2010-10-04 Thread Chuck Hill
I usually make a another class, e.g. K12Thread and then add static methods on that do my casting etc. e.g. public static User user(EOEditingContext ec) { return isAttached() ? ((User)ERXThreadStorage.valueForKey(USER_KEY)).localInstance(ec) : null; } Which results in: > wi

WODIsplyGroup, sort ordering after qualifyDisplayGroup

2010-10-04 Thread William Hatch
I'm configuring my display group manually, and setting the array of sort orderings. This works great on initial display, but when I qualify the display group to refetch matching objects, and it seems to ignore the previously set array of sort orderings. What do I need to do have it use them aft

Re: ERXThreadStorage and willUpdate()

2010-10-04 Thread David Avendasora
On Oct 4, 2010, at 4:40 PM, Kieran Kelleher wrote: > The only thing not clear to me from your code sample is what editing context > your system user is in, or whether you can guarantee that it is in the ec > that you are saving ... Yeah, I simplified too far. That call should have been: s

Re: ERXThreadStorage and willUpdate()

2010-10-04 Thread Ramsey Gurley
On Oct 4, 2010, at 4:22 PM, David Avendasora wrote: Hi all, We are moving from having to remember to manually set the modifiedBy and modifiedDate values in our EOs when they are modified to overriding willUpdate() and pulling the loggedInUser from ERXThreadStorage. We are overriding wi

Re: ERXThreadStorage and willUpdate()

2010-10-04 Thread Kieran Kelleher
The only thing not clear to me from your code sample is what editing context your system user is in, or whether you can guarantee that it is in the ec that you are saving ... Personally, I push the current user EOGlobalID into thread storage in Session.awake(), which means I can clone that

ERXThreadStorage and willUpdate()

2010-10-04 Thread David Avendasora
Hi all, We are moving from having to remember to manually set the modifiedBy and modifiedDate values in our EOs when they are modified to overriding willUpdate() and pulling the loggedInUser from ERXThreadStorage. We are overriding willUpdate() in our K12GenericRecord which all our EOs extend.

Re: Default value for attribute in EntityModeler?

2010-10-04 Thread Ramsey Gurley
All the migration method does is write it into the model. I would assume you can define it in the model yourself using the same userInfo key er.extensions.eoattribute.default, but I have not tried it. The main thing to keep in mind is that it only works if you're using the Postgresql, Ora

Re: Default value for attribute in EntityModeler?

2010-10-04 Thread John Huss
But this requires defining the default by hand in the migration, not in the model, right? John On Mon, Oct 4, 2010 at 12:38 PM, Ramsey Gurley wrote: > > On Oct 4, 2010, at 12:40 PM, John Huss wrote: > > My wish is that in EntityModeler "Generate SQL" would also include the >> default values, a

Re: Chuck Needs a Favour

2010-10-04 Thread Chuck Hill
C'mon Parky! http://www.youtube.com/watch?v=EjBt5XpEezk On Oct 4, 2010, at 11:36 AM, Pascal Robert wrote: > We had 141 organizations last year, this year we are at 91. I'm pretty sure > we can reach 100, right? > >> Hi, >> >> No, this is not another Nigerian scam. We have not gotten as many

Re: Chuck Needs a Favour

2010-10-04 Thread Pascal Robert
We had 141 organizations last year, this year we are at 91. I'm pretty sure we can reach 100, right? > Hi, > > No, this is not another Nigerian scam. We have not gotten as many responses > to this year's surveys as we had expected. I know you are out there. Yes, I > know similar surveys com

Re: Default value for attribute in EntityModeler?

2010-10-04 Thread Ramsey Gurley
On Oct 4, 2010, at 12:40 PM, John Huss wrote: My wish is that in EntityModeler "Generate SQL" would also include the default values, and "Generate Migration" too. John Most of the migration methods have a method setting the default value. They set the default value using the key er.ex

Re: Application won't start anymore [SOLVED]

2010-10-04 Thread Amedeo Mantica
Hi Timo, I work with Wonder Sources, and I have some wonder frameworks my workspace but they are not opened all the time Afred your reply I rememberd that I looked into ERPDFframwrork some weeks ago... I reopened it and there was two error about missing jars, just an F5 (refresh) fixed the erro

Re: Application won't start anymore

2010-10-04 Thread Timo Hoepfner
Hi Amedeo, jar files can have an optional index file inside. If this is out of sync with the actual contents, you can get this error. The only jar file in Wonder that has such an index is in ERPDFGeneration (core-renderer-R8-final.jar). Try updating the index with "jar -i" and see if that s

Re: Default value for attribute in EntityModeler?

2010-10-04 Thread John Huss
My wish is that in EntityModeler "Generate SQL" would also include the default values, and "Generate Migration" too. John On Thu, Sep 30, 2010 at 10:43 AM, Ramsey Gurley wrote: > If you are using wonder, you can using the ERXDefaultValues userInfo key. > > > http://webobjects.mdimension.com/hud

Re: JavaXML.framework replacement

2010-10-04 Thread Kieran Kelleher
I don't use D2WS, ok, here are my original questions again, slightly modified . :-) I am trying to understand my options for moving to WO 5.4.3 quickly in active WO 5.3.3 projects without disturbing old reliably working code that only consumes webservices with Axis 1.1 and uses SAX parsers

Re: JavaXML.framework replacement

2010-10-04 Thread Ramsey Gurley
On Oct 4, 2010, at 9:57 AM, Kieran Kelleher wrote: Resurrecting an old thread since I am trying to understand my options for moving to WO 5.4.3 quickly in active WO 5.3.3 projects without disturbing old reliably working code that consumes webservices with Axis 1.1 and uses SAX parsers for

Re: JavaXML.framework replacement

2010-10-04 Thread Kieran Kelleher
Resurrecting an old thread since I am trying to understand my options for moving to WO 5.4.3 quickly in active WO 5.3.3 projects without disturbing old reliably working code that consumes webservices with Axis 1.1 and uses SAX parsers for parsing these and other XML data formats. 1) Dav

Re: News on wocommunity.org

2010-10-04 Thread Pascal Robert
Use the surveys to send feedback :-) We have a long shopping list, so we need to prioritize the list based on feedback in the surveys. > Hey Pascal, > > Very nice! > > Just a thought how about a showcase of web apps using WO? I think it will > lessen the doubters if any :) > > Amiel > > On

Application won't start anymore

2010-10-04 Thread Amedeo Mantica
Without any changes to the app I get this error Some day ago I updated Wonder to latest ( I'm using WO 5.4 ) Other projects are working fine. Suggestions? Thanks Amedeo Oct 04 10:05:44 ConfindustriaNet[22500] ERROR er.extensions.appserver.ERXApplication - ConfindustriaNet failed to start. I