Re: The sky is falling! The world is ending! WebObjects is Dead!

2008-04-04 Thread Jean Pierre Malrieu


Le 3 avr. 08 à 15:05, Jean Pierre Malrieu a écrit :



Le 3 avr. 08 à 14:57, Ralph Scheuer a écrit :



Am 03.04.2008 um 12:00 schrieb Jean Pierre Malrieu:




Why are WO sessions always announced later?


Because it's so much fun to watch how all the nerds on this list go  
crazy and start their annual whining .





I hate that WO has become a non-whining technology. Or should I say a  
non-winning technology?


JPM

PS: See, you 'll never deter the whining people, just make us become  
more insidious ;-) ___

Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


migration and null problem

2008-04-04 Thread Theodore Petrosky
I am doing the WOLips example from the David LeBer
PodCast... Thanks David for some great work. I have a
problem that I can't seem to get my head around.
Notice the creation of the new column in t_user. I had
to change the allow null to true... If it is false,
then the whole process fails. I am using Postgresql as
the db. So the questions are; 1. can I use false and
make another setting change to allow the null to exist
until the end of the transaction 2. if I must use
true can I execute sql directly that will alter the
column and 'fix' the null problem?

And if I didn't say it loud enough.. Thanks David...


Ted


@Override
public void upgrade(EOEditingContext ec,
ERXMigrationDatabase database) throws Throwable {

ERXMigrationTable table =
database.newTableNamed(t_group);
table.newIntegerColumn(id, false);
table.newIntegerColumn(c_security_level, false);
table.newStringColumn(c_name, 255, false);

table.create();
table.setPrimaryKey(id);

table = database.existingTableNamed(t_user);
table.newIntegerColumn(c_group_id, true);

  //INSERT INTO t_user
(c_first_name, c_last_name, c_password, c_username,
id) VALUES ('Ted', 'Petrosky', 'demo', 'demo', 1)

ERXJDBCUtilities.executeUpdate(database.adaptorChannel(),
INSERT INTO t_group (c_name, c_security_level, id)
VALUES ('Admin', '9', '1'));

ERXJDBCUtilities.executeUpdate(database.adaptorChannel(),
INSERT INTO t_group (c_name, c_security_level, id)
VALUES ('User', '0', '2'));

ERXJDBCUtilities.executeUpdate(database.adaptorChannel(),
INSERT INTO t_user (c_first_name, c_last_name,
c_password, c_username, c_group_id, id) VALUES
('Admin', 'User', 'admin', 'admin', '1', '2'));

ERXJDBCUtilities.executeUpdate(database.adaptorChannel(),
UPDATE t_user SET c_group_id = '2' WHERE id = '1');
}


  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: WOWODC Arrangements

2008-04-04 Thread Miguel Arroz

Hi!

  $120 per night is not very good compared to what I'll pay in Fusion  
(about $140). I was expecting much lower prices there.


  Yours

Miguel Arroz

On 2008/04/04, at 03:09, Pascal Robert wrote:

Some people on the MacEnterprise list are suggesting to stay in  
Oakland and to take the BART to get in SF:


Ditto this advice. Since I just booked by room, I can now recommend  
staying
in downtown Berkeley at the Downtown Berkeley Inn. It's a relatively  
new
hotel. $120/night gets you a king or queen bed, 42 plasma TV, high  
speed
internet, and free parking. BART is just down the street and will  
get you to
the Powell station on Market (a few blocks from Moscone) in 30  
minutes for

about $6.50 round trip.

http://www.downtownberkeleyinn.com/;

People may want to try a few of the hotels in downtown Oakland  
which is
right across the bay from San Francisco.  BART will get you there in  
about

15-20 minutes from Oakland.

Granted, it isn't as great as walking to the center from your hotel,
but it might be an option if things are booked up and expensive.

http://www.bart.gov BART (Bay Area Rapid Transit)

I got my room from :

http://www.hotelstratford.com/

Moderate price, near Union Square.

What is an economical option for this if one is only going to  
WOWODC and not WWDC? Get a cab from SFO airport to nearby  
accommodation or rent a car and stay wherever driving to WOWDC each  
day if necessary? Is there recommended clean economical  
accommodation nearby parc 55 where WOWODC is at? Parc 55 itself is  
sold out?



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com

This email sent to [EMAIL PROTECTED]


Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com





smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: The sky is falling! The world is ending! WebObjects is Dead!

2008-04-04 Thread David Avendasora


On Apr 3, 2008, at 5:02 PM, Q wrote:

That should tell you that we're interested in getting developers of  
every persuasion onto the Mac platform
(even RoR developers :-) and that once they get here maybe they'll  
explore WO and find that they like it!




The Cool kids using grown up things instead of their uber  
fashionable toys, now who's dreaming? :)


Wait.

I thought that all the Cool Kids used WOLips and WOnder. You don't  
get more uber fashionable than Click-To-Open.


Dave
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: migration and null problem

2008-04-04 Thread Mike Schrag

Notice the creation of the new column in t_user. I had
to change the allow null to true... If it is false,
then the whole process fails.

fails.  Fails how?  Exact exception, please.  What WO version?

ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


WebObjects Training

2008-04-04 Thread Ashish
Hello All,

This topic is slightly off the usual discussions on the thread but this group 
would be more experienced to answer this. My organisation in India needs 
WebObjects training (Level 2) for a group of around 10 to 15 people.

Appreciate if somebody can provide some inputs directly on my email.

Thanks,
Ashish
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: WebObjects Training

2008-04-04 Thread Asa Hardcastle

Try Übermind.

http://www.ubermind.com/training/

asa


On Apr 4, 2008, at 9:27 AM, Ashish wrote:

Hello All,

This topic is slightly off the usual discussions on the thread but  
this group would be more experienced to answer this. My organisation  
in India needs WebObjects training (Level 2) for a group of around  
10 to 15 people.


Appreciate if somebody can provide some inputs directly on my email.

Thanks,
Ashish
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/a.talk 
%40zenn.net


This email sent to [EMAIL PROTECTED]


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: EOQualifier bad pattern for qualifier

2008-04-04 Thread Mike Schrag

I believe it's backslash escaped ...

ms

On Apr 4, 2008, at 10:00 AM, Francis Labrie wrote:


Lachlan Deck wrote:

Mike Schrag wrote:
I think you have stumbled across an undocumented feature of  
CaseInsensitiveLike.  I don't know what [...] might get  
interpreted as, but it seems to mean something.  I don't know of  
any way to escape these magic characters in the qualifier value.
Appears that when like qualifiers are evaluated in-memory they  
support a simplified regex syntax ... ?, *, and [A-Z] style ...


Okay, thanks guys. I'll just regex-replace any non-alphanumeric  
chars for a '?'



By the way, is there a way to escape * and ? (and now .[] ones  
as I can see) characters with like operators to make EOF search  
specifically for these characters? For example, in sentence like '* 
\?', if \ was used to escape the question mark character, the  
qualifier would search for interrogative sentences.



Kind regards,

--
Francis Labrie
Saint-Bruno-de-Montarville, Quebec, Canada

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: EOQualifier bad pattern for qualifier

2008-04-04 Thread Francis Labrie

Lachlan Deck wrote:

Mike Schrag wrote:
I think you have stumbled across an undocumented feature of  
CaseInsensitiveLike.  I don't know what [...] might get  
interpreted as, but it seems to mean something.  I don't know of  
any way to escape these magic characters in the qualifier value.
Appears that when like qualifiers are evaluated in-memory they  
support a simplified regex syntax ... ?, *, and [A-Z] style ...


Okay, thanks guys. I'll just regex-replace any non-alphanumeric  
chars for a '?'



By the way, is there a way to escape * and ? (and now .[] ones  
as I can see) characters with like operators to make EOF search  
specifically for these characters? For example, in sentence like '* 
\?', if \ was used to escape the question mark character, the  
qualifier would search for interrogative sentences.



Kind regards,

--
Francis Labrie
Saint-Bruno-de-Montarville, Quebec, Canada

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: EOQualifier bad pattern for qualifier

2008-04-04 Thread Francis Labrie

Mike Schrag wrote:

I believe it's backslash escaped ...


Unfortunately it's not the case, I've already tried it. :-(


On Apr 4, 2008, at 10:00 AM, Francis Labrie wrote:
By the way, is there a way to escape * and ? (and now .[]  
ones as I can see) characters with like operators to make EOF  
search specifically for these characters? For example, in  
sentence like '*\?', if \ was used to escape the question mark  
character, the qualifier would search for interrogative sentences.



Kind reagrds,

--
Francis Labrie
Saint-Bruno-de-Montarville, Quebec, Canada

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: EOQualifier bad pattern for qualifier

2008-04-04 Thread Mike Schrag

I think it's SUPPOSED to be ... You might want to log a bug.

ms

On Apr 4, 2008, at 10:52 AM, Francis Labrie wrote:


Mike Schrag wrote:

I believe it's backslash escaped ...


Unfortunately it's not the case, I've already tried it. :-(


On Apr 4, 2008, at 10:00 AM, Francis Labrie wrote:
By the way, is there a way to escape * and ? (and now .[]  
ones as I can see) characters with like operators to make EOF  
search specifically for these characters? For example, in  
sentence like '*\?', if \ was used to escape the question mark  
character, the qualifier would search for interrogative sentences.



Kind reagrds,

--
Francis Labrie
Saint-Bruno-de-Montarville, Quebec, Canada

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: How to build Wonder for WebObjects 5.3 ?

2008-04-04 Thread Greg Brown

Greetings,

The latest Wonder source seems to be only for WebObjects 5.4.1; is  
there anything for Tiger (10.4x) users at 5.3.3?


The page:
http://wiki.objectstyle.org/confluence/display/WONDER/Download+Wonder 
+Source%2C+Build+and+Install


refers to Build.txt, which states:

Building Instructions
=

You can build Project Wonder with Ant, Maven and Eclipse.


But that is only for Leopard/WO 5.4.1 I think, somebody correct me.  
Anything else makes lots of errors.


The only way for me to use Wonder with WO 5.3.3 is the pre-compiled  
frameworks. Hmmm.. How does Mike S. make those?


Ok, I found the icu4j.jar, and installed it, but I got a more errors,  
all related to NSMutableArray: (classpath ordering?)


/Wonder/Common/Frameworks/ERExtensions/Sources/com/webobjects/ 
foundation/NSArray.java:[877,29] type  
com.webobjects.foundation.NSMutableArray does not take parameters


But I think there is no other way for WO 5.3.3 users BUT the pre- 
compiled frameworks. It is difficult to support multiple versions of  
WebObjects, maybe Maven can help!


Somebody correct me if I am wrong, now I will give up on Wonder from  
source, and download the pre-compiled frameworks,


Thanks!

Greg

ps. Is changing the pom.xml to:

  properties
  woversion5.3.3/woversion
  /properties


correct? is that enough for Maven? Just guessing here...


On Apr 3, 2008, at 10:22 PM, Henrique Prange wrote:


Hi Greg,

Greg Brown wrote:
I was thinking that Wonder, with all the hard work that has been  
contributed in the last few years,  has advanced so far that I  
should be using it!

I was also looking at maven. It may be promising as well.
The latest Wonder source has in its pom.xml:
  properties
  woversion5.4.1/woversion
  /properties
So  I assume that it is set to build Wonder for version 5.4.1.
I am on 5.3.3, so I edited pom.xml so it said:
...
  properties
  woversion5.3.3/woversion
  /properties
...
and tried a mvn install. I got a tired brain and errors:
Downloading: http://repo1.maven.org/maven2/icu4j/icu4j/2.8/ 
icu4j-2.8.pom
Downloading: http://webobjects.mdimension.com/maven2/releases/ 
icu4j/icu4j/2.8/icu4j-2.8.jar Downloading: http://repo1.maven.org/ 
maven2/icu4j/icu4j/2.8/icu4j-2.8.jar
[INFO]  
- 
---

[ERROR] BUILD ERROR
[INFO]  
- 
---

[INFO] Failed to resolve artifact.
Missing:
--
1) icu4j:icu4j:jar:2.8
  Try downloading the file manually from the project website.
I think it is looking for the icu4j.jar. Where is it? It can't  
find it. Is that a bug?


No. This is not a bug. Some dependencies was not deployed to the  
Maven central repository. You have to install them by hand. See [1]  
for instructions.


Anyway, the POMs of Wonder project are a little bit outdated. I'm  
fixing it and I will send a patch to the Wonder soon.


[1]http://maven.apache.org/guides/mini/guide-installing-3rd-party- 
jars.html


Cheers,

Henrique

I also think the Wonder source is set to build the 5.4.1 versions  
for eclipse or ant. What's the difference from

the one that works with WebObjects 5.3.3?
Thanks!
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hprange% 
40gmail.com

This email sent to [EMAIL PROTECTED]



Greg Brown
[EMAIL PROTECTED]



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: How to build Wonder for WebObjects 5.3 ?

2008-04-04 Thread Mike Schrag
The latest Wonder source seems to be only for WebObjects 5.4.1; is  
there anything for Tiger (10.4x) users at 5.3.3?
Definitely not the case.  I don't use Maven, so I have no idea at all  
what those files do, but you can just ant all and it will build for  
5.3.


ms

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: How to build Wonder for WebObjects 5.3 ?

2008-04-04 Thread John Huss
I don't know about Maven, but if you're just downloading and bulding the
source I think you have to just remove the build.properties file and then it
will build for 5.3

John

On Fri, Apr 4, 2008 at 10:18 AM, Greg Brown [EMAIL PROTECTED] wrote:

 Greetings,

 The latest Wonder source seems to be only for WebObjects 5.4.1; is there
 anything for Tiger (10.4x) users at 5.3.3?

 The page:

 http://wiki.objectstyle.org/confluence/display/WONDER/Download+Wonder+Source%2C+Build+and+Install

 refers to Build.txt, which states:

 Building Instructions
 =

 You can build Project Wonder with Ant, Maven and Eclipse.


 But that is only for Leopard/WO 5.4.1 I think, somebody correct me.
 Anything else makes lots of errors.

 The only way for me to use Wonder with WO 5.3.3 is the pre-compiled
 frameworks. Hmmm.. How does Mike S. make those?

 Ok, I found the icu4j.jar, and installed it, but I got a more errors, all
 related to NSMutableArray: (classpath ordering?)
 /Wonder/Common/Frameworks/ERExtensions/Sources/com/webobjects/foundation/NSArray.java:[877,29]
 type com.webobjects.foundation.NSMutableArray does not take parameters
 But I think there is no other way for WO 5.3.3 users BUT the pre-compiled
 frameworks. It is difficult to support multiple versions of WebObjects,
 maybe Maven can help!

 Somebody correct me if I am wrong, now I will give up on Wonder from
 source, and download the pre-compiled frameworks,

 Thanks!

 Greg

 ps. Is changing the pom.xml to:

   properties
   woversion5.3.3/woversion
   /properties


 correct? is that enough for Maven? Just guessing here...


 On Apr 3, 2008, at 10:22 PM, Henrique Prange wrote:

 Hi Greg,

 Greg Brown wrote:

 I was thinking that Wonder, with all the hard work that has been
 contributed in the last few years,  has advanced so far that I should be
 using it!
 I was also looking at maven. It may be promising as well.
 The latest Wonder source has in its pom.xml:
   properties
   woversion5.4.1/woversion
   /properties
 So  I assume that it is set to build Wonder for version 5.4.1.
 I am on 5.3.3, so I edited pom.xml so it said:
 ...
   properties
   woversion5.3.3/woversion
   /properties
 ...
 and tried a mvn install. I got a tired brain and errors:
 Downloading: http://repo1.maven.org/maven2/icu4j/icu4j/2.8/icu4j-2.8.pom
 Downloading:
 http://webobjects.mdimension.com/maven2/releases/icu4j/icu4j/2.8/icu4j-2.8.jarDownloading:
 http://repo1.maven.org/maven2/icu4j/icu4j/2.8/icu4j-2.8.jar
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.
 Missing:
 --
 1) icu4j:icu4j:jar:2.8
   Try downloading the file manually from the project website.
 I think it is looking for the icu4j.jar. Where is it? It can't find it. Is
 that a bug?


 No. This is not a bug. Some dependencies was not deployed to the Maven
 central repository. You have to install them by hand. See [1] for
 instructions.

 Anyway, the POMs of Wonder project are a little bit outdated. I'm fixing
 it and I will send a patch to the Wonder soon.

 [1]
 http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html

 Cheers,

 Henrique

 I also think the Wonder source is set to build the 5.4.1 versions for
 eclipse or ant. What's the difference from
 the one that works with WebObjects 5.3.3?
 Thanks!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
 This email sent to [EMAIL PROTECTED]



 Greg Brown
 [EMAIL PROTECTED]




  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:

 http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com

 This email sent to [EMAIL PROTECTED]

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: EOQualifier bad pattern for qualifier

2008-04-04 Thread Lachlan Deck

On 05/04/2008, at 1:52 AM, Francis Labrie wrote:

Mike Schrag wrote:

I believe it's backslash escaped ...


Unfortunately it's not the case, I've already tried it. :-(


On Apr 4, 2008, at 10:00 AM, Francis Labrie wrote:
By the way, is there a way to escape * and ? (and now .[]  
ones as I can see) characters with like operators to make EOF  
search specifically for these characters? For example, in  
sentence like '*\?', if \ was used to escape the question mark  
character, the qualifier would search for interrogative sentences.


Try:
sentence like '*\\?'

Escaping in Java usually requires a double backslash...

with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: WebObjects Training

2008-04-04 Thread Alexander Spohr

Try Assense.

http://www.assense.com/

atze


Am 04.04.2008 um 15:27 schrieb Ashish:

Hello All,

This topic is slightly off the usual discussions on the thread but  
this group would be more experienced to answer this. My organisation  
in India needs WebObjects training (Level 2) for a group of around  
10 to 15 people.


Appreciate if somebody can provide some inputs directly on my email.

Thanks,
Ashish

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: EOQualifier bad pattern for qualifier

2008-04-04 Thread Timo Hoepfner

Am 04.04.2008 um 16:00 schrieb Francis Labrie:
Appears that when like qualifiers are evaluated in-memory they  
support a simplified regex syntax ... ?, *, and [A-Z] style ...
Okay, thanks guys. I'll just regex-replace any non-alphanumeric  
chars for a '?'


By the way, is there a way to escape * and ? (and now .[]  
ones as I can see) characters with like operators to make EOF  
search specifically for these characters? For example, in sentence  
like '*\?', if \ was used to escape the question mark character,  
the qualifier would search for interrogative sentences.


If it would be a regular regex, you could use  
java.util.regex.Pattern.quote(String s).


Don't know if that can help for this simplified regex syntax.

Timo

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: EOQualifier bad pattern for qualifier

2008-04-04 Thread Francis Labrie

Lachlan Deck wrote:

On Apr 4, 2008, at 10:00 AM, Francis Labrie wrote:
By the way, is there a way to escape * and ? (and now .[]  
ones as I can see) characters with like operators to make EOF  
search specifically for these characters? For example, in  
sentence like '*\?', if \ was used to escape the question  
mark character, the qualifier would search for interrogative  
sentences.


Try:
sentence like '*\\?'

Escaping in Java usually requires a double backslash...



Yes, it was a typo: my tests did use a double backslash. But it  
doesn't work: it searches for \ followed by any character.


--
Francis Labrie
Saint-Bruno-de-Montarville, Quebec, Canada

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: WebObjects Training

2008-04-04 Thread Patrick Abuzeni

You can also try http://www.plsys.co.uk/schedule.htm in the UK

Patrick

On Apr 4, 2008, at 9:27 AM, Ashish wrote:


Hello All,

This topic is slightly off the usual discussions on the thread but  
this group would be more experienced to answer this. My organisation  
in India needs WebObjects training (Level 2) for a group of around  
10 to 15 people.


Appreciate if somebody can provide some inputs directly on my email.

Thanks,
Ashish
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/pza%40abuzenimd.com

This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: WebObjects Training

2008-04-04 Thread Mr. Pierre Frisch
Übermind offers training in Seattle for individuals and custom classes  
for larger groups. I am sure they can organize training in India.


Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Apr 4, 2008, at 6:27, Ashish wrote:


Hello All,

This topic is slightly off the usual discussions on the thread but  
this group would be more experienced to answer this. My organisation  
in India needs WebObjects training (Level 2) for a group of around  
10 to 15 people.


Appreciate if somebody can provide some inputs directly on my email.

Thanks,
Ashish
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/pierre%40apple.com

This email sent to [EMAIL PROTECTED]


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Eomodeler: view choices

2008-04-04 Thread Randy Wigginton
Thank you for the pointer.  I have imported ERPrototypes into my project
(along with other frameworks as needed).  I can see that the erprototypes
eomodel has various prototype entities.  Inside these entities, I can see
all the various types needed.

How do I get the mysql prototypes to show up in my eomodel so that I can
define table columns appropriately?

On Fri, Mar 28, 2008 at 4:02 PM, Mike Schrag [EMAIL PROTECTED] wrote:

 You need to setup custom prototypes, or if you use wonder, link to the
 ERPrototypes framework for a bunch of standard ones.  I only ever use
 ERPrototypes entries, basically.
 ms

 On Mar 28, 2008, at 6:27 PM, Randy Wigginton wrote:

 OK, the reason I want to enable the value class column is because my
 prototypes pulldown is empty.. everywhere.  The individual columns have No
 prototype, and the config prototype pulldown is completely empty.  Have I
 configured something incorrectly?

 I trust I am referencing the correct page:
 http://wiki.objectstyle.org/confluence/display/WOL/Using+Entity+Modeler


 On Fri, Mar 28, 2008 at 2:06 PM, Mike Schrag [EMAIL PROTECTED]
 wrote:

  Please keep questions on the list.  The columns that are visible by
  default are selected on purpose to push people towards prototypes (where you
  should not care about that column).  But you can go into
  Eclipse=WOLips=Entity Modeler preferences and add it to the list ... The
  process for this is terrible, mind you.
  ms
 
  On Mar 28, 2008, at 5:02 PM, Randy Wigginton wrote:
 
  This is undoubtedly a dumb question, but how do I enable the value class
  column?  I'm trying to create a new entity; I've always worked from the
  tables backward...
 
  On Fri, Mar 28, 2008 at 1:28 PM, Mike Schrag [EMAIL PROTECTED]
  wrote:
 
   Not yet in the released versions ...
  
   ms
  
   On Mar 28, 2008, at 4:27 PM, Randy Wigginton wrote:
  
Is there any way with the eclipse EOModeler to get the relational
view?  I've been maintaining a hand-drawn version, but it has gotten
rather messy.
   
tia,
randy
   
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
   
   http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com
   
This email sent to [EMAIL PROTECTED]
  
  
___
   Do not post admin requests to the list. They will be ignored.
   Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
   Help/Unsubscribe/Update your Subscription:
  
   http://lists.apple.com/mailman/options/webobjects-dev/cawineguy%40gmail.com
  
   This email sent to [EMAIL PROTECTED]
  
 
 
 
   ___
  Do not post admin requests to the list. They will be ignored.
  Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
 
  http://lists.apple.com/mailman/options/webobjects-dev/cawineguy%40gmail.com
 
  This email sent to [EMAIL PROTECTED]
 



  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:

 http://lists.apple.com/mailman/options/webobjects-dev/cawineguy%40gmail.com

 This email sent to [EMAIL PROTECTED]

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: webobjects-dev@lists.apple.com

2008-04-04 Thread Mike Schrag
Please keep this on the list ... You're not including the actual stack  
trace, only the error message.  Are you not running this from inside  
Eclipse?


ms

On Apr 4, 2008, at 3:08 PM, Theodore Petrosky wrote:


Here is part of the log... the only change is making
the default be false... tell me if you need more. I
can zip the entire log and send it to you.

Ted


Apr 04 15:03:46 SooperSeekrit[49713]
(ERXJDBCUtilities.java:523) INFO
er.extensions.ERXJDBCUtilities  - Executing CREATE
TABLE _dbupdater (lockowner varchar(100), modelname
varchar(100)  NOT NULL, updatelock int4  NOT NULL,
version int4  NOT NULL)
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Begin Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -
evaluateExpression:
com.webobjects.jdbcadaptor.PostgresqlExpression:
UPDATE _dbupdater SET lockowner = ?::varchar(100),
updatelock = ?::int4 WHERE (modelname =
?::varchar(100) AND (updatelock = ?::int4 OR lockowner
= ?::varchar(100))) withBindings:
1:SooperSeekrit--1(lockOwner), 2:1(updateLock),
3:SooperSeekrit(modelName), 4:0(updateLock),
5:SooperSeekrit--1(lockOwner)
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Commit Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Begin Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -
evaluateExpression:
com.webobjects.jdbcadaptor.PostgresqlExpression:
SELECT t0.updatelock FROM _dbupdater t0 WHERE
t0.modelname = ?::varchar(100) withBindings:
1:SooperSeekrit(modelName)
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  - 0 row(s)
processed
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Commit Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Begin Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -
evaluateExpression:
com.webobjects.jdbcadaptor.PostgresqlExpression:
INSERT INTO _dbupdater(lockowner, version,
updatelock, modelname) VALUES (?::varchar(100),
?::int4, ?::int4, ?::varchar(100)) withBindings:
1:SooperSeekrit--1(lockOwner), 2:-1(version),
3:1(updateLock), 4:SooperSeekrit(modelName)
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Commit Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXJDBCMigrationLock.java:105) INFO
er.extensions.migration.ERXJDBCMigrationLock  -
Waiting on updateLock for model 'SooperSeekrit' ...
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Begin Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -
evaluateExpression:
com.webobjects.jdbcadaptor.PostgresqlExpression:
SELECT t0.version FROM _dbupdater t0 WHERE
t0.modelname = ?::varchar(100) withBindings:
1:SooperSeekrit(modelName)
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  - fetch
canceled
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  - 1 row(s)
processed
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXMigrator.java:392) INFO
er.extensions.migration.ERXMigrator  - Upgrading
SooperSeekrit to version 0 with migration
'[EMAIL PROTECTED]'
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXJDBCUtilities.java:523) INFO
er.extensions.ERXJDBCUtilities  - Executing CREATE
TABLE t_user (c_first_name varchar(255)  NOT NULL,
c_last_name varchar(255), c_password varchar(255)  NOT
NULL, c_username varchar(255)  NOT NULL, id int4  NOT
NULL)
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXJDBCUtilities.java:523) INFO
er.extensions.ERXJDBCUtilities  - Executing ALTER
TABLE t_user ADD CONSTRAINT t_user_pk PRIMARY KEY (id)
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -
evaluateExpression:
com.webobjects.jdbcadaptor.PostgresqlExpression:
UPDATE _dbupdater SET version = ?::int4 WHERE
modelname = ?::varchar(100) withBindings:
1:0(version), 2:SooperSeekrit(modelName)
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Commit Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Begin Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXMigrator.java:400) INFO
er.extensions.migration.ERXMigrator  - SooperSeekrit
is now version 0
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Commit Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -  ===
Begin Internal Transaction
Apr 04 15:03:47 SooperSeekrit[49713]
(ERXNSLogLog4jBridge.java:44) DEBUG NSLog  -
evaluateExpression:
com.webobjects.jdbcadaptor.PostgresqlExpression:
UPDATE _dbupdater SET lockowner = NULL, updatelock =
?::int4 WHERE 

Re: Inline bindings: attribute string value begining with $

2008-04-04 Thread Mike Schrag

wo:str value=$amount numberformat=$#,##0 /

\$#,##0

ms ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Apache 2.2 cgi-bin forbidden

2008-04-04 Thread Lachlan Deck

Hi there,

I know the easy option for /private/etc/apache2/httpd.conf:
Directory /
Options FollowSymLinks
AllowOverride None
#Order deny,allow
#Deny from all
/Directory

But what's the better option so as not to open things up so much and  
still avoid the 403 Forbidden?


Thanks

with regards,
--

Lachlan Deck

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Apache 2.2 cgi-bin forbidden

2008-04-04 Thread Q

I do this with apache 2 on FreeBSD

Location /cgi-bin/WebObjects
Allow from All
/Location

Alias /WebObjects PATH TO DOCROOT/WebObjects
Location /WebObjects
Options -Indexes
Allow from All
/Location


On 05/04/2008, at 8:21 AM, Lachlan Deck wrote:

Hi there,

I know the easy option for /private/etc/apache2/httpd.conf:
Directory /
   Options FollowSymLinks
   AllowOverride None
#Order deny,allow
#Deny from all
/Directory

But what's the better option so as not to open things up so much and  
still avoid the 403 Forbidden?


Thanks

with regards,
--

Lachlan Deck

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com

This email sent to [EMAIL PROTECTED]




--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Apache 2.2 cgi-bin forbidden

2008-04-04 Thread Lachlan Deck

Thanks Quinton,

just wondering, however, why this part that's already there isn't  
working:


...
Directory /
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
/Directory
...
Directory /Library/WebServer/CGI-Executables
AllowOverride None
Options None
Order allow,deny
Allow from all
/Directory
...
IfModule alias_module
   ...
   ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/ 
WebServer/CGI-Executables/$1

/IfModule


On 05/04/2008, at 9:25 AM, Q wrote:

I do this with apache 2 on FreeBSD

Location /cgi-bin/WebObjects
   Allow from All
/Location

Alias /WebObjects PATH TO DOCROOT/WebObjects
Location /WebObjects
   Options -Indexes
   Allow from All
/Location


On 05/04/2008, at 8:21 AM, Lachlan Deck wrote:

Hi there,

I know the easy option for /private/etc/apache2/httpd.conf:
Directory /
  Options FollowSymLinks
  AllowOverride None
#Order deny,allow
#Deny from all
/Directory

But what's the better option so as not to open things up so much  
and still avoid the 403 Forbidden?


Thanks

with regards,
--

Lachlan Deck

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com

This email sent to [EMAIL PROTECTED]




--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806





with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


WOWODC traveling tips

2008-04-04 Thread Pascal Robert

I added a page for traveling tips:

http://www.wocommunity.org/wowodc08/tips.html

If you want to contribute to this page, drop me a note.
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


WODirectConnectEnabled=false again

2008-04-04 Thread Lachlan Deck

Hi there,

Gotta love a new system presenting problems once solved/forgotten  
years ago :-)


Okay, so I've set up apache/wotaskd/etc up and running... If I run  
with direct connect enabled my app responds fine. But this is not what  
I want to do...


I've touched /tmp/logWebObjects. The only output I've gotten is  
following; only one mention of 'MyApp'...

--
Info: Added new config server localhost:1085.
Debug: init_adaptor(): ac_init succeeded
Debug: init_adaptor(): transaction_init() succeeded
Info: Reading configuration from 
http://localhost:1085/WebObjects/wotaskd.woa/wa/woconfig
Info: attempting to connect to localhost on port 1085
Info: Preparing to read config for host: localhost
Info: New response: HTTP/1.0 200 Apple WebObjects
Info: ac_newInstance(): added JavaMonitor:-56789 (56789)
Info: ac_newInstance(): added MyApp:-51231 (51231)
Info: WebObjects_post_config(): WebObjects adaptor initialization  
succeeded.

--

No further logs on subsequent restarts of app within WOLips.

If in WOLips prefs I have ProjectBuilder Server enabled or WOLips  
server and hit my app I get (after a long wait):

No instance available

Tried turning on Build  write PB.project on build and doing a clean  
build. Still no go.


After waiting a while I'm seeing in the app's logs:
183118 WARN  2008-04-05 14:15:05,295 [WorkerThread0]  
(er.extensions.ERXNSLogLog4jBridge, appendln, 41) -
WOWorkerThread id=0 socket=Socket[addr=/ 
127.0.0.1,port=51347,localport=51231] Exception while sending  
response: java.net.SocketException: Broken pipe


What am I missing?
Thanks

with regards,
--

Lachlan Deck
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: WODirectConnectEnabled=false again

2008-04-04 Thread Chuck Hill

Have you done the localhost thing?
http://wiki.objectstyle.org/confluence/display/WO/Development+Tools-Running+Through+Apache

Chuck

On Apr 4, 2008, at 8:20 PM, Lachlan Deck wrote:


Hi there,

Gotta love a new system presenting problems once solved/forgotten  
years ago :-)


Okay, so I've set up apache/wotaskd/etc up and running... If I run  
with direct connect enabled my app responds fine. But this is not  
what I want to do...


I've touched /tmp/logWebObjects. The only output I've gotten is  
following; only one mention of 'MyApp'...

--
Info: Added new config server localhost:1085.
Debug: init_adaptor(): ac_init succeeded
Debug: init_adaptor(): transaction_init() succeeded
Info: Reading configuration from 
http://localhost:1085/WebObjects/wotaskd.woa/wa/woconfig
Info: attempting to connect to localhost on port 1085
Info: Preparing to read config for host: localhost
Info: New response: HTTP/1.0 200 Apple WebObjects
Info: ac_newInstance(): added JavaMonitor:-56789 (56789)
Info: ac_newInstance(): added MyApp:-51231 (51231)
Info: WebObjects_post_config(): WebObjects adaptor initialization  
succeeded.

--

No further logs on subsequent restarts of app within WOLips.

If in WOLips prefs I have ProjectBuilder Server enabled or WOLips  
server and hit my app I get (after a long wait):

No instance available

Tried turning on Build  write PB.project on build and doing a clean  
build. Still no go.


After waiting a while I'm seeing in the app's logs:
183118 WARN  2008-04-05 14:15:05,295 [WorkerThread0]  
(er.extensions.ERXNSLogLog4jBridge, appendln, 41) -
WOWorkerThread id=0 socket=Socket[addr=/ 
127.0.0.1,port=51347,localport=51231] Exception while sending  
response: java.net.SocketException: Broken pipe


What am I missing?
Thanks

with regards,
--

Lachlan Deck
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [EMAIL PROTECTED]



--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Apache 2.2 cgi-bin forbidden

2008-04-04 Thread Q


What part of that config isn't working?

I don't think it means what you think it does.

On 05/04/2008, at 9:00 AM, Lachlan Deck wrote:

Thanks Quinton,

just wondering, however, why this part that's already there isn't  
working:


...
Directory /
   Options FollowSymLinks
   AllowOverride None
   Order deny,allow
   Deny from all
/Directory
...
Directory /Library/WebServer/CGI-Executables
   AllowOverride None
   Options None
   Order allow,deny
   Allow from all
/Directory
...
IfModule alias_module
  ...
  ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) /Library/ 
WebServer/CGI-Executables/$1

/IfModule


On 05/04/2008, at 9:25 AM, Q wrote:

I do this with apache 2 on FreeBSD

Location /cgi-bin/WebObjects
  Allow from All
/Location

Alias /WebObjects PATH TO DOCROOT/WebObjects
Location /WebObjects
  Options -Indexes
  Allow from All
/Location


On 05/04/2008, at 8:21 AM, Lachlan Deck wrote:

Hi there,

I know the easy option for /private/etc/apache2/httpd.conf:
Directory /
 Options FollowSymLinks
 AllowOverride None
#Order deny,allow
#Deny from all
/Directory

But what's the better option so as not to open things up so much  
and still avoid the 403 Forbidden?


Thanks

with regards,
--

Lachlan Deck

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com

This email sent to [EMAIL PROTECTED]




--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806





with regards,
--

Lachlan Deck







--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: WODirectConnectEnabled=false again

2008-04-04 Thread Lachlan Deck
I'd already added the -WOHost localhost switches to the  
wotask,womonitor plists + same switch in my app.


I'd not done it for httpd.conf. Set that, restarted it... still no go.

On 05/04/2008, at 2:51 PM, Chuck Hill wrote:

Have you done the localhost thing?
http://wiki.objectstyle.org/confluence/display/WO/Development+Tools-Running+Through+Apache

Chuck

On Apr 4, 2008, at 8:20 PM, Lachlan Deck wrote:


Hi there,

Gotta love a new system presenting problems once solved/forgotten  
years ago :-)


Okay, so I've set up apache/wotaskd/etc up and running... If I run  
with direct connect enabled my app responds fine. But this is not  
what I want to do...


I've touched /tmp/logWebObjects. The only output I've gotten is  
following; only one mention of 'MyApp'...

--
Info: Added new config server localhost:1085.
Debug: init_adaptor(): ac_init succeeded
Debug: init_adaptor(): transaction_init() succeeded
Info: Reading configuration from 
http://localhost:1085/WebObjects/wotaskd.woa/wa/woconfig
Info: attempting to connect to localhost on port 1085
Info: Preparing to read config for host: localhost
Info: New response: HTTP/1.0 200 Apple WebObjects
Info: ac_newInstance(): added JavaMonitor:-56789 (56789)
Info: ac_newInstance(): added MyApp:-51231 (51231)
Info: WebObjects_post_config(): WebObjects adaptor initialization  
succeeded.

--

No further logs on subsequent restarts of app within WOLips.

If in WOLips prefs I have ProjectBuilder Server enabled or WOLips  
server and hit my app I get (after a long wait):

No instance available

Tried turning on Build  write PB.project on build and doing a  
clean build. Still no go.


After waiting a while I'm seeing in the app's logs:
183118 WARN  2008-04-05 14:15:05,295 [WorkerThread0]  
(er.extensions.ERXNSLogLog4jBridge, appendln, 41) -
WOWorkerThread id=0 socket=Socket[addr=/ 
127.0.0.1,port=51347,localport=51231] Exception while sending  
response: java.net.SocketException: Broken pipe


What am I missing?
Thanks

with regards,
--

Lachlan Deck
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [EMAIL PROTECTED]



--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects







with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Convenience functions in model classes

2008-04-04 Thread Jeff Schmitz

Hello

As I get rolling down the EO highway, I find myself wanting to put  
convenience functions in the model classes that are generated by the  
EOGenerator (yes, I'm using the generation gap classes for this).   
e.g. to more closely mimic indexing a two dimensional array like the  
old way I used to do things, I create the following to retrieve a  
Game object from in from a model class that contains a one to many  
relationship to Game objects:


  public Game game(int group, int gameIndex) {
	EOQualifier gameQual =  
Game.GROUP.eq(group).and(Game.GAMEINDEX.eq(gameIndex));

Game game = this.games(gameQual).objectAtIndex(0);
return game;
  }

Is this a good thing?  Just hoping to get some feedback before I go  
too far down this road.


Thanks,
Jeff


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Inline bindings: attribute string value begining with $

2008-04-04 Thread Ricardo Parada


On Apr 4, 2008, at 8:52 PM, [EMAIL PROTECTED]  
wrote:



From: Mike Schrag [EMAIL PROTECTED]
Subject: Re: Inline bindings: attribute string value begining with $
To: WebObjects-Dev Mailing List webobjects-dev@lists.apple.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


wo:str value=$amount numberformat=$#,##0 /

\$#,##0


Do I need to use the wonder frameworks for that to work?

'cause I'm not using Wonder.  I have setup aliases in my app for  
dynamic elements (i.e. str for WOString) and then I setup $ as the  
dynamic attribute prefix.  So it may look like I'm using one of the  
Wonder frameworks but I'm not.  :-(


Anyways, I tried using the \ character but it shows up in the  
displayed value, i.e. \$4.50


:-)

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]