Re: Preview of new content on wocommunity.org

2010-02-17 Thread David Holt
This is a great addition to the site! On 2010-02-17, at 6:48 PM, Pascal Robert wrote: > Work on the organization and individual profiles is almost complete, same > case for the job (you will be able to add a new job posting yourself) and > project pages. > > You can preview the pages : > >

Re: Preview of new content on wocommunity.org

2010-02-17 Thread Jake Fisher
Looks nice :-) On Wed, Feb 17, 2010 at 9:48 PM, Pascal Robert wrote: > Work on the organization and individual profiles is almost complete, same > case for the job (you will be able to add a new job posting yourself) and > project pages. > > You can preview the pages : > >        Individual pro

Preview of new content on wocommunity.org

2010-02-17 Thread Pascal Robert
Work on the organization and individual profiles is almost complete, same case for the job (you will be able to add a new job posting yourself) and project pages. You can preview the pages : Individual profile : http://bit.ly/9kGSiD Organization profile : http://bit.ly/blLSfO

Re: EntityModeler - ERPrototypes - Oracle - generated code doesn't handle CLOB column

2010-02-17 Thread Mark Ritchie
On 17/Feb/2010, at 4:25 PM, Mike Schrag wrote: > Hmm varcharLarge is a weird one. It seems like maybe it should be calling > newLargeStringColumn and that migration for Oracle should use a CLOB. I'm ok with that! That I can make work! ;-) > It seems weird that Oracle's definition for longTex

Re: EntityModeler - ERPrototypes - Oracle - generated code doesn't handle CLOB column

2010-02-17 Thread Mike Schrag
Hmm varcharLarge is a weird one. It seems like maybe it should be calling newLargeStringColumn and that migration for Oracle should use a CLOB. It seems weird that Oracle's definition for longText is BLOB and not CLOB, too. The relationship between longText and varcharLarge is unclear to me.

EntityModeler - ERPrototypes - Oracle - generated code doesn't handle CLOB column

2010-02-17 Thread Mark Ritchie
Hi Everyone! My EOModel is using ERPrototypes with EOJDBCOraclePrototypes selected. I have a column set to varcharLarge and when I generate the migration I get: ... personTable.newStringColumn("longName", false); ... That statement results in SQL which is invalid in Oracle

Re: session timeout trouble

2010-02-17 Thread Mark Ritchie
Hey! On 17/Feb/2010, at 1:53 PM, Mark Wardle wrote: > Might be worth checking it is the session you think it is? This is certainly something to consider! Setting a break point on the session constructor would be a quick way to show how many sessions are getting created and when... Something

Re: session timeout trouble

2010-02-17 Thread Mark Ritchie
On 17/Feb/2010, at 2:46 AM, Amedeo Mantica wrote: > Look at my website, www.confindustria.chieti.it, in the top right corner > there is a barely visible number indicating the session timeout value... ( > 1200 ), after user log in, the value go to 3600 and remain 3600, but session > expires after

Re: Question about ERAttachment.

2010-02-17 Thread Johnny Miller
Thank you. On Feb 17, 2010, at 12:59 PM, Mike Schrag wrote: > expected behavior ... cleanup=true on ERAttachmentUpload to delete the > previous attachment. > > On Feb 17, 2010, at 5:51 PM, Johnny Miller wrote: > >> LOL. >> >> Next question, >> >> When I first upload the file using the ERAtta

Re: Question about ERAttachment.

2010-02-17 Thread Mike Schrag
expected behavior ... cleanup=true on ERAttachmentUpload to delete the previous attachment. On Feb 17, 2010, at 5:51 PM, Johnny Miller wrote: > LOL. > > Next question, > > When I first upload the file using the ERAttachmentUpload component the > result is what I'd expect it to be i.e. an obje

Re: Question about ERAttachment.

2010-02-17 Thread Johnny Miller
LOL. Next question, When I first upload the file using the ERAttachmentUpload component the result is what I'd expect it to be i.e. an object of my entity and an object of erattachment are created and the file is stored per the configuration. However, if I then update my entity and upload a ne

Re: Q about locked ec

2010-02-17 Thread Anjo Krank
Am 17.02.2010 um 23:18 schrieb Ricardo J. Parada: >> 2) If you have autolocking on and if you are using ERXEC.newEditingContext, >> you may get deadlocks. How so? Cheers, Anjo ___ Do not post admin requests to the list. They will be ignored. Web

Re: Q about locked ec

2010-02-17 Thread Jon Nolan
Ricardo J. Parada wrote: Hmm... I'm using background threads in my apps to do some processing. The thread creates is editing context for its own use. Something like this: EOObjectStoreCoordinator parentObjectStore = new EOObjectStoreCoordinator(); editingContext = E

Re: Q about locked ec

2010-02-17 Thread Anjo Krank
You *can* pass EOs between threads. You just really, wanna make sure your threads don't block each other (and do proper locking, auto may not be good enough). In particular, you don't wanna use the session EC in a long running thread. Cheers, Anjo Am 17.02.2010 um 21:23 schrieb Kieran Kelleh

Re: Q about locked ec

2010-02-17 Thread Ricardo J. Parada
Hmm... I'm using background threads in my apps to do some processing. The thread creates is editing context for its own use. Something like this: EOObjectStoreCoordinator parentObjectStore = new EOObjectStoreCoordinator(); editingContext = ERXEC.newEditingContext(parent

Re: D2WEditRelationship

2010-02-17 Thread Mark Wardle
Thanks for this. The advantage (I assume) of a master detail page is that one presumably can set the master object and the key for the relationship and so that component can take responsibility (in a model independent way) for creating, editing and deleting objects hanging off that relationship ke

Re: session timeout trouble

2010-02-17 Thread Mark Wardle
The last time I had session troubles, it turned out I had two sessions as I managed to accidentally create an additional session with some random session() call. I think this is v easy to do accidentally! Might be worth checking it is the session you think it is? I'm definitely not an expert

Re: Q about locked ec

2010-02-17 Thread Kieran Kelleher
Some tidbits that might help: 1) Don't pass EOs between threads. Pass their EOGlobalIDs and use ec.faultForGlobalID to rehydrate them in an ec in the thread that needs them. Use Wonder ERXEOUtilities.convertEOtoGID if desired. (Something = 'Access' or 'Control', I can never remember which)

Q about locked ec

2010-02-17 Thread Philippe Rabier
Hi all, I get an issue with a multi threaded application. To be easier to understand, my description is simpler than the reality but that's enough to see what's going on I guess. I'm using: WO 5.4.3 Snow Leopard/ java 6 Wonder (not the very last but not old) I put the following properties: er.e

Re: What would it take?

2010-02-17 Thread David Holt
On 17-Feb-10, at 10:45 AM, Mike Schrag wrote: +1 He's alluding to that still as yet all mysterious, apparently sweet tasting, hazelnut flavoured chocolate treat. The question is: when's desert going to be served? :-) actually not in this case ... just that if you were thinking about makin

Re: What would it take?

2010-02-17 Thread Mike Schrag
+1 >>> He's alluding to that still as yet all mysterious, apparently sweet >>> tasting, hazelnut flavoured chocolate treat. The question is: when's desert >>> going to be served? :-) >> actually not in this case ... just that if you were thinking about making a >> new template that was aja

Re: What would it take?

2010-02-17 Thread David Holt
On 2010-02-17, at 10:37 AM, Chuck Hill wrote: > > On Feb 17, 2010, at 10:31 AM, David Holt wrote: > >> >> On 2010-02-16, at 5:33 PM, Mike Schrag wrote: >> > +1 He's alluding to that still as yet all mysterious, apparently sweet tasting, hazelnut flavoured chocolate treat. The q

Re: session timeout trouble

2010-02-17 Thread Chuck Hill
Nice looking site! I am pretty sure that something else is going on. Maybe some code calling terminate()? Some bad HTML causing a new session to get created? Chuck On Feb 17, 2010, at 2:46 AM, Amedeo Mantica wrote: Look at my website, www.confindustria.chieti.it, in the top right co

Re: What would it take?

2010-02-17 Thread Chuck Hill
On Feb 17, 2010, at 10:31 AM, David Holt wrote: On 2010-02-16, at 5:33 PM, Mike Schrag wrote: +1 He's alluding to that still as yet all mysterious, apparently sweet tasting, hazelnut flavoured chocolate treat. The question is: when's desert going to be served? :-) actually not in this ca

Re: What would it take?

2010-02-17 Thread David Holt
On 2010-02-16, at 5:33 PM, Mike Schrag wrote: >>> +1 >> He's alluding to that still as yet all mysterious, apparently sweet tasting, >> hazelnut flavoured chocolate treat. The question is: when's desert going to >> be served? :-) > actually not in this case ... just that if you were thinking a

Re: Creating related objects and multiple ECs

2010-02-17 Thread David LeBer
On 2010-02-17, at 6:17 AM, David Avendasora wrote: > > On Feb 16, 2010, at 5:31 PM, David LeBer wrote: > >> It definitely doesn't work trying to pull an EO in a child ec into it's >> parent's. i.e: >> >> EOEditingContext rootEc = ERXEC.newEditingContext(); >> EOEditingContext childE

Re: Javascript Time Entry?

2010-02-17 Thread Amedeo Mantica
i think may be good do use two popups 00:24 and 00:59 i don't see any other solutions that may be simpler( for the user side too ) Amedeo On 16/feb/2010, at 22.28, James Cicenia wrote: > Anyone know or can suggest a nice TimeEntry component? > > I am not talking a calendar but a nice HH:MM edi

Fwd: WOPopup Insanity - OT

2010-02-17 Thread Frédéric JECKER
*sorry for the first offlist reply :) * You'r right and this reminds me the following good practices, also known as the zen of python (but applies to all languages): Source : http://www.python.org/dev/peps/pep-0020/ Beautiful is better than ugly. Explicit is better than implicit. Simple is bett

Re: Creating related objects and multiple ECs

2010-02-17 Thread Mike Schrag
> and I don't think you even need to do the localInstance, do you? (It's been a > while since I did nested ECs) yeah, you do have to local instance (or i will blow up) ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev

Re: WOPopup Insanity

2010-02-17 Thread Mike Schrag
My official policy is that toString() should never be used for real code dependencies -- it should only be for debugging. It's much better to be explicit, IMO. ms On Feb 17, 2010, at 5:28 AM, Frédéric JECKER wrote: > ... or add a toString() method to your object :) > > Le 16 févr. 2010 à 17:5

Re: [MEET] WO-NoVA NEXT TUESDAY 2/16

2010-02-17 Thread David Avendasora
On Feb 16, 2010, at 4:29 PM, Anjo Krank wrote: >> hey now, am i going to walk up? i have a 3-wheeled car right now! > > Like this?! > > http://upload.ecvv.com/upload/Info/200801/China_Product_C2006516163117102337_Tri_wheel_Motorcycle__Single_Fuel_System__PETROL.jpg No, Mike's car is much small

Re: Creating related objects and multiple ECs

2010-02-17 Thread David Avendasora
On Feb 16, 2010, at 5:31 PM, David LeBer wrote: > It definitely doesn't work trying to pull an EO in a child ec into it's > parent's. i.e: > > EOEditingContext rootEc = ERXEC.newEditingContext(); > EOEditingContext childEc = ERXEC.newEditingContext(rootEc); > Movie m = Movie.c

Re: session timeout trouble

2010-02-17 Thread Amedeo Mantica
Look at my website, www.confindustria.chieti.it, in the top right corner there is a barely visible number indicating the session timeout value... ( 1200 ), after user log in, the value go to 3600 and remain 3600, but session expires after 1200 Amedeo On 16/feb/2010, at 22.21, Mark Ritchie wrot

Re: WOPopup Insanity

2010-02-17 Thread Frédéric JECKER
... or add a toString() method to your object :) Le 16 févr. 2010 à 17:53, James Cicenia a écrit : > I swear.. I mean it, really, I do, I had .name tagged on that. > > Too much D2W can totally mess with one's mind. > > I will slay this beast! I swear. > > > > On Feb 16, 2010, at 10:35 AM, R

Re: session timeout trouble

2010-02-17 Thread Timo Hoepfner
Am 16.02.2010 um 22:21 schrieb Mark Ritchie: P.S. I'm open to learning how to do this in Eclipse however my understand is that Eclipse can't set break points when it doesn't have the source code. Well, he could override setTimeout in his WOSession subclass and set the breakpoint there...