2010 videos?

2010-12-06 Thread Theodore Petrosky
I was wondering (no pun intended) about any of the videos from the 2010 WO convention? I am especially interested in anything resembling tutorials on Jasper Reports and WO. Maybe I can find someone that is interested in giving a private lesson. I don't have lotsa resources ($) but I am hopeful

Re: Consensus on legacy documentation on the Wiki

2010-12-06 Thread Paul Hoadley
On 07/12/2010, at 12:46 PM, David Avendasora wrote: > There is a "Deprecated" section in each of the Wiki spaces. I'd cut the > old/stale stuff out of the current page and paste it into a new Postgress > page under there. Let's keep it around since there's crazy people out there > using old ver

Re: Consensus on legacy documentation on the Wiki

2010-12-06 Thread David Avendasora
There is a "Deprecated" section in each of the Wiki spaces. I'd cut the old/stale stuff out of the current page and paste it into a new Postgress page under there. Let's keep it around since there's crazy people out there using old versions of everything. Even WO 5.3.3 Dave On Dec 6, 2010, at

Consensus on legacy documentation on the Wiki

2010-12-06 Thread Paul Hoadley
Hello, Just as an aside while I'm adding something to the PostgresqlPlugIn page, is there a consensus on what to do with legacy documentation on the Wiki? There are two subheadings on that page on ancient topics: "PostgreSQL EOModeler Bundle" and "Using PostgreSQL in EOModeler". For now, I've

Re: Timestamps and PostgreSQL

2010-12-06 Thread Paul Hoadley
Hi Andrew, On 07/12/2010, at 9:21 AM, Andrew Lindesay wrote: > Possibly not helpful, but you can stick this construct inside the class; > > static > { > ... do stuff ... > } > > I guess that runs before main() because it has to initialise the class before > it can run code in it. Actually, t

Re: Timestamps and PostgreSQL

2010-12-06 Thread Paul Hoadley
On 07/12/2010, at 9:16 AM, Chuck Hill wrote: > On Dec 6, 2010, at 2:10 PM, Paul Hoadley wrote: > >> On 07/12/2010, at 6:13 AM, Chuck Hill wrote: >> >>> Is there a Wiki page for EOF and Postgres? It strikes me as this is >>> something that should be documented. I don't think we can "fix" it,

Re: Timestamps and PostgreSQL

2010-12-06 Thread Paul Hoadley
On 07/12/2010, at 9:10 AM, Ramsey Gurley wrote: > I might be mistaken, but I don't think you can get any earlier than main(): > > public static void main(String argv[]) { > TimeZone.setDefault(...); > ERXApplication.main(argv, Application.class); > } That does work. -- Paul. http

Re: x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread Ralf Schuchardt
Patrick Middleton schrieb: And so to the subject line of this message: "x-webobjects-request-id lacking uniqueness?" Of those 24 chars, the first 16 are effectively fixed whenever httpd starts, > and I appear to be seeing values being reused for the last 8. It sounds as if you are droppin

Re: Timestamps and PostgreSQL

2010-12-06 Thread Ramsey Gurley
Oh yeah... static initializers and variables come first. D'oh! I think Chuck made an excellent point too. If that turns out to be the case, I think there's room for one last EOF commandment (Thou shalt not /Library/Java/Extensions) Ramsey On Dec 6, 2010, at 5:51 PM, Andrew Lindesay wrote:

Re: Timestamps and PostgreSQL

2010-12-06 Thread Andrew Lindesay
Hi Ramsey; Possibly not helpful, but you can stick this construct inside the class; static { ... do stuff ... } I guess that runs before main() because it has to initialise the class before it can run code in it. cheers. I might be mistaken, but I don't think you can get any earlier than

Re: Timestamps and PostgreSQL

2010-12-06 Thread Chuck Hill
On Dec 6, 2010, at 2:10 PM, Paul Hoadley wrote: > On 07/12/2010, at 6:13 AM, Chuck Hill wrote: > >> Is there a Wiki page for EOF and Postgres? It strikes me as this is >> something that should be documented. I don't think we can "fix" it, as it >> would impact people with existing data. >

Re: D2W automatically assign a value to an attribute

2010-12-06 Thread Ramsey Gurley
On Dec 6, 2010, at 4:44 PM, David LeBer wrote: On 2010-12-06, at 4:35 PM, Francesco Romano wrote: Ok.. today I'm asking stupid questions.. but.. D2W is not so simple with the rule system :) I have a page (CreateMovie) which is displayed only if a user is logged in (I disabled the automati

Re: Timestamps and PostgreSQL

2010-12-06 Thread Ramsey Gurley
On Dec 6, 2010, at 5:10 PM, Paul Hoadley wrote: On 07/12/2010, at 6:13 AM, Chuck Hill wrote: Is there a Wiki page for EOF and Postgres? It strikes me as this is something that should be documented. I don't think we can "fix" it, as it would impact people with existing data. I can put

Re: Timestamps and PostgreSQL

2010-12-06 Thread Paul Hoadley
On 07/12/2010, at 6:13 AM, Chuck Hill wrote: > Is there a Wiki page for EOF and Postgres? It strikes me as this is > something that should be documented. I don't think we can "fix" it, as it > would impact people with existing data. I can put it here: http://wiki.objectstyle.org/confluence/

Re: D2W automatically assign a value to an attribute

2010-12-06 Thread David LeBer
On 2010-12-06, at 4:35 PM, Francesco Romano wrote: > Ok.. today I'm asking stupid questions.. but.. D2W is not so simple with the > rule system :) > I have a page (CreateMovie) which is displayed only if a user is logged in (I > disabled the automatic login and added a condition in the navigati

Re: D2W automatically assign a value to an attribute

2010-12-06 Thread David Holt
Change the display component from a input field to a string. 100 : (pageConfiguration = 'CreateDocument' and propertyKey = 'documentProvider.fullName') => componentName = "ERD2WDisplayString" [com.webobjects.directtoweb.Assignment] David On 2010-12-06, at 1:35 PM, Francesco Romano wrote: > Ok

D2W automatically assign a value to an attribute

2010-12-06 Thread Francesco Romano
Ok.. today I'm asking stupid questions.. but.. D2W is not so simple with the rule system :) I have a page (CreateMovie) which is displayed only if a user is logged in (I disabled the automatic login and added a condition in the navigation menu bind to session.isUserLoggedIn). I have a required a

Re: Timestamps and PostgreSQL

2010-12-06 Thread Chuck Hill
Is there a Wiki page for EOF and Postgres? It strikes me as this is something that should be documented. I don't think we can "fix" it, as it would impact people with existing data. On Dec 5, 2010, at 1:38 AM, Paul Hoadley wrote: > I just couldn't let this go. Anyone not using PostgreSQL c

Re: x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread Chuck Hill
On Dec 6, 2010, at 6:20 AM, Simon wrote: > i was thinking the same - alternatively: > > - do whatever is you are doing in a background thread > - switch on concurrent request handling, as i presume that it is actually the > request that is blocking, not the DB as unless your are using something

Re: ERRest Update Op Fails

2010-12-06 Thread Farrukh Ijaz
On 2010-12-06, at 8:58 PM, Benjamin Miller wrote: > I'm using ERRest to provide access to a number of entities in my app. > Updating values in one entity fails silently and I can't figure out where to > look. I suspect this may not be related to ERRest but when I'm using the same > model and c

ERRest Update Op Fails

2010-12-06 Thread Benjamin Miller
I'm using ERRest to provide access to a number of entities in my app. Updating values in one entity fails silently and I can't figure out where to look. I suspect this may not be related to ERRest but when I'm using the same model and classes in other 'more traditional' (for me) areas of my app,

Re: ERRest XML Entity Names

2010-12-06 Thread Farrukh Ijaz
Set the following property in your project's Properties file. ERXRest.pluralEntityNames=false Farrukh On 2010-12-06, at 8:37 PM, Benjamin Miller wrote: > I've not long started a new WO project after a couple of years away (from > Java & WO). This is also my first Wonder project so I'm not sure

ERRest XML Entity Names

2010-12-06 Thread Benjamin Miller
I've not long started a new WO project after a couple of years away (from Java & WO). This is also my first Wonder project so I'm not sure if I'm missing something quick and obvious so I'd thought I'd ask. I'm using ERRest to provide access to the app's data and have a couple of problems. I h

Re: x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread Patrick Middleton
On 6 Dec 2010, at 15:27, Mark Ritchie wrote: Good Morning, On 6/Dec/2010, at 5:09 AM, Patrick Middleton wrote: If an instance receives a request via a direct action and I don't want it to be redirected via the load balancer, enough information is broadcast such that other instances waiting

Re: x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread Mark Ritchie
Good Morning, On 6/Dec/2010, at 5:09 AM, Patrick Middleton wrote: > If an instance receives a request via a direct action and I don't want it to > be redirected via the load balancer, enough information is broadcast such > that other instances waiting for requests will be able to tell that anoth

Re: x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread Patrick Middleton
On 6 Dec 2010, at 14:20, Simon wrote: i was thinking the same - alternatively: - do whatever is you are doing in a background thread - switch on concurrent request handling, as i presume that it is actually the request that is blocking, not the DB as unless your are using something like m$

Re: x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread Simon
i was thinking the same - alternatively: - do whatever is you are doing in a background thread - switch on concurrent request handling, as i presume that it is actually the request that is blocking, not the DB as unless your are using something like m$ access (eeek!) then i would imagine your DB c

Re: Launching task after an object creation (D2W)

2010-12-06 Thread Francesco Romano
Thank you.. So simple :) Francesco On 06/dic/2010, at 13.15, Kieran Kelleher wrote: > ERXGenericRecord.didInsert(). Override that. > > Regards, Kieran. > > > On Dec 6, 2010, at 6:57 AM, Francesco Romano wrote: > >> Hi. >> I have a d2w application with two pages: a "list movies" and a "ad

Re: x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread Patrick Middleton
On 6 Dec 2010, at 13:52, r...@synapticstorm.com wrote: Hi Patrick, Couldn't you just use WOLongResponse so that it keeps the first connection alive until it responds? Regards, Rob. Without going into too much detail -- no. --- Regards Patrick OneStep Solutions (Research) LLP www.oneste

Re: x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread r...@synapticstorm.com
Hi Patrick, Couldn't you just use WOLongResponse so that it keeps the first connection alive until it responds? Regards, Rob. On 6 Dec 2010, at 13:09, Patrick Middleton wrote: > I have an app doing something superficially like web services which is > sessionless and accessed via DirectAction

x-webobjects-request-id lacking uniqueness?

2010-12-06 Thread Patrick Middleton
I have an app doing something superficially like web services which is sessionless and accessed via DirectActions. Because of other activity in the database sometimes, database i/o can block for several minutes. When this happens the Apache WebObjects adaptor's loadbalancing features come

Re: Launching task after an object creation (D2W)

2010-12-06 Thread Kieran Kelleher
ERXGenericRecord.didInsert(). Override that. Regards, Kieran. On Dec 6, 2010, at 6:57 AM, Francesco Romano wrote: > Hi. > I have a d2w application with two pages: a "list movies" and a "add movie". > What I want to do is call a background task after a movie is added in the db > (I have to

Launching task after an object creation (D2W)

2010-12-06 Thread Francesco Romano
Hi. I have a d2w application with two pages: a "list movies" and a "add movie". What I want to do is call a background task after a movie is added in the db (I have to call an applescript script that can take a lot of time depending of movie size..) Where should I add the ConverterTask task = ne