Re: EOF - statement has been closed?

2013-03-25 Thread Michael Gargano
e(); Thanks. -Mike On Mar 21, 2013, at 1:42 PM, Michael Gargano wrote: I've checked this in our code several times, there is another app where we do stuff like that, but not in this one. Thanks. -Mike -Original Message- From: Chuck Hill [mailto:ch...@global-village.net] Sent: T

RE: EOF - statement has been closed?

2013-03-21 Thread Michael Gargano
I've checked this in our code several times, there is another app where we do stuff like that, but not in this one. Thanks. -Mike -Original Message- From: Chuck Hill [mailto:ch...@global-village.net] Sent: Thursday, March 21, 2013 11:07 AM To: Michael Gargano Cc: vladimir gadya

RE: EOF - statement has been closed?

2013-03-21 Thread Michael Gargano
Hi Vladimir, Mark and I work together. We have not found the solution to this problem. We modified the postgres jdbc driver to provide some additional logging, and whatever slight delay that has added seems to have lessened the frequency of the problem. We're not sure where i

RE: postgres jdbc driver

2013-03-06 Thread Michael Gargano
We're have the postgres logging on for long running queries... nothing takes more than a few seconds. -Mike From: Karl Gretton [mailto:kgret...@mac.com] Sent: Wednesday, March 06, 2013 12:06 PM To: Michael Gargano Cc: WebObjects-Dev List (webobjects-dev@lists.apple.com) Subject: Re: pos

RE: postgres jdbc driver

2013-03-06 Thread Michael Gargano
trying to debug this for months. I'm on pg 9.0. -Mike From: Ramsey Gurley [mailto:rgur...@smarthealth.com] Sent: Wednesday, March 06, 2013 11:59 AM To: Michael Gargano Cc: WebObjects-Dev List (webobjects-dev@lists.apple.com) Subject: Re: postgres jdbc driver Out of curiosity, what sort of

postgres jdbc driver

2013-03-06 Thread Michael Gargano
Hi all, Just taking a quick survey of folks using postgres. I think we've found an issue with the jdbc driver (any version within the last year or so). Since people don't update the jdbc drivers too frequently. What version of driver are you on?

Re: WOWorkerThread deadlocks

2013-01-15 Thread Michael Gargano
On Jan 15, 2013, at 2:54 PM, Chuck Hill wrote: > > On 2013-01-15, at 10:50 AM, Michael Gargano wrote: > >> Hi guys, >> >> I know I'm a little late on this, but I'm also seeing the same >> behavior. It's not a long running query I don

RE: WOWorkerThread deadlocks

2013-01-15 Thread Michael Gargano
Hi guys, I know I'm a little late on this, but I'm also seeing the same behavior. It's not a long running query I don't think because I'm logging long queries in postgres and nothing is running over 10 seconds. Can you explain why having a max of 256 worker threads is too high? Any o

Re: Multiple databases an EOModel.

2012-12-20 Thread Michael Gargano
yes, I'm doing that now. just be aware that cross db joins are a b*tch. if there are to many relations to join across you will quickly hit limitations with IN clauses (which will be your best friend). unless someone else has come up with something more clever than what I'm doing -Mike On D

Re: Great argument for the continued use of WO/WOnder

2012-12-19 Thread Michael Gargano
I had seriously looked into it. it's a nice technology, but the documentation isn't the greatest and there's a lot of change happening now since strobe, inc. was purchased by Facebook. for those reasons and the fact that there's not much of a component library I went with Ext-JS. as for manag

Re: production hanging

2012-11-30 Thread Michael Gargano
Some more info on this that I just found. This doesn't happen under load when concurrent dispatch is disabled. Now is that a bug in wonder or in my app.? -Mike On Nov 30, 2012, at 1:25 PM, Michael Gargano wrote: > okay guys, > > you were right... it's a deadlock..

Re: production hanging

2012-11-30 Thread Michael Gargano
something. >>> >>> Have you looked in the logs for OutOfMemory and HeapSpace? It could be >>> running out of PermGen space >>> >>> Are you dispatching requests concurrently? >>> >>> >>> Chuck >>> >>> &

RE: production hanging

2012-11-28 Thread Michael Gargano
ntly I have "-WOAllowsConcurrentRequestHandling YES" set on each instance. I think that does it, no? Thanks. -Mike -Original Message- From: Chuck Hill [mailto:ch...@global-village.net] Sent: Wednesday, November 28, 2012 3:39 PM To: Michael Gargano Cc: WebObjects-Dev List (webobjects-dev@lists.apple.com

RE: production hanging

2012-11-28 Thread Michael Gargano
, November 28, 2012 3:31 PM To: Michael Gargano Cc: WebObjects-Dev List (webobjects-dev@lists.apple.com) Subject: Re: production hanging Without knowing enough about your app, here's a wild guess. Add -XX:MaxPermSize=256m directly after your -Xmx setting for heap memory. Maik Am 28.1

production hanging

2012-11-28 Thread Michael Gargano
Hi all, I'm having an issue in our production environment. I have two servers (vm's w/ windows 2008 r2 64-bit) running two instances each. The servers are load balanced by a hardware load balancer that pings the app on each box every minute to determine if it is still up (beca

RE: willDelete

2012-06-26 Thread Michael Gargano
Does the "might" in "mightDelete" indicate that it may actually be reverted after being called or is it just a misnomer? -Mike -Original Message- From: David LeBer [mailto:dleber_wo...@codeferous.com] Sent: Tuesday, June 26, 2012 12:04 PM To: Michael Gargano Cc:

willDelete

2012-06-26 Thread Michael Gargano
Is the following true... When in willDelete are the relationships all set to null? Anyway to not have it do that or work around it? Thanks. -Mike ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webo

Re: MariaDB

2012-04-16 Thread Michael Gargano
interesting... along the same lines... anyone try out drizzle yet? -Mike On Apr 13, 2012, at 8:08 PM, Kieran Kelleher wrote: I haven't had an opportunity to look at it. Have you? Regards, Kieran. (Sent from my iPhone) On Apr 13, 2012, at 6:34 PM, Paul Yu mailto:p...@me.com>> wrote: Kieran

RE: Optimizing EOF Applications - what does this mean to you?

2012-04-10 Thread Michael Gargano
Hey Chuck, I know this is a little late, but I'd like to see something about... - Best way to handle freshness across multiple instances. - How best to do operations not handled by fetch specs. (e.g. group by, adding a column that needs to come from another data source [like an a

Re: Logo proposal

2012-03-29 Thread Michael Gargano
it's so close to death already, do we really need to push it? :) Sent from my iPhone On Mar 29, 2012, at 4:52 PM, Alexis Tual wrote: > Hi, > > is this Capitain LeChuck leading the dead pirates :] ? > > (Sorry I've been playing too much > http://itunes.apple.com/us/app/the-secret-monkey-isla

Re: Postgresql and ERXSQLHelper

2012-03-19 Thread Michael Gargano
nning headless. I wish I knew where to look to fix it, but nothing that initApp does jumped out at me as something that was missing in initEOF. -Mike On Mar 16, 2012, at 6:35 PM, Michael Gargano wrote: > Okay, I'm not sure how to explain this, but here it goes... > > I have t

Postgresql and ERXSQLHelper

2012-03-16 Thread Michael Gargano
Okay, I'm not sure how to explain this, but here it goes... I have two apps, a standard wonder app and a headless wonder app that only calls initEOF. Both of these apps use a common framework and both are set to use the PostgreSQLPlugIn. In one of the fetch specs in my framework an ERXFalseQua

foundation class patching

2012-03-13 Thread Michael Gargano
Hi, Can anyone describe how the foundation classes are patched into an ERX based application? I have a headless WO app that only starts up EOF with initEOF and I'm getting some unusual behavior with NSArray in a framework that works fine in the other WO app it's used in. I have a feel

EC locking (headless and threads)

2012-02-10 Thread Michael Gargano
Hi everyone, I just want to get clarification on something before I get myself into trouble later. If I have a headless WO app (or potential just a spawned worker thread), and I'm using ERXEC, I need to manually lock and unlock the context, correct? I'm assuming that ERXEC does the au

migrations with multiple software versions

2012-01-18 Thread Michael Gargano
Hi all, I have a little scenario here and I was wondering if there was a way the ERXMigration system could handle it. It looks like a "no" just reading some of the docs, but I can't be the only one doing this (i hope). So, I have two versions of software being worked on simult

Re: thanks

2012-01-02 Thread Michael Gargano
: > congrats! > > it takes courage to push it out over the line, especially when you are > responsible. > > got links? > > what's it all about? > > On Jan 2, 2012, at 1:55 PM, Michael Gargano wrote: > >> My first major WebObjects application, the thing

thanks

2012-01-02 Thread Michael Gargano
My first major WebObjects application, the thing we've been working on the last year, was finally released today. Thanks for all the help. -Mike ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webob

RE: ERXObjectStoreCoordinatorPool exception

2011-12-13 Thread Michael Gargano
-dev-bounces+mgargano=escholar@lists.apple.com] On Behalf Of Michael Gargano Sent: Monday, December 12, 2011 4:50 PM To: WebObjects webobjects-dev Subject: ERXObjectStoreCoordinatorPool exception Hi again, I just configured the ERXObjectStoreCoordinatorPool have 4 coordinators using the ERJGroupSyncronizer.

Re: Interesting DisplayGroup EOEditingContext Interaction

2011-12-12 Thread Michael Gargano
; entityName()); > > ((EODatabaseDataSource)dataSource).fetchSpecification().setRefreshesRefetchedObjects(refreshesRefetchedObjects()); > > > > On 2011-12-12, at 1:56 PM, Michael Gargano wrote: > >> After more testing and playing today. It seems that the refresh of the >> ERXBatch

Re: Interesting DisplayGroup EOEditingContext Interaction

2011-12-12 Thread Michael Gargano
On 2011-12-09, at 3:54 PM, Michael Gargano wrote: >>> >>>> If I reload the page on one machine, it updates the status and then >>>> subsequently the other machine refreshes with the correct status, but I >>>> need to poke it. I don't understan

ERXObjectStoreCoordinatorPool exception

2011-12-12 Thread Michael Gargano
Hi again, I just configured the ERXObjectStoreCoordinatorPool have 4 coordinators using the ERJGroupSyncronizer. I have 2 application servers running 2 apps each. The apps on each box talk to each other and both servers share one DB. Server A Server B ---

Re: Interesting DisplayGroup EOEditingContext Interaction

2011-12-09 Thread Michael Gargano
On Dec 9, 2011, at 6:19 PM, Chuck Hill wrote: > > On 2011-12-09, at 3:05 PM, Michael Gargano wrote: > >> Hey dev. group, >> >> As I was working on one of my application pages today I noticed >> something that I couldn't explain and was hoping one

Interesting DisplayGroup EOEditingContext Interaction

2011-12-09 Thread Michael Gargano
Hey dev. group, As I was working on one of my application pages today I noticed something that I couldn't explain and was hoping one of you nice folks could shed some light on it. -Setting the stage- One of the pages I'm working on has an AjaxGrid that is periodically (5

AjaxObserveField observeFieldFrequency problem

2011-12-01 Thread Michael Gargano
Anyone ever encounter this? I have a CCAjaxTab and inside each tab is a AjaxObserveField observing a text field and, somewhere else in the tab, an update container. the AjaxObserveField has an observeFieldFrequency of "1". everything works fine except in IE (of course) when you click

Re: Does wonder have a standard User framework?

2011-11-28 Thread Michael Gargano
you might want to look into apache shiro -mike On Nov 28, 2011, at 12:57 PM, James Cicenia wrote: > Just wondering... > > You know the usual.. > > login/password/email reminder/basic profile > > Cheers > James > ___ > Do not post admin requests to

Re: Raw SQL with bindings

2011-11-09 Thread Michael Gargano
t to get an expression from an expressionfactory from your jdbcplugin implementation. ms On Nov 9, 2011, at 1:30 PM, Michael Gargano wrote: So, for future posterity and to help myself again when I need it... EOEntity entity = EOUtilities.entityForClass(cdw, YourEntity.class); JDBCExpressio

Re: Raw SQL with bindings

2011-11-09 Thread Michael Gargano
= ERXEOAccessUtilities.rawRowsForSQLExpression(cdw, "YourModelName", exp); And now, SQL injection attacks have been avoided and the planet is once again safe! -Mike On Nov 8, 2011, at 2:29 PM, Michael Gargano wrote: Okay, let me come at this one another way because this doesn't seem to be panning out at

Re: Raw SQL with bindings

2011-11-08 Thread Michael Gargano
this, but I want to have the parameters I'm passing into my expression to be parameterized as to prevent SQL injection attacks. Any Ideas? Thanks. -Mike On Nov 8, 2011, at 11:52 AM, Michael Gargano wrote: Hi, Does anyone have any examples of

Raw SQL with bindings

2011-11-08 Thread Michael Gargano
Hi, Does anyone have any examples of how to use ERXSQLQueryWithBindingsUtilities.runSqlQueryWithBindings? Two questions: 1) It seems like it should support named parameters since ERXKeyValueBinding implements ERXSQLBinding, but I can't figure out how the parameter placeholders should look in t

Re: EOF validation messages questions

2011-10-21 Thread Michael Gargano
for such seemingly simple task. Thanks again. -Mike On Oct 19, 2011, at 6:54 PM, Ramsey Gurley wrote: On Oct 19, 2011, at 3:41 PM, Michael Gargano wrote: Hi Ramsey, I'm a little confused here. There must be some kind of context that it's using by default, because most of the messa

Re: EOF validation messages questions

2011-10-19 Thread Michael Gargano
imilar direction back in Sep. when I was having trouble with the articles displaying properly, but I thought those issues were all d2w related. Now that I'm no longer using any d2w I'm even more confused. :) Thanks. -Mike On Oct 19, 2011, at 4:35 PM, Ramsey Gurley wrote: Hi Mike, O

EOF validation messages questions

2011-10-19 Thread Michael Gargano
Hi all, I'm still having some occasional issues with EOF validations (2 things in particular)... 1) For some attributes (it seems like attributes that are type intNumber, but there may be others too), I'm getting validation error messages that end with "is not a valid ?". I had that problem t

Re: Entity Validation Exception Question

2011-09-09 Thread Michael Gargano
erriding the one in ERXExtensions. So it would appear you > need to provide a context dictionary with a value for the key > indefiniteArticleForProperty. > > Ramsey > > On Sep 9, 2011, at 8:43 AM, Michael Gargano wrote: > >> Hi Ramsey, >> >> Sorry,

Re: Entity Validation Exception Question

2011-09-09 Thread Michael Gargano
Ramsey Gurley wrote: Hi Mike, ERXValidationFactory.ExceptionDelegateInterface ERXValidationFactory.setDefaultDelegate If your exception doesn't have a context (not using d2w, not setting it yourself when the exception is caught, etc) then you can override the delegate to provide a context. Ramsey On Sep 8, 2011, at 12:30

Re: one-to-many relationship question

2011-09-08 Thread Michael Gargano
problems of a different sort. More > info in the "gotchas" under the description of HI here: > > http://wiki.objectstyle.org/confluence/display/WO/Modeling+Inheritance+with+Entity+Modeler > > Ramsey > > On Sep 8, 2011, at 12:58 PM, Michael Gargano wrote: > >

Re: one-to-many relationship question

2011-09-08 Thread Michael Gargano
tity B, if EA "owns" EB and you check > "propagate primary key", object B will be automatically created when > you create object A. That's not your question but just in case… > > Bests, > > Philippe > > On 8 sept. 11, at 20:59, Michael Gargano w

Re: Entity Validation Exception Question

2011-09-08 Thread Michael Gargano
no D2W, just what I'm catching in validationFailedWithException in the component -Mike On Sep 8, 2011, at 3:16 PM, David Holt wrote: D2W ERModernLook?? On 2011-09-08, at 12:00 PM, Michael Gargano wrote: Hi all, When an EO is being validated, the exception kicked back has ‘?’s in it.

Entity Validation Exception Question

2011-09-08 Thread Michael Gargano
Hi all, When an EO is being validated, the exception kicked back has ‘?’s in it. I’m assuming this is where they are expecting us to place the appropriate article like (‘a’ vs. ‘an’) or something that is supposed to be pluralized. Is there a good way to handle this or do I just need to do a f

one-to-many relationship question

2011-09-08 Thread Michael Gargano
Hi all, Quick question, does delete on cascade imply owns destination? Also, does checking owns destination force the insertion of the destination objects after the insertion of the source entity? I think David LeBer answered this for me once, but I forgot. Thanks. -Mike ___

Re: faulting relationship problem

2011-08-22 Thread Michael Gargano
a > fist-full of sticky notes. :-) > > On 2011-08-22, at 6:56 PM, Michael Gargano wrote: > >> as I've said before, I just work here. not my design. in some places it's >> up to 3 or 4 modals on top of each other. (ducks for cover) I've now been

Re: faulting relationship problem

2011-08-22 Thread Michael Gargano
011-08-22, at 4:54 PM, David Avendasora wrote: > >> On Aug 23, 2011, at 4:18 AM, Michael Gargano wrote: >> >>> This is a modal dialog on top of a modal dialog >> >> Wow. I think I heard Chuck's head explode all the way over hear in Borneo. > > It wa

Re: faulting relationship problem

2011-08-22 Thread Michael Gargano
On Aug 22, 2011, at 4:02 PM, Chuck Hill wrote: > > On 2011-08-22, at 8:13 AM, Michael Gargano wrote: > >> Just the default constructor, which implicitly calls super. All the model >> classes are EOGenerated. Any other ideas to check? > > Awake from insertion? C

Re: faulting relationship problem

2011-08-22 Thread Michael Gargano
Just the default constructor, which implicitly calls super. All the model classes are EOGenerated. Any other ideas to check? Thanks. -Mike On Aug 19, 2011, at 3:39 PM, Chuck Hill wrote: > Sounds like you forgot to call super someplace in your EOs. > > > On 2011-08-19, at 12:27

faulting relationship problem

2011-08-19 Thread Michael Gargano
Hi all, I have cascading popup buttons that are narrowing down to a particular instance of an entity and one of the popups is populated with the field from a relationship on that entity. So, the fetch spec. has a qualifier consisting of the values of all the previous choices and

validation question

2011-08-04 Thread Michael Gargano
Hi everyone, I have an EO with let's say 3 attributes. Name (String, not nullable, 255 chars) short desc (String, not nullable, 255 chars) long desc (String, nullable, 2000 chars) in the ui, name and short desc are attached to wotextfields and long desc is a wot

Re: Using DataGrid in WO

2011-08-03 Thread Michael Gargano
Thanks Chuck! That last line about the AMD opener started me thinking in exactly the right way. -Mike On Aug 2, 2011, at 11:22 PM, Chuck Hill wrote: > Hi Michael, > > On 2011-08-01, at 2:21 PM, Michael Gargano wrote: > >> Hey Chuck, >> >> This

Re: Using DataGrid in WO

2011-08-01 Thread Michael Gargano
Hey Chuck, This is from a few months ago, but how exactly are you passing your selected row into the dialog to edit it? I can't figure this out since I'm using a custom cell in the grid to do this. the custom cell has an ajaxmodaldialogopener with an image in it. are you just directly using

Re: blobArray prototype

2011-07-29 Thread Michael Gargano
Hi Ramsey, Finally got back around to trying this out after a 3 day detour through the "land of unpleasantness". It was a library issue. Perfect! Thanks! -Mike On Jul 26, 2011, at 6:17 PM, Ramsey Gurley wrote: > > On Jul 26, 2011, at 2:52 PM, Michael Gargano

Re: "You backtracked too far" error after closing AjaxModalDialog and clicking on a link on the page

2011-07-28 Thread Michael Gargano
, at 2:54 PM, Michael Gargano wrote: > *jumps up and down on chuck's list* > > > On Jul 27, 2011, at 2:50 PM, Chuck Hill wrote: > >> Still teetering on the top of my To Do list >> >> >> On 2011-07-27, at 11:48 AM, Michael Gargano wrote: >> >>

Re: "You backtracked too far" error after closing AjaxModalDialog and clicking on a link on the page

2011-07-27 Thread Michael Gargano
*jumps up and down on chuck's list* On Jul 27, 2011, at 2:50 PM, Chuck Hill wrote: > Still teetering on the top of my To Do list > > > On 2011-07-27, at 11:48 AM, Michael Gargano wrote: > >> was there ever a resolution to this. i'm encountering t

Re: "You backtracked too far" error after closing AjaxModalDialog and clicking on a link on the page

2011-07-27 Thread Michael Gargano
was there ever a resolution to this. i'm encountering this problem a lot. -mike On Jul 15, 2011, at 1:56 PM, Ricardo J. Parada wrote: > Try the second one I sent out... That one is simpler and easier to understand. > > Thanks > > > > > On Jul 15, 2011, at 1:52 PM, Chuck Hill wrote: > >>

blobArray prototype

2011-07-26 Thread Michael Gargano
Hi, Anyone using blobArray prototypes anywhere? I'm getting this error on a PostgreSQL DB... er.transaction.adaptor.Exceptions - Database Exception occured: com.webobjects.foundation.NSForwardException [java.lang.NoSuchMethodException] Class er.prototypes.ValueConversion does not implement me

Re: properties files

2011-07-15 Thread Michael Gargano
and @@propertyName@@ FTW :) -Mike On Jul 15, 2011, at 12:02 PM, Paul D Yu wrote: I think it was one of Kieran's video. My minds was blown by it. But I did get the Properties in the /etc/WebObjects/InstanceName/ rule. Paul On Jul 15, 2011, at 11:13 AM, Michael Gargano wrote: I thou

Re: properties files

2011-07-15 Thread Michael Gargano
It boggles the mind. On Fri, Jul 15, 2011 at 10:03 AM, Michael Gargano mailto:mgarg...@escholar.com>> wrote: I'm assuming the ERXProperties still doesn't allow you to reference other properties in your properties, does it? Thanks. -Mike ___

properties files

2011-07-15 Thread Michael Gargano
I'm assuming the ERXProperties still doesn't allow you to reference other properties in your properties, does it? Thanks. -Mike ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.ap

Re: ajaxgrid and d2w

2011-07-12 Thread Michael Gargano
mplete and total lack of documentation on writing any of these pieces yourself. >> >> >> On Jul 12, 2011, at 10:51 AM, Michael Gargano wrote: >> >>> Hi David, >>> >>> So, it's just a List Page that's been Ajax-ified. It doesn&

Re: "You backtracked too far" error after closing AjaxModalDialog and clicking on a link on the page

2011-07-12 Thread Michael Gargano
my guess is your session is timing out. for some reason the Ajax components produce that error instead. I've been wondering how to fix it myself. -mike Sent from my iPhone On Jul 12, 2011, at 4:35 PM, "Ricardo J. Parada" wrote: > Hi All, > > Does anybody have an idea what could be causing

Re: ajaxgrid and d2w

2011-07-12 Thread Michael Gargano
: > Mike, > > Wonder has the AjaxLook, I've not played with it at all but I believe it's > primarily a container for a page level wrapper around AjaxGrid. > > It may not be complete but it might give you a starting place. > > On 2011-07-12, at 11:41 AM, Michael

ajaxgrid and d2w

2011-07-12 Thread Michael Gargano
If anyone knows... I'm guessing there is no easy way to use ajaxgrid with d2w. I'm assuming I'd have to write my own look to do something like this which would involve me mostly rewriting ajaxgrid to cram the d2w content into it. If anyone has any suggestions I'm open. Thanks. -Mike

Re: woswitchcomponents

2011-07-08 Thread Michael Gargano
27;s just keep appending themselves as it keeps looping, doing... i don't know what thanks. -mike On Jul 7, 2011, at 6:56 PM, Ramsey Gurley wrote: So, given a MyComponent like: Then fails, but Works? Ramsey On Jul 7, 2011, at 3:04 PM, Michael Gargano wrote: hi, i'

Re: woswitchcomponents

2011-07-07 Thread Michael Gargano
I take it out and replace it with wocomponentcontenet everything works Sent from my iPhone On Jul 7, 2011, at 6:29 PM, David Holt wrote: > So you're embedding D2W content as Ramsey presented in Montreal? > > On 2011-07-07, at 3:22 PM, Michael Gargano wrote: > >> so

Re: woswitchcomponents

2011-07-07 Thread Michael Gargano
t; On 2011-07-07, at 3:09 PM, David Holt wrote: > >> Hi Michael, >> >> On 2011-07-07, at 3:04 PM, Michael Gargano wrote: >> >>> hi, >>> >>>i'm using d2w and my wrapper page has a woswitchcomponent inside a >>> ccajaxtabpanel

woswitchcomponents

2011-07-07 Thread Michael Gargano
hi, i'm using d2w and my wrapper page has a woswitchcomponent inside a ccajaxtabpanel. the component for the tab has a wocomponentcontent inside of it. this doesn't work, however. if i remove the woswitchcomponent and put the wocompoentcontent inside the tabpanel, d2w works just fine

Re: Apple Representation On WebObjects-Dev Mailing List?

2011-07-06 Thread Michael Gargano
it's time to accept that it has been... so, now what? is the question we need to focus on Sent from my iPhone On Jul 6, 2011, at 12:45 PM, "Robert B. Hanviriyapunt" wrote: > How about the continued availability of WO. People can SAY that Apple relies > heavily on WO and thus it won't go aw

Re: Audit Class

2011-07-03 Thread Michael Gargano
check the mailing list from last week. i just asked about it. :) Sent from my iPhone On Jul 3, 2011, at 11:13 AM, Daniel Beatty wrote: > Greetings Dave's, geniuses, Chuck, etc, > I was looking into ERAudit, heard Dave's talk, and foamed at the mouth to get > use that framework with my little

Re: ERCoreBusinessLogic docume-anything

2011-06-29 Thread Michael Gargano
handler subclass via a property if you need that. If you want to track "who" makes changes, you'll also need to set up an actor entity. Otherwise, you just track changes. Most everything you need to know happens in ERCAuditTrailHandler.java. Ramsey On Jun 28, 2011, at 11:14 AM

Re: ERCoreBusinessLogic docume-anything

2011-06-28 Thread Michael Gargano
huh, cool. i did not know that. thanks. -mike On Jun 28, 2011, at 2:06 PM, Chuck Hill mailto:ch...@global-village.net>> wrote: On Jun 28, 2011, at 10:58 AM, Michael Gargano wrote: Hi all, It seems that all the cool kids are using ERCoreBusinessLogic, but I can't find

ERCoreBusinessLogic docume-anything

2011-06-28 Thread Michael Gargano
Hi all, It seems that all the cool kids are using ERCoreBusinessLogic, but I can't find a lick of documentation on it. I guess I only know the secret handshake, not the super-secret handshake. :) >From poking around, I know that it logs and sends e-mails based on EO changes, >but I wanted to

d2w - huh?

2011-06-21 Thread Michael Gargano
Hi all, I'm trying to integrate d2w into my app and when I change the rules no updates seem to ever take hold. I've tried clearing the d2w cache, but the only thing that seems to work is cleaning the project several times. I had a stand alone wonder d2w app to just play with and every

Re: Use EOF without WO?

2011-06-15 Thread Michael Gargano
While Cayenne is very similar to EOF prepare for a SUPER buggy modeling tool. It's really not ready for prime time. my 2 ¢ -Mike On Jun 15, 2011, at 2:19 PM, Mike Schrag wrote: > I second Cayenne ... You're definitely in a legal quagmire translating EOF to > dalvik. I would recommend not eve

Re: Mismatch between model and database

2011-06-02 Thread Michael Gargano
Hi Pascal, This sounds like our stuff that you're working on. I think I had an open question to the list on this actually. For some reason, when a model is reverse engineered and a prototype is incorrectly assigned to a column this error seems to occur. The reverse engineering process is mak

Re: It's alive!

2011-05-31 Thread Michael Gargano
congratulations -mike On May 31, 2011, at 7:10 PM, David LeBer wrote: > Finally! The iOS / WO project we've been working on is finally beginning to > bear fruit: > > > > I'll be talking about the lessons learned on the road to this at WOWODC. > > (the app is currently pr

Re: database design patterns for the desperate

2011-05-12 Thread Michael Gargano
ase or do you have other code accessing SQL directly? > > Mark > > On 11 May 2011 20:14, Michael Gargano wrote: >> I was just talking to David Holt about this and he suggested I tap the brain >> trust. :) >> >> I was wondering if there is a database desig

Re: database design patterns for the desperate

2011-05-11 Thread Michael Gargano
this >> public void doSomething() { >> behavior().doSomething(); >> } >> >> - Use Chuck's EOCopyable interface and utilities to copy tA instance when a >> user wants to customize. Set your extra attrivutes and change the type of &

database design patterns for the desperate

2011-05-11 Thread Michael Gargano
I was just talking to David Holt about this and he suggested I tap the brain trust. :) I was wondering if there is a database design pattern for a situation where I have some template structure let's say tA <->> tB <->> tC (records across these tables are the template, the template

Re: eogenerator options

2011-05-09 Thread Michael Gargano
One of these days my questions will make sense... I promise! (i think i'm getting better) :) On May 9, 2011, at 4:35 PM, David LeBer wrote: > > On 2011-05-09, at 4:13 PM, Michael Gargano wrote: > >> two quick(and believe it or not, related) questions: >> >>

eogenerator options

2011-05-09 Thread Michael Gargano
two quick(and believe it or not, related) questions: 1) Is there a way to have EOGenerator not automatically reverse engineer fields into prototypes? [E.g. if I have a varchar(5) column, to not have EOGenerator rev. eng. this into a boolean prototype] 2) Is the list of properti

getting a session from WOApplication dispatchRequest

2011-04-27 Thread Michael Gargano
Hi all, I need to do something like this... public WOResponse dispatchRequest(WORequest) { session = getWOSession retrieve / modify values in session bind some thread local variables response = super.dispatchRequest() unbind the tread local var

New WebObjects forum on support.apple.com

2011-04-16 Thread Michael Gargano
Just in case you haven't heard... Apple revamped their support forums and there's a WO forum! #first :) https://discussions.apple.com/community/servers_enterprise_software/web_objects pretty cool. -Mike ___ Do not post admin requests to the

stoping models from loading into default EOModelGroup

2011-04-08 Thread Michael Gargano
Okay... two days... I give up... Is there a way to stop a model from getting loaded into the default EOModelGroup? I have a entity naming conflict and I want to prevent a model in a framework I'm using from loading. I looked at the delegate methods and they don't seem do do what I want, the E

Re: postgresql schema ignored when adding foreign key

2011-04-06 Thread Michael Gargano
ier quoting to table names with schemas - Migrations don't work Regards Tim Cummings On 06/04/2011, at 2:27 AM, Michael Gargano wrote: EOSchemaGeneration foreignKeyConstraintStatementsForRelationship() seems to ignore schemas. Anyone else have problems with that when using addForeignK

postgresql schema ignored when adding foreign key

2011-04-05 Thread Michael Gargano
EOSchemaGeneration foreignKeyConstraintStatementsForRelationship() seems to ignore schemas. Anyone else have problems with that when using addForeignKey() in a migration with tables with non-default schemas? I tried to fix it on my own, but either my brain is too small or wonder is too compl

Re: model connections to multiple DBs

2011-04-04 Thread Michael Gargano
created as > > new EOEditingContext(session().defaultEditingContext().parentObjectStore()) > > or from a thread-local. > > Cheers, Anjo > > > Am 04.04.2011 um 17:17 schrieb Michael Gargano: > >> This sounds good to me. :-D Two questions... how much overhe

Re: model connections to multiple DBs

2011-04-04 Thread Michael Gargano
can definitely have multiple models - one for each db - and > relationships between the models. > > simon > > On 4 April 2011 16:00, Michael Gargano wrote: >> Hi all, >> >>Is there a way to have a model connect to different databases >> simultaneousl

model connections to multiple DBs

2011-04-04 Thread Michael Gargano
Hi all, Is there a way to have a model connect to different databases simultaneously? So, I have a schema that is rev. eng'ed but that same schema is on 10 different databases, I want to fetch data from different DB's for different users of the system simultaneously. Is this possible?

Re: PostgreSQL float8

2011-03-28 Thread Michael Gargano
t along. Ted Date: Fri, 25 Mar 2011 14:50:54 -0700 From: Michael Gargano Subject: PostgreSQL float8 To: "webobjects-dev@lists.apple.com List List" Message-ID: <37f75e6d-d849-4a90-bb9c-3bc16541a...@escholar.com> Content-Type: text/plain; charset=us-ascii Hi all, I'

PostgreSQL float8

2011-03-25 Thread Michael Gargano
Hi all, I'm using an attribute in my model with a prototype of doubleNumber, this is set to use a DB type of float8. When I generate the migration it uses .newDoubleColumn with broken precision and scale numbers (since the prototype doesn't have these fields). Trying to use newDoubleC

Mimicking the J2EE filter chain

2011-03-23 Thread Michael Gargano
Hi all, I'm using the Shiro security framework for the project I'm working on. In the framework, the subject (basically the user) is bound to the thread and unbound through the J2EE filter chain. My plan was to just shove this subject object into the Session, but the authors o

Re: Indexes on Postgresql using EOF Modeler

2011-03-09 Thread Michael Gargano
I believe Mike S. said that indexes were added in 5.4 and the modeler doesn't support them because there's no API. You have to add them programmatically in your migration script. If you search the archives you can get his exact response. I asked in Oct. or Nov. last year. :) -the other Mike

Re: what am i doing wrong with this qualifier

2011-01-25 Thread Michael Gargano
sounds like your mapping is wrong on that property -mike Sent from my iPhone On Jan 25, 2011, at 6:09 PM, Theodore Petrosky wrote: > i should have included the error section: > > > --- On Tue, 1/25/11, Theodore Petrosky wrote: > >> From: Theodore Petrosky >> Subject: what am i doing wrong

  1   2   >