I'm using quite the same environment as Stefan without any problems.
If you still want to use WOBuilder (albeit it's obsolete), some tweaks on the
default project structure in eclipse have to be made (it has to be as flat as
possible - Java Files and Components in the same directory). I'm even u
>>> Chuck Hill schrieb am Donnerstag, 23. September
>>> 2010
um 08:25 in Nachricht
<7abe3bd8-8f72-4914-a19e-aa6161f81...@global-village.net>:
>
> On Sep 22, 2010, at 11:18 PM, Andri vonAllmen wrote:
>
> > Hi List,
> >
> > I'd like
Hi List,
I'd like to call a direct action method using XMLHttpReqest in a JavaScript.
The snippet below shows how the request is made:
var xmlHttp;
xmlHttp=new XMLHttpRequest();
xmlHttp.open("GET",
"/cgi-bin/WebObjects/[APP_NAME].woa/wa/[CLASS_NAME]/[METHOD_NAME]?wosid=[SID]",
true);
xmlHttp.s
rowser. I think this is it.
Even if I haven't deserved one, I'll go for a ice cream now.
Sorry for the waste of time.
>>> "Andri vonAllmen" schrieb am Mittwoch, 14. Juli
2010 um 11:04 in Nachricht
<4c3d99d00277a...@srv-brisi.cag.cedes.com>:
>
>&g
>>> Chuck Hill schrieb am Dienstag, 13. Juli 2010 um
16:17 in Nachricht <9babf87a-e80c-4fe7-ad88-a62528b6a...@global-village.net>:
> On Jul 13, 2010, at 1:59 AM, Andri vonAllmen wrote:
>
>> Hi List,
>>
>> some users like to double-click everything
Hi List,
some users like to double-click everything (or they have some kinetic tremor or
whatever). This produces a lot of messages like the one shown below:
[2010-07-13 10:44:19 CEST] Exception while
sending response: java.net.SocketException: Connection reset by peer: socket
write error
I
Since the entity name and the primary key are known on the target side,
EOUtilities.faultWithPrimaryKeyValue(yourEditingContext, "yourEntity",
yourPrimaryKey) will do the job.
PS (again): But since I can't get no sleep because of the olympic
games, I may have entirely missunderstood the actual cru
Threads with "state = BLOCKED" are indicating that they have been
suspended (Object.wait). It's not a deadlock or something. If required,
they will be resumed and suspended again as soon as their work is done.
But they will not be terminated until the application is going to
terminate.
You can use
schrieb am Mittwoch, 14. Oktober 2009
>>> um
15:18 in Nachricht <2a345bc9-7581-4c6c-82ab-89e761ee3...@mdimension.com>:
> Can you explain this more in terms of the end result you're trying to
> achieve rather the approach you're trying at the moment?
>
> On O
Hi Kristof,
there is no such mechanism as far as I know. Instead of terminating the
threads that are idling, they are suspended, in order to be resumed if
required.
They could be self-terminating, but creating a new thread is quite
resource intensive and it is better to reuse existing threads (in
27;t what exactly you want do, but have a look on API Session :
> restorePageForConextID, savePage, savePageInPermanentCache.
> You can start to override this API and just log, to understand how
> WebObjects works with pages and contextIDs.
>
> HTH,
> Stephane
's maintenance of page state. I am surprised
>> this does not cause more issues for you.
>>
>> Why are you doing this? It seems like a rather bad idea.
>>
>>
>> Chuck
>>
>>
>>
>> On Oct 13, 2009, at 1:29 AM, Andri vonAllmen wrote:
&
Dear List,
in an Applications Session, a NSMutableDictionary object is used for
"caching" pages. Everytime the "pageWithName" method is called, the
dictionary is queried in order to determine if the requested page does
already exist, if true the existing page is returned, else a new one is
generat
Hi Gustavo,
"approximate string mathcing" is the keyword.
The most performant method is (most likely) achieved by using the
Levenstein-Algorithm (you'll find many examples for this one, e.g.:
http://www.merriampark.com/ld.htm#JAVA).
Another one would be the Boyer-Moore Algorithm (in one of its m
Hi Amiel,
As already mentioned, the database has to make the assuption, that
there may be 0..n 'State' records for a 'Seo' record. Hence, you have to
handle the relationship like a to-many relationship.
In other words: First, all 'State' records for a given 'Seo' record
have to be fetched, secon
ot;);
strDirectory = strFile.substring(0, intPos);
alert(strFile + '\n\n' + strDirectory);
return false;
}
Found on:
http://forums.aspfree.com/web-layout-43/browse-button-in-html-for-directory-selection-alone-not-file-36330.html
>>> "Andri vonAllmen" Dienstag, 11. Aug
Hi List,
I'm (still) working with WebObjects 5.2 and can't figure out how to do
the things mentioned below:
First, a file type filter for th WOFileUpload component is required. I
tried to add a "accept" property to its bindings with "text/html" (for
example) as value, but that has no effect.
Hi,
Because you mentioned this new job position, here is another one (also in
Switzerland):
http://www.espros-photonics.com/Versions/Europe/English/jobs_1.html#Software-Engineer
for Business Applications
>>> Pascal Robert Donnerstag, 16. Juli 2009 03:10 >>>
Hello,
I just posted, on wocommu
>>> Chuck Hill schrieb am Mittwoch, 6. Mai
2009 um 18:51
in Nachricht
<36e65792-ee54-44bc-9df9-d1676603b...@global-village.net>:
> On May 5, 2009, at 11:33 PM, Andri vonAllmen wrote:
>
>> Hi Chuck,
>>
>> thanks again for your efforts.
>>
>> &
= newEditingContext.faultForGlobalID(globalID,
newEditingContext);
}
}
return result;
}
---
Andri
>>> Chuck Hill Dienstag, 5. Mai 2009 17:12
>>>
On May 5, 2009, at 5:30 AM, Andri vonAllmen wrote:
> > There is something going on that you are not telling u
ay be cumbersome for lots of attributes and
relationships)
...
That isn't nice, since every object is stored twice (for a short time
only indeed) in the database, but it works.
Andri
>>> Chuck Hill Freitag, 1. Mai 2009 16:50
>>>
On May 1, 2009, at 5:07 AM, Andri vonAllm
ibutes values...
Andri
>>> Chuck Hill Mittwoch, 29. April 2009
19:09 >>>
Hi Andri,
On Apr 29, 2009, at 5:19 AM, Andri vonAllmen wrote:
> 'loha folks,
>
> short: How do i migrate data, fetched from a temporary table, from
> one editing context into another
Hi Gordon,
thanks for your response. Unfortunately the local instances of the
objects are null too.
Regards
Andri
>>> Gordon Belray Mittwoch, 29. April 2009
15:46 >>>
Hi Andri,
try using
EOEnterpriseObject result =
(EOEnterpriseObject)EOUtilities.localInstanceOfObject(newEditingContext,
'loha folks,
short: How do i migrate data, fetched from a temporary table, from one
editing context into another?
Details below...
The situation is as follows:
First, data are inserted into a temporary table (Oracle 8i) by using a
stored procedure. Then, in the same procedure, these data ar
cts developer very rarely, if
ever, deals with) from untrusted input and executing it using
EOUtilities.rawRowsForSQL, then *you* are Bleeding Obviously creating a
security vulnerability in *your* application ;-)
What exactly are you trying to accomplish?
On Mar 17, 2009, at 10:17 AM, Andri
'loha Folks,
I'm searching for a possibility to prevent the
'NSUtilities.rawRowsForSQL()' method from making changes in the
database. For me, it seems to be the wrong way to search for SQL
Statements (like ALTER, CREATE, DROP, INSERT, UPDATE, etc.) that may
change something before executing the me
Hi folks,
when redirecting to a WOLongResponsePage in 'appendToResponse' by using
the WOResponses 'setContend' method (as shown below), the
WOLongResponsePage does not work properly. The page is shown indeed and
'performAction' is called once (by the WOLongResponse mechanism), but
the page does n
Hi Folks,
because the Timezone information was obsolete, i recently updated the
Java Timezone data from 'tzdata2003a' to 'tzdata2008g' by using
'tzupdater.jar'.
NSTimezone example for Asia/Shanghai:
System.out.println("* Timezone = " +
NSTimeZone.timeZoneWithName("Asia/Shanghai", true) +
Hi,
a EOFetchSpecification that locks objects and throws an exception on
any other access trials (SELECT, UPDATE, whatever) is required. The
behaviour should be the same as the SQL Statement 'SELECT FOR UPDATE NO
WAIT'.
For locking objects ('SELECT FOR UPDATE') the EOFetchSpecifications
method
29 matches
Mail list logo