Re: Manual syncing question

2006-09-15 Thread Kieran Kelleher
Miguel, You may write a little more code (doing the lazy initialization of bindings ) however overall it is more efficient and predictable behaviour. With auto sync, the bindings are sync'ed 6 (SIX!) times during R-R. With your lazy pulling of bindings, they are only pulled ON DEMAND and

Re: WOConditionnal strange behavior

2006-09-15 Thread Jerry W. Walker
Hi again, Gilles, I've added the information I sent you to the WO WikiBook for later reference. You can find it at: http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Applications/ Development/ General_Best_Practices#Avoid_Changing_WOComponent_Structure_Before_It_Is _Used Regards, J

Re: WOConditionnal strange behavior

2006-09-15 Thread Jerry W. Walker
Hi, Gilles, I think Ken and David have pegged the source of your problem. For a more succinct explanation, go to: http://www.wodeveloper.com/omniLists/webobjects-dev/2005/April/ msg00023.html To really understand what's going on, pay attention to the links in that message, follow the

Re: Key value coding and inner classes?

2006-09-15 Thread Chuck Hill
It will work as long as they are reached by public methods. Chuck On Sep 14, 2006, at 3:42 PM, Jean Pierre Malrieu wrote: Before I start trying it out: is there any problem doing key value coding on some inner classes of my enterprise objects? I mean, with those inner classes implementing the

Re: WOConditionnal strange behavior

2006-09-15 Thread David Holt
Hi Gilles,I believe he is saying is that you use temporary variables to store changes in the controls that affect conditionals. Then, by overriding the appendToResponse method you can set the conditional variables to the value of the temporary variables if there was a change. This allows your page

Re: Mounted volumes permission

2006-09-15 Thread Pascal Robert
SMB mounts per any luck ? Even if you change the permissions, only the user that mounted the volume will be able to write files to the mount. We have to move/write files to/from mounted disks and volumes. We always get an permission error. We are working with WO 5.3 on Mac OS X. We already did

Mounted volumes permission

2006-09-15 Thread Frank Stock
We have to move/write files to/from mounted disks and volumes. We always get an permission error.We are working with WO 5.3 on Mac OS X. We already did an chmod 777 on the destination folder.How can we solve this?Thanks,Met vriendelijke groeten - Kind RegardsFrank StockNet & Storage Solutions nvTie

Re: addObjectToBothSidesOfRelationshipWithKey still working?

2006-09-15 Thread Jean Pierre Malrieu
I have been using addObjectToBothSidesOfRelationshipWithKey reliably for years now, and since I upgraded to WO 5.3.2 ( the version that comes with XCode 2.4) I am seing strange problems. I can't believe there is bug in there... but... First, a question: from a database standpoint, is it OK to ha

Re: WOConditionnal strange behavior

2006-09-15 Thread Gilles MATHURIN
Sorry to disturb you, but my english is not that good, so i have some difficulties to understand your workaround … What I typically do is have the controls affect flags/objects that are not used in conditionals. i don't really understand what that means… may u (or anyone else who understand)

Re: addObjectToBothSidesOfRelationshipWithKey still working?

2006-09-15 Thread Jean Pierre Malrieu
Hi! Don't have time to look at your code now, but i'm massively using addObjectToBothSidesOfRelationshipWithKey on 5.3.1 and I have no problem at all. Yours Miguel Arroz Me too. But I think my problems started with 3.3.2. Sorry I meant 5.3.2. JPM

restart except saturday and sunday

2006-09-15 Thread ashenshugar62-wo
Hello I want to restart an application every day except saturday and sunday (can't be done, real constraint). Any idea ? - WebObject 5.2.4 - Windows 2003 - IIS Eric ___ Découvre

Re: WOConditionnal strange behavior

2006-09-15 Thread Gilles MATHURIN
Moreover; now i got another one strange behavior but not related to the WOConds who works now, or maybe it still is, you may tell me … In the code below, u see the NSMutableArray photoArtist ? Now i have managed to record some photos in my db, and the WOCond respond well, because "photosArtis

Re: WOConditionnal strange behavior

2006-09-15 Thread Ken Anderson
Yes. What I typically do is have the controls affect flags/objects that are not used in conditionals. Then, in appendToResponse, I set the flags that control the conditionals from those temporary variables. This way, when the form post comes back, the page still has the original structu

Re: WOConditionnal strange behavior

2006-09-15 Thread Gilles MATHURIN
Hello, this two WOConditionnals aren't in a Form, but the following WOFileUpload is. Plus, more generally, my page is composed of several forms and/or part that show and hide depending on buttons the user click, so, i think that yes the structure of the page is affected. illustration : =

Re: WOConditionnal strange behavior

2006-09-15 Thread Ken Anderson
In my experience, weird behavior like this usually stems from the object graph of the page changing from when the page was rendered to when a form post comes back. Is this inside a form? Are you modifying any state that would affect the structure of the page? On Sep 15, 2006, at 8:34 AM,

WOConditionnal strange behavior

2006-09-15 Thread Gilles MATHURIN
Hello List, i have a strange behavior with my WOConditionnal, it seems to do not work as it should. Explanation: I have a WOCond within another WOCond. Each is bind to a different boolean. WOCond n°1 : works great, it appears when his boolean resolves to true. But WOCond n°2 doesn't. It is

Re: Inter application comms

2006-09-15 Thread Dana Kashubeck
On 9/14/06 9:20 PM, Jeff Schmitz wrote: Hello all, I have a question about what the best way might be to perform inter-application communication. What I'd like to do is invoke an "internal" (i.e. not main) page of one webobjects application from another. I would also have to pass a little

Re: Database connection error (MYSQL)

2006-09-15 Thread Simon Mclean
i don't think you can (someone correct me i'm wrong!). well, you could just duplicate the project folder on your file system, but then you'll copy whatever has broken too.i'd just start with a fresh webobjects application (assuming that's what your building), rebuild all your components (as describ

Re: Database connection error (MYSQL)

2006-09-15 Thread Andrew Joso
THanks for the help   I tried to do that, but when I try to build the project, it comes up with 100 errors. It's because, WO is unable to reach some of the frameworks. What is the best way to copy the whole project to a different project? What project should I start with?   Thank you   On 9/15/06,

Re: Invalidating objects in change notification framework

2006-09-15 Thread Timo Hoepfner
Hi, I'm still fighting with the ChangeNotification stuff. Really need some help here... Somehow it appears impossible to me to go the "invalidate global IDs" route because I'm getting IllegalStateExceptions during saveChanges (see bottom of post). I made some reproduction code which repro

Re: Database connection error (MYSQL)

2006-09-15 Thread Simon Mclean
call me a cop-out, but i think i would just start over with your new project that is working. if your project isn't too huge then it won't take too long to copy your components and resources over - and it's likely to be quicker than trying to debug something like this. note that as far as i