How do I directly access stuff under WebServerResources?

2009-03-05 Thread Karthik N
Hi, I have resources under WebServerResources. Do you know how to access them directly? /wr/* doesn't seem to work eg. http://10.0.0.9:50675/cgi-bin/WebObjects/WOHelloWorld.woa/wr/a.html Throws a blank page Thanks, Karthik ___ Do not post admin req

Re: Why do Dynamic Elements get values from enclosing component in takeValuesFromRequest?

2009-02-26 Thread Karthik N
hi, yes absolutely - i tried some experiments and the get() gets called before the set() whenever the values change. here's what's puzzling me - i find that when the value doesn't change the get()'s never called! for WO to know that the value has changed it would have to fire a get() every time wo

Why do Dynamic Elements get values from enclosing component in takeValuesFromRequest?

2009-02-25 Thread Karthik N
Hi, Out of curiosity, I have been trying to understand the request-response loop. I have a fairly simple WO Component that has a WOTextField in it. Please enter your name: In the .java file I just print the stack trace as follows to understand the flow: public String getUserName() { Except

Re: Hibernate

2009-02-25 Thread Karthik N
Inline ... > > 1. the Session doesn't need to be tightly bound. unlike EOEditingContext >> that's tightly bound to the EOObjectStoreCoordinator >> > I'm not exactly sure what you mean here, or what you the desired features > would be if you could "unbind" an EC from an OSC? You can obviously ju

Re: Hibernate

2009-02-25 Thread Karthik N
Hi All, While the tone of the emails does sound in favor of EOF, could you please share some concrete instances and examples of why Hibernate doesn't cut it for you? Some of the aspects about Hibernate that I thought were different than EOF [in a good way] 1. the Session doesn't need to be tightl

Bookmarkable URLs, DirectAction and getting rid of wosid??

2009-02-22 Thread Karthik N
Hi, I have the simplest "WOHelloWorld" app where I am not able to get rid of the wosid from the DirectAction URL. Here's what I have 1. Main.html has 2. Main.wod has SomeDirectAction : WOHyperlink { string = "Click Me"; directActionName = "Main"; } 3. I have implemented this on DirectActi

Re: WO 5.4, Ajax polling and multi-threading questions

2009-02-18 Thread Karthik N
Hi Mike, Thanks for your insights on EOF and locking. Makes most interesting reading, and hopefully implementing someday soon. However, in the short-term I need to get the ajax stuff to "just work" in the existing WOA architecture. This would mean that changes to EOF would not happen. What I'm

Re: WO 5.4, Ajax polling and multi-threading questions

2009-02-18 Thread Karthik N
hi mike, > > please keep threads on the list ... > apologies, when i hit Reply in Gmail i expected the Reply To would to the list! you're absolutely right in your understanding of my problem statement. we have WO applications that we run single-threaded because "somebody told somebody years a

WO 5.4, Ajax polling and multi-threading questions

2009-02-18 Thread Karthik N
Hi All, I'm hoping we can seek some of advice on a WO Java 5.4 app and multi-threading. Some background: - This is a WO Java web app that uses EOF to persist data in oracle - This app has to be enhanced to support a new feature that's going to need a lot of Ajax polling - This Ajax polling has n

WO 5.4 - can I multi-thread a WO app that uses EOF

2009-02-05 Thread Karthik N
Hi, I'm a WO 5.4 newbie. We have a WO app that uses EOF for db access. I believe this makes the WO inherently single-threaded. We have this new requirement wherein, we want to have a thread-pool via java Executor within this WO app for non-EOF purposes to perform some asynchronous background tas