Re: data source for “static” objects?

2020-06-07 Thread Chuck Hill via Webobjects-dev
I’d guess that some still exist in Wonder in some way. > On Jun 7, 2020, at 11:39 AM, o...@ocs.cz wrote: > > Chuck, > > thanks a lot, sounds hopeful :) > > Will check. Should you happen to have a link to some sample code at hand, I'd > be grateful; otherwise of course I'll search for it myself

Re: data source for “static” objects?

2020-06-07 Thread Chuck Hill via Webobjects-dev
I think what you want is to subclass EOAadptor, EOAdaptorChannel, and EOAdaptorContext and have them talk to your Java classes. The layer above (EODatabase etc) can stay are they are. There have been flat file adataptors, screen scrapers etc. I don’t see why what you want could not work. The

Re: REDIRECTED to non-refusing instance

2020-02-03 Thread Chuck Hill via Webobjects-dev
Check the web server logs. IIRC there is a direct action /womp/something that puts the app into refusing mode. Perhaps you are the victim of some malicious traffic? Chuck > On Feb 3, 2020, at 10:58 AM, OCsite via Webobjects-dev > wrote: > > Hi there again, > > is there any known situation

Re: Maven Unit tests with EOF

2020-01-23 Thread Chuck Hill via Webobjects-dev
That error is definitely a static initializer or block throwing. Nothing else is output? > On Jan 23, 2020, at 8:41 AM, Aaron Rosenzweig via Webobjects-dev > wrote: > > I tried this call: > > NSBundle MYBUNDLE = NSBundle.mainBundle(); > > It fails immediately with: > java.lang.NoClassDefFo

Re: Definitely solved: More SharedEC woes: relationships into SEC not saved with more EOF stacks

2020-01-15 Thread Chuck Hill via Webobjects-dev
Hi OC, > On Jan 14, 2020, at 9:34 AM, OCsite wrote: > > Chuck, > >> On 14 Jan 2020, at 6:31, Chuck Hill > > wrote: >> On Jan 13, 2020, at 5:42 AM, OCsite mailto:o...@ocs.cz>> wrote: Do you have multiple EOF stacks (multiple EOObjectStoreCoordinator instan

Re: Definitely solved: More SharedEC woes: relationships into SEC not saved with more EOF stacks

2020-01-13 Thread Chuck Hill via Webobjects-dev
On Jan 13, 2020, at 5:42 AM, OCsite wrote: > > Chuck, > >> On 13 Jan 2020, at 4:17, Chuck Hill > > wrote: >> There must be something going on here that you are not mentioning. > > Definitely there is, but I had no idea what might be the culprit. Now I see > (but st

Re: Hopefully solved: More SharedEC woes: relationships into SEC not saved?!?

2020-01-12 Thread Chuck Hill via Webobjects-dev
There must be something going on here that you are not mentioning. Do you have multiple EOF stacks (multiple EOObjectStoreCoordinator instances)? Chuck > On Jan 12, 2020, at 4:13 PM, OCsite via Webobjects-dev > wrote: > > I think I have probably solved the original problem (quoted below) al

Re: More SharedEC woes: relationships into SEC not saved?!?

2020-01-12 Thread Chuck Hill via Webobjects-dev
It only works for code that does _NSUtilities.classForName(). It only works for code that defers knowing the class based on a string. > On Jan 12, 2020, at 7:00 AM, OCsite via Webobjects-dev > wrote: > > P.S. > >> On 12 Jan 2020, at 14:55, OCsite via Webobjects-dev >> mailto:webobjects-d

Re: suspicious sessions and R/R loops created for a CSS font

2020-01-09 Thread Chuck Hill via Webobjects-dev
Hi OC, I am pretty sure it is the relative URLs in font-awesome.min.css. They get evaluated as relative to the URL of your page not the URL of that CSS. Chuck > On Jan 9, 2020, at 5:48 PM, OCsite via Webobjects-dev > wrote: > > Gentlemen, > > my application does some R/R loops and creates

Re: Access to WOComponents of a page

2019-07-25 Thread Chuck Hill via Webobjects-dev
> On Jul 25, 2019, at 12:21 AM, André Rothe via Webobjects-dev > wrote: > > Hi Chuck, > >> If you are trying to clear it after a failed validation attempt, perhaps >> there is simply a bug >> here: >> https://github.com/molequedeideias/wonder/blob/00e813f91664a1df1a84902e03175e4a34cf7d0f/Fra

Re: Access to WOComponents of a page

2019-07-24 Thread Chuck Hill via Webobjects-dev
> On Jul 24, 2019, at 2:53 AM, André Rothe via Webobjects-dev > wrote: > > Hi, > > How I can access the WOComponent objects of a page? You should not. Components know their parent, parents don’t know their children (child components). Technically you can, but it is difficult and I won’t

Re: Qualifier Evaluation with Object in Multiple Editing Contexts

2019-05-31 Thread Chuck Hill via Webobjects-dev
The other thing to consider is that comparing the EOGlobalID means they are the same object, but that does not meant the two objects are the same — if either EC has uncommitted changes. Unless you are using READ UNCOMMITTED that is not a case you will encounter in the database. It does not loo