Hi!
Nice work, guys!
Yours
Miguel Arroz
Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Uns
Then it is not a true 1:1 as one a may have many b’s and one b may
have many a’s. Thats what Robert meant by not being a true 1:1.
If you join a PK to an FK you always have a 1:n
Exactly. Since this is not one of the two relationships is not an
inverse of the other then addObjectToBothSides
I drag refactor all the time too, but i have seen this exception.
I'm guessing you are moving a whole bunch of classes at once. IIRC,
try moving them one by one and you'll probably find one of the
classes is causing the problem and you'll probably get a more helpful
exception message.
Sim
On 12-Jul-07, at 5:08 PM, Anjo Krank wrote:
All,
after over a year in the making, it is my pleasure to present a new
release of Project Wonder, the largest open-source project for
WebObjects. You can grab your copy at the SourceForge download page:
CONGRATULATIONS!
I've said this before,
Am 12.07.2007 um 22:56 schrieb Johan Henselmans:
On 12-jul-2007, at 21:58, Robert Walker wrote:
Johan,
Is this truly a one-to-one relationship as modeled? I mean are
the tables joined PK <> PK? Or is this modeled as a one-to-
many with the many-side limited to one related object in
All,
after over a year in the making, it is my pleasure to present a new
release of Project Wonder, the largest open-source project for
WebObjects. You can grab your copy at the SourceForge download page:
http://sourceforge.net/project/showfiles.php?group_id=45176
We got great contributi
On 12-jul-2007, at 21:58, Robert Walker wrote:
Johan,
Is this truly a one-to-one relationship as modeled? I mean are the
tables joined PK <> PK? Or is this modeled as a one-to-many
with the many-side limited to one related object in the array?
it is like:
a-pk<--b-fk
a-fk --> b-
I drag refactor all the time, so I can vouch for it ...
ms
On Jul 12, 2007, at 4:51 PM, Kieran Kelleher wrote:
No, however I always use the Refactor/Move context menu ... habit
I guess.
Solution: IF you use Subversion (you should for your sanity even if
you are the whole team by yourself
No, however I always use the Refactor/Move context menu ... habit I
guess.
Solution: IF you use Subversion (you should for your sanity even if
you are the whole team by yourself!) you could commit before major
nerve-racking bulk refactorings and use Subversion to revert to the
last revis
Hi Asa,
On Jul 12, 2007, at 1:01 PM, Asa Hardcastle wrote:
I am in the process of moving lots of code from the default package
into specific packages - using eclipse/wolips. Every now and then
it seems to work, but for the most part, when I drag files I get an
exception with the option t
Hi all,
I am in the process of moving lots of code from the default package
into specific packages - using eclipse/wolips. Every now and then it
seems to work, but for the most part, when I drag files I get an
exception with the option to Undo or abort. The exception is a
NullPointerExc
Johan,
Is this truly a one-to-one relationship as modeled? I mean are the
tables joined PK <> PK? Or is this modeled as a one-to-many with
the many-side limited to one related object in the array?
If this is a true PK to PK one-to-one relationship, which way have
you set "Propagates
I am updating a old D2W app to the latest and greatest Wonder/Eclipse
combo, and after adding some records to a database, I noticed that
the table on the other side of the relationship did not get an update
in it's foreign_id key field (it's a one-to-one relationship with
with relationships
Plugins I really find invaluable are on this page I just
created . feel free to add your favorites:
http://wiki.objectstyle.org/confluence/display/WOL/Useful+Eclipse
+Plugins
On Jul 12, 2007, at 11:23 AM, Sam Barnum wrote:
Thanks Kieran.
To change the topic, does anyone have any to
On Jul 12, 2007, at 5:01 AM, Francis Labrie wrote:
Chuck Hill wrote:
What I did was to create a NullFormatter so that I did not have to
worry about optionality:
import java.text.*;
/**
* A null object formatter that just returns its input. Useful
for when the API needs a formatter
*
On Jul 12, 2007, at 8:23 AM, Sam Barnum wrote:
Thanks Kieran.
To change the topic, does anyone have any tools they really like?
I have become very fond of this: http://www.leevalley.com/wood/
page.aspx?c=1&p=49708&cat=1,41182,52515
Huh? What? Oh. not that kind of tool.
I know I learne
Thanks Daniele and Jean-François,
seems that I have to rethink part of my approach though I will
continue to use both techniques (string file and db based) as the one
is simpler for constant strings (perhaps also better performance) and
the latter one appropriate for user changeable (and in
Wonder supports localized attributes already ... repost this on the
Wonder list and I'm sure Anjo can tell you how to do it.
ms
On Jul 12, 2007, at 11:08 AM, Johann Werner wrote:
Hi all,
sorry to bother the list but I am stuck.
in short: I want to make some EOs behave localized.
long sto
I had this in my properties file:
er.extensions.ERXApplication.DefaultMessageEncoding=UTF8
(which didn't work ... ) (I was operating under the assumption that
utf8 utf-8 UTF8 and UTF-8 are all equivalent though)
Seems to work fine now ...
Thank you very much!
- Peter Pritchard
[EMAIL PROT
We have solved this problem by enhancing kvc at the component level.
Let's say you have those attributes : name_FR, name_EN, name_DU, etc.
which holds localized values for the name attribute.
what we do is we alter the keypath that ask for 'name'.
instead of wostring: value= myEO.name;
and let myE
I think this is a new page for the wiki. Personally I am always
interested in what other Eclipse plugins people are using to make
their development easier / faster.
Simon
On 12 Jul 2007, at 16:23, Sam Barnum wrote:
Thanks Kieran.
To change the topic, does anyone have any tools they really
This post should be on the wonder list, but the correct fix for using
UTF-8 (and there may be a properties entry for this also, but I
didn't notice it) is in your application constructor (assuming you
extend ERXApplication), call:
installDefaultEncoding("UTF-8");
This sets all of the prope
Hi Johann,
look, I think you are make it too complicated... It would be easy if you
create some localizable files (e.g. Italian.lproj/Localizable.strings,
English.lproj/Localizable.strings, etc) than make for them the same key:
//English Localizable.strings
{
haveANiceDayPrompt = "Hava a nice d
On 12.07.2007, at 04:19, Miguel Arroz wrote:
PostgreSQL manual, chapter 11, the section about multi-column
indexes. I realized, after further testing, that the planner tries
to re-arrange the order. But I think there are situations where the
planner may choose one or another column becaus
On 11.07.2007, at 18:08, Q wrote:
Where exactly did you read this? Order of the conditional
expressions shouldn't make any difference to the query planner.
AFAIK it might if you have multicolumn indexes, but as far as I
remember, that was solved in one of the 8.x versions.
cug
__
On 11.07.2007, at 15:29, Miguel Arroz wrote:
Is this normal? Is the order random? What's happening here? I'm
asking this, because from what I understand form the PostgreSQL
docs, the order of the stuff in ANDs (and ORs) may have cause a
really big difference in performance when indexes (a
I apologize in advance if this has been discussed already ...
I have had an issue where umlauts and the such are displayed properly
when first displayed, and then replaced by a '?' after the
AjaxUpdateContainer refreshes the div ...
When I decided it was time to figure out that issue, I tra
Thanks Kieran.
To change the topic, does anyone have any tools they really like? I
know I learned about some really cool products on this list. I'm
thinking of FireBug and Selenium, which Chuck mentioned in passing.
FireBug has become indispensable.
Maybe this could be another survey,
Hi all,
sorry to bother the list but I am stuck.
in short: I want to make some EOs behave localized.
long story: In my project I have some fixed lists as e.g. salutations
that are saved in the db. There I want to use the approach of the
localizable.strings lookup (I am using ERXLocalizer f
On 12/07/2007, at 8:19 PM, Miguel Arroz wrote:
Hi!
PostgreSQL manual, chapter 11, the section about multi-column
indexes. I realized, after further testing, that the planner tries
to re-arrange the order. But I think there are situations where the
planner may choose one or another colu
Hi,
Chuck Hill wrote:
What I did was to create a NullFormatter so that I did not have to
worry about optionality:
import java.text.*;
/**
* A null object formatter that just returns its input. Useful for
when the API needs a formatter
* but there is no formatting to do.
*/
Funny, I
On 12/07/2007, at 9:58 PM, Ken Anderson wrote:
Actually, Sybase will accept the query. It allows group by on
fields that are not in the select.
Grouping by fields not used in the select clause is not strictly
legal SQL either (I don't think), and I can't think of a case you
would actual
Yes, right. TODO added to use opencsv for writing CSV files
Thanks, kieran
On Jul 12, 2007, at 8:19 AM, Mike Schrag wrote:
On Jul 12, 2007, at 8:15 AM, Kieran Kelleher wrote:
For writing CSV files, I have used ostermiller utils CSV
http://ostermiller.org/utils/CSV.html
Just a warning --
On Jul 12, 2007, at 8:15 AM, Kieran Kelleher wrote:
For writing CSV files, I have used ostermiller utils CSV
http://ostermiller.org/utils/CSV.html
Just a warning -- ostermiller is GPL ... I had problems with that in
the past. opencsv might be a better choice for a commercial-friendly
licens
Actually I have been using org.apache.commons.lang.text.StrTokenizer
for parsing and it works beautifully with both "Excel CSV" and
"Normal CSV" formats without having to differentiate. Lightweight and
easy and convenient since I already have org.apache.commons.lang in
my Foundation framewo
Hi Andrew,
no, we copying the models as objects in jave, like:
1) create new model B
2) go through all entities from model A
3) for each entity A1 create new entity B1
4) copy all properties from A1 to B1 (this is a bit tricky for relations)
5) add entity B1 to model B
6) add model B to default
Actually, Sybase will accept the query. It allows group by on fields
that are not in the select.
On Jul 12, 2007, at 2:55 AM, Q wrote:
This query is invalid, your database should reject it.
It should be:
SELECT departmentId FROM foo WHERE lastName='Smith' AND
firstName='Bob' GROUP BY dep
Hallo Susanne;
This is where a one-way replica of a database is used for batch
processing. I think the problem I was having was that the
"EntityLoadedNotification"-s were flying around and possibly making
the wrong associations with models. If I fully load the models first
then this see
Hi!
PostgreSQL manual, chapter 11, the section about multi-column
indexes. I realized, after further testing, that the planner tries to
re-arrange the order. But I think there are situations where the
planner may choose one or another column because there's no "optimum"
solution, and th
Hi Andrew,
we are hassling with models here a lot, but with a mix of the procedure
you discribed and the one of Chuck. Instead of reloading model B we are
copying model A to a new model B with renaming the entities while
copying. For normal work both models are put into the default model
grou
40 matches
Mail list logo