Re: Many to many relationship... some problem

2009-08-07 Thread Ray Kiddy
On Aug 4, 2009, at 6:16 AM, Francesco Romano wrote: And.. if I change to this ? Product <->> LineItem <<-> Cart And Cart is linked to: Cart <<-> Customer Cart <-> Order The customer and order foreign keys are both optional and both inside the Cart Entity. So.. if a user want to save a cart

Missing Contents in Resource Manager / URLs

2009-08-07 Thread gnuloki
Just solved a problem that's I've been banging my head against. PROBLEM: The resource manager is leaving off the Contents component of the name when loading the resources into memory. For the most part everything will function fine unless you have static files in the WebServerResources. The pr

Re: WebObjects and Security in case of a physical breach

2009-08-07 Thread Miguel Arroz
Hi! Just to mention performance: I didn't run any tests before and after encrypting my drive. Anyway, during normal usage, I didn't notice any slowdown compared to before, although this 5400 rpm portable drives are terribly slow for themselves. The PGP process rarely takes more than 2 o

Re: WebObjects and Security in case of a physical breach

2009-08-07 Thread David Holt
On 7-Aug-09, at 11:06 AM, Miguel Arroz wrote: Hi! You can use PGP Whole Disk Encryption. Great minds think alike :-) Thanks for explaining your experience, Miguel! David I use it on my MacBook Pro and it's perfect so far. The only problem is that it requires a password to be inserted

Re: WebObjects and Security in case of a physical breach

2009-08-07 Thread David Holt
On 7-Aug-09, at 10:07 AM, David Holt wrote: Hi all, I am looking for suggestions for how to lock down data and files associated with my WebObjects application on a MacOS X 10.5.8 box in case someone physically walks away with the box. We have biometric encrypted external harddrives for r

Re: WebObjects and Security in case of a physical breach

2009-08-07 Thread Miguel Arroz
Hi! You can use PGP Whole Disk Encryption. I use it on my MacBook Pro and it's perfect so far. The only problem is that it requires a password to be inserted *before* the system boots (as the OS itself is encrypted). If you have easy access to your server, that's not a problem. If not,

WebObjects and Security in case of a physical breach

2009-08-07 Thread David Holt
Hi all, I am looking for suggestions for how to lock down data and files associated with my WebObjects application on a MacOS X 10.5.8 box in case someone physically walks away with the box. We have biometric encrypted external harddrives for rotating off-site backup, but now we are turni

git presentation

2009-08-07 Thread Mike Schrag
off-topic, but this is one of the github guys presenting on git in a couple weeks -- thought other people might be interested in it: http://www.oreillynet.com/pub/e/1394 ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-

Re: Multiple EO classes inheriting from one abstract superclass? - Resolved. . . apparently

2009-08-07 Thread Andrew R. Kinnie
OK, I ended up doing what Anjo suggested (with Dave's help) and modified our entity template to look for a user info tag and if it exists, use that as the super class. I removed the abstract entity from the model and just provided that path to the one I previously had modeled and generated

Re: Many to many relationship... some problem

2009-08-07 Thread Ricardo J. Parada
I see... mmm... I would add a foreign key... Every time I have tried to model this kind of relationship without a foreign key it ends up being problematic. I don't recall the details much though. On Aug 7, 2009, at 11:00 AM, Francesco Romano wrote: But it's the primary key of Cart...

Re: Many to many relationship... some problem

2009-08-07 Thread Francesco Romano
But it's the primary key of Cart... Francesco On 07/ago/09, at 16:29, Ricardo J. Parada wrote: On Aug 7, 2009, at 4:09 AM, Francesco Romano wrote: The relationship order is optional but the attribute id does not allow nulls. I think you need to make the foreign key 'id' in cart option

Re: Many to many relationship... some problem

2009-08-07 Thread Ricardo J. Parada
On Aug 7, 2009, at 4:09 AM, Francesco Romano wrote: The relationship order is optional but the attribute id does not allow nulls. I think you need to make the foreign key 'id' in cart optional so that it can take a null when the order relationship is null. ___

Re: Session... when are they created?

2009-08-07 Thread Mike Schrag
I didn't notice it before... Is it possible to pass an object to a Direct Action? Or I can only pass strings? sure . if you have a session :) What I want is that until a user press that hyperlink I don't want to have a session, but if the user press the link.. I need the session.. yo

Re: Session... when are they created?

2009-08-07 Thread George Domurot
Take a looks at this page: http://wiki.objectstyle.org/confluence/display/WO/Debugging+the+Request-Response+Loop In particular, update your session constructor to monitor exactly where/when sessions are being created (see code snip on page). There are cases where you end up lazily creating s

Re: Session... when are they created?

2009-08-07 Thread Francesco Romano
On 07/ago/09, at 14:08, Mike Schrag wrote: I didn't notice it before... Is it possible to pass an object to a Direct Action? Or I can only pass strings? What I want is that until a user press that hyperlink I don't want to have a session, but if the user press the link.. I need the session

Re: Multiple EO classes inheriting from one abstract superclass?

2009-08-07 Thread Andrew R. Kinnie
(Previously sent this, forgot to change the subject heading) Travis (and everyone else), Thanks. It is not really a case of it not being the same thing, all of these tables are just materialized views of data collected elsewhere. Say for example, I have a series of training classes, and hav

Re: Webobjects-dev Digest, Vol 6, Issue 712

2009-08-07 Thread Andrew R. Kinnie
Travis (and everyone else), Thanks. It is not really a case of it not being the same thing, all of these tables are just materialized views of data collected elsewhere. Say for example, I have a series of training classes, and have tables which are materialized views of the numbers of atte

Re: Session... when are they created?

2009-08-07 Thread Mike Schrag
Hi... I've 2 problems with sessions... 1) When are they created? I thought that they are created either when you call the session() method or when you use some component that need a session... I don't understand why a new session is created calling this page: "app" />

Re: Ant Classpath Problems [Duh. Fixed]

2009-08-07 Thread David Avendasora
On Aug 6, 2009, at 11:18 PM, Chuck Hill wrote: On Aug 6, 2009, at 3:09 PM, David Avendasora wrote: Hi all, I've got a weird one. :-P I have a brand new MBP that I am setting up my development environment on. Eclipse/WOLips are installed and running correctly and can build Wonder

Session... when are they created?

2009-08-07 Thread Francesco Romano
Hi... I've 2 problems with sessions... 1) When are they created? I thought that they are created either when you call the session() method or when you use some component that need a session... I don't understand why a new session is created calling this page:

Re: Many to many relationship... some problem

2009-08-07 Thread Francesco Romano
Maybe (hope) the last thing: This is my model (right now only on paper..) Product <->> LineItem <<->Cart Cart <<-> Customer Cart <-> Order Customer <->> Order So.. the tables should be: Product (...) Customer (...) LineItem (... , ProdID, CartID) (Foreign keys to Product.id and Cart.id, manda