Re: MSIE is not the postman

2007-05-10 Thread Alexander Spohr


Am 09.05.2007 um 22:25 schrieb Thomas:

curl -v http://stage.thewoodworks.com.au/product/products/125/ 
SCROLL+SAWS/M0239.html

* About to connect() to stage.thewoodworks.com.au port 80
*   Trying 202.125.168.160... * connected
* Connected to stage.thewoodworks.com.au (202.125.168.160) port 80
 GET /product/products/125/SCROLL+SAWS/M0239.html HTTP/1.1
User-Agent: curl/7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1  
OpenSSL/0.9.7l zlib/1.2.3

Host: stage.thewoodworks.com.au
Pragma: no-cache
Accept: */*

 HTTP/1.1 200 Apple
 Date: Wed, 09 May 2007 20:06:52 GMT
 Server: Apache/1.3.33 (Darwin) mod_jk/1.2.6 DAV/1.0.3 mod_ssl/ 
2.8.24 OpenSSL/0.9.7l PHP/4.4.4
 cache-control: private, no-cache, no-store, must-revalidate, max- 
age=0

 expires: Mon, 07-May-2007 19:45:15 GMT
 pragma: no-cache
 set-cookie: wosid=2aqsarrQxIE0HqVfAE72qw; version=1; path=/
 Cache-Control: max-age=60
 Expires: Wed, 09 May 2007 20:07:52 GMT
 content-length: 11882
 Connection: close
 Content-Type: text/html; charset=UTF-8



Just a guess: You have two different Expires-headers.
I do remember having problems with two content-length headers.

If its not that, I can only guess a problem in one of the JavaScripts  
or something like it.


Regards,
atze

___
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]


Framework deployment

2007-05-10 Thread WIESEN Bruno

Hello,

I recently deployed a framework which contains pictures in  
WebServerResources.
At the beginning, pictures weren't displayed, I had to put the  
framework in /Library/WebServer/Documents/WebObjects/Framework/ 
myFramework.framework in addition to in /Libray/Framework/ 
myFramework.framework...


Is there a way to only put it in /Library/Framework??

Thanks.

Bruno.
___
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: user obstacles to WOLips adoption (was: Apple's Support of WebObjects)

2007-05-10 Thread Robert Walker

Ashley,

I hate to break it to you, but along with the deprecation of the  
Xcode based tools, comes the deprecation of D2JC (and also non- 
direct to Java Client as well).


Again as mentioned in some previous posts, this was pure conjecture.   
It's really unclear whether or not this is true, and I don't believe  
any public statement exists to clarify this.  Maybe we'll know more  
after WWDC this year.  I'm not in the know on this issue.  I  
apologize  for the poor wording in my original post.


InterfaceBuilder was never a good tool for building Java GUIs, and  
it amazed me (in a weird way) that they could even, or would want  
to, do it.  There are plenty of other tools for building GUIs in  
Java that would work with JavaClient.


Here I was referring to JavaClient as implemented in WO/EOF.  That is  
to say by distributing objects between the server and client though  
the EO distribution channel, and using IB to create Swing interfaces  
by translating Cocoa UI components.  This includes the binding  
technology used in IB to build these interfaces.  This was, sort of,  
a leftover from before WO was converted to Java.  IB was the tool to  
write client-side applications that were written in Obj-C using a  
form of binding technology.  The only way to make this work in Java  
was to translate some portion of the Cocoa controls to Swing using  
the Cocoa-Java bridge.  I did not intend to refer to pure Java Swing  
development.


On May 9, 2007, at 11:30 PM, Ashley Aitken wrote:



Hi All,

On 09/05/2007, at 9:14 AM, Robert Walker wrote:

At least that's my understanding.  I could be wrong about that.   
But, I'm pretty certain that being able to create Java Client  
applications with custom interfaces using Interface Builder has no  
future.


I believe David (correct me if I am wrong) was not referring to  
using InterfaceBuilder but the ability for D2JC to automagically  
build an entire Java thick client without any coding - this still  
blows my mind!


InterfaceBuilder was never a good tool for building Java GUIs, and  
it amazed me (in a weird way) that they could even, or would want  
to, do it.  There are plenty of other tools for building GUIs in  
Java that would work with JavaClient.


I hate to break it to you, but along with the deprecation of the  
Xcode based tools, comes the deprecation of D2JC (and also non- 
direct to Java Client as well).


Now with regards to the underlying technologies, that may be true,  
can someone confirm this?  JavaClient and D2JC never really took  
off, I believe, mostly because it was way ahead of its time (like  
WO was too).


Just wait though, rich clients are the hot topic at the moment in  
the Enterprise world, and soon they will realise its a bonus to be  
able to do real client-side business processing (a la JavaClient).


It seems, Apple innovates and tries to lead developers who  
(generally speaking) have a hard time keeping up.  Whereas,  
Microsoft only goes where it gets pulled by the market (although  
things are changing with .Net).


Cheers,
Ashley.

--
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com
Skype Name: MrHatken (GMT + 8 Hours!)





--
Robert Walker
[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: Framework deployment

2007-05-10 Thread Robert Walker

Bruno,


Is there a way to only put it in /Library/Framework??


/Library/Framework is not available to your web server, thank  
goodness!  You really don't want that.  What you have here is what's  
called a split-install.  Web server resources are separated out so  
they can be made available in a directory under your web site's  
document root directory.  Which in your case is /Library/WebServer/ 
Documents.  Your web server will, and should, only have access to  
files and folders contained within this directory.  It's a security  
thing.


On May 10, 2007, at 7:21 AM, WIESEN Bruno wrote:


Hello,

I recently deployed a framework which contains pictures in  
WebServerResources.
At the beginning, pictures weren't displayed, I had to put the  
framework in /Library/WebServer/Documents/WebObjects/Framework/ 
myFramework.framework in addition to in /Libray/Framework/ 
myFramework.framework...


Is there a way to only put it in /Library/Framework??

Thanks.

Bruno.
___
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/robertwalker1% 
40mac.com


This email sent to [EMAIL PROTECTED]


--
Robert Walker
[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]

NSTimestampFormatter and languages

2007-05-10 Thread Miguel Arroz

Hi!

  How can I make the NSTimestampFormatter print the month names in a  
specified language?


  Yours

Miguel Arroz

The world lies in the hands of evil
 And we pray it would last -- Apocalyptica, Life Burns!

Miguel Arroz
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/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


A custom way to sort EOs by key ?

2007-05-10 Thread Fabrice Pipart

Hi Dear List !

I have been looking for way to sort my EOs in a custom way for hours  
and did not find any solution.

I wondered if someone had a solution for this.
I only want to do that sorting in memory with  
EOSortOrdering .sortOrderingWithKey(String key, NSSelector selector)


Let's say I have a Screen EO
Screen has a name
Let's say I have EOs with names Screen1, Screen2, Screen11,  
Screen22, Screen3
WebObjects using EOSortOrdering.CompareAscending allows me to an  
array of those EOs sorted like this :

Screen1
Screen11
Screen2
Screen22
Screen3

Wouldn't it be great to be able to sort them like this?
Screen1
Screen2
Screen3
Screen11
Screen22

So I tried to understand how to subclass something, create a  
corresponding NSSelector like are EOSortOrdering.CompareAscending and  
such... no luck :-(


Does anyone have an idea of how this could be done???


Regards


www.easyshadow.com

International Corporate Consulting
Palais de la Scala
1 avenue Henri Dunant
Suite 1155
MC - 98000 Monaco

Skype: fabrice.pipart
Tel.  +377 97 98 21 04 (direct)
Fax. +377 97 70 88 07




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]

Fwd: NSTimestampFormatter and languages

2007-05-10 Thread Dev WO

Sorry, I forgot to reply-all

Xavier



De : Dev WO [EMAIL PROTECTED]
Date : 10 mai 2007 16:31:53 HAEC
À : Miguel Arroz [EMAIL PROTECTED]
Objet : Rép : NSTimestampFormatter and languages

Hello Miguel,
here's what I'm doing:

import java.text.DateFormatSymbols;
import java.util.Locale;

		NSTimestampFormatter formatter = new NSTimestampFormatter( %Y-%m- 
%d, new DateFormatSymbols(Locale.ENGLISH));

String stringDate = formatter.format(object().date());

Hope it helps

Xavier




Hi!

  How can I make the NSTimestampFormatter print the month names in  
a specified language?


  Yours

Miguel Arroz

The world lies in the hands of evil
 And we pray it would last -- Apocalyptica, Life Burns!

Miguel Arroz
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/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects% 
40anazys.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: A custom way to sort EOs by key ?

2007-05-10 Thread Ken Anderson

Fabrice,

I would suggest, if possible, to separate the number from the name in  
the EO.  That way, you could just sort on the number, or a  
combination of name and number.


Even with your own sorting, you're going to have to pull the number  
off the end of the string to sort it properly.


Do you want to do this with a database query, or in memory?  If in  
memory, you could create a method that pulls the number off and  
returns that number, then use that method as the key for sorting in  
memory.


Ken

On May 10, 2007, at 11:21 AM, Fabrice Pipart wrote:


Hi Dear List !

I have been looking for way to sort my EOs in a custom way for  
hours and did not find any solution.

I wondered if someone had a solution for this.
I only want to do that sorting in memory with  
EOSortOrdering .sortOrderingWithKey(String key, NSSelector selector)


Let's say I have a Screen EO
Screen has a name
Let's say I have EOs with names Screen1, Screen2, Screen11,  
Screen22, Screen3
WebObjects using EOSortOrdering.CompareAscending allows me to an  
array of those EOs sorted like this :

Screen1
Screen11
Screen2
Screen22
Screen3

Wouldn't it be great to be able to sort them like this?
Screen1
Screen2
Screen3
Screen11
Screen22

So I tried to understand how to subclass something, create a  
corresponding NSSelector like are EOSortOrdering.CompareAscending  
and such... no luck :-(


Does anyone have an idea of how this could be done???


Regards


www.easyshadow.com

International Corporate Consulting
Palais de la Scala
1 avenue Henri Dunant
Suite 1155
MC - 98000 Monaco

Skype: fabrice.pipart
Tel.  +377 97 98 21 04 (direct)
Fax. +377 97 70 88 07


 ___
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/kenlists% 
40anderhome.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: A custom way to sort EOs by key ?

2007-05-10 Thread David Holt
You could also add an ordering column to the EO. Then you sort on  
the ordering column.


David

On 10 May 2007, at 8:27 AM, Ken Anderson wrote:


Fabrice,

I would suggest, if possible, to separate the number from the name  
in the EO.  That way, you could just sort on the number, or a  
combination of name and number.


Even with your own sorting, you're going to have to pull the number  
off the end of the string to sort it properly.


Do you want to do this with a database query, or in memory?  If in  
memory, you could create a method that pulls the number off and  
returns that number, then use that method as the key for sorting in  
memory.


Ken

On May 10, 2007, at 11:21 AM, Fabrice Pipart wrote:


Hi Dear List !

I have been looking for way to sort my EOs in a custom way for  
hours and did not find any solution.

I wondered if someone had a solution for this.
I only want to do that sorting in memory with  
EOSortOrdering .sortOrderingWithKey(String key, NSSelector selector)


Let's say I have a Screen EO
Screen has a name
Let's say I have EOs with names Screen1, Screen2, Screen11,  
Screen22, Screen3
WebObjects using EOSortOrdering.CompareAscending allows me to an  
array of those EOs sorted like this :

Screen1
Screen11
Screen2
Screen22
Screen3

Wouldn't it be great to be able to sort them like this?
Screen1
Screen2
Screen3
Screen11
Screen22

So I tried to understand how to subclass something, create a  
corresponding NSSelector like are EOSortOrdering.CompareAscending  
and such... no luck :-(


Does anyone have an idea of how this could be done???


Regards


www.easyshadow.com

International Corporate Consulting
Palais de la Scala
1 avenue Henri Dunant
Suite 1155
MC - 98000 Monaco

Skype: fabrice.pipart
Tel.  +377 97 98 21 04 (direct)
Fax. +377 97 70 88 07


 ___
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/kenlists% 
40anderhome.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/programmingosx 
%40mac.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: NSTimer replacement?

2007-05-10 Thread Andrew Lindesay

Hello Ted;

Hey, out of curiosity why has no one mentioned WOTimer?  In my apps  
that's

what I use.


I have found this to work fine in a transitional WO deployment, but  
to not work in a servlet deploy.


cheers.

___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz


___
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: Snapshot Question

2007-05-10 Thread Andrew Lindesay
Thanks for the advice Mike -- I'll follow up on that early next week  
and see if I can resolve this issue.



You say below you're calling forgetSnapshotForGlobalID(...).  Under
what circumstances?  That would likely cause this ... If you have


cheers.

___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz


___
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: A custom way to sort EOs by key ?

2007-05-10 Thread Robert Walker
You could also add an ordering column to the EO. Then you sort on  
the ordering column.


Does anyone know if WO or WOnder has build-in support for this.  If  
so that would be nice to have available included.


Ruby on Rails does have this feature built-in.  It's called  
acts_as_list and the Rails framework completely automates this  
feature, with a very simple setup on the developer's end.


On May 10, 2007, at 1:06 PM, David Holt wrote:

You could also add an ordering column to the EO. Then you sort on  
the ordering column.


David

On 10 May 2007, at 8:27 AM, Ken Anderson wrote:


Fabrice,

I would suggest, if possible, to separate the number from the name  
in the EO.  That way, you could just sort on the number, or a  
combination of name and number.


Even with your own sorting, you're going to have to pull the  
number off the end of the string to sort it properly.


Do you want to do this with a database query, or in memory?  If in  
memory, you could create a method that pulls the number off and  
returns that number, then use that method as the key for sorting  
in memory.


Ken

On May 10, 2007, at 11:21 AM, Fabrice Pipart wrote:


Hi Dear List !

I have been looking for way to sort my EOs in a custom way for  
hours and did not find any solution.

I wondered if someone had a solution for this.
I only want to do that sorting in memory with  
EOSortOrdering .sortOrderingWithKey(String key, NSSelector selector)


Let's say I have a Screen EO
Screen has a name
Let's say I have EOs with names Screen1, Screen2, Screen11,  
Screen22, Screen3
WebObjects using EOSortOrdering.CompareAscending allows me to an  
array of those EOs sorted like this :

Screen1
Screen11
Screen2
Screen22
Screen3

Wouldn't it be great to be able to sort them like this?
Screen1
Screen2
Screen3
Screen11
Screen22

So I tried to understand how to subclass something, create a  
corresponding NSSelector like are EOSortOrdering.CompareAscending  
and such... no luck :-(


Does anyone have an idea of how this could be done???


Regards


www.easyshadow.com

International Corporate Consulting
Palais de la Scala
1 avenue Henri Dunant
Suite 1155
MC - 98000 Monaco

Skype: fabrice.pipart
Tel.  +377 97 98 21 04 (direct)
Fax. +377 97 70 88 07


 ___
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/kenlists% 
40anderhome.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/ 
programmingosx%40mac.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/robertwalker1% 
40mac.com


This email sent to [EMAIL PROTECTED]


--
Robert Walker
[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: A custom way to sort EOs by key ?

2007-05-10 Thread Matthew W. Taylor

It sounds like what you want to do is perform Natural sort ordering to the 
results.  This kind of ordering is a little more modern in the sense that it's 
new to the Finder in Mac OS X, and well, to my knowledge Windows Explorer still 
doesn't organize file lists in this way.

Either way, you can do something like this to sort your lists of EO's once 
fetched:

try {
sortedArray = 
unsortedArray.sortedArrayUsingComparator(new 
EOCustomObjectNaturalOrderComparator(nameOfKeyToSortBy));
}
catch (Exception e) {
NSLog.out.appendln(sorting problem:  + 
e.getMessage());
sortedArray = unsortedArray;
}

And, here is how I have implemented an NSComparator from the code originally 
written by Martin Pool in C, with an initial Java translation by Pierre-Luc 
Paour:

-=- BEGIN Java file -=- 

/*

//  EOCustomObjectNaturalOrderComparator.java
//  DiLL
//
//  Created by Matthew Taylor on 7/28/05.
//  Northwestern University. 

*/

/*
 Based entirely on:

 NaturalOrderComparator.java -- Perform 'natural order' comparisons of strings 
in Java.
 Copyright (C) 2003 by Pierre-Luc Paour [EMAIL PROTECTED]
 
 Based on the C version by Martin Pool, of which this is more or less a 
straight conversion.
 Copyright (C) 2000 by Martin Pool [EMAIL PROTECTED]
 
 This software is provided 'as-is', without any express or implied
 warranty.  In no event will the authors be held liable for any damages
 arising from the use of this software.
 
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:
 
 1. The origin of this software must not be misrepresented; you must not
 claim that you wrote the original software. If you use this software
 in a product, an acknowledgment in the product documentation would be
 appreciated but is not required.
 2. Altered source versions must be plainly marked as such, and must not be
 misrepresented as being the original software.
 3. This notice may not be removed or altered from any source distribution.
 */

import java.util.*;
import com.webobjects.eocontrol.EOCustomObject;
import com.webobjects.foundation.NSComparator;

public class EOCustomObjectNaturalOrderComparator extends NSComparator {
String nameOfObjectKeyToSortBy;

public EOCustomObjectNaturalOrderComparator(String 
newNameOfObjectKeyToSortBy) {
nameOfObjectKeyToSortBy = newNameOfObjectKeyToSortBy;
}

int compareRight(String a, String b) {
int bias = 0;
int ia = 0;
int ib = 0;

// The longest run of digits wins.  That aside, the greatest
// value wins, but we can't know that it will until we've 
scanned
// both numbers to know that they have the same magnitude, so we
// remember it in BIAS.
for (;; ia++, ib++) {
char ca = charAt(a, ia);
char cb = charAt(b, ib);

if (!Character.isDigit(ca)
 !Character.isDigit(cb)) {
return bias;
} else if (!Character.isDigit(ca)) {
return NSComparator.OrderedAscending;
} else if (!Character.isDigit(cb)) {
return NSComparator.OrderedDescending;
} else if (ca  cb) {
if (bias == 0) {
bias = -1;
}
} else if (ca  cb) {
if (bias == 0)
bias = +1;
} else if (ca == 0  cb == 0) {
return bias;
}
}
}

public int compare(Object o1, Object o2) {
String a = 
(String)(((EOCustomObject)o1).storedValueForKey(nameOfObjectKeyToSortBy));
String b = 
(String)(((EOCustomObject)o2).storedValueForKey(nameOfObjectKeyToSortBy));

int ia = 0, ib = 0;
int nza = 0, nzb = 0;
char ca, cb;
int result;

while (true) {
// only count the number of zeroes leading the last 
number compared
nza = nzb = 0;

ca = charAt(a, ia); cb = charAt(b, ib);

// skip over leading spaces or zeros
while (Character.isSpaceChar(ca) || ca == '0') {

action not being called inside conditional/repetition

2007-05-10 Thread Guilherme melo

hello all ,
i have a WOActiveImage that has an action binding , but when i click on 
it there is no response , it is inside several conditionals and 
repetitions , when i take it out of them it works fine, but when it is 
inside nothing happens , anyone had treble with anything like this before ?


the ActiveImage4 action is not being called , this is just a part of the 
html code . i have a form and it has the binding multiple submit set to 
true.´


any help is greatly appreciated.

thx

Guilherme Melo



webobject name=Conditional3
   table class=resultado_busca border=0
   tr
   thCandidatos com problemas para agendamento/th
   /tr
 webobject name=Repetition1
   tr
   td colspan=2
   span class=errowebobject 
name=String2/webobject/span

   /td
   /tr
   tr
   td colspan=2webobject 
name=String1/webobject/td

   /tr
   webobject name=Repetition2
   tr
   td colspan=3webobject 
name=String3/webobject

   /td
   /tr
   webobject name=Repetition3
   tr
   tdProva marcada para
   webobject name=String4/webobject
   webobject name=String5/webobject
   br
   na sede
   webobject name=String6/webobject
   /td
   /tr
   webobject name=Conditional2
   tr
   td
   webobject 
name=ActiveImage4/webobject

   /td
   /tr
   /webobject
/webobject 
  /webobject

   /webobject
   /table
/webobject


___
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]


[OT] Helper for MacFuse + SSHFS

2007-05-10 Thread Q
I have been using MacFuse + sshfs quite a bit recently and for the most port I use it whenever I would have previously used scp, including when deploying apps.  To make life even simpler when working from the command line I have written a shell script to wrap the sshfs binary so it  just needs a sshfs/sftp url and an optional volume name, and it does everything else automagically so it mounts up and appears in the finder. This is even cooler when you use SSHKeychain and is a great command line companion to MacFusion.I have attached the script for anyone who is interested. (I hope attachments work)

mountsshfs
Description: Binary data
 If you have MacFuse installed and either MacFusion in /Applications or sshfs in /usr/local/bin then the script should just work. Usage is like this:mountsshfs sftp://[EMAIL PROTECTED]/path/to/branch mount-name finder-nameormountsshfs sftp://somehost/path/to/branch mount-name  (finder-name defaults to mount-name)or if ssh runs on a non standard portmountsshfs sshfs://somehost:/path/to/branch  (finder-name and mount-name default to somehost-branch)(or any combination thereof)Enjoy.-- Seeya...QQuinton Dolan - [EMAIL PROTECTED]Gold Coast, QLD, AustraliaPh: +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: NSTimer replacement?

2007-05-10 Thread Andrew Lindesay

Hello;


Hey, out of curiosity why has no one mentioned WOTimer?  In my apps
that's
what I use.


I have found this to work fine in a transitional WO deployment, but
to not work in a servlet deploy.


Sorry to reply to my own post, but that was supposed to be  
traditional rather than transitional.


cheers.

___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz


___
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]