Hi Guido,
Thanks for this very illuminating data point.
deepak
On Jul 27, 2006, at 11:53 AM, Guido Neitzer wrote:
On 27.07.2006, at 20:26 Uhr, Deepak Nulu wrote:
Thanks for your response. I am glad to hear that "the difference
is not one that ought to invoke fear in your when choosing an
Further to my post, here's an interesting article I found about why using Prepared Statements are good and how to use them properly:http://www.theserverside.com/tt/articles/article.tss?l=Prepared-StatmentsThanks, Brendan Duddridge
Hi,Has anyone done any work to optimize the way EOF saves to the database?To be more specific, I was wondering if it would be possible to coerce EOF to use prepared statements instead of individual statements for each operation?So instead of:INSERT INTO table1 (col1, col2) values (1,2);INSERT INTO
I just store booleans in a one character field (which you should
define as a protoype in EOModeler in the EOPrototypes entity as Value
Class NSString, Value Class (Java) String, external type char, width
1, in case this definition ever needs to change).
Then the code looks like:
st
That's a good document to read. It solves my problem and now it works like a
charm.
Thank you, Chuck!
On 7/26/06 5:34 PM, "Chuck Hill" <[EMAIL PROTECTED]> wrote:
>
> On Jul 26, 2006, at 5:28 PM, Xia, Wen wrote:
>
>> Hi all,
>>
>> Recently I created a Direct to Web Service application, and
WOResourceManager only caches the image data for the first request.
If something on your page is causing the request to be re-issued,
that would explain it. Is there a meta-refresh tag? Some bad HTML?
You can override dispatchRequest in Application to log the request
URI. This is a goo
Hi, I am trying to use WOActiveImage to display one of two images which
is being decided in the java class by the variables method. So the
variable either returns the data of one image or the other. It works
okay on safari but not in anything else(firefox, explorer, etc.). This
is what shows
David,
I use Apache's HttpClient class for this. Here is an old article I
wrote on it:
http://homepage.mac.com/kelleherk/iblog/C149402102/E773353034/index.html
HTH,
Kieran
On Jul 27, 2006, at 7:36 AM, David Griffith wrote:
Hi all,
I want to allow a user to enter details into a HTML Form
On 27.07.2006, at 20:26 Uhr, Deepak Nulu wrote:
Thanks for your response. I am glad to hear that "the difference is
not one that ought to invoke fear in your when choosing an
implementation" :-).
I've switched an application which does about 40k page views per day
from an old G4 from comp
Hi Chuck,
Thanks for your response. I am glad to hear that "the difference is
not one that ought to invoke fear in your when choosing an
implementation" :-).
deepak
On Jul 27, 2006, at 10:45 AM, Chuck Hill wrote:
Hi,
On Jul 27, 2006, at 9:23 AM, Deepak Nulu wrote:
Hi David,
Thanks
On Jul 27, 2006, at 12:44 PM, [EMAIL PROTECTED]
wrote:
Subject: Re: WOHTTPConnection & WORequest
To: "Jerry W. Walker" <[EMAIL PROTECTED]>
Hi Jerry,
Well, I have no control over the other website. What I need to do is
this:
In my own WO App, I have a page which displays some information
Hi,
On Jul 27, 2006, at 9:23 AM, Deepak Nulu wrote:
Hi David,
Thanks for your quick response (and for your articles in your
blog). I did learn from your articles that direct actions have
static bookmarkable URLs.
But I was wondering if:
(1) I did not need static bookmarkable URLs, and
Ken, thanks for understanding my pain. I am in the situation that you
described. However, I think that I may have found a delegate entry
point to trap the fault.
If I use the databaseContextShouldFetchObjectFault, I am hoping that I
can get enough information from the fault to determine if it is
Hi, David,
From the responses to your last post to this list, it sounds like
Robert Walker has what you're looking for. I'll back out of the loop
unless his code isn't what you're looking for. Though, since he's
from the Walker clan, I don't see how it could fail to satisfy. :-)
Regards,
David,If you are interested send me a request "off-list" and I can provide you with example code that does exactly what your are trying to do. My sample code uses some Apache commons libraries, to make it more flexible, and to provide support for submitting the request to secured (SSL, TLS) forms.
On 27 Jul 2006, at 17:43, David Griffith wrote:
Hi Jerry,
Well, I have no control over the other website. What I need to do
is this:
In my own WO App, I have a page which displays some information
from the database about a domain name and who it is associated with.
I would like to hav
See if this helps some:
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Modeling/
Booleans
On Jul 27, 2006, at 12:42 PM, Theodore Petrosky wrote:
I am relatively new to WO and I don't understand how
to handle boolean values. I am just starting to play
with a database (postgresql) that
Hi Jerry,
Well, I have no control over the other website. What I need to do is
this:
In my own WO App, I have a page which displays some information from
the database about a domain name and who it is associated with.
I would like to have a button on that page that can be clicked which
I am relatively new to WO and I don't understand how
to handle boolean values. I am just starting to play
with a database (postgresql) that I normally access
from a cocoa app that I wrote.
When I use EOModeller to reverse engineer the
table(s), the booleans come across as NSNumber class.
however p
Hi David,
Thanks for your quick response (and for your articles in your blog).
I did learn from your articles that direct actions have static
bookmarkable URLs.
But I was wondering if:
(1) I did not need static bookmarkable URLs, and
(2) I needed a session to track user state, and
(3) I am
Hi, David,
Whew! If I understand you correctly, I'm not sure that's doable, and
if it is, would require a greater network knowledge than my own. So,
here's your requirement as I infer it:
From a WebObjects application at www.xxx.com, you created and sent
out a response to John Smith's br
On Jul 27, 2006, at 10:17 AM, [EMAIL PROTECTED]
wrote:
From: [EMAIL PROTECTED]
Subject: NSTimestamp calculations?
Whats the easiest way to subtract NSTimestamps from each other?
The methods getMinutes() etc both from NSTimestamp and Date are
unfortunately deprecated :-(
The getTime()
Hi Jerry,
Thanks for the detailed response. Actually I am already aware of all
of this and no I don't find the answer patronising as it is great to
see someone answer any question in such detail!
However, what I am trying to do is this:
On a WOComponent that already exists and contains a
You can use getTime()
[EMAIL PROTECTED] schrieb:
Whats the easiest way to subtract NSTimestamps from each other?
The methods getMinutes() etc both from NSTimestamp and Date are unfortunately
deprecated :-(
___
Do not post admin requests to the list.
First off, you can not reply to another message and change the subject - it messes up people who view by thread, and also screws up the archived version of the list.To answer your question, there are a few ways. If I have minutes or hours that I want to add or subject from an existing timestamp, I
Whats the easiest way to subtract NSTimestamps from each other?
The methods getMinutes() etc both from NSTimestamp and Date are unfortunately
deprecated :-(
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
Anjo,
Unfortunately, that's not always possible. On my last big project,
EOF came long after the database schema was defined and in-use. It's
not uncommon for there to be a primary row, with multiple optional
rows, all with the same primary key. This was considered normal and
acceptabl
Hi, David,
Are you asking how to submit a form to a WOApplication from one of
its WOComponents? Or are you asking for something much more involved?
If your question is the former, then do the following:
* Create a WOForm in your WOComponent.
* Embed all the WOForm elements that take for
On 26-Jul-06, at 11:11 PM, Deepak Nulu wrote:
Hi,
The first part of David LeBer's articles on Direct Actions (http://
david.codeferous.com/?p=63) says the following about component
actions:
"each visitor will receive a relatively heavyweight Session
object, so they may not be approp
Hi Paul,
Because ultimately I will be submitting values that are already part
of the WO app and will be parsing the response to get the various
values I need. I do not want the user to see the actual response
page, only the pieces that I will extract from the response.
Kind regards,
Davi
On Jul 27, 2006, at 1:15 AM, [EMAIL PROTECTED]
wrote:
From: Roy <[EMAIL PROTECTED]>
Subject: Re: Re: Web Services - A newbie
To: "Mike Schrag" <[EMAIL PROTECTED]>
Hi Mike,
Thanks a lot for the help. I really got a starting point. But I am
having a strange problem,
I followed to the point w
On Jul 27, 2006, at 7:36 AM, David Griffith wrote:
Hi all,
I want to allow a user to enter details into a HTML Form (in a
WOComponent) and when they click the Submit button, I would like to
open a connection to a standard HTTP server with a specific URL and
pass it the form values that the
Hi all,
I want to allow a user to enter details into a HTML Form (in a
WOComponent) and when they click the Submit button, I would like to
open a connection to a standard HTTP server with a specific URL and
pass it the form values that the user entered. Can someone tell me
an easy way to
OmniGraffle? But from my experience this ER view is only usable for a
*very* small amount of entities in the first place. I´d rather use
EOGenerator or the other thing from rubycode to create textual docs.
Cheers, Anjo
Am 27.07.2006 um 11:35 schrieb Amedeo Mantica:
How to print it on paper
How to print it on paper (my model is very large) and bot EOModeler
and Xcode are unable to manage it
Suggestion ?
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Hel
EOModeler use JVM 1.1.8 so make sure postgres.jar run with this.
I use normally two different JDBC drivers.
The one for EOModeler in C:\Apple\Library\Java and one in the extension
dir.
[EMAIL PROTECTED] schrieb:
Thanks!
I added the jar file explicitly within this plist file now.
Still no
Thanks!
I added the jar file explicitly within this plist file now.
Still no luck. I still get the same error message.
Within the error message it now even mentions the new addition within the
classpathC:/Apple/Library/Java/Extensions/postgresql.jar in the end... and
that is where the file
On Windows you need to add the jar's to
%NEXT_ROOT%\Library\Java\JavaConfig.plist.
But, I have never tried postgresql under Windows.
[EMAIL PROTECTED] schrieb:
When I try to show data within the EOModeler, I get an error message
as it can not find the driver 'org.postgresql.Driver' in the Java
When I try to show data within the EOModeler, I get an error message
as it can not find the driver 'org.postgresql.Driver' in the Java Runtime.
I put the postgresql.jar in the following directories:
- %JAVA_HOME%\lib
- %NEXT_ROOT%\lib\java
- %NEXT_ROOT%\lib\java\extensions
- %NEXT_ROOT%\libraray\
39 matches
Mail list logo