Re: Question re ERAttachment

2019-12-20 Thread Theodore Petrosky via Webobjects-dev
I have something similar; Person to-many documentScans to-One theScan there is an entity between the Person and the object to be uploaded. You can keep all kinds of meta data in documentScans. Ted > On Dec 20, 2019, at 8:43 AM, Markus Ruggiero via Webobjects-dev > wrote: > > Started to hav

Re: Question re ERAttachment

2019-12-20 Thread Paul Yu via Webobjects-dev
Markus I would avoid touching the ERAttachment model itself, so I would model a many to many association from person to erattachment. And then if you need another attribute on the association eg isPrimary you can add it there Sent from my iPhone Please excuse iOS autocomplete > On Dec 20, 20

Re: Question regarding the old WebObjects tools (WOBuilder et.al.)

2017-12-13 Thread Lon Varscsak
I still have access to WO4 on Windows, but it doesn't look like source for either of those apps is part of the distribution. -Lon On Wed, Dec 13, 2017 at 10:05 AM, Chuck Hill wrote: > I have not heard of them. > > Chuck > > On 2017-12-13, 8:53 AM, "Webobjects-dev on behalf of Markus Ruggiero" >

Re: Question regarding the old WebObjects tools (WOBuilder et.al.)

2017-12-13 Thread Chuck Hill
I have not heard of them. Chuck On 2017-12-13, 8:53 AM, "Webobjects-dev on behalf of Markus Ruggiero" wrote: Does anybody know whether the old Objective-C tools like EOModeler and WOBuilder are available in source form? The D2W RuleModeler is, but I'd like to play with the two other tool

Re: Question about jdbc connection pool

2016-06-08 Thread Tarun Reddy
JVMs? Or should I really be using another application framework? > > Tarun > > > > On Jun 6, 2016, at 11:48 AM, Chuck Hill wrote: > > I am pretty sure that maps to the ServerSocket’s backlog: “requested > maximum length of the queue of incoming connections” > > >

Re: Question about jdbc connection pool

2016-06-07 Thread Samuel Pelletier
connections” >> >> >> From: > <mailto:webobjects-dev-bounces+chill=gevityinc@lists.apple.com>> on >> behalf of Ramsey Gurley > <mailto:rgur...@smarthealth.com>> >> Date: Monday, June 6, 2016 at 10:44 AM >> To: Leigh Kivenko ma

Re: Question about jdbc connection pool

2016-06-07 Thread Musall Maik
> Am 07.06.2016 um 02:04 schrieb Ramsey Gurley : > > The main reason there’s a single connection and a global lock is to permit > snapshotting. This snapshot cache is central to Apple’s ORM design. AFAIK, if > you open 12 connections to the db, you’re still going to be stuck waiting on > synch

Re: Question about jdbc connection pool

2016-06-06 Thread Ken Anderson
hat maps to the ServerSocket’s backlog: “requested maximum >> length of the queue of incoming connections” >> >> >> From: on behalf >> of Ramsey Gurley >> Date: Monday, June 6, 2016 at 10:44 AM >> To: Leigh Kivenko >> Cc: WebObjects-Dev &

Re: Question about jdbc connection pool

2016-06-06 Thread Pascal Robert
11:48 AM, Chuck Hill wrote: >>> >>> I am pretty sure that maps to the ServerSocket’s backlog: “requested >>> maximum length of the queue of incoming connections” >>> >>> >>> From: on >>> behalf of Ramsey Gurley >>>

Re: Question about jdbc connection pool

2016-06-06 Thread Ramsey Gurley
d maximum >> length of the queue of incoming connections” >> >> >> From: on behalf >> of Ramsey Gurley >> Date: Monday, June 6, 2016 at 10:44 AM >> To: Leigh Kivenko >> Cc: WebObjects-Dev >> Subject: Re: Question about jdbc connection p

Re: Question about jdbc connection pool

2016-06-06 Thread Tarun Reddy
etty sure that maps to the ServerSocket’s backlog: “requested maximum > length of the queue of incoming connections” > > > From: on behalf > of Ramsey Gurley > Date: Monday, June 6, 2016 at 10:44 AM > To: Leigh Kivenko > Cc: WebObjects-Dev > Subject: Re: Question

Re: Question about jdbc connection pool

2016-06-06 Thread Chuck Hill
I am pretty sure that maps to the ServerSocket’s backlog: “requested maximum length of the queue of incoming connections” From: on behalf of Ramsey Gurley Date: Monday, June 6, 2016 at 10:44 AM To: Leigh Kivenko Cc: WebObjects-Dev Subject: Re: Question about jdbc connection pool Off the

Re: Question about jdbc connection pool

2016-06-06 Thread Ramsey Gurley
(by return e-mail or otherwise), and delete the e-mail. > > From: Ramsey Gurley [mailto:rgur...@smarthealth.com] > Sent: Monday, June 06, 2016 12:52 PM > To: Leigh Kivenko > Cc: webobjects-dev@lists.apple.com > Subject: Re: Question about jdbc connection pool > > Yes, one

Re: Question about jdbc connection pool

2016-06-06 Thread Chuck Hill
Gurley Cc: "webobjects-dev@lists.apple.com" Subject: RE: Question about jdbc connection pool Thanks Ramsey. Does that mean there is only 1 database connection shared by all end-users of an app? So if a user hits a query that runs for 3+ seconds all other application users are stuck waitin

Re: Question about jdbc connection pool

2016-06-06 Thread Ramsey Gurley
Sent: Monday, June 06, 2016 12:18 PM > To: Leigh Kivenko > Cc: webobjects-dev@lists.apple.com > Subject: Re: Question about jdbc connection pool > > The ObjectStoreCoordinator opens one connection which everything shares by > default. If you want multiple connections, you have to c

RE: Question about jdbc connection pool

2016-06-06 Thread Leigh Kivenko
es+dev=portfolioaid@lists.apple.com [mailto:webobjects-dev-bounces+dev=portfolioaid@lists.apple.com] On Behalf Of Ramsey Gurley Sent: Monday, June 06, 2016 12:18 PM To: Leigh Kivenko Cc: webobjects-dev@lists.apple.com Subject: Re: Question about jdbc connection pool The ObjectStoreCoord

Re: Question about jdbc connection pool

2016-06-06 Thread Ramsey Gurley
The ObjectStoreCoordinator opens one connection which everything shares by default. If you want multiple connections, you have to create multiple OSCs. There’s an OSC pool built into Wonder, but it leaks memory. On Jun 6, 2016, at 8:40 AM, Leigh Kivenko wrote: > Hello, > How does one set the j

Re: question on ERMailDeliveryHTML

2015-04-27 Thread Chuck Hill
Glad to hear that you have it sorted out. ERMailUtils.instantiatePage will create a session if you pass in the sessionDict parameter, but in that case session creation is likely not a surprise! Chuck On 2015-04-27, 10:33 AM, "Timothy Worman" wrote: The component in question contained a repe

Re: question on ERMailDeliveryHTML

2015-04-27 Thread Timothy Worman
The component in question contained a repetition which was repeating over a “row” subcomponent. I decided to make a “light” version of the row component which relied only on WOString and WOHyperlink. I refactored the “heavier” row component to extend the new, lighter one - and which will only be

Re: question on ERMailDeliveryHTML

2015-04-25 Thread webobjects-dev
ERMailUtils.instantiatePage calls the componentbs session() method which will create a Session. What I used to do in a distant past was to create a component with the normal constructor and pass to this constructor a dummy WOContext. I was using this technique to send batches of emails in the b

Re: question on ERMailDeliveryHTML

2015-04-24 Thread Chuck Hill
I'd be surprised if you could NOT replace some bindings to avoid session creation. Chuck On 2015-04-24, 10:24 AM, "Timothy Worman" wrote: Yeah, I see what you're saying. That's why I mentioned in my first that the component contains things that I wouldn't want to do by hand. I'll have to exa

Re: question on ERMailDeliveryHTML

2015-04-24 Thread Timothy Worman
Yeah, I see what you’re saying. That’s why I mentioned in my first that the component contains things that I wouldn’t want to do by hand. I’ll have to examine the component and remind myself of which WOComponents require a session. I may be able to replace bits and pieces. Tim Worman UCLA GSE&I

Re: question on ERMailDeliveryHTML

2015-04-23 Thread Chuck Hill
I think you are missing my point. It is not ERMailUtils.instantiatePage that is creating a session, it is the content of your component. The component you are e-mailing is using component actions, or referencing session.something, that is why it is creating a session (I think, this is what the

Re: question on ERMailDeliveryHTML

2015-04-23 Thread Timothy Worman
Hi Chuck! The component that is being emailed isn’t being sent as the result of a user action. It is being sent as part of a quartz job. For a bunch of fetched EO’s, their global ID’s are passed to a method that uses ERMailUtils.instantiatePage to create an instance of the component for each EO

Re: question on ERMailDeliveryHTML

2015-04-23 Thread Chuck Hill
Hi Tim, It is probably because your email is using component actions instead of direct actions. Component actions require a session and are definitely not what you want in an email. For WOHyperlink, as an example, you need to bind directActionName instead of action. Chuck On 2015-04-23, 12

Re: question about WebObjectsAlias

2013-05-08 Thread Tim Worman
Well, that doesn't seem like it works in my situation. I have a component that is used for HTML email. The embedded direct action link still has a /cgi-bin based URL when the email is received. I may have to do some of this in code. Maybe some rewrite rules will address it too. Tim On May 8,

Re: question about WebObjectsAlias

2013-05-08 Thread Chuck Hill
Try adding WOCGIAdaptorURL http://foo.com/whatever/WebObjects to your launch parameters. Chuck On 2013-05-08, at 2:27 PM, Tim Worman wrote: > I have changed WebObjectsAlias in my apache conf. I have a WOHyperlink bound > to a DirectAction in my app. Of course, when it is called in my app, the

Re: Question on Modeless dialog...

2013-01-23 Thread Chuck Hill
You need to pass the data with bindings, not with copy and paste. On 2013-01-23, at 12:45 AM, Sreenivasulu A wrote: > Hi List, > > We use the AjaxModalDialog component from Webobject's Project wonder > framework. > > > This component is a modal dialog that blocks access (using mouse to high

Re: Question about ERPDFWrapper

2012-09-04 Thread Antoine Berry
work thanERPDFWrapper. Ted --- On Fri, 8/31/12, Bastian Triller wrote: From: Bastian Triller Subject: Re: Question about ERPDFWrapper To: "Antoine Berry" Cc: webobjects-dev@lists.apple.com Date: Friday, August 31, 2012, 10:58 AM hello, you can alter the margins in your CSS with someth

Re: Question about ERPDFWrapper

2012-08-31 Thread Theodore Petrosky
Antoine, did you check out Jasper reports? the pdfs it creates are fantastic. Albeit, it think more work thanERPDFWrapper. Ted --- On Fri, 8/31/12, Bastian Triller wrote: > From: Bastian Triller > Subject: Re: Question about ERPDFWrapper > To: "Antoine Berry" &

Re: Question about ERPDFWrapper

2012-08-31 Thread Antoine Berry
Thank you a lot, that solved my problem! Le 31/08/12 16:58, Bastian Triller a écrit : hello, you can alter the margins in your CSS with something like: @page { size: A4; margin: 37mm 1cm 35mm 25mm; } @PAGE:first { margin: 5cm 1cm 35mm 25mm; } Bastian Am Freitag, den

Re: Question about ERPDFWrapper

2012-08-31 Thread Bastian Triller
hello, you can alter the margins in your CSS with something like: @page { size: A4; margin: 37mm 1cm 35mm 25mm; } @PAGE:first { margin: 5cm 1cm 35mm 25mm; } Bastian Am Freitag, den 31.08.2012, 12:22 +0200 schrieb Antoine Berry: > Hello everybody! > > I'm a new Webobjects

Re: question about javaEnum prototype

2012-07-22 Thread Tim Worman
On Jul 21, 2012, at 1:30 PM, Kieran Kelleher wrote: > On Jul 21, 2012, at 3:30 PM, Tim Worman wrote: > >> Thanks Ramsey. >> >> Yeah. I would really need a many-to-many relationship - which I was hoping >> to avoid. :-) I was wanting to just store and query "keywords" for my EO. A >> flattene

Re: question about javaEnum prototype

2012-07-21 Thread Kieran Kelleher
On Jul 21, 2012, at 3:30 PM, Tim Worman wrote: > Thanks Ramsey. > > Yeah. I would really need a many-to-many relationship - which I was hoping to > avoid. :-) I was wanting to just store and query "keywords" for my EO. A > flattened many-to-many seems heavy to just associate string values. A

Re: question about javaEnum prototype

2012-07-21 Thread Tim Worman
Thanks Ramsey. Yeah. I would really need a many-to-many relationship - which I was hoping to avoid. :-) I was wanting to just store and query "keywords" for my EO. A flattened many-to-many seems heavy to just associate string values. A good example would be a Contact entity where you maybe have

Re: question about javaEnum prototype

2012-07-21 Thread Amedeo Mantica
And iirc avoid null values in enums or will throw exception on save. Set a default value in the init() method of entity Sent from my iPhone On 21/lug/2012, at 18:24, Ramsey Gurley wrote: > For a 'to-one' type of arrangement, enums are perfect so long as your > categories don't change often.

Re: question about javaEnum prototype

2012-07-21 Thread Ramsey Gurley
For a 'to-one' type of arrangement, enums are perfect so long as your categories don't change often. For a 'to-many' you are describing, they are less so. You could serialize an enum set, but then you can't query it. The only other solution I know of would be to put them on a table and relate

Re: Question about "To Many" relationships hooks in ERRest

2012-06-18 Thread Pascal Robert
I think it was a problem in the past, but right now with my one-line fix, it works fine when I create or update a blog entry, and if I set setAnonymousUpdateEnabled(true) on the categories, it creates the category as expected. I'm going to commit it to the integration branch, if someone find a

Re: Question about "To Many" relationships hooks in ERRest

2012-06-18 Thread George Domurot
It was my understanding that many-to-many relationships had to be handled "manually" due to them not being processed correctly by the framework. -G On Jun 18, 2012, at 7:52 AM, Pascal Robert wrote: > I'm working on my WOWODC slides, and I'm doing something that I didn't do for > many months:

solved.. Re: Question about ERMD2WCombinedTableHeader

2012-01-29 Thread James Cicenia
public D2WContext d2wContext() { return (D2WContext)valueForBinding("localContext"); } valueForBinding via localContext for the d2wContext. James On Jan 29, 2012, at 9:58 AM, David LeBer wrote: > Why? > > I don't know, ghosts? No, maybe aliens? Oh, I know, alien ghosts! > >

Re: Question about ERMD2WCombinedTableHeader

2012-01-29 Thread James Cicenia
Damn good question really. I have been living in some possessed wonder environment. However, let us take this a different way so that I am not chasing my tail, your tail, or source code trails anymore. I want to simply create a component that works with your PropertyName. public String val

Re: Question about ERMD2WCombinedTableHeader

2012-01-29 Thread David LeBer
Why? I don't know, ghosts? No, maybe aliens? Oh, I know, alien ghosts! What are you doing in your code? What troubleshooting have you tried? You said it worked, what did you change? D -- David LeBer Codeferous Software On 2012-01-29, at 8:14 AM, James Cicenia wrote: > OK - > > I had this wo

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-08 Thread probert
+1 to Q, who made the fix in 3.7. Le 2011-12-08 à 06:23, ""Jérémy DE ROYER [INGENCYS]"" a écrit : > +1 For Pascal Robert. > > I still have few "ghost" warnings with 3.7 but they disappear as soon as I > open the component editor > > After a week of use, eclipse did not freeze. > > Hip hip

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-08 Thread Jérémy DE ROYER [INGENCYS]
+1 For Pascal Robert. I still have few "ghost" warnings with 3.7 but they disappear as soon as I open the component editor After a week of use, eclipse did not freeze. Hip hip hip. Jérémy Le 1 déc. 2011 à 21:40, Pascal Robert a écrit : > > Le 2011-12-01 à 15:39, Jérémy DE ROYER [INGENCYS]

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-02 Thread Ramsey Gurley
I would think Eclipse should be showing you a compiler error if you don't import user in this case. You may want to restore defaults in your preferences in Java > Compiler > Errors & Warnings panel and then clean the project. If I recall correctly, the only way you could use User in your sessio

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-02 Thread Paul D Yu
Of course you need to import the User class into your component. The eomodel is a model not a java class. P Sent from my iPad On Dec 1, 2011, at 11:39 PM, Kevin Spake wrote: > The error I am getting is "User cannot be resolved to a type." It is > occurring in Main.WO, and also shows up mul

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-01 Thread Kevin Spake
The error I am getting is "User cannot be resolved to a type." It is occurring in Main.WO, and also shows up multiple times when the app is run. "User" is the name of the eomodel, and the User and _User files are in the package in Sources. The app launches, but when I click on the submit butt

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-01 Thread Raymond NANEON
I use WOLips 3.7 and it's very clean. I use it on Snow Leopard and Lion and I have not problem in running or compilation. Ray Le 1 déc. 2011 à 21:39, Jérémy DE ROYER [INGENCYS] a écrit : > Can we use WOLips 3.7 in a production environment ? On Snow Leopard ? Is it > stable ? > > Jérémy >

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-01 Thread Pascal Robert
Le 2011-12-01 à 15:39, Jérémy DE ROYER [INGENCYS] a écrit : > Can we use WOLips 3.7 in a production environment ? On Snow Leopard ? Is it > stable ? I was using WOLips 3.7 on Snow Leopard for a couple of week, and I switched to Lion 5 weeks ago, working great (well, great except FileVault2 per

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-01 Thread Jérémy DE ROYER [INGENCYS]
Can we use WOLips 3.7 in a production environment ? On Snow Leopard ? Is it stable ? Jérémy Le 1 déc. 2011 à 19:30, Pascal Robert a écrit : > > Le 2011-12-01 à 11:36, Jérémy DE ROYER [INGENCYS] a écrit : > >> For me, these are the two worst bugs wolips : >> - erros that do not exist >> - vali

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-01 Thread Chuck Hill
On 2011-12-01, at 11:06 AM, Kevin Spake wrote: > > On Dec 1, 2011, at 8:36 AM, Jérémy DE ROYER [INGENCYS] wrote: > >> For me, these are the two worst bugs wolips : >> - erros that do not exist >> - validation that freeze wolips >> >> For the first one, either I don't care or I restart and clea

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-01 Thread Kevin Spake
On Dec 1, 2011, at 8:36 AM, Jérémy DE ROYER [INGENCYS] wrote: > For me, these are the two worst bugs wolips : > - erros that do not exist > - validation that freeze wolips > > For the first one, either I don't care or I restart and clean my project Unfortunately, that did not work for me. So fa

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-01 Thread Pascal Robert
Le 2011-12-01 à 11:36, Jérémy DE ROYER [INGENCYS] a écrit : > For me, these are the two worst bugs wolips : > - erros that do not exist > - validation that freeze wolips > > For the first one, either I don't care or I restart and clean my project > > For the second one, either I disable validat

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-01 Thread Jérémy DE ROYER [INGENCYS]
For me, these are the two worst bugs wolips : - erros that do not exist - validation that freeze wolips For the first one, either I don't care or I restart and clean my project For the second one, either I disable validation or I kill wolips and restart... Jérémy Le 1 déc. 2011 à 17:23, Ramsey

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-01 Thread Ramsey Gurley
Or just select the error in your Problems view and right click to delete it. Ramsey On Dec 1, 2011, at 12:29 AM, Stefan Klein wrote: > In some tough cases following steps will do it: > > 1) close the project in eclipse > 2) close eclipse > 3) delete bin and build directories > 4) open eclipse >

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-11-30 Thread Stefan Klein
In some tough cases following steps will do it: 1) close the project in eclipse 2) close eclipse 3) delete bin and build directories 4) open eclipse 5) open the project 6) run clean Stefan Am 01.12.11 07:35, schrieb Kevin Spake: Thanks. I had tried Cleaning but it did not help. On Nov 30, 20

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-11-30 Thread Kevin Spake
Thanks. I had tried Cleaning but it did not help. On Nov 30, 2011, at 10:04 PM, Chuck Hill wrote: > This is just Eclipse gone insane again. You can open the Problems View, > select and delete these errors. Sometimes Cleaning and Building works too. > > Chuck > > > On 2011-11-30, at 9:17 P

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-11-30 Thread Chuck Hill
This is just Eclipse gone insane again. You can open the Problems View, select and delete these errors. Sometimes Cleaning and Building works too. Chuck On 2011-11-30, at 9:17 PM, Kevin Spake wrote: > I've been working on the introductory material that was suggested. Now, I'm > on part 2 of

Re: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-11-30 Thread Kevin Spake
I should add, the project runs but there are three problems: Description ResourcePathLocationType In the WOD, The class for 'WOCheckboxMatrix' is either missing or does not extend WOElement. WOToManyRelationship.html /JavaWOExtensions/Components/Nonl

Re: Question about restrictedChoiceKey

2011-10-17 Thread Farrukh Ijaz
Hi Ramsey, The issue has been solved. The reason to hessitate using 'session.keyName' was my understanding to implement a getter for keyName inside Session class. But this has been solved using 'session.objectStore.keyName'. Thanks, Farrukh On 2011-10-17, at 6:34 PM, Ramsey Gurley wrote: >

Re: Question about restrictedChoiceKey

2011-10-17 Thread Ramsey Gurley
On Oct 17, 2011, at 3:02 AM, Farrukh Ijaz wrote: > Hi, > > I've a situation. I've three entities: > > Country > CountryGroup > Customer > > The Customer has toOne relationship with Country and Country has toMany > relationship with CountryGroup. The customer doesn't know about CountryGroup >

Re: Question about 1-to-many relationship

2011-07-14 Thread Patrick Robinson
Yes, please do! I've suffered from this same problem, and ended up working around it by just changing how the user interacts with the app to something less desirable and more clunky. - Patrick On Jul 13, 2011, at 7:45 PM, Chuck Hill wrote: > Please let us know what you find out. > > Chuck >

Re: Question about 1-to-many relationship

2011-07-13 Thread Chuck Hill
Please let us know what you find out. Chuck On 2011-07-13, at 4:39 PM, Ricardo J. Parada wrote: > > Well I'm not so sure yet... :-) I'm backed out my change today. After more > testing another case was found were EOF was misbehaving and I was able to fix > it today by backing this out. The

Re: Question about 1-to-many relationship

2011-07-13 Thread Ricardo J. Parada
Well I'm not so sure yet... :-) I'm backed out my change today. After more testing another case was found were EOF was misbehaving and I was able to fix it today by backing this out. The weird thing is that the other bug that this was supposed to fix is not reproducible. But other things in

Re: Question about 1-to-many relationship

2011-07-13 Thread Chuck Hill
Hi Richardo, On 2011-07-07, at 7:09 PM, Ricardo J. Parada wrote: > Hi Ramsey, > > I did not know about ERXEOControlUtilities.editableInstanceOfObject(). It > seems to be doing some interesting stuff. :-) But it's not doing an > insertObject() if the eo is a new object. So if I try using >

Re: Question about 1-to-many relationship

2011-07-07 Thread Ramsey Gurley
On Jul 7, 2011, at 5:09 PM, Ricardo J. Parada wrote: > Hi Ramsey, > > I did not know about ERXEOControlUtilities.editableInstanceOfObject(). It > seems to be doing some interesting stuff. :-) But it's not doing an > insertObject() if the eo is a new object. So if I try using > ERXEOContro

Re: Question about 1-to-many relationship

2011-07-07 Thread Ricardo J. Parada
Hi Ramsey, I did not know about ERXEOControlUtilities.editableInstanceOfObject(). It seems to be doing some interesting stuff. :-) But it's not doing an insertObject() if the eo is a new object. So if I try using ERXEOControlUtilities.editableInstanceOfObject() then the problem comes back

Re: Question about 1-to-many relationship

2011-07-07 Thread Ramsey Gurley
Hi Ricardo, I've never had the problem you are seeing, but it sounds interesting. I see in ERXEOControlUtilities.editableInstanceOfObject that willRead() is called on the EO immediately after localInstance... it would be interesting to know if this solves the problem as well. Ramsey On Jul 7,

Re: Question about 1-to-many relationship

2011-07-07 Thread Ricardo J. Parada
I have the to-many delete rule set to "Cascade". I changed it to "No Action" but it was still misbehaving. BUT, I think I figured it out. Let me tell the whole story. :-) I inserted the document object into an editing context. This document has no children in the to-many relationship yet an

Re: Question about 1-to-many relationship

2011-07-07 Thread Chuck Hill
Hi Ricardo, On 2011-07-07, at 1:52 PM, Ricardo J. Parada wrote: > Hi All, > > I feel odd asking this. It used to be that if I had a to-many relationship > named "foos" and the relationship was setup in the entity modeler to own the > destination objects, then removing objects from the relati

Re: Question about Monitor & wotaskd on Mac OS X

2011-06-20 Thread Pascal Robert
Le 2011-06-19 à 18:44, P Teeson a écrit : > I am in the process of installing the Eclips + friends dev environment on my > Snow Leopard 10.6.7 box. > I'm following the instructions at > . > I am at the step in the instruc

Re: Question about Monitor & wotaskd on Mac OS X

2011-06-19 Thread P Teeson
On 2011-06-19, at 9:03 PM, P Teeson wrote: > At this point I don't know if it's a split install. > By split install I assume you mean the WO app implementation is split between > the server and the client. > i.e. Java code on the client as well as on the server. Please correct me if I > am wrong

Re: Question: Where/what fails with webobjects 5.4.3 on older system?

2011-05-12 Thread Chuck Hill
On May 12, 2011, at 9:26 AM, Greg Brown wrote: > Inquiring minds want to know. > > Assuming one builds a wo 5.4.3 app, with all needed jars bundled in the app, > what would happen if trying to run that bundle of joy on an older jdk 1.5 > system like Tiger? That will be fine as long as you don

Re: Question: Where/what fails with webobjects 5.4.3 on older system?

2011-05-12 Thread John Huss
1.5 is fine, you just have to make sure all your code / libraries are compiled with 1.5 as the target. John On Thu, May 12, 2011 at 11:26 AM, Greg Brown wrote: > Inquiring minds want to know. > > Assuming one builds a wo 5.4.3 app, with all needed jars bundled in the > app, what would happen if

Re: Question about concurrent request handling

2010-05-04 Thread Chuck Hill
On May 4, 2010, at 4:43 PM, Ricardo J. Parada wrote: On May 4, 2010, at 6:23 PM, Chuck Hill wrote: On May 4, 2010, at 3:17 PM, Ricardo J. Parada wrote: If I have concurrent request handling enabled and I have a query taking a long time, will other requests block when they try to access

Re: Question about concurrent request handling

2010-05-04 Thread Ricardo J. Parada
On May 4, 2010, at 6:23 PM, Chuck Hill wrote: > On May 4, 2010, at 3:17 PM, Ricardo J. Parada wrote: >> >> If I have concurrent request handling enabled and I have a query taking a >> long time, will other requests block when they try to access the database >> until the request that issued the

Re: Question about concurrent request handling

2010-05-04 Thread Tom M. Blenko
Even with concurrent request handling turned on, access to the database is serialized. Two backdoor ways of getting an additional EOF stack: Most long queries (after optimization) I've had were related to reporting. Moving the reporting to a separate application prevented the long query

Re: Question about concurrent request handling

2010-05-04 Thread Chuck Hill
On May 4, 2010, at 3:17 PM, Ricardo J. Parada wrote: If I have concurrent request handling enabled and I have a query taking a long time, will other requests block when they try to access the database until the request that issued the long query finishes? They will block if they attempt

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: Question about ERAttachment.

2010-02-16 Thread Mike Schrag
i would assume that "later" is an unbounded value. i'm not actively working on it ... On Feb 16, 2010, at 6:11 PM, Johnny Miller wrote: > Sorry, hit the reply instead of reply all... > > OK, so if you want the thumbnailing functionality you need to layer it on > yourself. In the docs it stat

Re: Question about ERAttachment.

2010-02-16 Thread Johnny Miller
Sorry, hit the reply instead of reply all... OK, so if you want the thumbnailing functionality you need to layer it on yourself. In the docs it states "Later versions will support generating thumbnails in addition to the original image." Is this in the "works" or should I just assume that it's

Re: Question about ERAttachment.

2010-02-16 Thread Mike Schrag
keep questions on the list, please if you set the scale factor on the attachment upload, it will scale it permanently. if you set the scale on the viewer, it will just do html scaling (and send the full sized version) -- it does _not_ thumbnail it on the fly. ms On Feb 16, 2010, at 5:13 PM, Jo

Re: Question about ERAttachment.

2010-02-16 Thread Mike Schrag
the only thing ERAttachment needs is the original two tables (primary one and the one for blob data). on your side, you would need the foreign key id ... you can extend ERAttachmentMigration to do that. ms On Feb 16, 2010, at 4:35 PM, Johnny Miller wrote: > WOW. That's really a new paradigm

Re: Question about ERAttachment.

2010-02-16 Thread Johnny Miller
WOW. That's really a new paradigm from the way I've been doing things. So, to get started I'm going to keep things simple and just use the to-one attachment. I'm also using the file system storage type with the web server directly serving the files. In that set up will anything be created in

Re: Question about ERAttachment.

2010-02-16 Thread Johnny Miller
That makes a lot of sense and I think I'm going to go the route you described. On Feb 16, 2010, at 11:24 AM, David Holt wrote: > Hi Johnny, > > On 2010-02-16, at 1:13 PM, Johnny Miller wrote: > >> Hi, >> >> I've been using ERAttachment's image processor but on a new project I'm >> going to tr

Re: Question about ERAttachment.

2010-02-16 Thread David Holt
Hi Johnny, On 2010-02-16, at 1:13 PM, Johnny Miller wrote: > Hi, > > I've been using ERAttachment's image processor but on a new project I'm going > to try out using the entire framework i.e. all the automagic file handling > wonderment. > > A question on modeling the attachments. > > When y

Re: Question about ERAttachment.

2010-02-16 Thread Mike Schrag
whether you choose a to-one or a many-to-many depends on whether you want one attachment or many ... if you have company.logo it's a to-one to attachment, with no inverse relationship. if it's gallery.photos then it's a many-to-many with no inverse relationship from attachment. On Feb 16, 2010,

Re: Question on ERXEC

2009-08-17 Thread David LeBer
properties. -Original Message- From: David LeBer To: Runyan, Darich Cc: ''Webobjects-dev@lists.apple.com' ' Sent: 8/17/2009 10:26 AM Subject: Re: Question on ERXEC On 17-Aug-09, at 10:19 AM, Runyan, Darich wrote: How does one go about fully using Wonder? Is t

RE: Question on ERXEC

2009-08-17 Thread Runyan, Darich
Does Wonder use a properties file of its own or do I just drop those properties in Resources/properties? -Original Message- From: David LeBer To: Runyan, Darich Cc: ''Webobjects-dev@lists.apple.com' ' Sent: 8/17/2009 10:26 AM Subject: Re: Question on ERXEC On 17

Re: Question on ERXEC

2009-08-17 Thread David LeBer
: 8/17/2009 9:55 AM Subject: Re: Question on ERXEC On 17-Aug-09, at 9:37 AM, Runyan, Darich wrote: I have been looking into using ERXEC as the editing context for the next app that I am planning. My question is what is the best way to use it. Is there a way to make the ERXEC the default context

RE: Question on ERXEC

2009-08-17 Thread Runyan, Darich
Sent: 8/17/2009 9:55 AM Subject: Re: Question on ERXEC On 17-Aug-09, at 9:37 AM, Runyan, Darich wrote: > I have been looking into using ERXEC as the editing context for the > next app > that I am planning. My question is what is the best way to use it. > Is > there a way to m

Re: Question on ERXEC

2009-08-17 Thread David LeBer
On 17-Aug-09, at 9:37 AM, Runyan, Darich wrote: I have been looking into using ERXEC as the editing context for the next app that I am planning. My question is what is the best way to use it. Is there a way to make the ERXEC the default context so that calls to deaultEditingContext give y

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 7:22 AM, Francesco Romano wrote: On 21/lug/09, at 16:16, Chuck Hill wrote: On Jul 21, 2009, at 6:57 AM, Francesco Romano wrote: I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job..

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 6:57 AM, Francesco Romano wrote: I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job.. I'm a student and I'm doing a favor to my father... So... I'm open to every advices, even not relat

Re: Question about fetching

2009-07-21 Thread Pascal Robert
Le 09-07-21 à 09:57, Francesco Romano a écrit : I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job.. I'm a student and I'm doing a favor to my father... So... I'm open to every advices, even not related to

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 3:19 AM, Francesco Romano wrote: Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingcontext. No. An EOEnterpriseObject has scope in an EOEditingContext, each is a unique Java Object. An E

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 12:56 AM, Francesco Romano wrote: Hi.. This is a simple (and maybe stupid) question. No. :-) I'm doing an application (an e-commerce application.. maybe wo is not the best choice, but I know java better than ruby..), and I've some pages accessed with directaction. M

Re: Question about fetching

2009-07-21 Thread Francesco Romano
I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job.. I'm a student and I'm doing a favor to my father... So... I'm open to every advices, even not related to WO. Now, my ideas (maybe I've already written thi

  1   2   3   >