Something I just stumbled into and want to let you know, so you might
remember reading about what the problem could be:
If you override a property in a framework (e.g. your own framework), which
is also _set_ in another framework (e.g. Wonder, ...) and it works on your
local Eclipse but doesn't wo
I had something similar with sessions going bonkers on a public WO
page that our internal google search engine completely trashed. In the
end, robots.txt and explicit rules to deny certain patterns were added
to prevent this.
On Wed, Aug 20, 2008 at 8:17 PM, D Tim Cummings <[EMAIL PROTECTED]> wro
We have a couple of sessionless apps that have started showing this
problem with sessions that don't terminate. It turned out the
sessions were being created by malformed urls coming from malicious
robot web crawlers. The urls were of the form
http://www.courses.qut.edu.au/cgi-bin/WebObje
So how is it possible that the application server can see the
> protected variables at runtime in XCode and Tomcat but not in Eclipse?
> Any insight would be appreciated.
Are you using packages in Eclipse and no packages in Xcode?
ms
doh !! Good catch !! I did not spot the difference !
Hi List,
I have made a Framework that encapsulates a number of tools that are
useful in my applications.
JavaScript Things like a popUp Calendar Date selector, prototype and
scriptaculous, overlib, RichText HTML Editor, etc.
Some of those tools have their own css and images referenced inside
I assume I don't have all of the components set properly, I'm going
about this with intuition and trying to imagine what is happening on a
lower level, since there's not much documentation for the Ajax
libraries.
This is why you need to come to WOWODC :)
I highly recommend looking at the AjaxExa
Damn. So, I was using the static fetch methods inherited from the
abstract parent fetchSummaries within my own static fetches. I
switched to using the ones from the _Parent... where it explicitly
says fetchDay/Hour/Month summaries... Maybe I should switch brands of
coffee? Or go direct
Thanks Fredik,I will try it.Do I need the LICENSE file, or it is not necessary with this approach?On Aug 20, 2008, at 2:40 PM, Fredrik Lindgren wrote:Hello Miguel!The servlet guide is old news. The new way of doing it, is much simpler. Just go to to Properties -> Select WOLips build and check "ser
Thanks for the explanation Mike.
The reason I was returning the component I want to update is that I
thought of it as the update link making a get request through an
XMLHttpRequest object, receiving a response, and injecting that
response into the html element identified by the updateContainerId.
On 20.08.08 14:26, "William Hatch" <[EMAIL PROTECTED]> wrote:
> I just tried setting the table for the abstract entity, and that
> results in a single sql statement, but unfortunately all the possible
> values for the differentiating key are all nicely OR'd together in the
> resulting where clause
On Aug 20, 2008, at 2:34 PM, Pascal Robert wrote:
"protected int dayIndex;" should be "public int dayIndex;". You get
this warning because if you're using packages (I guess you're not,
for now) your code wouldn't work. Better fix those warnings right
now so that you can use packages later
On Aug 20, 2008, at 4:06 PM, William Hatch wrote:
On Aug 20, 2008, at 2:08 PM, Chuck Hill wrote:
On Aug 20, 2008, at 10:06 AM, William Hatch wrote:
On Aug 20, 2008, at 12:15 PM, Mike Schrag wrote:
Fetches to one are resulting in generated sql to all three
types, as if I'm fetching on
On Aug 20, 2008, at 1:06 PM, William Hatch wrote:
On Aug 20, 2008, at 2:08 PM, Chuck Hill wrote:
On Aug 20, 2008, at 10:06 AM, William Hatch wrote:
On Aug 20, 2008, at 12:15 PM, Mike Schrag wrote:
Fetches to one are resulting in generated sql to all three
types, as if I'm fetching on
On 20.08.08 14:06, "William Hatch" <[EMAIL PROTECTED]> wrote:
> The sub entities all have the Parent defined as Summary (using the pop
> up) The Summary entity is abstract, and does not have a corresponding
> table set; I thought this was correct; is it? Each of the sub types
> use this as the dis
On Aug 20, 2008, at 2:08 PM, Chuck Hill wrote:
On Aug 20, 2008, at 10:06 AM, William Hatch wrote:
On Aug 20, 2008, at 12:15 PM, Mike Schrag wrote:
Fetches to one are resulting in generated sql to all three types,
as if I'm fetching on the abstract parent, which I'm not.
Is this fetching
Hello Miguel!
The servlet guide is old news. The new way of doing it, is much
simpler. Just go to to Properties -> Select WOLips build and check
"servlet deploy". Building with (Right click on build.xml -> Run As ->
Ant build) (the first), will now make a fully functional servlet.
The cat
Hi List,
I am new to WOLisp,
Last week I installed it following this tutorial
http://wiki.objectstyle.org/confluence/display/WOL/Install+WOLips+with
+Eclipse+Update+Manager
I want to tell you guys that you have done a GREAT job, I have been
working with WebObjects since 2000 and I apprecia
"protected int dayIndex;" should be "public int dayIndex;". You get
this warning because if you're using packages (I guess you're not, for
now) your code wouldn't work. Better fix those warnings right now so
that you can use packages later on.
It took a lot of work, but I have completed mos
It took a lot of work, but I have completed most of the transition of
my project from Xcode 2.x (WO 5.3) to Eclipse 3.3.2 / WOLips 3.3.5385
(WO 5.4.2). The java files are error from but still have some
warnings, mostly due to generics. The problem I am running into is
with the WO components
On Aug 20, 2008, at 3:50 AM, David Avendasora wrote:
On Aug 19, 2008, at 10:31 PM, Lachlan Deck wrote:
On 20/08/2008, at 8:24 AM, Chuck Hill wrote:
On Aug 19, 2008, at 2:07 PM, David Avendasora wrote:
On Aug 19, 2008, at 4:43 PM, Chuck Hill wrote:
On Aug 19, 2008, at 12:22 PM, David
Hi Shiva,
Please keep messages on the list so that all may benefit.
On Aug 20, 2008, at 7:54 AM, Shiv Kumar wrote:
Hi Chuck,
Thanks for the clarification.
So will the adaptor also supports lower version say 1.3 as well?
The adaptor shipped with WO 5.4 is for the Apache 2 API. The a
On Aug 20, 2008, at 10:06 AM, William Hatch wrote:
On Aug 20, 2008, at 12:15 PM, Mike Schrag wrote:
Fetches to one are resulting in generated sql to all three types,
as if I'm fetching on the abstract parent, which I'm not.
Is this fetching to one of these from a completely separate entity,
On Aug 20, 2008, at 9:54 AM, Simon McLean wrote:
Hi All -
Wondering if someone can throw me some ideas on solving what looks
like an immortal session problem.
- Start up 1 instance in java monitor.
- User lands on sessionless login page. No sessions.
- User logs in. 1 session.
- User logs
On Aug 20, 2008, at 10:16 AM, Simon McLean wrote:
So what could be going on ?
Deadlocks somewhere?
Something appears to be creating immortal
sessions, but forced session termination (by the user logging out)
and
session expiration seem to be behaving themselves.
Can you get a stacktrac
Hi Chuck,
It should work.
The thing is that formatValueForAttribute in the plugin formats values
according to the
external data type. ie the database data type.
In the case of a NUMERIC there are checks on the object type received
and if it is a String object it will just be passed through.
On 20.08.08 11:16, "Simon McLean" <[EMAIL PROTECTED]> wrote:
> If this was happening what would the user see ? Would the app just
> behave like the session was dead and send them back to the login page ?
Normally they would see a not responding application in that case, but would
be able to log i
On 20.08.08 11:24, "james o" <[EMAIL PROTECTED]> wrote:
> not that this solves the problem. can you schedule the session to
> gracefully restart?
In this case that normally doesn't solve the problem.
The situation he is seeing does normally mean, that sessions are not
terminated properly when t
not that this solves the problem. can you schedule the session to
gracefully restart?
./me
On Aug 20, 2008, at 1:06 PM, Kieran Kelleher wrote:
Put a log message (use log.error and smtp appender if you want
instant emails) in the Session constructor and log the stack trace
aswell as any
So what could be going on ?
Deadlocks somewhere?
Something appears to be creating immortal
sessions, but forced session termination (by the user logging out)
and
session expiration seem to be behaving themselves.
Can you get a stacktrace of the app? We had things like that with a
deadlock
On Aug 20, 2008, at 12:40 PM, Guido Neitzer wrote:
On 20.08.08 09:56, "William Hatch" <[EMAIL PROTECTED]> wrote:
Hi Mike, it's the same on all entities. And, in response to Guido's
thought. there's nothing hitting the relationships within this
context
and they're not prefetched either.
On Aug 20, 2008, at 12:15 PM, Mike Schrag wrote:
Fetches to one are resulting in generated sql to all three types,
as if I'm fetching on the abstract parent, which I'm not.
Is this fetching to one of these from a completely separate entity,
or fetching to-one from its reflexive relationship?
Put a log message (use log.error and smtp appender if you want instant
emails) in the Session constructor and log the stack trace aswell as
any other WOContext/WORequest information to get clues as to what and
when this is going on.
HTH, Kieran
On Aug 20, 2008, at 12:54 PM, Simon McLean w
On 20.08.08 10:54, "Simon McLean" <[EMAIL PROTECTED]> wrote:
> So what could be going on ?
Deadlocks somewhere?
> Something appears to be creating immortal
> sessions, but forced session termination (by the user logging out) and
> session expiration seem to be behaving themselves.
Can you get a
Hi All -
Wondering if someone can throw me some ideas on solving what looks
like an immortal session problem.
- Start up 1 instance in java monitor.
- User lands on sessionless login page. No sessions.
- User logs in. 1 session.
- User logs out. 0 sessions.
- User logs in. 1 session.
- User d
Ups forgot the list.
Begin forwarded message:
From: Cail Borrell <[EMAIL PROTECTED]>
Date: 20. aug 2008 18.50.44 GMT+02:00
To: Ondřej Čada <[EMAIL PROTECTED]>
Cc: Cail Borrell <[EMAIL PROTECTED]>
Subject: Re: sequential numbering across more instances
Hi Ondra,
I believe I did leave out a few
On 20.08.08 09:56, "William Hatch" <[EMAIL PROTECTED]> wrote:
> Hi Mike, it's the same on all entities. And, in response to Guido's
> thought. there's nothing hitting the relationships within this context
> and they're not prefetched either.
Are the entities all in the same model? I ask only be
Hi Cail,
On Aug 20, 2008, at 6:47 AM, Cail Borrell wrote:
Hi Ondra,
If you change the internal data type of your unique attribute to
String
you should be able to use a little sql injection when inserting your
record.
Just set the value of your unique column to something like:
coalesce
DecimalFormat df = new DecimalFormat();
df.setMultiplier(100);
System.out.println("Example.main: " + df.parse("100"));
System.out.println("Example.main: " + df.format(1));
On Aug 20, 2008, at 12:28 PM, John Huss wrote:
What is the best way to multiple a number by 100 for display
On Aug 20, 2008, at 9:28 AM, John Huss wrote:
What is the best way to multiple a number by 100 for display and
divide by 100 after editing? Probably a formatter? Anyone have
code to do this already?
ERXDividingNumberFormatter
ERXMultiplyingNumberFormatter
blah blah Project Wonder blah
What is the best way to multiple a number by 100 for display and divide by
100 after editing? Probably a formatter? Anyone have code to do this
already?
John
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
On Aug 20, 2008, at 10:37 AM, Pascal Robert wrote:
Are you on Leopard (10.5.2 or later) with a NVidia video card and an
external monitor by any chance?
i'm on 10.5.4 with 2 radeon cards.
i am getting a logged error when eclipse starts:
8/20/08 10:15:06 AM /Developer/Applications/eclipse/E
Fetches to one are resulting in generated sql to all three types, as
if I'm fetching on the abstract parent, which I'm not.
Is this fetching to one of these from a completely separate entity, or
fetching to-one from its reflexive relationship? Is this the same
problem that someone else ran i
I am using Leopard 10.5.4, on a MacBookPro with the same Nvidia
GeForce 8600M GT card, and an external Apple 23" display.
I experience the same issue several (5+) times every day. Any work-
around or fix?
Anil Bajaj
On Aug 20, 2008, at 8:58 AM, [EMAIL PROTECTED]
wrote:
I'm using Mac O
I have a link followed by a container.
The container contains a component which has an NSArray that it
iterates over.
Your Ajax action method should return null, not the component you're
trying to update. I don't know if this is what you're doing, but it
will definitely cause terrible prob
Hi Mike, it's the same on all entities. And, in response to Guido's
thought. there's nothing hitting the relationships within this context
and they're not prefetched either.
Bill
On Aug 20, 2008, at 10:56 AM, Mike Schrag wrote:
I should also note that there are three separate select sta
I'm working on a WebObjects project, and am now trying to integrate
some AJAX actions into the pages. I'm using wonder's
AjaxUpdateContainer and AjaxUpdateLink.
I have a link followed by a container.
The container contains a component which has an NSArray that it iterates over.
The link points to
I'm using Mac OS X 10.4.11 on macbokpro 15,4" with GeForce 8600M GT
Jérémy
Le 20 août 08 à 16:37, Pascal Robert a écrit :
Are you on Leopard (10.5.2 or later) with a NVidia video card and
an external monitor by any chance?
my first attempt to "save" my .html / wod file today and i'm
watch
i just wish WOBuilder had a better naming convention than Var1,
Var2, Var3, etc... after 7 years of coding in WOBuilder on one
project it's a mess wrangling through non-sensical variables and
giving them meaning. i'm feeling more "intimate" with my WO project
now...
Eeek! Stop! In compone
I should also note that there are three separate select statements
being generated; one for each of the concrete types; it's not one
select with some OR's in the where. Not sure if that helps shed
light on this. Thanks again.
I would verify that the table name is the same for all your entitie
Cail,
On Aug 20, 2008, at 3:47 PM, Cail Borrell wrote:
If you change the internal data type of your unique attribute to
String
That would be kind of problem, for I am working with a legacy database
which already contains lots of rows.
Not that it would be entirely out of question, but it
Wild guess: are you maybe just seeing the relationships being resolved? Or
is it really getting all objects, when you ask for one without prefetching
any relationships?
cug
On 20.08.08 08:38, "William Hatch" <[EMAIL PROTECTED]> wrote:
> I should also note that there are three separate select st
Well, thanks a lot, but this actually is not a problem at all, for the
table already exists and contains lots of non-NULL numbers.
The real problem is that the update trigger does not work (or, more
precisely, that I don't see what I am doing wrong and how to fix it) :(
SELECT MAX(column)
And your error look similar to this :
http://issues.objectstyle.org/jira/browse/WOL-736
Are you on Leopard (10.5.2 or later) with a NVidia video card and an
external monitor by any chance?
my first attempt to "save" my .html / wod file today and i'm
watching the beach ball spin...
i am n
I should also note that there are three separate select statements
being generated; one for each of the concrete types; it's not one
select with some OR's in the where. Not sure if that helps shed light
on this. Thanks again.
On Aug 20, 2008, at 3:31 AM, William Hatch wrote:
First project
Are you on Leopard (10.5.2 or later) with a NVidia video card and an
external monitor by any chance?
my first attempt to "save" my .html / wod file today and i'm
watching the beach ball spin...
i am not launching with launchd. i thought this was something
eclipse did. i don't have any l
my first attempt to "save" my .html / wod file today and i'm watching
the beach ball spin...
i am not launching with launchd. i thought this was something eclipse
did. i don't have any launchd configs/startups for eclipse. looks
like it's checking on eclipse when it crashes?!
8/20/08 1
Florijan Stamenkovic wrote:
On Aug 20, 2008, at 08:40, Ondřej Čada wrote:
CREATE TRIGGER test_insert AFTER INSERT ON TEST REFERENCING NEW x
FOR EACH ROW BEGIN update test set ordernumber=(SELECT MAX
(ordernumber) FROM test)+1 where oid=x.oid AND ordernumber=-1; END
Your update problem aside,
On Aug 20, 2008, at 08:40, Ondřej Čada wrote:
CREATE TRIGGER test_insert AFTER INSERT ON TEST REFERENCING NEW x
FOR EACH ROW BEGIN update test set ordernumber=(SELECT MAX
(ordernumber) FROM test)+1 where oid=x.oid AND ordernumber=-1; END
Your update problem aside,
SELECT MAX(column) FROM t
Hi Ondra,
If you change the internal data type of your unique attribute to String
you should be able to use a little sql injection when inserting your
record.
Just set the value of your unique column to something like:
coalesce (select max() from , cast
(100 as )) + 1
and invalidate
Hello,
On Aug 16, 2008, at 3:52 AM, Ondřej Čada wrote:
Actually, the fun begins sooner I've supposed. Probably I just have
my dumb day today or should go to catch a Z or two, or should just
learn SQL thoroughly :), but I can't create a simplest trigger in
FrontBase :( Can someone please po
So how is it possible that the application server can see the
protected variables at runtime in XCode and Tomcat but not in Eclipse?
Any insight would be appreciated.
Are you using packages in Eclipse and no packages in Xcode?
ms
___
Do not post adm
On Aug 19, 2008, at 10:31 PM, Lachlan Deck wrote:
On 20/08/2008, at 8:24 AM, Chuck Hill wrote:
On Aug 19, 2008, at 2:07 PM, David Avendasora wrote:
On Aug 19, 2008, at 4:43 PM, Chuck Hill wrote:
On Aug 19, 2008, at 12:22 PM, David Avendasora wrote:
Noo! Sob. Sniff.
This does sou
First project using EM and single table inheritance, I've got an
abstract base entity, with three concrete sub types, I'm putting a
qualifier in the Basic Tab's Qualifier field in the form of
(summaryRangeType="hour"), etc for each of the three types, obviously
with different values for eac
63 matches
Mail list logo