Re: Can I use WOMultipartIterator API in WOComponent action methods?

2008-08-07 Thread Shravan Kumar. M
Thanks for your response Lachlan Deck. You are right! I can use context().request().formValues(), but as I said in my earlier email, I get image data from request which I cannot read from context().request().formValues() and is only available by iterating over WOMultipartIterator API. Hence, i

Re: Inheritance and relationships

2008-08-07 Thread Lachlan Deck
On 08/08/2008, at 3:05 PM, Guido Neitzer wrote: I'm running into a weird issue here and was thinking that this was supposed to work. In my model I have a AppUser entity which is a subclass of Person. Now, if I have a relationship on some other object, lets say "createdBy", and this points

Re: Entity Modeler: Reverse engineering of a FrontBase db?

2008-08-07 Thread Will Scheidegger
O.k., I did add ERPrototypes to the project - and restarted Eclipse. Now I can select EOJDBCFrontBasePrototypes from the Prototype pop-up menu. Still, when I do reverse engineering, all the attributes are missing the value class. So I'm still missing something, but what? Thanks for the help!

Re: Openbase caching/time to live

2008-08-07 Thread Chuck Hill
On Aug 7, 2008, at 10:10 PM, Shelley Eitzen wrote: Hi All, We are looking at reducing the number of queries made to our Openbase database. When you look at the Openbase sql log file it appears to repeat a number of queries. Openbase are suggesting we set an objects "time to live" to be

Openbase caching/time to live

2008-08-07 Thread Shelley Eitzen
Hi All, We are looking at reducing the number of queries made to our Openbase database. When you look at the Openbase sql log file it appears to repeat a number of queries. Openbase are suggesting we set an objects "time to live" to be 10 seconds to eliminate or reduce these extra queries.

Inheritance and relationships

2008-08-07 Thread Guido Neitzer
Hi. I'm running into a weird issue here and was thinking that this was supposed to work. In my model I have a AppUser entity which is a subclass of Person. Now, if I have a relationship on some other object, lets say "createdBy", and this points to the Person, it doesn't work when it is

Re: Exception only when framework is embedded

2008-08-07 Thread Art Isbell
On Aug 7, 2008, at 5:00 PM, Chuck Hill wrote: On Aug 7, 2008, at 7:06 PM, Art Isbell wrote: For some reason, a wocommon.Session is being created rather than a waldo.Session when the WOCommon framework is embedded. WTF?! Indeed. I just had the opposite problem: it would not run in Eclip

Re: Exception only when framework is embedded

2008-08-07 Thread Mike Schrag
I think it did not make it into 5.4.2. I just got bit but this the other day after changing to embedded frameworks. Session _and_ Main. I started to write a follow to point out that while you can do this override to fix session, it's not a general fix, because really anything that is resolv

Re: Exception only when framework is embedded

2008-08-07 Thread Chuck Hill
On Aug 7, 2008, at 8:07 PM, Mike Schrag wrote: When the WOCommon framework isn't embedded but is otherwise identical as best I can tell, session() returns a waldo.Session. For some reason, a wocommon.Session is being created rather than a waldo.Session when the WOCommon framework is embe

Re: Exception only when framework is embedded

2008-08-07 Thread Mike Schrag
When the WOCommon framework isn't embedded but is otherwise identical as best I can tell, session() returns a waldo.Session. For some reason, a wocommon.Session is being created rather than a waldo.Session when the WOCommon framework is embedded. WTF?! Welcome to an awesome bug with framew

Re: Exception only when framework is embedded

2008-08-07 Thread Ramsey Gurley
Hi Art, I was reading through old list archives, and I saw a post from March '08 that seems relevant. http://www.mail-archive.com/webobjects-dev@lists.apple.com/msg18076.html So, perhaps it's a bug in NSBundle causing your issues? Ramsey On Aug 7, 2008, at 10:06 PM, Art Isbell wrote: Ec

Re: Exception only when framework is embedded

2008-08-07 Thread Chuck Hill
Hi Art! On Aug 7, 2008, at 7:06 PM, Art Isbell wrote: Eclipse 3.3.2 WOLips 3.3.5281 Mac OS X 10.5.4 WO 5.3.3 frameworks and /Library/WebObjects/Extensions OK, I'm at wit's end (or maybe half-wit's or dimwit's end :-) :-P A non-WOnder app, Waldo, depends on a non-WOnder framework,

Exception only when framework is embedded

2008-08-07 Thread Art Isbell
Eclipse 3.3.2 WOLips 3.3.5281 Mac OS X 10.5.4 WO 5.3.3 frameworks and /Library/WebObjects/Extensions OK, I'm at wit's end (or maybe half-wit's or dimwit's end :-) A non-WOnder app, Waldo, depends on a non-WOnder framework, WOCommon. The WOCommon framework defines a class wocommon.Ses

Re: WO App written in WO 5.4 won't run on Leopard Server with WO 5.4

2008-08-07 Thread Mike Schrag
97.271% of all crazy problems with Oracle are related to having the incorrect JDBC driver for the version of Oracle you're using. Verify (by verify, I mean assume it's wrong and redownload) that the JDBC driver you're using is 1) the actual file you expect (meaning, in your classpath that

WO App written in WO 5.4 won't run on Leopard Server with WO 5.4

2008-08-07 Thread Mersida Kurti
Hi everyone, We've stumbled into yet another issue lately and I'm hoping someone has seen in before. We have switched our development and server environment to Leopard with WO 5.4.2 The applications run fine on my local machine, however, when I deploy them to the server, I get the following mess

Re: Can I use WOMultipartIterator API in WOComponent action methods?

2008-08-07 Thread Lachlan Deck
Hi Shravan, On 07/08/2008, at 2:36 PM, Shravan Kumar. M wrote: I would like iterate through this api, and retrieve form key-value pairs for my business logic processing. Basically I use a third party UI interface which obviously sends the data across to the server encoded in the HTTP Reque

Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat

2008-08-07 Thread Chuck Hill
On Aug 7, 2008, at 2:32 AM, Philippe Roud wrote: Hi Chuck, I spent some time this morning to understand the build process and try to make this process include my Properties file... I add a look at the files under woproject/ , there is no excluding pattern and there is a general including

Re: WOLongResponsePage and sessions

2008-08-07 Thread Guido Neitzer
On 07.08.2008, at 11:14, Pascal Robert wrote: But now I get "broken pipe" errors because IterationStatistiques take too much time to render. I guess I have to move some processing from IterationStatistiques to something I can call from performAction without generating any response until pag

Re: WOLongResponsePage and sessions

2008-08-07 Thread Pascal Robert
Le 08-08-06 à 11:11, Guido Neitzer a écrit : On 06.08.2008, at 07:20, Pascal Robert wrote: public Object performAction() throws Exception{ try{ os = new EOObjectStoreCoordinator();

Re: WOLips Nightly + Eclipse 3.3

2008-08-07 Thread Glenn Sequeira
Ok. Thanks. On 8/7/08, John Huss <[EMAIL PROTECTED]> wrote: > Yup. > > On Thu, Aug 7, 2008 at 9:23 AM, Glenn Sequeira <[EMAIL PROTECTED]> wrote: > >> I'm trying to install WOLips from a local repository and have >> downloaded the wolips-latest-site.tar.gz from the WOLips Nightly Build >> Server a

Re: WOLips Nightly + Eclipse 3.3

2008-08-07 Thread John Huss
Yup. On Thu, Aug 7, 2008 at 9:23 AM, Glenn Sequeira <[EMAIL PROTECTED]> wrote: > I'm trying to install WOLips from a local repository and have > downloaded the wolips-latest-site.tar.gz from the WOLips Nightly Build > Server as per the instructions outlined on the wiki > (http://wiki.objectstyle.

WOLips Nightly + Eclipse 3.3

2008-08-07 Thread Glenn Sequeira
I'm trying to install WOLips from a local repository and have downloaded the wolips-latest-site.tar.gz from the WOLips Nightly Build Server as per the instructions outlined on the wiki (http://wiki.objectstyle.org/confluence/display/WOL/Installing+WOLips). It appears that this .tar.gz is for Eclip

Re: WO 5.4.2 Prototypes and Manual Model Assembly

2008-08-07 Thread Mike Schrag
I am cloning and modifying the model in the application constructor to get a read-only model. This worked very well until I started to use WO 5.4.2 prototypes. Once I started to use prototypes, the prototypes' values are not being loaded in as the model is constructed. Looks like this pro

Re: WO 5.4.2 Prototypes and Manual Model Assembly

2008-08-07 Thread Mike Schrag
I am cloning and modifying the model in the application constructor to get a read-only model. This worked very well until I started to use WO 5.4.2 prototypes. Once I started to use prototypes, the prototypes' values are not being loaded in as the model is constructed. Looks like this pro

Re: WO 5.4.2 Prototypes and Manual Model Assembly

2008-08-07 Thread Kieran Kelleher
Hi Andrew, I have not done what you are doing, but if I was going to do it, I would think I might get some good code examples/ideas from the ERXModelGroup class in project Wonder since it does "prototype flattening" and a bunch of other useful munging trickery. HTH, Kieran On Aug 6, 200

Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat

2008-08-07 Thread David Avendasora
Hi Phil, I missed where you said it copies it properly if you modify the file. Hmmm Out of curiosity, for the project properties - "WOLips Build" settings for your project, is "Incremental" or "Ant" build selected? It should be Incremental. If that's set correctly too, then I think

Re: identified : Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat

2008-08-07 Thread Philippe Roud
Philippe Roud a écrit : Ok I found the problem, A whole bunch of shared data were fetched during launch by the didFinishLaunching() method of my application.java, and this method is not called when deployed as servlet... This was discussed on the list before, but not solved...: http://www.

Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat

2008-08-07 Thread Philippe Roud
David Avendasora a écrit : Where is your Properties file? is it in the project's Resources directory? Exactly there, in both the test project that is working and the application under porting effort. If so, you should have: Resources/**/* as one of the entries in your resources.include.patte

Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat

2008-08-07 Thread David Avendasora
Where is your Properties file? is it in the project's Resources directory? If so, you should have: Resources/**/* as one of the entries in your resources.include.patternset file. This _should_ get everything you put in Resources automatically. Dave On Aug 7, 2008, at 5:32 AM, Philippe Rou

Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat

2008-08-07 Thread Philippe Roud
Hi Chuck, I spent some time this morning to understand the build process and try to make this process include my Properties file... I add a look at the files under woproject/ , there is no excluding pattern and there is a general including pattern for files under Resources... If I do a P