reading a file form a component NoSuchFileException

2009-10-23 Thread Gustavo Pizano
Im sorry this is more Java related, i think,

Hello,  i need little help here, i alwasy crash myself in this, I put a .txt
file in hte resources folder, now i need to read it from within a .java of a
WOComponent.
I have tried many things, but its not working.

I have this structure: XWSLocalizer.woacontentsResourcespatterns.txt

and the component its in
XWSLocalizer.woacontentsResourcesjavaxwslocalizercomponents

I have tried: FileInputStream fstream = new
FileInputStream(../../../../Resurces/patterns.txt);
FileInputStream fstream = new FileInputStream(../patterns.txt);
FileInputStream fstream = new FileInputStream(.patterns.txt);

just doing a try and error, but nothign seesm to work here.

i was wondering if I put somethign in the Resources folder is there  a way
to go there with some Wonder or WO class, or somthing like that?


Cheers
G.
 ___
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 arch...@mail-archive.com

Re: reading a file form a component NoSuchFileException

2009-10-23 Thread Gustavo Pizano
I used the
String res =
WOApplication.application().resourceManager().urlForResourceNamed(patterns.txt,
null, null, null);
 FileInputStream fstream = new FileInputStream(res);
and still giving me FileNotFoundException.

:(



On Fri, Oct 23, 2009 at 8:51 AM, Gustavo Pizano
webobjectspic...@gmail.comwrote:

 Im sorry this is more Java related, i think,

 Hello,  i need little help here, i alwasy crash myself in this, I put a
 .txt file in hte resources folder, now i need to read it from within a .java
 of a WOComponent.
 I have tried many things, but its not working.

 I have this structure: XWSLocalizer.woacontentsResourcespatterns.txt

 and the component its in
 XWSLocalizer.woacontentsResourcesjavaxwslocalizercomponents

 I have tried: FileInputStream fstream = new
 FileInputStream(../../../../Resurces/patterns.txt);
 FileInputStream fstream = new FileInputStream(../patterns.txt);
 FileInputStream fstream = new FileInputStream(.patterns.txt);

 just doing a try and error, but nothign seesm to work here.

 i was wondering if I put somethign in the Resources folder is there  a way
 to go there with some Wonder or WO class, or somthing like that?


 Cheers
 G.


 ___
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 arch...@mail-archive.com

Can't access a Resource file (was:reading a file form a component NoSuchFileException)

2009-10-23 Thread Gustavo Pizano
I renamed the subject.. its more appropiate .

///

I used the
String res = 
WOApplication.application().resourceManager().urlForResourceNamed(patterns.txt,
null, null, null);
 FileInputStream fstream = new FileInputStream(res);
and still giving me FileNotFoundException.

:(

/

Im sorry this is more Java related, i think,

Hello,  i need little help here, i alwasy crash myself in this, I put a .txt
file in hte resources folder, now i need to read it from within a .java of a
WOComponent.
I have tried many things, but its not working.

I have this structure: XWSLocalizer.woacontentsResourcespatterns.txt

and the component its in
XWSLocalizer.woacontentsResourcesjavaxwslocalizercomponents

I have tried: FileInputStream fstream = new
FileInputStream(../../../../Resurces/patterns.txt);
FileInputStream fstream = new FileInputStream(../patterns.txt);
FileInputStream fstream = new FileInputStream(.patterns.txt);

just doing a try and error, but nothign seesm to work here.

i was wondering if I put somethign in the Resources folder is there  a way
to go there with some Wonder or WO class, or somthing like that?


Cheers
G.
 ___
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 arch...@mail-archive.com

Re: Snow Leopard and TimeZones

2009-10-23 Thread Mark Ritchie

On 22Oct2009, at 6:48 PM, David LeBer wrote:

Yes, they appear identical for me.


Yup, identical for me too...
It must be how they are being referenced/looked up.
Time is such a fun thing! ;-)
M.
___
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 arch...@mail-archive.com


Re: Can't access a Resource file (was:reading a file form a component NoSuchFileException)

2009-10-23 Thread Daniele Corti
Hi Gustavo,
I know you can use NSBundle to manage file in resources:

String path =
NSBundle.mainBundle().pathURLForResourcePath(test.txt).getPath();
NSLog.out.appendln(path);

   or you can simply read the file using:

   byte[] b = NSBundle.mainBundle().bytesForResourcePath(test.txt);
   NSLog.out.appendln(new String(b));

Hope this help

-- 
Daniele Corti
--
I DON'T DoubleClick


On Fri, Oct 23, 2009 at 09:12, Gustavo Pizano webobjectspic...@gmail.comwrote:

 I renamed the subject.. its more appropiate .

 ///

 I used the
 String res = 
 WOApplication.application().resourceManager().urlForResourceNamed(patterns.txt,
 null, null, null);
  FileInputStream fstream = new FileInputStream(res);
 and still giving me FileNotFoundException.

 :(

 /

 Im sorry this is more Java related, i think,

 Hello,  i need little help here, i alwasy crash myself in this, I put a
 .txt file in hte resources folder, now i need to read it from within a .java
 of a WOComponent.
 I have tried many things, but its not working.

 I have this structure: XWSLocalizer.woacontentsResourcespatterns.txt

 and the component its in
 XWSLocalizer.woacontentsResourcesjavaxwslocalizercomponents

 I have tried: FileInputStream fstream = new
 FileInputStream(../../../../Resurces/patterns.txt);
 FileInputStream fstream = new FileInputStream(../patterns.txt);
 FileInputStream fstream = new FileInputStream(.patterns.txt);

 just doing a try and error, but nothign seesm to work here.

 i was wondering if I put somethign in the Resources folder is there  a way
 to go there with some Wonder or WO class, or somthing like that?


 Cheers
 G.



  ___
 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/ildenae%40gmail.com

 This email sent to ilde...@gmail.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 arch...@mail-archive.com

Re: Can't access a Resource file (was:reading a file form a component NoSuchFileException)

2009-10-23 Thread Gustavo Pizano
Daniele:

Thanks  that made it!! I thought. NSBundle was cocoa-only.

G.


On Fri, Oct 23, 2009 at 9:58 AM, Daniele Corti ilde...@gmail.com wrote:

 Hi Gustavo,
 I know you can use NSBundle to manage file in resources:

 String path =
 NSBundle.mainBundle().pathURLForResourcePath(test.txt).getPath();
 NSLog.out.appendln(path);

or you can simply read the file using:

byte[] b = NSBundle.mainBundle().bytesForResourcePath(test.txt);
NSLog.out.appendln(new String(b));

 Hope this help

 --
 Daniele Corti
 --
 I DON'T DoubleClick


 On Fri, Oct 23, 2009 at 09:12, Gustavo Pizano 
 webobjectspic...@gmail.comwrote:

 I renamed the subject.. its more appropiate .

 ///

 I used the
 String res = 
 WOApplication.application().resourceManager().urlForResourceNamed(patterns.txt,
 null, null, null);
  FileInputStream fstream = new FileInputStream(res);
 and still giving me FileNotFoundException.

 :(

 /

 Im sorry this is more Java related, i think,

 Hello,  i need little help here, i alwasy crash myself in this, I put a
 .txt file in hte resources folder, now i need to read it from within a .java
 of a WOComponent.
 I have tried many things, but its not working.

 I have this structure: XWSLocalizer.woacontentsResourcespatterns.txt

 and the component its in
 XWSLocalizer.woacontentsResourcesjavaxwslocalizercomponents

 I have tried: FileInputStream fstream = new
 FileInputStream(../../../../Resurces/patterns.txt);
 FileInputStream fstream = new FileInputStream(../patterns.txt);
 FileInputStream fstream = new FileInputStream(.patterns.txt);

 just doing a try and error, but nothign seesm to work here.

 i was wondering if I put somethign in the Resources folder is there  a way
 to go there with some Wonder or WO class, or somthing like that?


 Cheers
 G.



  ___
 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/ildenae%40gmail.com

 This email sent to ilde...@gmail.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 arch...@mail-archive.com

Re: War deploy; maven archetypes problems; web.xml filtering

2009-10-23 Thread Henrique Prange

Hi Greg,

Mr. G Brown wrote:
I put version 2.1-beta-1 into the archetype  created pom and now 
filtering works! (Maven downloaded many things 
like maven-filtering/1.0-beta-2, etc. )


I had version 2.1-alpha-1 ; and that didn't work, that appears to be the 
problem here.


Should the archetype create a pom with a group id for _maven_-war-_plugin?_



The org.apache.maven.plugins groupId is the default groupId for 
plug-ins. You can suppress this information without problem.


Is there a good way to update plugins?  



The versions-maven-plugin [1] can be used to check for plug-in or 
dependency updates. Take a look at the versions:display-plugin-updates 
goal and the versions:display-dependency-updates goal.


I think we could use a status page, as all these things change so often, 
which would have what versions of archetypes, plugins, wolips, etc which 
are recommended. 


Is there a recommended set of plugins which work well together?



Every Maven release comes with a set of basic plug-ins defined in the 
Super POM. That is why your build uses the maven-war-plugin 2.1-alpha-1 
instead of the latest release (2.1-beta-1).


I haven't found problems with the default set of plug-ins defined by 
Maven 2.2.1. Anyway, it is always recommended to explicitly declare the 
version of each plug-in used in your build to enforce build 
reproducibility. IIRC, in Maven 3 this will be a requirement.



In a week (or two)  I'll solicit some ideas...

The web.xml http://web.xml looks better, but I still get error from 
jetty or tomcat




I don't have WO 5.3.3 on my machine. But I was able to run the 'mvn 
clean jetty:run-war' command on your sample application with WO 5.4.3 
and it worked.


Could you provide more information about the problem? A complete stack 
trace would be very appreciated.


[1]http://mojo.codehaus.org/versions-maven-plugin/

Cheers,

Henrique
___
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 arch...@mail-archive.com


Re: reading a file form a component NoSuchFileException

2009-10-23 Thread Travis Britt

I usually do something like:

URL pathURL = ERXFileUtilities.pathURLForResourceNamed(patterns.txt,  
null, null);

String fileContent = ERXFileUtilities.stringFromURL(pathURL);

tb

On Oct 23, 2009, at 3:10 AM, Gustavo Pizano wrote:
I have this structure:  
XWSLocalizer.woacontentsResourcespatterns.txt


and the component its in  
XWSLocalizer.woacontentsResourcesjavaxwslocalizercomponents


I have tried: FileInputStream fstream = new FileInputStream 
(../../../../Resurces/patterns.txt);

FileInputStream fstream = new FileInputStream(../patterns.txt);
FileInputStream fstream = new FileInputStream(.patterns.txt);

[...]
i was wondering if I put somethign in the Resources folder is there   
a way to go there with some Wonder or WO class, or somthing like that?

___
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 arch...@mail-archive.com


Re: Entity naming

2009-10-23 Thread Jean-Francois Veillette
If you have a table named sites what do you name your entity and  
the corresponding class?  Sites or Site?



Keep table / entity name singular

Few of my own « best practice », mainly due to the fact that most of  
these share their namespace in their domain:
- prefix table-name with their domain intent.  Because when your  
database grow, it may append that the  « user » table is taken already  
for users of your application, and now business envolve and you also  
need to track the « user » of some « project ».  Having domain prefix  
allow for « app_user », and « product_user » to share the same bd.
- having a domain prefix to table-name, also allow you to group table  
toghether in database gui editor.  For example, in a simple library  
management system, we have all the product related table prefixed with  
prod_ (prod_book, book_author, etc...) and the user prefixed with  
usr_ (usr_person, usr_group, usr_permission, etc.).  in this simple  
system I think I have 4 groups of table (from memory).  It is not a  
necessity, but I like the fact that tables are grouped toghether at  
least by their names. This is very handy when you have many tables  
(50+), do some search and refactoring.
- have a domain prefix for the entity name, can be the same as for the  
table, or more closely match the package name, it depend.  Because all  
entity name share the same namespace, this is convenient when you  
suddently incorporate a new model to allow credit-card payement and  
this  model already have a « user » entity in it.
- allow non exact match of entity name and class name and table  
name ... but still be coherent and consistent.  Table can be  
usr_person, entity can be User_Person and class can be  
org.mydomain.usr.Person. ... for me it's close enough.  Anyway in  
java code, you use constants defined by the eogenerator template.   
Java already have package to isolate class namespace, classes do not  
need to duplicate prefix in there (org.mydomain.usr.UserPerson) just  
because model and table share a single namespace ... be different.


I would like to ear your model-level best practice, most likely I will  
end up using some of them.


- jfv

___
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 arch...@mail-archive.com


Re: WOFileUpload component of WO 5.4.3 version

2009-10-23 Thread Ricardo J. Parada
I remember having issues with uploading files and getting them fixed  
after setting the encoding everywhere to UTF-8.


If you are using Wonder then add this to your Properties file:

er.extensions.ERXApplication.DefaultEncoding=UTF-8

Then make sure the components are all using UTF-8.  You can check that  
in the .woo file.


That fixed it for me a while back.



On Oct 19, 2009, at 8:18 AM, Raghavender wrote:

We have an issue with WOFileUpload component of WO 5.4.3 version, if  
there

is a WOFileUpload component in a page then the Form encType should be
multipart/form-data, then in this case the form data is not  
submitting to

the Server.  When we remove the WOFileUpload then the form data is
submitting.  Does anyone know a way to resolve this or a work-around?

I have followed accordingly specified in the below mentioned URL:
http://lists.apple.com/archives/Webobjects-dev/2008/Dec/msg00727.html
but still the issue exist, and following are the logs:-
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
==

aMethod - POST
aURL - /cgi-bin/WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/ 
5.0.7.1.15.1.3

anHTTPVersion -HTTP/1.1

someHeaders -{referer = [http://172.16.4.116:55615/cgi-bin/WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/4.0.7.1.15.2 
]; accept-encoding = [gzip, deflate]; cookie =  
[ojhWnnt5cVNtxYlL66ORsM=GLOBAL adm...@172.16.4.116:55615]; content- 
type = [multipart/form-data; boundary= 
WebKitFormBoundaryMyCt9X7guHzqi1xL]; origin = [http://172.16.4.116:55615 
]; user-agent = [Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8;  
en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/ 
531.9]; accept = [application/xml,application/xhtml+xml,text/ 
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5]; content-length =  
[3628]; host = [172.16.4.116:55615]; accept-language = [en-us];  
connection = [keep-alive]; }


aContent -class  
com.webobjects.appserver._private.WOInputStreamData (stream  
com.webobjects.appserver 
._private.wonocopypushbackinputstr...@2c21840d of length 3628), has  
NOT been accessed


someInfo -null

DispatchRequest - Request (Request httpVersion=HTTP/1.1 headers= 
{accept=[application/xml,application/xhtml+xml,text/html;q=0.9,text/ 
plain;q=0.8,image/png,*/*;q=0.5], accept-encoding=[gzip, deflate],  
accept-language=[en-us], connection=[keep-alive], content-length= 
[3628], content-type=[multipart/form-data; boundary= 
WebKitFormBoundaryMyCt9X7guHzqi1xL], cookie= 
[ojhWnnt5cVNtxYlL66ORsM=GLOBAL adm...@172.16.4.116:55615], host= 
[172.16.4.116:55615], origin=[http://172.16.4.116:55615], referer= 
[http://172.16.4.116:55615/cgi-bin/WebObjects/Solar.woa/wo/ 
ojhWnnt5cVNtxYlL66ORsM/4.0.7.1.15.2], user-agent=[Mozilla/5.0  
(Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.9  
(KHTML, like Gecko) Version/4.0.3 Safari/531.9]} content-length=0  
cookies=null userInfo={} storePageInBacktrackCache=true )  
method=POST uri=/cgi-bin/WebObjects/Solar.woa/wo/ 
ojhWnnt5cVNtxYlL66ORsM/5.0.7.1.15.1.3 defaultFormValueEncoding=UTF-8  
formValueEncodingDetectionEnabled=NO formValueEncoding=UTF-8  
formValues={0.7.1.15.1.3.0 = (class  
com.webobjects.appserver._private.WOInputStreamData (stream  
com.webobjects.appserver.WOMultipartIterator$WOFormData 
$_woformdatainputstr...@1299ee0b of length 0), has NOT been  
accessed); 0.7.1.15.1.3.0.mimetype = (image/gif);  
0.7.1.15.1.3.0.filename = (InchesRulerHoriz.gif); } 
57415 [WorkerThread9] INFO NSLog  - Did not specify a -Config name  
option. Will default to Solar.
57416 [WorkerThread9] INFO NSLog  - Did not specify a -Config name  
option. Will default to Solar.


takeValuesFromRequest - Request (Request httpVersion=HTTP/1.1  
headers={accept=[application/xml,application/xhtml+xml,text/ 
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5], accept-encoding= 
[gzip, deflate], accept-language=[en-us], connection=[keep-alive],  
content-length=[3628], content-type=[multipart/form-data;  
boundary=WebKitFormBoundaryMyCt9X7guHzqi1xL], cookie= 
[ojhWnnt5cVNtxYlL66ORsM=GLOBAL adm...@172.16.4.116:55615], host= 
[172.16.4.116:55615], origin=[http://172.16.4.116:55615],  
original_context_id=[5], referer=[http://172.16.4.116:55615/cgi-bin/ 
WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/4.0.7.1.15.2], user- 
agent=[Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us)  
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9]}  
content-length=0 cookies=null userInfo={}  
storePageInBacktrackCache=true ) method=POST uri=/cgi-bin/ 
WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/5.0.7.1.15.1.3  
defaultFormValueEncoding=UTF-8 formValueEncodingDetectionEnabled=NO  
formValueEncoding=UTF-8 formValues={0.7.1.15.1.3.0 = (class  
com.webobjects.appserver._private.WOInputStreamData (stream  
com.webobjects.appserver.WOMultipartIterator$WOFormData 

Re: 2009 surveys results

2009-10-23 Thread Miguel Arroz

Hi!

On 2009/10/23, at 17:46, John  Kim Larson wrote:


without having the patience to read the manual,


  Is there a manual?

  Yours

Miguel Arroz

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 arch...@mail-archive.com

Re: 2009 surveys results

2009-10-23 Thread Joe Little
Not any more.. :)

I also noticed that the docs are disappearing off the Apple site. Not
sure if one is allowed to repost those somewhere else without drawing
the wrath of Apple lawyers. If the docs are on the apple site, they
sure as hell are hard to find, as most URLs redirect to the MacOSX
documentation center which has 0 WO docs.

On Fri, Oct 23, 2009 at 10:07 AM, Miguel Arroz ar...@guiamac.com wrote:
 Hi!

 On 2009/10/23, at 17:46, John  Kim Larson wrote:

 without having the patience to read the manual,

  Is there a manual?

  Yours

 Miguel Arroz
  ___
 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/jmlittle%40gmail.com

 This email sent to jmlit...@gmail.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 arch...@mail-archive.com


Re: 2009 surveys results

2009-10-23 Thread Joe Little
Ah.. found them..

http://developer.apple.com/legacy/mac/library/navigation/index.html

Ignore the WebObjects Reference Library links on webobjects.com /
http://developer.apple.com/tools/webobjects/

On Fri, Oct 23, 2009 at 10:16 AM, Joe Little jmlit...@gmail.com wrote:
 Not any more.. :)

 I also noticed that the docs are disappearing off the Apple site. Not
 sure if one is allowed to repost those somewhere else without drawing
 the wrath of Apple lawyers. If the docs are on the apple site, they
 sure as hell are hard to find, as most URLs redirect to the MacOSX
 documentation center which has 0 WO docs.

 On Fri, Oct 23, 2009 at 10:07 AM, Miguel Arroz ar...@guiamac.com wrote:
 Hi!

 On 2009/10/23, at 17:46, John  Kim Larson wrote:

 without having the patience to read the manual,

  Is there a manual?

  Yours

 Miguel Arroz
  ___
 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/jmlittle%40gmail.com

 This email sent to jmlit...@gmail.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 arch...@mail-archive.com


Re: 2009 surveys results

2009-10-23 Thread John Larson
I'm kind of goading Chuck on to write a sequel to Practical  
WebObjects.  How about Absurdly Cool WebObjects?


On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote:


Hi!

On 2009/10/23, at 17:46, John  Kim Larson wrote:


without having the patience to read the manual,


 Is there a manual?

 Yours

Miguel Arroz


___
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 arch...@mail-archive.com


Re: 2009 surveys results

2009-10-23 Thread Chuck Hill
It was really, really, very not profitable the first time  
either.  :-|  That is not why we wrote it.



Chuck



On Oct 23, 2009, at 10:49 AM, Pascal Robert wrote:

If we are really only have +- 400 developers outside of Apple, I  
don't think writing a book is profitable.


I'm kind of goading Chuck on to write a sequel to Practical  
WebObjects.  How about Absurdly Cool WebObjects?


On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote:


Hi!

On 2009/10/23, at 17:46, John  Kim Larson wrote:


without having the patience to read the manual,


Is there a manual?

Yours

Miguel Arroz


___
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/probert%40macti.ca

This email sent to prob...@macti.ca



___
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 ch...@global-village.net


--
Chuck Hill Senior Consultant / VP Development

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 arch...@mail-archive.com


Re: 2009 surveys results

2009-10-23 Thread Chuck Hill


On Oct 23, 2009, at 10:27 AM, John Larson wrote:

I'm kind of goading Chuck on to write a sequel to Practical  
WebObjects.  How about Absurdly Cool WebObjects?


The Book of Chuck?

WebObjects: Getting Chunky Wid It?

I won't say never, but right now I am having a hard time getting the  
time to finish WOVNG.


Chuck




On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote:


Hi!

On 2009/10/23, at 17:46, John  Kim Larson wrote:


without having the patience to read the manual,


Is there a manual?

Yours

Miguel Arroz


___
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 ch...@global-village.net


--
Chuck Hill Senior Consultant / VP Development

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 arch...@mail-archive.com


Re: 2009 surveys results

2009-10-23 Thread Chuck Hill


On Oct 22, 2009, at 10:07 PM, Daniel Beatty wrote:


Greetings Jeremy,
Well you are right.  It has been difficult to make a curriculum that  
shows off WO.   It can be used some in most DBMS,  Web Software  
Engineering, and Design Patterns courses.   In each case, it is more  
or less used as an example.


Unfortunately, getting to teach it is an up hill battle considering  
how many other technologies flood ACM and IEEE's conferences with  
junk frameworks.   Not mentioning any by name, but they have evil in  
their nickname.


None the less, there are some starts.  Hopefully as I become a  
professor that can change.


That would be very interesting.  I'd bet that Apple would like to see  
that.



Chuck



On Oct 21, 2009, at 2:06 AM, Jeremy DE ROYER wrote:


Hello,

Results are interesting but unfortunately they show that webobjects  
technologie miss beginners...


Jérémy DE ROYER

Le 20 oct. 09 à 21:01, Pascal Robert a écrit :

Ok, so I bugged everyone for weeks and I don't expect any more  
answers (even if I know that at least 5 organizations didn't  
respond...), so I made a summary of all answers we have so far :


http://wiki.objectstyle.org/confluence/x/doBf

http://wiki.objectstyle.org/confluence/x/E4Bf

The surveys are still open, I will close them mid-November.

https://www.survs.com/survey/T8TGXAW70R

https://www.survs.com/survey/3O47WI4G11

___
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/jeremy.deroyer%40ingencys.net

This email sent to jeremy.dero...@ingencys.net




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

This email sent to danielbea...@mac.com




Dan Beatty, M.S. CS (B.S. EECS)
Ph.D. Student
Texas Tech University
dan.bea...@mac.com
http://venus.cs.ttu.edu/~dabeatty
http://web.me.com/danielbeatty/My_Home_Page/Welcome.html







___
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 ch...@global-village.net


--
Chuck Hill Senior Consultant / VP Development

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 arch...@mail-archive.com


Re: 2009 surveys results

2009-10-23 Thread Pascal Robert
BTW, the 400 devs count is from the total number of devs as told by  
the results of the org survey, good chance that the community is  
bigger, but for now the survey is the only way to have a count. I  
don't access to the number of subscribers to the lists or other counts  
that can give a better view of the community.


If we are really only have +- 400 developers outside of Apple, I  
don't think writing a book is profitable.


I'm kind of goading Chuck on to write a sequel to Practical  
WebObjects.  How about Absurdly Cool WebObjects?


On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote:


Hi!

On 2009/10/23, at 17:46, John  Kim Larson wrote:


without having the patience to read the manual,


Is there a manual?

Yours

Miguel Arroz


___
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/probert%40macti.ca

This email sent to prob...@macti.ca



___
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/probert%40macti.ca

This email sent to prob...@macti.ca



___
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 arch...@mail-archive.com


java.lang.IllegalStateException: CookieParser?

2009-10-23 Thread Mike Nowak
I went to check one of our apps and I got an Internal Server Error.  
Thinking the site might be down, I checked the app log and saw this:


Caused by: java.lang.IllegalStateException: CookieParser: Expected a  
; or a , instead of v:1,rid:1256313755420_838442,ru:http://www2.med.umich.edu/healthcenters/healthcentermain.cfm?hc_id=BFP 
,r:www2.med.umich.edu,st:,pv:2,to:3,c:http://www.med.umich.edu/flu/tweetchats.htm 
,lc:{d0:{v:2,s:false}},sd:0,f:1256313992487};  
__utma=7269686.1544166767.1252684854.1252684854.1252684854.1;  
__utmz=7269686.1252684854.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd= 
(none)
	at com.webobjects.appserver._CookieParser._parse(_CookieParser.java: 
126)

at com.webobjects.appserver._CookieParser.parse(_CookieParser.java:164)
	at com.webobjects.appserver.WORequest._cookieDictionary 
(WORequest.java:1029)

at com.webobjects.appserver.WORequest.cookieValues(WORequest.java:1083)
	at com.webobjects.appserver.WORequest.cookieValueForKey 
(WORequest.java:1064)
	at com.webobjects.appserver.WORequest._getSessionIDFromValuesOrCookie 
(WORequest.java:1581)
	at com.webobjects.appserver.WORequest._getSessionIDFromValuesOrCookie 
(WORequest.java:1555)

at com.webobjects.appserver.WORequest.sessionID(WORequest.java:1529)
	at com.webobjects.appserver.WOContext._synchronizeForDistribution 
(WOContext.java:868)

at com.webobjects.appserver.WOContext._setRequest(WOContext.java:927)
at com.webobjects.appserver.WOContext.init(WOContext.java:169)

I fixed it by deleting the offending cookie but this doesn't seem like  
it should crash the app. On the other hand, it looks to me like its  
happening inside the WO framework. Is there something I should fix in  
my app to prevent this or is this a WO bug that I should report?


Thanks!

--
Mike Nowak
Center for Health Communications Research
The University of Michigan
http://chcr.umich.edu

 ___
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 arch...@mail-archive.com

RE: 2009 surveys results

2009-10-23 Thread Beatty, Daniel D CIV NAVAIR, 474300D
 Greetings Chuck,
Yeah, you could have stranger titles.   Of course, those of us were learning WO 
for the first time and getting to know and love WOLips certainly appreciated 
the book.   

I should probably join you on that effort.   It is simply a matter of learning 
from the success and failure of teaching WO and slipping it in to academia.   

WO has some great mathematical properties.  Most notably in the design patterns 
employed by EO, D2W, and the application engine itself.   Thus it is note 
worthy in the academic community.   Despite that, it is really hard to 
penetrate that genre.

Hopeful, my day job will offer more luck.   The bat school seems to include a 
lot of bumpy knocks.

Later,
Daniel Beatty
Computer Scientist, Detonation Sciences Branch
Code 474300D
2400 E. Pilot Plant Rd. M/S 1109
China Lake, CA 93555
daniel.bea...@navy.mil
(760)939-7097 

-Original Message-
From: webobjects-dev-bounces+daniel.beatty=navy@lists.apple.com 
[mailto:webobjects-dev-bounces+daniel.beatty=navy@lists.apple.com] On 
Behalf Of Chuck Hill
Sent: Friday, October 23, 2009 10:52
To: John Larson
Cc: webobjects Apple; Miguel Arroz
Subject: Re: 2009 surveys results


On Oct 23, 2009, at 10:27 AM, John Larson wrote:

 I'm kind of goading Chuck on to write a sequel to Practical 
 WebObjects.  How about Absurdly Cool WebObjects?

The Book of Chuck?

WebObjects: Getting Chunky Wid It?

I won't say never, but right now I am having a hard time getting the time to 
finish WOVNG.

Chuck



 On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote:

 Hi!

 On 2009/10/23, at 17:46, John  Kim Larson wrote:

 without having the patience to read the manual,

 Is there a manual?

 Yours

 Miguel Arroz

 ___
 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-v
 illage.net

 This email sent to ch...@global-village.net

-- 
Chuck Hill Senior Consultant / VP Development

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/daniel.beatty%40navy.mil

This email sent to daniel.bea...@navy.mil


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 arch...@mail-archive.com

Re: 2009 surveys results

2009-10-23 Thread Miguel Arroz

Hi!

  Usually between 5 and 10% of any group of people answer surveys. So  
I guess we are much more. :)


  Yours

Miguel Arroz

On 2009/10/23, at 19:00, Pascal Robert wrote:

BTW, the 400 devs count is from the total number of devs as told by  
the results of the org survey, good chance that the community is  
bigger, but for now the survey is the only way to have a count. I  
don't access to the number of subscribers to the lists or other  
counts that can give a better view of the community.


If we are really only have +- 400 developers outside of Apple, I  
don't think writing a book is profitable.


I'm kind of goading Chuck on to write a sequel to Practical  
WebObjects.  How about Absurdly Cool WebObjects?


On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote:


Hi!

On 2009/10/23, at 17:46, John  Kim Larson wrote:


without having the patience to read the manual,


Is there a manual?

Yours

Miguel Arroz


___
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/probert%40macti.ca

This email sent to prob...@macti.ca



___
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/probert%40macti.ca

This email sent to prob...@macti.ca



___
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 ar...@guiamac.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 arch...@mail-archive.com

Re: 2009 surveys results

2009-10-23 Thread Alan Ward


...and you also don't know how many people within Apple would buy it  
if Chuck was to write another book.


Alan

On Oct 23, 2009, at 12:00 PM, Pascal Robert wrote:

BTW, the 400 devs count is from the total number of devs as told by  
the results of the org survey, good chance that the community is  
bigger, but for now the survey is the only way to have a count. I  
don't access to the number of subscribers to the lists or other  
counts that can give a better view of the community.


If we are really only have +- 400 developers outside of Apple, I  
don't think writing a book is profitable.


I'm kind of goading Chuck on to write a sequel to Practical  
WebObjects.  How about Absurdly Cool WebObjects?


On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote:


Hi!

On 2009/10/23, at 17:46, John  Kim Larson wrote:


without having the patience to read the manual,


Is there a manual?

Yours

Miguel Arroz


___
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/probert%40macti.ca

This email sent to prob...@macti.ca



___
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/probert%40macti.ca

This email sent to prob...@macti.ca



___
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/award 
%40apple.com


This email sent to aw...@apple.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 arch...@mail-archive.com


wocommunity.org status

2009-10-23 Thread Pascal Robert
FYI, yes I'm still working on the new stuff for wocommunity.org. I'm  
sorry that the current state of the site is pathetic, but with the new  
job and two WOWODC, I'm way behind schedule.


What's coming :

  - Community Store (to buy the WOWODC sessions)
  - Assets. All of WOWODC sessions that you buy (or if you attended,  
the recordings and slides) will be available as a personnalized RSS  
feed.
  - Member profile. In the past, we had organization profile, but  
this time you can also create your own profile (including a picture of  
you).
  - Extended organization profiles. Now, you can specific that you  
provide WO consulting, training and hosting.
  - Job postings : manage your own job postings. A RSS feed and  
tweets for job postings will be available too.


And 95% chance that WOWODC 2010 will be in Montreal on August  
27/28/29...


___
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 arch...@mail-archive.com


Re: java.lang.IllegalStateException: CookieParser?

2009-10-23 Thread Anjo Krank
there's a override for that: WOApp.handleMalformedCookieValue() or  
whatever the name is


Cheers, Anjo



Am 23.10.2009 um 20:03 schrieb Mike Nowak:

I went to check one of our apps and I got an Internal Server Error.  
Thinking the site might be down, I checked the app log and saw this:


Caused by: java.lang.IllegalStateException: CookieParser: Expected a  
; or a , instead of v:1,rid:1256313755420_838442,ru:http://www2.med.umich.edu/healthcenters/healthcentermain.cfm?hc_id=BFP 
,r:www2.med.umich.edu,st:,pv:2,to:3,c:http://www.med.umich.edu/flu/tweetchats.htm 
,lc:{d0:{v:2,s:false}},sd:0,f:1256313992487};  
__utma=7269686.1544166767.1252684854.1252684854.1252684854.1;  
__utmz=7269686.1252684854.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd= 
(none)
	at com.webobjects.appserver._CookieParser._parse(_CookieParser.java: 
126)
	at com.webobjects.appserver._CookieParser.parse(_CookieParser.java: 
164)
	at com.webobjects.appserver.WORequest._cookieDictionary 
(WORequest.java:1029)
	at com.webobjects.appserver.WORequest.cookieValues(WORequest.java: 
1083)
	at com.webobjects.appserver.WORequest.cookieValueForKey 
(WORequest.java:1064)
	at  
com.webobjects.appserver.WORequest._getSessionIDFromValuesOrCookie 
(WORequest.java:1581)
	at  
com.webobjects.appserver.WORequest._getSessionIDFromValuesOrCookie 
(WORequest.java:1555)

at com.webobjects.appserver.WORequest.sessionID(WORequest.java:1529)
	at com.webobjects.appserver.WOContext._synchronizeForDistribution 
(WOContext.java:868)

at com.webobjects.appserver.WOContext._setRequest(WOContext.java:927)
at com.webobjects.appserver.WOContext.init(WOContext.java:169)

I fixed it by deleting the offending cookie but this doesn't seem  
like it should crash the app. On the other hand, it looks to me like  
its happening inside the WO framework. Is there something I should  
fix in my app to prevent this or is this a WO bug that I should  
report?


Thanks!

--
Mike Nowak
Center for Health Communications Research
The University of Michigan
http://chcr.umich.edu

___
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/anjo%40krank.net

This email sent to a...@krank.net


___
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 arch...@mail-archive.com


Re: 2009 surveys results

2009-10-23 Thread Ken Foust

IMHO
You gurus need to put out a few really in-depth tutorials.  Maybe each  
could do a little piece.  It is hard to sell something like WO without  
a good way
for people to get in the loop.  You may want to review Joshua'  
Marker's book on WO which I thought was the absolute best for  
attracting new people to
the technology.  After reading this book you could actually build a  
functioning WO site.  You could easily do this with a few very good  
tutorials.


ken
On Oct 23, 2009, at 10:52 AM, Chuck Hill wrote:



On Oct 23, 2009, at 10:27 AM, John Larson wrote:

I'm kind of goading Chuck on to write a sequel to Practical  
WebObjects.  How about Absurdly Cool WebObjects?


The Book of Chuck?

WebObjects: Getting Chunky Wid It?

I won't say never, but right now I am having a hard time getting the  
time to finish WOVNG.


Chuck




On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote:


Hi!

On 2009/10/23, at 17:46, John  Kim Larson wrote:


without having the patience to read the manual,


Is there a manual?

Yours

Miguel Arroz


___
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 ch...@global-village.net


--
Chuck Hill Senior Consultant / VP Development

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/fousto%40me.com

This email sent to fou...@me.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 arch...@mail-archive.com


Re: 2009 surveys results

2009-10-23 Thread Pascal Robert
The problem with this is time... I was thinking of a online book where  
you can ask O'Reilly or other publisher to print it and sell it to  
give back to writers, like Thinking in Java or the MySQL manual are.  
And frankly, based on the number of people who wanted to attend WOWODC  
East for the beginner track was so low that's part of the reason we  
dropped it (the track). But at the same time, people say in the  
surveys that the scarity of developers is a problem, so it's a chicken- 
and-egg problem. And also the fact that's is always the same group of  
10-15 persons who give back to the community, which is, speaking only  
for myself, a burden.



IMHO
You gurus need to put out a few really in-depth tutorials.  Maybe  
each could do a little piece.  It is hard to sell something like WO  
without a good way
for people to get in the loop.  You may want to review Joshua'  
Marker's book on WO which I thought was the absolute best for  
attracting new people to
the technology.  After reading this book you could actually build a  
functioning WO site.  You could easily do this with a few very good  
tutorials.


ken
On Oct 23, 2009, at 10:52 AM, Chuck Hill wrote:



On Oct 23, 2009, at 10:27 AM, John Larson wrote:

I'm kind of goading Chuck on to write a sequel to Practical  
WebObjects.  How about Absurdly Cool WebObjects?


The Book of Chuck?

WebObjects: Getting Chunky Wid It?

I won't say never, but right now I am having a hard time getting  
the time to finish WOVNG.


Chuck




On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote:


Hi!

On 2009/10/23, at 17:46, John  Kim Larson wrote:


without having the patience to read the manual,


Is there a manual?

Yours

Miguel Arroz


___
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 ch...@global-village.net


--
Chuck Hill Senior Consultant / VP Development

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/fousto%40me.com

This email sent to fou...@me.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/probert%40macti.ca

This email sent to prob...@macti.ca



___
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 arch...@mail-archive.com


Re: Intercepting (ERX/WO)DirectActionRequestHandler

2009-10-23 Thread Johnny Miller

I get these errors all day long and it drives me nuts.

java.lang.IllegalStateException:  
er.extensions.appserver.ERXDirectActionRequestHandler Couldn't  
locate action class named 'google-analytics.com'.
	at  
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest 
(WOActionRequestHandler.java:286)
	at  
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest 
(WOActionRequestHandler.java:158)
	at er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest 
(ERXDirectActionRequestHandler.java:124)
	at com.webobjects.appserver.WOApplication.dispatchRequest 
(WOApplication.java:1687)
	at er.extensions.appserver.ERXApplication.dispatchRequestImmediately 
(ERXApplication.java:1802)
	at er.extensions.appserver.ERXApplication.dispatchRequest 
(ERXApplication.java:1767)
	at com.webobjects.appserver._private.WOWorkerThread.runOnce 
(WOWorkerThread.java:144)
	at com.webobjects.appserver._private.WOWorkerThread.run 
(WOWorkerThread.java:226)

at java.lang.Thread.run(Thread.java:613)

Any suggestions on how to filter these out using an overridden  
handleActionRequestError?  i.e. should I just regex the error message  
and if it contains 'google-analytics' throw it out?


I have about a half dozen other Google bot errors that plague me on a  
daily basis.


Thanks in advance,

Johnny



On Oct 22, 2009, at 3:24 PM, Jon Nolan wrote:


Chuck Hill wrote:


On Oct 22, 2009, at 4:17 PM, Jon Nolan wrote:


Hi,

Is there a preferred way to intercept request handling so as to  
avoid messages such as the one below:


Oct 22 17:00:59 MyApp[54589] (ERXApplication.java:1516) ERROR  
er.extensions.appserver.ERXApplication  - Exception caught:  
er.extensions.appserver.ERXDirectActionRequestHandler Couldn't  
locate action class named 'images'.


I know why the request URL is bad and there's nothing I can do  
about that.  What I would like to do is return something like  
MyDirectActionSubclass.handleMalformedActionRequestAction() with  
specialized behavior.



You would need to write your own request handler for that.  The  
intended way is to implement this in your Application class:


public WOResponse handleActionRequestError(WORequest aRequest,  
Exception exception, String reason, WORequestHandler aHandler,  
String actionClassName, String actionName, Class actionClass,  
WOAction actionInstance)

and look for a ClassNotFoundError as the reason.


Chuck

Perfect.  Thanks Chuck.

___
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/jlmiller%40kahalawai.com

This email sent to jlmil...@kahalawai.com


Johnny Miller
Kahalawai Media Corp
w: www.kahalawai.com
e: jlmil...@kahalawai.com
p: 808.661.7962

___
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 arch...@mail-archive.com


Re: Intercepting (ERX/WO)DirectActionRequestHandler

2009-10-23 Thread Lon Varscsak
Look at the reason variable, you can do something conditionally
based on that.  I compare the reason to
WOActionRequestHandler.CLASS_NOT_FOUND and
WOActionRequestHandler.INVOCATION and then redirect to the default DA.

-Lon

On Fri, Oct 23, 2009 at 1:54 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 I get these errors all day long and it drives me nuts.

 java.lang.IllegalStateException:
 er.extensions.appserver.ERXDirectActionRequestHandler Couldn't locate
 action class named 'google-analytics.com'.
        at
 com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:286)
        at
 com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
        at
 er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:124)
        at
 com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
        at
 er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1802)
        at
 er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1767)
        at
 com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
        at
 com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
        at java.lang.Thread.run(Thread.java:613)

 Any suggestions on how to filter these out using an overridden
 handleActionRequestError?  i.e. should I just regex the error message and if
 it contains 'google-analytics' throw it out?

 I have about a half dozen other Google bot errors that plague me on a daily
 basis.

 Thanks in advance,

 Johnny



 On Oct 22, 2009, at 3:24 PM, Jon Nolan wrote:

 Chuck Hill wrote:

 On Oct 22, 2009, at 4:17 PM, Jon Nolan wrote:

 Hi,

 Is there a preferred way to intercept request handling so as to avoid
 messages such as the one below:

 Oct 22 17:00:59 MyApp[54589] (ERXApplication.java:1516) ERROR
 er.extensions.appserver.ERXApplication  - Exception caught:
 er.extensions.appserver.ERXDirectActionRequestHandler Couldn't locate
 action class named 'images'.

 I know why the request URL is bad and there's nothing I can do about
 that.  What I would like to do is return something like
 MyDirectActionSubclass.handleMalformedActionRequestAction() with 
 specialized
 behavior.


 You would need to write your own request handler for that.  The intended
 way is to implement this in your Application class:

 public WOResponse handleActionRequestError(WORequest aRequest, Exception
 exception, String reason, WORequestHandler aHandler, String actionClassName,
 String actionName, Class actionClass, WOAction actionInstance)
 and look for a ClassNotFoundError as the reason.


 Chuck

 Perfect.  Thanks Chuck.

 ___
 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/jlmiller%40kahalawai.com

 This email sent to jlmil...@kahalawai.com

 Johnny Miller
 Kahalawai Media Corp
 w: www.kahalawai.com
 e: jlmil...@kahalawai.com
 p: 808.661.7962

 ___
 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/varscsak%40smarthealth.com

 This email sent to varsc...@smarthealth.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 arch...@mail-archive.com


Re: reading a file form a component NoSuchFileException

2009-10-23 Thread Lachlan Deck


Are you sure it's being included in the build?
(Assuming you're using ant) check your patterset files.

On 23/10/2009, at 6:10 PM, Gustavo Pizano wrote:


I used the
String res =
WOApplication.application().resourceManager().urlForResourceNamed 
(patterns.txt,

null, null, null);
FileInputStream fstream = new FileInputStream(res);
and still giving me FileNotFoundException.

:(



On Fri, Oct 23, 2009 at 8:51 AM, Gustavo Pizano
webobjectspic...@gmail.comwrote:


Im sorry this is more Java related, i think,

Hello,  i need little help here, i alwasy crash myself in this, I  
put a
.txt file in hte resources folder, now i need to read it from  
within a .java

of a WOComponent.
I have tried many things, but its not working.

I have this structure:  
XWSLocalizer.woacontentsResourcespatterns.txt


and the component its in
XWSLocalizer.woacontentsResourcesjavaxwslocalizercomponents

I have tried: FileInputStream fstream = new
FileInputStream(../../../../Resurces/patterns.txt);
FileInputStream fstream = new FileInputStream(../patterns.txt);
FileInputStream fstream = new FileInputStream(.patterns.txt);

just doing a try and error, but nothign seesm to work here.

i was wondering if I put somethign in the Resources folder is  
there  a way

to go there with some Wonder or WO class, or somthing like that?


Cheers
G.



___
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/lachlan.deck%40gmail.com

This email sent to lachlan.d...@gmail.com


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 arch...@mail-archive.com


Re: why

2009-10-23 Thread Mike Schrag

please keep messages on the lists ...

i don't know what the context of that message is from just one  
println, but you really shouldn't be installing jar farmeworks into / 
Lib/WO/Extensions. It's going to cause problems. I would remove any  
frameworks you have in that folder.


On Oct 23, 2009, at 6:00 PM, Ken Foust wrote:


HI Mike why is the following message continually in the console?

10/23/09 2:44:00 PM	com.apple.webobjects.womonitor[17497]	  /Library/ 
WebObjects/Extensions/Validity-5.0.jar


thanks ken



___
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 arch...@mail-archive.com