Re: A problem with http request to a webobjects site

2012-04-26 Thread Paul D Yu
Why don't you update the WOCommunity site with a write up?

Sent from my iPad

On Apr 26, 2012, at 5:12 AM, User my...@inbox.ru wrote:

 Thank you all! I got it!
 I'll describe with pleasure the solution of this problem on request.
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
 
 This email sent to p...@mac.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: App switching from https to http port 443 on logout

2012-02-08 Thread Paul D Yu
Jon

5.4
Wonder is where it's at

Sent from my iPad

On Feb 8, 2012, at 6:32 AM, Jon Kleiser jon.klei...@usit.uio.no wrote:

 On 2/8/12 5:53 AM, Klaus Berkling wrote:
 
 
 On Feb 7, 2012, at 7:42 AM, Jon Kleiser wrote:
 
 This is roughly how we handles the logout (simplified):
 
 public WOComponent logout() {
  WORedirect redirect = new WORedirect(context());
  loginUrl = context().directActionURLForActionNamed(default, null);
  redirect.setUrl(loginUrl);
  // ... calling session logout method
  return redirect;
 }
 
 Is this problem familiar to anyone out there?
 
 
 Yup. Try:
 
 .directActionURLForActionNamed(String requestHandlerPath, NSDictionary 
 queryDictionary, boolean isSecure, boolean entityEscapeQueryDict)
 
 context().directActionURLForActionNamed(default, null, useSSL, true);
 
 I'll have to try Chuck's suggestion though.
 
 
 kib
 
 The trouble with normal is it always gets worse.
 Bruce Cockburn
 
 Klaus Berkling
 Web Application Dev.  Systems Analyst
 DynEd International, Inc.
 www.dyned.com
 
 Hi Klaus,
 
 I wanted to try your way of calling directActionURLForActionNamed, and it 
 seemed to work on my WOLips-based Mac, but when I tried to build on our Linux 
 server, I got 
 directActionURLForActionNamed(java.lang.String,com.webobjects.foundation.NSDictionary)
  in com.webobjects.appserver.WOContext cannot be applied to 
 (java.lang.String,nulltype,boolean,boolean). It seems we have a slightly 
 older WO version there. My WO 5.2.4 docs doesn't mention your alternative 
 either. Do you know in which WO version this was introduced? And do you know 
 where I can find up-to-date docs for WOContext on the net?
 
 /Jon
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
 
 This email sent to p...@mac.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: apache RewriteEngine

2012-01-29 Thread Paul D Yu
Jesse

I'd suggest you just pay Pascal to set this up for you.

Sent from my iPad

On Jan 29, 2012, at 9:20 PM, Jesse Tayler jtay...@oeinc.com wrote:

 
 I noted that the WebObjects_module was indeed loading AFTER and indeed, there 
 are duplicate entries somewhere
 
 so, in my httpd.conf, I've simply moved the loading of mod_WebObjects.so to 
 BEFORE mod_rewrite.so
 
 however, I guess I still have a reference that you suggest I delete since I 
 get the duplicate error?
 
 I'm not sure where these other conf files are at -- /etc/httpd/conf editing 
 the httpd.conf where I've just put my single domain there at the bottom of 
 the file and I've edited these Load statements from standard stuff I find 
 above including the mod_WebObjects.so apparently loading twice, and after the 
 mod_rewrite
 
 Am I on track here?
 
 thanks
 
 
 On Jan 29, 2012, at 8:59 PM, Pascal Robert wrote:
 
 
 Le 2012-01-29 à 20:34, Jesse Tayler a écrit :
 
 
 nice!
 
 but I must be having apache voodoo
 
 links with
 
 /apps/WebObjects/WOMan.woa/wa/signup
 
 pass through
 
  IfModule mod_rewrite.c
  RewriteEngine On
  RewriteRule ^/woman(.*)$ /apps/WebObjects/WOMan.woa$1 [PT,L]
 /IfModule
 
 Does mod_WebObjects is loaded before mod_rewrite? If not, the rule won't 
 work. For example, it should be in an order like this:
 
 LoadModule WebObjects_module  /usr/lib64/httpd/modules/mod_WebObjects.so
 LoadModule rewrite_module modules/mod_rewrite.so
 
 and resolve to
 
 https://ec.planaby.com/woman/wa/signup
 
 but apache reports 404, not found
 
 I get the usual response from apachectl
 
 sudo apachectl graceful
 [Sun Jan 29 19:55:21 2012] [warn] module WebObjects_module is already 
 loaded, skipping
 
 That means you have the module twice in Apache config. Probably you have it 
 in httpd.conf, and the other in the config file (webobjects.conf or 
 apache.conf) that comes with WO. Disable it in the later (add a # on the 
 LoadModule line).
 
 what did I miss here?
 
 
 
 
 On Jan 29, 2012, at 7:31 PM, George Domurot wrote:
 
 Correct.  And, if you use your default action as your entrance, then this 
 will provide a nice URL starting point:
 
 http://domain/myapp
 
 -G
 
 
 On Jan 29, 2012, at 4:21 PM, Jesse Tayler wrote:
 
 ah, let me see if I follow
 
 when I use a rule like
 
RewriteRule ^/myapp(.*)$ /apps/WebObjects/MyApp.woa$1 [PT,L]
 
 a url with my myapp in it, would expand and all I'd need is the 
 /wa/entrance or something like so?
 
http://my.domain/myapp/wa/entrance
 
 am I following there?
 
 
 
 On Jan 29, 2012, at 6:39 PM, George Domurot wrote:
 
 It looks like these options may be over complicating things.  While you 
 can get super fancy with rewrites, I've found it's easiest to use 
 Wonder's built-in support and one singe rule to get deployed.  If you 
 need additional rules, you can stack them in above this one, otherwise 
 this configuration should take care of you:
 
 1) in your Resources/Properties file add (to get Wonder to rewrite 
 during deployment):
 
 # Apache Deployment Rewrite
 er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/MyApp.woa
 er.extensions.ERXApplication.replaceApplicationPath.replace=/myapp
 
 
 2) In your VirtualHost config, include (for Apache to reverse Wonder's 
 rewrite from above):
 
   IfModule mod_rewrite.c
   RewriteEngine On
RewriteRule ^/myapp(.*)$ /cgi-bin/WebObjects/MyApp.woa$1 [PT,L]
   /IfModule
 
 -G
 
 On Jan 29, 2012, at 1:36 PM, Jesse Tayler wrote:
 
 
 A quick test, I wrote a rule like yours
 
 RewriteRule ^/(\d*?/?)wa/(.*)$ /apps/WebObjects/WOMan.woa/$1wa/$2 
 [L,PT,QSA]
 
 that I'd expect to redirect a URL like this:
 
 http://mydomain.com/wa/entrance
 
 to
 
 http://mydomain.com/apps/WebObjects/WOMan.woa/wa/entrance
 
 
 aside from using SSL port :443 I don't see much there, I just added a 
 simple virtual host to apache.conf.
 
 I'm either misunderstanding the URL that should trigger this rule, or 
 it's not working in a way I'm unsure how to debug -
 
 thoughts?
 
 
 
 
 On Jan 29, 2012, at 2:35 PM, Fabian Peters wrote:
 
 
 Am 29.01.2012 um 19:44 schrieb Jesse Tayler:
 
 
 oh thanks fabian! 
 
 maybe just what I was looking for -- 
 
 the site is like twitter, so there's standard urls to reach a user 
 profile, or a post and those urls should be short, of course.
 
 They work for me, but I'm by no means a rewrite expert...
 
 rewrite expert? ick! who would want to be that!! 
 
 I mean, the syntax looks like someone was drunk while slapping their 
 hands on the keypad...
 
 On Jan 29, 2012, at 1:10 PM, Fabian Peters wrote:
 
 # root rewrite
 RewriteRule ^/$ /cgi-bin/WebObjects/App.woa [L,PT]
 
 
 ah, so this basically translates anything into a full woa I guess?
 
 Yes
 
 RewriteRule ^/(\d*?/?)ajax/(.*)$ 
 /cgi-bin/WebObjects/App.woa/$1ajax/$2 [L,PT,QSA]
 RewriteRule ^/(\d*?/?)upload(.*)$ 
 /cgi-bin/WebObjects/App.woa/$1upload$2 [L,PT,QSA]
 
 I guess those two above translate 

Re: Eclipse 3.7.1 hangs a lot - Anyone else?

2012-01-26 Thread Paul D Yu
Daniel

3.7.1 is where everyone should be?

The mixing of source and compiled wonder frameworks does throw some errors.  
Not sure why that is, but they are not real.

Did you check your memory setting?


Paul 

Sent from my iPad

On Jan 26, 2012, at 11:26 PM, Daniel Beatty danielbea...@mac.com wrote:

 Greetings gang,
 I don't know if the added detail of the Eclipse I am trying is Eclipse 
 Classic 3.7.1 64 bit Mac OSX will help or not.   I am finding a lot of goofy 
 errors that should not be the case for Eclipse.   Is 3.7.1 just for the uber 
 cool kids right now, and 3.6 for us stability seekers.  If the kool kids are 
 the ones using 3.7.1, can they pass a sobriety test, in the middle of the day 
 while coding.  
 
 V/R,
 
 
 
 
 
 Dan Beatty, ABD
 Ph.D. Student 
 Texas Tech University
 dan.bea...@mac.com
 http://web.me.com/danielbeatty/My_Home_Page/Welcome.html
 (806)438-6620
 
 
 P.S. I do apologize if I offended any one.  I was just pointing out that I 
 was running into some pretty stupid mistakes, and I am sure it would drive me 
 to drink.
 
 
 
 
 
 
 
 On Jan 26, 2012, at 3:22 PM, Dan Beatty wrote:
 
 Hi Paul, Pascal, Daves, other gentlemen, and Slaves of Guiness, 
 I am having some trouble myself with Eclipse 3.7.1.   In my case, I look the 
 instructions ( 
 http://wiki.wocommunity.org/display/WONDER/Project+Wonder+Installation).   
 Next, I followed the instructions to include GIT’ing the latest Wonder from 
 the http version.   Sure enough, WOLips installs and looks good.  Next I 
 import Wonder just described on ( 
 http://wiki.wocommunity.org/display/WONDER/Working+with+Wonder+source+in+Eclipse).
Then I try openning ERJars, ERPrototypes, JavaMemoryAdaptor, MySQLPlugin 
 (why I am not sure), and WOOgnl.   I get 472 errors and 2115 warnings 
 according to Eclipse.  
 
 Note that I also compiled Wonder’s source as described on ( 
 http://wiki.wocommunity.org/display/WO/Building+and+Installing+a+Framework+with+Ant).
   In particular, I did so for frameworks and frameworks.install.   Ant 
 reported no trouble in these cases.   
 
 Anybody have any idea why Eclipse is giving me such a fuss.
 
 V/R,
 
 Daniel Beatty
 Computer Scientist, Detonation Sciences Branch
 Code 474300D
 1 Administration Circle M/S 1109
 China Lake, CA 93555
 daniel.bea...@navy.mil
 (LandLine) (760)939-7097 
 (iPhone) (806)438-6620
 
 
 
 
 On 1/21/12 2:57 PM, Paul Yu p...@mac.com wrote:
 
 
  I had/have this problem.  The first problem was that Eclipse was just 
 running really really slw.  The fix for that happened to be deleting 
 iPhoto preferences from the ~/Library/Preferences directory.  I have no 
 idea why, but once I deleted those files, Eclipse flies now.  My guess is 
 that some how Migration Assistant or how I migrated to this new machine 
 messed those files up. 
 
 However, periodically I still notice that Eclipse will still hang a bit, 
 but not as bad as before. 
  
 
 -- 
 Paul Yu
 Sent with Sparrow http://www.sparrowmailapp.com/?sig 
 
   
 
 On Saturday, January 21, 2012 at 4:32 PM, Mark Gowdy wrote:
 
 
 Hi there.
 
 I just got a new MacBook Pro with quad i7 :-)
 
 I installed Eclipse (Indigo 3.7.1) + WO + WOLips + Wonder + subversive
 I imported my projects, and all initially seemed good.
 
 The problem is that Eclipse keeps freezing (sometimes while I am 
 'Refreshing' or 'Clean - build', or when I update and save code, where I 
 guess it then builds on the fly)
 Is anyone else experiencing this issue (or have I have done something 
 silly?)
 It doesn't happen ALL the time, just once or twice an hour.
 
 It might be related to this:
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=354696
 
 I am going to try installing openjdk6 from macports, and pointing Eclipse 
 to it, to see if that helps.
 
 Other suggestions welcome.
 
 Regards, 
 
 Mark
  ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
 
 This email sent to p...@mac.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:
 https://lists.apple.com/mailman/options/webobjects-dev/daniel.beatty%40navy.mil
 
 This email sent to daniel.bea...@navy.mil
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/danielbeatty%40mac.com
 
 This email sent to danielbea...@mac.com
 
 ___
 Do not post admin requests to the list. They will be ignored.
 

Re: Automatic name create

2012-01-19 Thread Paul D Yu
Gino

If you use inline bindings, ognl?, then you don't need names.  I actually 
dislike the auto increment names, leads to maintenance problems in the future.

Sent from my iPad

On Jan 19, 2012, at 4:09 AM, Gino Pacitti ginok...@mac.com wrote:

 Hi
 
 Very simple question about WOLips and Eclipse.
 
 Is there a way to click to add a WOElement and for the name to be auto 
 populated so I don't have to add a new name for every WOTextField I add to 
 large forms?
 WOBuilder used to just increment?
 
 
 Thanks
 
 GIno
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: WO Apps mutually exclusive

2011-12-11 Thread Paul D Yu
Set your project to be fully embedded.  Then all the frameworks will be copied 
into your project for deployment.

Sent from my iPad

On Dec 11, 2011, at 7:56 AM, Gino Pacitti ginok...@mac.com wrote:

 Hi there...
 
 Is there a way to completely bundle up an app with all Frameworks and not 
 have to rely on the Apple Install of 
 /System/Library/Frameworks/JavaWebObjects.framework  and the other Frameworks 
 etc..
 
 So all is just in the deployment bundle?
 
 Are there any Jars that contain all the foundation, EOAccess, EOControl etc...
 
 
 GIno
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: NullPointerException

2011-12-04 Thread Paul D Yu
Kevin

This is a java or may be even programming issue, NOT a WebObjects one.

Because of the || or operator, the runtime has to evaluate the second portion 
of the condition.  Since errorMessage is null, length() of errorMessage will 
throw the exception...

Paul

Sent from my iPad

On Dec 4, 2011, at 3:22 AM, Philippe Rabier prab...@me.com wrote:

 Hi Kevin
 
 You have to use a  operator when you test if your string is not null and 
 length  0. ;-)
 
 Bad copy/paste I guess. 
 
 Your code is clean.  
 
 Philippe
 
 Sent from my iPhone
 
 On 4 déc. 2011, at 09:01, Kevin Spake sparky0...@yahoo.com wrote:
 
 Still working on the WebObjects, WOlips and Wonder tutorial, part 2...
 
 Getting a null pointer exception. I've spent hours trying to figure out the 
 issue, but I just don't have the experience to properly trouble shoot it. 
 The stack trace is below, and below that is the code for my DirectAction.  
 The console says the error occurs on line 55, which is if (errorMessage != 
 null || errorMessage.length() != 0) { 
 
 The thing is, errorMessage is null at this point. I've entered in valid user 
 credentials, the session object has been created. The currentUser and 
 nextPage objects are not null.  nextPage is set to AdminPage.   As soon as 
 I try to step into the if (errorMessage != null || errorMessage.length() != 
 0) {line the exception occurs.  Is this a scope issue? 
 
 Thanks.
 
 
 Application: SooperSeekrit Error: java.lang.NullPointerException Reason: 
 Stack trace:
 File Line#   Method  Package
 DirectAction.java55  loginAction com.sooperseekrit.app
 NativeMethodAccessorImpl.javaNA  invoke0 sun.reflect
 NativeMethodAccessorImpl.java39  invoke  sun.reflect
 DelegatingMethodAccessorImpl.java25  invoke  sun.reflect
 Method.java  597 invoke  java.lang.reflect
 WODirectAction.java  144 performActionNamed  com.webobjects.appserver
 ERXDirectAction.java 401 performActionNamed  er.extensions.appserver
 WOActionRequestHandler.java  259 _handleRequest  
 com.webobjects.appserver._private
 WOActionRequestHandler.java  158 handleRequest   
 com.webobjects.appserver._private
 ERXDirectActionRequestHandler.java   126 handleRequest   
 er.extensions.appserver
 WOApplication.java   1687dispatchRequest com.webobjects.appserver
 ERXApplication.java  2021dispatchRequestImmediately  
 er.extensions.appserver
 ERXApplication.java  1986dispatchRequest er.extensions.appserver
 WOWorkerThread.java  144 runOnce com.webobjects.appserver._private
 WOWorkerThread.java  226 run com.webobjects.appserver._private
 Thread.java  680 run java.lang
 
 
 
 
 
 package com.sooperseekrit.app;
 
 import java.util.NoSuchElementException;
 
 import com.webobjects.appserver.WOActionResults;
 import com.webobjects.appserver.WOComponent;
 import com.webobjects.appserver.WORequest;
 import com.webobjects.eocontrol.EOQualifier;
 
 import er.extensions.appserver.ERXDirectAction;
 import er.extensions.eof.ERXEC;
 
 import com.sooperseekrit.components.AdminPage;
 import com.sooperseekrit.components.Main;
 import com.sooperseekrit.components.UserPage;
 import com.sooperseekrit.model.User;
 
 public class DirectAction extends ERXDirectAction {
  public DirectAction(WORequest request) {
  super(request);
  }
  
  
  @Override
  public WOActionResults defaultAction() {
  return pageWithName(Main.class.getName());
  }
  
  public WOActionResults loginAction() {
  
  WOComponent nextPage = null;
  String username = request().stringFormValueForKey(username);
  String password = request().stringFormValueForKey(password);
  String errorMessage = null;
  if (username == null || username.length() == 0 || 
  password == null || password.length() == 0) {
  errorMessage = Please enter a username and password;
  }   else {
  try {
  EOQualifier qual = 
 User.USERNAME.eq(username).and(User.PASSWORD.eq(password));
  User user = 
 User.fetchRequiredUser(ERXEC.newEditingContext(), qual);
  ((Session)session()).set_currentUser(user);
  if (user.group().name().equals(Admin)) {
  nextPage = 
 pageWithName(AdminPage.class.getName());
  } else if (user.group().name().equals(User)) {
  nextPage = 
 pageWithName(UserPage.class.getName());
  }
  } catch (NoSuchElementException e) {
  errorMessage = No user found for those 
 credentials;
  } catch (Exception e) {
  // something bad happened
  }
  }
  
  if 

Re: Best way to remove a component?

2011-12-03 Thread Paul D Yu
Select the Component, right click.

Sent from my iPad

On Dec 3, 2011, at 12:16 AM, Kevin Spake sparky0...@yahoo.com wrote:

 I made an error when I created a new component, and I'd like to delete it. 
 However, I've noticed that Delete in eclipse rarely does the trick. It will 
 delete the chosen item,, but not the associated .java files, or code 
 references to it, etc. Eclipse has a history feature, but apparently, 
 that's for files only, and does not work on folders, or on the entire 
 project. 
 
 Any suggestions?
 
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Best way to remove a component?

2011-12-03 Thread Paul D Yu
Kevin

I was thinking about rename component when I replied previously.  Refactor 
rename wocomponent will change both the .wo and the .java directory and files.

To restore the project to a previous state, I would say that you should be 
using git or svn, and you could just rollback.   Other than that you would have 
to manually clean up the .java file of the component.

Paul

Sent from my iPad

On Dec 3, 2011, at 10:17 PM, Kevin Spake sparky0...@yahoo.com wrote:

 
 
 On Dec 3, 2011, at 12:42 AM, Paul D Yu wrote:
 
 Select the Component, right click.
 
 Yes, that brings up the Delete option, which deletes the component, ie the  
 .wo file. However, the associated .api and .java files are not deleted. 
 I was just wondering if there was feature that would do more of an 
 uninstall of a component, and remove all the associated files.  In a more 
 general sense, there are times when a single command will result in multiple 
 files being created and/or altered. Some convenient way of restoring a 
 project to a previous condition would be handy. 
 
 
 Sent from my iPad
 
 On Dec 3, 2011, at 12:16 AM, Kevin Spake sparky0...@yahoo.com wrote:
 
 I made an error when I created a new component, and I'd like to delete it. 
 However, I've noticed that Delete in eclipse rarely does the trick. It 
 will delete the chosen item,, but not the associated .java files, or code 
 references to it, etc. Eclipse has a history feature, but apparently, 
 that's for files only, and does not work on folders, or on the entire 
 project. 
 
 Any suggestions?
 
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Best way to remove a component?

2011-12-03 Thread Paul D Yu
It is a lot to learn at one time.  

I use eGit inside of eclipse and tower.app outside.  For me Tower.app is really 
good at heinz me visualize the local and remote repositories.

If you created a new component that is not needed, you can just 
refactor..rename it, right?

Sent from my iPad

On Dec 3, 2011, at 11:16 PM, Kevin Spake sparky0...@yahoo.com wrote:

 I guess I'm going to have to really learn to use git. My brain hurts right 
 now.
 
 On Dec 3, 2011, at 7:57 PM, Paul D Yu wrote:
 
 Kevin
 
 I was thinking about rename component when I replied previously.  Refactor 
 rename wocomponent will change both the .wo and the .java directory and 
 files.
 
 To restore the project to a previous state, I would say that you should be 
 using git or svn, and you could just rollback.   Other than that you would 
 have to manually clean up the .java file of the component.
 
 Paul
 
 Sent from my iPad
 
 On Dec 3, 2011, at 10:17 PM, Kevin Spake sparky0...@yahoo.com wrote:
 
 
 
 On Dec 3, 2011, at 12:42 AM, Paul D Yu wrote:
 
 Select the Component, right click.
 
 Yes, that brings up the Delete option, which deletes the component, ie 
 the  .wo file. However, the associated .api and .java files are not 
 deleted. I was just wondering if there was feature that would do more of an 
 uninstall of a component, and remove all the associated files.  In a more 
 general sense, there are times when a single command will result in 
 multiple files being created and/or altered. Some convenient way of 
 restoring a project to a previous condition would be handy. 
 
 
 Sent from my iPad
 
 On Dec 3, 2011, at 12:16 AM, Kevin Spake sparky0...@yahoo.com wrote:
 
 I made an error when I created a new component, and I'd like to delete 
 it. However, I've noticed that Delete in eclipse rarely does the trick. 
 It will delete the chosen item,, but not the associated .java files, or 
 code references to it, etc. Eclipse has a history feature, but 
 apparently, that's for files only, and does not work on folders, or on 
 the entire project. 
 
 Any suggestions?
 
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Question on WebObjects, WOLips and Wonder Tutorial, part 2

2011-12-02 Thread Paul D Yu
Of course you need to import the User class into your component.  The eomodel 
is a model not a java class.

P

Sent from my iPad

On Dec 1, 2011, at 11:39 PM, Kevin Spake sparky0...@yahoo.com wrote:

 The error I am getting is User cannot be resolved to a type.  It is 
 occurring in Main.WO, and also shows up multiple times when the app is run. 
 User is the name of the eomodel, and the User and _User  files are in the 
 package in Sources.  The app launches, but when I click on the submit button 
 (it's a login page), the app crashes with:
 
 Original Exception:
 java.lang.reflect.InvocationTargetException
 at 
 com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:269)
 at 
 com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
 at 
 er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:126)
 at 
 com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
 at 
 er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2021)
 at 
 er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1986)
 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:680)
 Caused by: java.lang.Error: Unresolved compilation problem: 
 The method set_currentUser(User) from the type Session refers to the missing 
 type User
 
 at com.sooperseekrit.app.DirectAction.loginAction(DirectAction.java:39)
 
 The only place where WORequestHandler is called is in Application.java:
 
 String directActionRequestHandlerKey = this.directActionRequestHandlerKey();
 WORequestHandler directActionRequestHandler = 
 this.requestHandlerForKey(directActionRequestHandlerKey);
 this.setDefaultRequestHandler(directActionRequestHandler);
 
 Funny thing, if I put an import statement in Session.java: import 
 com.sooperseekrit.model.User; the errors disappear and the app runs fine. 
 Why do I need to import the class from the eomodel?  BTW, the tutorial goes 
 through a process of moving code around and basically implementing the same 
 functionality in different ways. I think this error popped up when the login 
 logic was moved into directAction to make the login sessionless. 
 
 Thanks.
 
 
 On Dec 1, 2011, at 12:02 PM, Chuck Hill wrote:
 
 
 On 2011-12-01, at 11:06 AM, Kevin Spake wrote:
 
 
 On Dec 1, 2011, at 8:36 AM, Jérémy DE ROYER [INGENCYS] wrote:
 
 For me, these are the two worst bugs wolips :
 - erros that do not exist
 - validation that freeze wolips
 
 For the first one, either I don't care or I restart and clean my project
 Unfortunately, that did not work for me.  So far, eclipse has been a bit of 
 a nightmare for me.
 
 Yes, it has.
 
 
 I can only assume it's not this bad for most users (or maybe I'm doing/not 
 doing something to aggravate it.  
 
 I use it daily and the aggravations are not a daily occurrence.  I tend to 
 leave it running and rarely restart it unless I restart my machine.  That 
 may help.
 
 
 A new error popped up, and eclipse is complaining about my User object 
 but the User class is in the right place, and was EOGenerated by eclipse, 
 so we'll try to figure what's going on there tonight. 
 
 Let us know the full error message.
 
 
 
 
 
 
 For the second one, either I disable validation or I kill wolips and 
 restart...
 
 Jérémy
 
 Le 1 déc. 2011 à 17:23, Ramsey Gurley a écrit :
 
 Or just select the error in your Problems view and right click to delete 
 it.
 
 Ramsey
 
 On Dec 1, 2011, at 12:29 AM, Stefan Klein wrote:
 
 In some tough cases following steps will do it:
 
 1) close the project in eclipse
 2) close eclipse
 3) delete bin and build directories
 4) open eclipse
 5) open the project
 6) run clean
 
 Stefan
 
 Am 01.12.11 07:35, schrieb Kevin Spake:
 Thanks. I had tried Cleaning but it did not help.
 
 
 On Nov 30, 2011, at 10:04 PM, Chuck Hill wrote:
 
 This is just Eclipse gone insane again.  You can open the Problems 
 View, select and delete these errors.  Sometimes Cleaning and Building 
 works too.
 
 Chuck
 
 
 On 2011-11-30, at 9:17 PM, Kevin Spake wrote:
 
 I've been working on the introductory material that was suggested. 
 Now, I'm on part 2 of the Webobjects, wolips and wonder tutorial. 
 There is an error in Main.wo.  Atwo:PageWrapper  the error is: The 
 class for 'PageWrapper' is either missing or does not extend 
 WOElement.   The PageWrapper.wo is in components, PageWrapper. java 
 is in com.sooperseekrit.components, so the class is not missing. 
 According to the javadoc, 
 er.extensions.components.ERXStatelessComponent (which is the super 
 for PageWrapper) inherits from com.webobjects.appserver.WOElement.   
 ERExtensions is in the build path.
 
 What am I doing wrong?
 
 This is Main.wo
 wo:PageWrapper
   

Re: Connection Dictionary for ERAttachment (go away!)

2011-11-24 Thread Paul D Yu
Speaking of could we make these parameters default in build.properties?

Sent from my iPad

On Nov 24, 2011, at 9:03 PM, Paul Yu p...@mac.com wrote:

 So it sounds like you are not embedding the frameworks in your deployment woa.
 
 You should change your build properties to include the following:
 
 embed.Local=true
 embed.Project=true
 embed.System=true
 
 
 
 On Nov 24, 2011, at 8:33 PM, Jeff Schmitz wrote:
 
 I'm Lucky there's some Canadians on here to respond on Thanksgiving day :-)
 
 I should have checked this before, but yes, looking at the startup log, it 
 is getting set in my classpath (see below).  Deleting the ERAttachment 
 framework in /Library/Frameworks got rid of the problem.  Is that the proper 
 thing to do? Or is there a proper way to fix it?  It is still showing up 
 in my classpath variables in the startup log.
 
 com.webobjects.classpath=/.../Library/Frameworks/ERAttachment.framework/Resources/Java/ERAttachment.jar:...
 
 and
 
 er.extensions.appserver.ERXApplication  - classpath =
 ...
 /Library/Frameworks/ERAttachment.framework/Resources/Java/ERAttachment.jar
 ...
 
 Thanks!
 Jeff
 
 On Nov 24, 2011, at 11:54 AM, Chuck Hill wrote:
 
 It is almost certainly on your classpath somewhere.  Check the classpath on 
 the deployment machine.
 
 On 2011-11-24, at 8:17 AM, Jeff Schmitz wrote:
 
 Hello,
 I have a Wonder App/Wonder Framework combo application that runs on my 
 development machine, but when I deploy I'm getting the following error 
 about connection dictionaries not being equal:
 
 The connection dictionaries for netbracketsFW and ERAttachment have the 
 same URL and username, but the connection dictionaries are not equal. 
 Check your connection dictionaries carefully! This problem is often caused 
 by jdbc2Info not matching between the two.  One fix for this is to set 
 netbracketsFW.removeJdbc2Info=true and ERAttachment.removeJdbc2Info=true 
 in your Properties file. (netbracketsFW={driver = 
 jdbc.FrontBase.FBJDriver; password = smsbear1; username = 
 netBrackets; URL = 
 jdbc:FrontBase://localhost/netBrackets/isolation=read_committed/locking=optimistic;
  }; and ERAttachment={password = smsbear1; username = netBrackets; URL 
 = 
 jdbc:FrontBase://localhost/netBrackets/isolation=read_committed/locking=optimistic;
  }).
 
 I'm not importing the ERAttachment framework anywhere in my projects, 
 although I had it in there briefly as I was dabbling with it, at which 
 time it seems to have injected itself somewhere in my projects like a bad 
 virus.
 Also,  I looked through the following list of properties files on my 
 deployment machine:
• Resources/Properties in any frameworks that the application links to
• Resources/Properties.username in any frameworks that the application 
 links to
• Resources/Properties in the application itself
• WebObjects.properties under the home directory (not sure on this 
 file's precedence)
• Resources/Properties.dev (when app is launched in Development Mode)
• Properties in /etc/WebObjects/YourAppName/
• Resources/Properties.username in the application itself
 and the only connection dictionary properties I found were my Framework 
 project's Resources/Properties file:
 
 dbConnectURLGLOBAL=jdbc:FrontBase://localhost/netBrackets/isolation=read_committed/locking=optimistic
 dbConnectUserGLOBAL=netBrackets
 dbConnectPasswordGLOBAL=myPassword
 
 For now, I'd like to get rid of all vestiges of ERAttachment from my app, 
 but it doesn't seem to want to go away on my deployment machine.  Any 
 ideas where it's picking up this reference to an ERAttachment connection 
 dictionary on my deployment machine?
 
 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/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/pyu%40mac.com
 
 This email sent to p...@mac.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/pyu%40mac.com
 
 This email sent to p...@mac.com
 

Re: Direct To WebService support in WOLips

2011-09-18 Thread Paul D Yu
Let's drop this and do your direct to ERRest

Paul

Sent from my iPad

On Sep 18, 2011, at 10:41 PM, Pascal Robert prob...@macti.ca wrote:

 Does anyone use Direct To WebService projects in WOLips? My guess is no, 
 because it's still using the old project structure (src instead of 
 Source, etc.). Would it be useful to convert it to the new structure? 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: EOModel to Core Data?

2011-09-14 Thread Paul D Yu
I think a combination of mogenerator and eogenerator with a bit of elbow grease 
may produce something.

I'm just getting back into my iOS project, so it'll be on my back burner.

Paul
On Sep 14, 2011, at 9:29 AM, James Cicenia wrote:

 The silence is deafening.
 
 James
 
 
 
 On Sep 13, 2011, at 3:57 PM, Pascal Robert wrote:
 
 Le 2011-09-13 à 16:53, James Cicenia ja...@jimijon.com a écrit :
 
 That would bring a lot of attention to WO!
 
 Bah, nobody cares.
 
 
 On Sep 13, 2011, at 2:38 PM, Paul D Yu wrote:
 
 I was thinking an extension to EOModel like that of (dare I say it Dave?) 
 JavaClient, where EO's and Attributes can be marked as CoreData/ERRest.  
 Then generate an CoreData Model that will easily support the 
 Synchronization work that was presented at WOWODC?
 
 Paul
 On Sep 13, 2011, at 3:00 PM, Jesse Tayler wrote:
 
 you have an iPhone app connecting to WO?
 
 I don't know of a solution for that, but I've wondered about the 
 practicality and possibility while doing lots of REST stuff with WO and 
 iPhone.
 
 What's your situation and thoughts on the potential of such a thing?
 
 I've considered mirroring the remote data structure but ended up with a 
 more flexible client cache but now I'm moving back the other way.
 
 Seems that I always have local stuff that is different and of course, 
 remote stuff that is different.
 
 
 
 On Sep 13, 2011, at 1:12 PM, James Cicenia wrote:
 
 Is there a way to convert an EOModel to Core Data ?
 
 Thanks
 James ___
 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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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/pyu%40mac.com
 
 This email sent to p...@mac.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/pyu%40mac.com
 
 This email sent to p...@mac.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: EOModel to Core Data?

2011-09-13 Thread Paul D Yu
I was thinking an extension to EOModel like that of (dare I say it Dave?) 
JavaClient, where EO's and Attributes can be marked as CoreData/ERRest.  Then 
generate an CoreData Model that will easily support the Synchronization work 
that was presented at WOWODC?

Paul
On Sep 13, 2011, at 3:00 PM, Jesse Tayler wrote:

 you have an iPhone app connecting to WO?
 
 I don't know of a solution for that, but I've wondered about the practicality 
 and possibility while doing lots of REST stuff with WO and iPhone.
 
 What's your situation and thoughts on the potential of such a thing?
 
 I've considered mirroring the remote data structure but ended up with a more 
 flexible client cache but now I'm moving back the other way.
 
 Seems that I always have local stuff that is different and of course, remote 
 stuff that is different.
 
 
 
 On Sep 13, 2011, at 1:12 PM, James Cicenia wrote:
 
 Is there a way to convert an EOModel to Core Data ?
 
 Thanks
 James ___
 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/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.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/pyu%40mac.com
 
 This email sent to p...@mac.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: one-to-many relationship question

2011-09-08 Thread Paul D Yu
This is what I know.

Owns destination on a toOne relationship means every time a master record is 
created, a child record will also be created.  The primary key of the child 
will be set to the primary key of the master.

Cascade delete means when you delete the master record, the child record(s) 
will automatically be deleted as well.

Paul  
On Sep 8, 2011, at 2:59 PM, Michael Gargano wrote:

 Hi all,
 
   Quick question, does delete on cascade imply owns destination?  Also, 
 does checking owns destination force the insertion of the destination objects 
 after the insertion of the source entity?
 
 I think David LeBer answered this for me once, but I forgot.
 
 Thanks.
 -Mike
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: New WebObjects Site released.

2011-09-01 Thread Paul D Yu
Did you not see the you must be 18 to enter this site?  Do we get free passes?

WOWOW for the WIN!!!

Paul
On Sep 1, 2011, at 11:21 AM, Miguel Arroz wrote:

 I don't know Japanese, so I have absolutely no idea of what is going on. But 
 after a few clicks, I saw, huh, boobs. What the heck is that? :P
 
 On 01/09/2011, at 04:43, ISHIMOTO Ken wrote:
 
 Hi,
 
 I have released a new WebObject Site.
 
 It isn't much to see, because it is an in-house Application. But the Server 
 has a Landing page that you can see.
 
 http://estetic.yesgrp.net/
 
 
 Thank you
 
 
 K's ROOM  (ISHIMOTO Ken)
 
 [E-Mail]  k...@ksroom.com
 [iChat:]   ibase_...@mac.com
 [HP]  http://www.ksroom.com/
 _
 This e-mail has not been scanned for viruses because it was written on an 
 Mac,
 and there are NO Viruses on an Apple Computer.
 For further information visit http://www.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/arroz%40guiamac.com
 
 This email sent to ar...@guiamac.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/pyu%40mac.com
 
 This email sent to p...@mac.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


Time Picker component for NSTimestamp

2011-08-03 Thread Paul D Yu
Being a little lazy here, but has anyone created a date + time setting 
component?

I thought I just saw a commit in the last month or so???

Thanks.

Paul
 ___
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: Time Picker component for NSTimestamp

2011-08-03 Thread Paul D Yu
Yeah, I use AjaxDatePicker extensively in my app.  Now I need an ability to set 
the time portion of the timestamp.

Paul
On Aug 3, 2011, at 3:22 PM, Chuck Hill wrote:

 There is an AjaxDatePicker in Ajax.framework.  I don't recall anything for 
 the time.
 
 
 On 2011-08-03, at 12:15 PM, Paul D Yu wrote:
 
 Being a little lazy here, but has anyone created a date + time setting 
 component?
 
 I thought I just saw a commit in the last month or so???
 
 Thanks.
 
 Paul
 ___
 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: Lion and WO

2011-07-20 Thread Paul D Yu
I've upgraded my primary client development machine and it works just fine.

Upgrading the second one now.

SSD makes the process go really fast.  Spinning disk? not so much...

Paul
On Jul 20, 2011, at 1:06 PM, Simon wrote:

 what about upgrading a dev machine - anyone braved it yet ?
 
 On 20 July 2011 16:32, Pascal Robert prob...@macti.ca wrote:
 Just before people start asking. I installed Lion Server on a Mac Mini 
 Server and the Wonder variants of wotaskd and Monitor works well. Apache WO 
 adaptor compiles correctly too. But Java is not pre-installed, so just start 
 any Java process (a simple call to /usr/bin/java will do) and Finder will 
 ask you if you want to install Java. If you say so, it will download Java 
 1.6 (from Apple) and install it. 
 ___
 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/simon%40potwells.co.uk
 
 This email sent to si...@potwells.co.uk
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: properties files

2011-07-15 Thread Paul D Yu
I think it was one of Kieran's video.  My minds was blown by it.  But I did get 
the Properties in the /etc/WebObjects/InstanceName/ rule.

Paul
On Jul 15, 2011, at 11:13 AM, Michael Gargano wrote:

 I thought I recalled something about the properties files getting reprocessed 
 like 3 times over, but I couldn't find any documentation on it.
 I'll check the vids, thanks.
 
 -Mike
 
 On Jul 15, 2011, at 11:09 AM, John Huss wrote:
 
 It does.  There is a WOWODC video about it from last year.  It boggles the 
 mind.
 
 On Fri, Jul 15, 2011 at 10:03 AM, Michael Gargano mgarg...@escholar.com 
 wrote:
 I'm assuming the ERXProperties still doesn't allow you to reference other 
 properties in your properties, does it?
 
 Thanks.
 -Mike
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Occasional hang loading a particular large page

2011-07-13 Thread Paul D Yu
Have you tried using ERXBatchFetching stuff?

I use ERXBatchingDisplayGroup for large pages and it has worked well.

Paul
On Jul 13, 2011, at 6:21 PM, Kevin wrote:

 I have an app that tends to lock up when a particular page is loaded. This 
 page fetches and accesses over 1500 records from a FrontBase DB. When the 
 problem happens I typically see a broken socket in the webobjects log file, 
 and if I look in the FB manager the state column shows tb swp where the 
 others show only swp. Also CPU usage is quite high when in this state. It 
 will stay this way until I kill it, or the app dies. If I kill that 
 transaction and try again, most of the time it will work fine. Sometimes I 
 have to restart the app.
 
 Any ideas how I can track this problem down. And does anyone know what the 
 letters indicate in the state field. I think there is a clue there, but I 
 can't find those letters in the docs so I don't know what they indicate.
 
 Thanks,
 Kevin ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Apple Representation On WebObjects-Dev Mailing List?

2011-07-07 Thread Paul D Yu
When I was in High School, my computer friends use to program on a TickerTape 
terminal.

When I was at University, I programmed on a PDP11, my friends were still using 
punch cards.  Alas, I never had that pleasure.  My earliest Apple exposure was 
a Apple II 6502 assembler class.

Paul

On Jul 7, 2011, at 4:52 PM, Henrique Gomes wrote:

 
 On Jul 7, 2011, at 6:08 PM, Amedeo Mantica wrote:
 
 And also this thread has gone offtopic :-)
 
 That never happened before :-) 
 
 When I see long threads I always hope they have gone off-topic, they become 
 much more entertaining ;-)
 
 Henrique (That used 300bps modems to access the university VAXen)
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: WOWODC 2011 recordings

2011-07-05 Thread Paul D Yu
+1

Lets Fork...

Maybe the Marketing compan(y/ies) among can chime in here?  Issue of course is 
Branding and gaining momentum for the group.

Paul
On Jul 5, 2011, at 10:56 AM, Chuck Hill wrote:

 
 Whistler.   

 ___
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: WOWODC 2011 recordings

2011-07-05 Thread Paul D Yu
Of course.

Always Clean and in a separate room...  ;)

Paul
On Jul 5, 2011, at 11:14 AM, Hugi Thordarson wrote:

 In short, we think that the first step to move forward is to stop using the 
 WebObjects brand on WOCommunity.org and elsewhere, and move to either to 
 the Project Wonder name or another name.
 
 Whistler.   
 
 Now I'm *really* bummed not to be there with you guys…
 
 Out of curiosity, have the words clean and room been mentioned at all?
 
 - hugi ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: WOPopUpButton - Refresh another WOPopUpButton onChange

2011-06-24 Thread Paul D Yu
You can use ajaxUpateContainer and an AjaxObserveField?

Paul

Sent from my iPad

On Jun 24, 2011, at 5:51 AM, naneon.raym...@neuf.fr wrote:

 -- SORRY THERE SOMES ERRORS - 
 
 Hi,
 
 I have a little problem on my apps. When I want to search something, I do 
 selection of parameters by WOPupUpButton.
 But the problem is when I do the 1st search (1st fetch) there are no problem 
 but when I want to do another search and I select another parameter in the 
 WOPopUpButton which refresh the second one, the display page refresh all 
 datas (do the fetch(1st search) I done before) and then update parameter of 
 second WOPopUpButton. It makes my apps slow.
 
 Here is exemple of codes :
 
 in html :
 webobject name = periode / Pop 1
 webobject name = niveau / Pop 2, data depends to Pop1
 webobject name = onChanges / WOSubmitButton hidden by css which contain 
 method to refresh pop 2 data 
 
 in wod :
 periode : WOPopUpButton {
   list = periodes;
   item = currentPeriode;
   displayString = currentPeriode.libelle;
   noSelectionString = Toutes;
   selection = selectedPeriode;
   size = 1;
   class = periode;
   onchange = javascript:this.form.elements['change'].click(); action 
 which call method bind to onChange WOSubmitButton
 }
 
 niveau : WOPopUpButton {
   list = niveaux; ===data depend to Pop 1
   item = currentNiveaux;
   displayString =currentNiveaux.libelle;
   noSelectionString = Tous;
   selection = selectedNiveaux;
   size = 1;
   class = niveau;
 }
 
 onChanges : WOSubmitButton {
   name = change;
   action = onChang;
   class = hide;
   value = ;
 }
 
 in Java :
 public WOActionResults onChang() {
   comboxNiveau(selectedPeriode);
   return null;
   }
 protected NSArray comboxNiveau(EOVuePeriodeParam periode) {
   if (periode == null) {
   niveaux = EOVueNivAdm.fetchAllEOVueNivAdms(session()
   .defaultEditingContext(), 
 niveauOrderings);
   } else {
 EOQualifier qual = EOQualifier.qualifierWithQualifierFormat(
   pperiode=%@, new 
 NSArray(periode.primaryKey()));
   niveaux = EOVueNivAdm.fetchEOVueNivAdms(session()
   .defaultEditingContext(), qual, 
 niveauOrderings);
   }
 }
 
 ...
 
 I want to know if there another way to refresh my pop 2 data without using 
 the javascript which is obliged to submit before refresh?
 
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: WOPopUpButton - Refresh another WOPopUpButton onChange

2011-06-24 Thread Paul D Yu
It should still work.

You would have an action on the AjaxObserveField that points to a method on the 
Java class.  The AOF would wrap popUp1.  The AUC wraps popUp2.

When the popUp1 changes, the action will trigger and call the server method.  
In the server method you would use the objectSelection to fetch the data for 
the popUp2.  Then when the AjaxUpdateContainer of popUp2 refreshes, the data 
fetched previously will be there.

I believe that's how it works.

Paul

On Jun 24, 2011, at 7:32 AM, naneon.raym...@neuf.fr wrote:

 I used ajaxUpateContainer and an AjaxObserveField, but don't work because 
 ajaxUpdateContainer can't refresh pop 2 data.
 the relationShip beetwen periode and niveau id periode_id. periode don't 
 contains niveau so impossible to connect observeField to call upDateContainer 
 to refresh niveau list (list = niveaux not list = periode.niveaux )
 
 Ray
 
 
 
 Message du : 24/06/2011
 De : Paul D Yu  p...@mac.com
 A : naneon.raym...@neuf.fr naneon.raym...@neuf.fr
 Copie à : webobjects-dev@lists.apple.com
 Sujet : Re: WOPopUpButton - Refresh another WOPopUpButton onChange
 
 
 You can use ajaxUpateContainer and an AjaxObserveField?
 
 Paul
 
 Sent from my iPad
 
 On Jun 24, 2011, at 5:51 AM, naneon.raym...@neuf.fr wrote:
 
 -- SORRY THERE SOMES ERRORS - 
 
 Hi,
 
 I have a little problem on my apps. When I want to search something, I do 
 selection of parameters by WOPupUpButton.
 But the problem is when I do the 1st search (1st fetch) there are no problem 
 but when I want to do another search and I select another parameter in the 
 WOPopUpButton which refresh the second one, the display page refresh all 
 datas (do the fetch(1st search) I done before) and then update parameter of 
 second WOPopUpButton. It makes my apps slow.
 
 Here is exemple of codes :
 
 in html :
 webobject name = periode / Pop 1
 webobject name = niveau / Pop 2, data depends to Pop1
 
 webobject name = onChanges / WOSubmitButton hidden by css which contain 
 method to refresh pop 2 data 
 
 in wod :
 periode : WOPopUpButton {
  list = periodes;
  item = currentPeriode;
  displayString = currentPeriode.libelle;
  noSelectionString = Toutes;
  selection = selectedPeriode;
  size = 1;
  class = periode;
  onchange = javascript:this.form.elements['change'].click(); action 
 which call method bind to onChange WOSubmitButton
 }
 
 niveau : WOPopUpButton {
  list = niveaux; ===data depend to Pop 1
  item = currentNiveaux;
  displayString =currentNiveaux.libelle;
  noSelectionString = Tous;
  selection = selectedNiveaux;
  size = 1;
  class = niveau;
 }
 
 onChanges : WOSubmitButton {
  name = change;
  action = onChang;
  class = hide;
  value = ;
 }
 
 
 in Java :
 public WOActionResults onChang() {
  comboxNiveau(selectedPeriode);
  return null;
  }
 protected NSArray comboxNiveau(EOVuePeriodeParam periode) {
  if (periode == null) {
  niveaux = EOVueNivAdm.fetchAllEOVueNivAdms(session()
  .defaultEditingContext(), 
 niveauOrderings);
  } else {
EOQualifier qual = EOQualifier.qualifierWithQualifierFormat(
  pperiode=%@, new 
 NSArray(periode.primaryKey()));
  niveaux = EOVueNivAdm.fetchEOVueNivAdms(session()
  .defaultEditingContext(), qual, 
 niveauOrderings);
  }
 }
 
 ...
 
 I want to know if there another way to refresh my pop 2 data without using 
 the javascript which is obliged to submit before refresh?
 
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Advice please about WO

2011-06-12 Thread Paul D Yu

On Jun 12, 2011, at 3:18 PM, P Teeson wrote:

 My situation is this: MacOS X 10.6.7 Xcode 3.2.6 MacPro dual 2.66Ghz 
 Nehalem quads, developing on Mac since 1984.
 
 But I've never had to do anything in WO, although I looked into it a few 
 years ago out of curiosity. 
 I'm now being asked to investigate some issues for a major organisation that 
 is having issues with an existing WO app. (see more below).
 
 Is there a website similar to CocoaDev or CocoaBuilder or the like where I 
 can easily search through the list archives versus bothering this list? Some 
 of the questions I am seeking asnwers to (after doing some homework by 
 reading and Googling) are these:
 
 (1) WO is an application server now ported from Obj-C to Java and made to run 
 on the server version of MacOS X. Correct?

Yes, this happened a long long time ago.  Or client versions, or any Linux OS 
variant.
 
 (2) The development tools are no longer Xcode based but are Eclipse based. 
 Correct? 
  So the Leopard Xcode WO SDK is of no use for development. Correct?
 
Yes, this is correct.  The WOLips plugin for Eclipse is very very good.

 (3) The client presently has a PPC Tiger server with WO connecting to a Sun 
 server running Oracle (don't yet know versions)
  If they get new HW how can they upgrade to WO for Snow Leopard server? 
 Or is that possible?
 
This depends on the code base that your client has.

 (4) It's my understanding that WO is now free for the asking/downloading. Is 
 that true? Where? How?
 
Apple Developer. 

 (5) What about Lion? I am guessing that the server version of Lion will run 
 WO? Correct?
  Because isn't it true that Apple uses it for their various online 
 stores? Correct?
 
WO is java VM dependent.  Yes Apple uses WO for many of their apps, however, 
they are not running the 5.4.3 public version of WO.

 (6) If (5) is true the implication seems to be that Apple is still 
 supporting/developing the framework in some fashion.
 True the framework is fairly mature now (as is Cocoa with which I am more 
 than a little familiar).
  But there may be bug fixes and enhancements as time goes by. Any 
 statement by Apple about this?
 
You should come be WOWODC in Montreal at the end of the month.  Apple has not 
released any new versions of WO since 5.4.3.  However, Project Wonder is very 
actively supported.  You should direct your customer to port their project to 
Project Wonder.


 (7) Oracle now owns Sun hence Java and does not provide the JVM for the MacOS 
 platform.
 This is left up to Apple and they do not appear to have a long term 
 commitment to Java. viz deprecation of the Java-Obj-C bridge.
 So is the life of WO threatened over say the next 5-years because of this?
 
The community is looking at OpenJDK, right now.

 TIA for your wise advice and for being kind enough to point me to places 
 other than 
   http://wiki.objectstyle.org/confluence/display/WO/Home
 
http://wocommunity.org is where it is at.  Be glad to chat with you directly as 
well.

Paul
 
 respect
 
 Peter
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: WOGWT adaptor

2011-05-20 Thread Paul D Yu
Chuck,  US?  or used???

Your client should send you and some newbs to WOWODC, Mike.

Paul
On May 20, 2011, at 12:46 PM, Chuck Hill wrote:

 
 On May 19, 2011, at 9:07 PM, Michael DeMan wrote:
 
 Hi John,
 
 Thanks for the follow up.
 
 The bottom line is that for the current contract that I am on, WO is plagued 
 in two (of the same old)  areas:
 
 1) Lack of developers.  As we all know, its a pretty tiny marketplace.  The 
 people generally are top notch, but nonetheless for a large company they 
 need from a risk management perspective to know that they can find people, 
 whether current employees or run over a bus, find more interesting things to 
 do in life - or whatever.
 
 There are still some of use contractors out here.  :-)
 
 Chuck
 
 
 
 2) Lack of client side stuff.  I personally have steered clear of JavaScript 
 since when Netscape first prefixed the name 'java' onto their client-side 
 browser scripting technologies.  Nonetheless, for large companies and for 
 internal-only back office operations, it is nice to be able to deliver 
 quasi-native-desktop application working environments to folks within the 
 browser with minimal risk to core functionality.  It seems that GWT is 
 relatively mature now and is possibly a solution for the work scenario I am 
 in.
 
 I will also follow up with you off-list within the couple of days.  Again, 
 thank you for the follow up.
 
 - mike
 
 On May 19, 2011, at 8:24 PM, John Huss wrote:
 
 I don't think it's actively maintained.  I started a project called WOGWT 
 (also on google code); it's out of date, but newer than this one.
 
 It really depends on what you need because you can communicate with a WO 
 server in many possible ways:
 1) JSON/XML via direct actions
 2) JSON/XML via REST
 3) JSON/XML via component actions
 4) RPC via direct actions
 5) RequestFactory somehow
 
 For JSON or XML you don't really need anything specific to GWT on the 
 server.  
 For RPC, WOGWT has a request handler you could use.  
 RequestFactory is the newest RPC method in GWT and could be very useful, 
 but I haven't heard of anyone integrating it with WO yet.
 
 What are you looking to do?
 
 John
 
 On Thu, May 19, 2011 at 7:18 PM, Michael DeMan webobje...@deman.com wrote:
 Hi All,
 
 Does anybody know status on the WOGST adaptor (is it reliable/well 
 designed?) - or is there another standard technique to use to be able to 
 utilize GWT on the client side with WebObjects on the back end?
 
 http://sites.google.com/site/wogwtadapter/
 
 Thanks,
 
 - Mike DeMan
 
 
  ___
 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 johnth...@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/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 Chuck Hill Senior Consultant / VP Development
 
 Come to WOWODC this July for unparalleled WO learning opportunities and real 
 peer to peer problem solving!  Network, socialize, and enjoy a great 
 cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Installing the tools: The One True Way?

2011-05-09 Thread Paul D Yu
I think the migration to the one way is absolutely the right thing to do.  
This is the basis from Crossing the Chasm.

We have to simplify and make things consistent for the general new developers.

Paul
On May 9, 2011, at 11:34 AM, Pascal Robert wrote:

 
 Le 2011-05-09 à 10:18, John Huss a écrit :
 
 Mike floated the idea a while back about integration WO installation into 
 WOLips.  That is the best option in my opinion.  Barring that, I still think 
 the easiest, sure to work method is to:
 
 1) Use Apple's WebObjects installer
 2) Download eclipse
 3) Install WOLips
 
 Most java developers probably already have Eclipse anyway, so then it is 
 just two steps.  If the WO installer was part of WOLips, then it is just one 
 step.
 
 In my experience helping developers get set up here, solutions that don't 
 use Apple's WebObjects installer end up causing problems for users, mainly 
 because of the non-standard file locations; using /System/Library/Frameworks 
 and /Library/Frameworks, etc, results in a less problematic installation.
 
 We could use symlinks for that, eg 
 /System/Library/Frameworks/JavaFoundation.framework/ count point to 
 /Developer/WebObjects/System/Library/Frameworks/JavaFoundation.framework/  
 (or just /Developer/WebObjects/Frameworks/JavaFoundation.framework/).
 
 John
 
 On Mon, May 9, 2011 at 7:03 AM, Pascal Robert prob...@macti.ca wrote:
 
 Le 2011-05-09 à 07:50, Kieran Kelleher a écrit :
 
  AFAIK, the Apple dmg is the only one that installs the examples, 
  documentation (in Developer dir), etc.? Might be useful for beginners.
 
 I wouldn't call the examples to be useful :-) We should write new examples 
 that use Wonder features. But I think you are right about the documentation. 
 Maybe woinstall.jar could be changed to also install the documentation.
 
  I use woinstall.jar myself usually.
 
  In any case, just pick whichever way you think is best, easiest for 
  beginners, and works reliably.
 
  On May 9, 2011, at 6:00 AM, Pascal Robert wrote:
 
  Ok, so we have four pages in the wiki that tells how to configure Apache 
  for development, and numerous pages on how to install WOLips and the core 
  WO frameworks. We need one or two pages maximum! So we need to define 
  what is the The One True Way to install and configure everything for 
  development.
 
  My personal preferences are:
 
  * Install WO in /Developer/WebObjects with woinstall.jar
 
  I think installing WO with the Apple dmg is unsafe, because it install 
  stuff in /System, and Apple have been know to remove stuff they don't 
  support or third-party tools from /System when new releases of OS X are 
  made. Installing everything in /Developer/WebObjects or 
  /Library/WebObjects is much safer.
 
  * Install Eclipse/WOLips with Golipse
 
  IMHO, that's the best way to install the tools, since they install all 
  required plugins + the correct version of Eclipse. But since the default 
  WOLips properties are set for /Library and /System, we would need to 
  change them to /Developer/WebObjects when installing from Golipse.
 
  * Install Wonder's wotaskd + the adaptor
 
  Everyone should have a copy of Wonder's wotaskd for development. Even if 
  someone is using DirectConnect for all development, having a copy of 
  wotaskd is useful.
 
  Opinions?
 
 
  ___
  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/kelleherk%40gmail.com
 
  This email sent to kelleh...@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/johnthuss%40gmail.com
 
 This email sent to johnth...@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/pyu%40mac.com
 
 This email sent to p...@mac.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: InOverMyHead {obviously};

2011-05-06 Thread Paul D Yu
I think we should at least mark it as Old/DO NOT USE, otherwise delete it.

Paul
On May 6, 2011, at 7:23 AM, Pascal Robert wrote:

 
 Le 2011-05-06 à 00:47, Kevin Spake a écrit :
 
 Subject says it all. 
 
 I took a java programming class years ago. I did not continue with it. Since 
 then, my only programming experience has been with Realbasic, and that too 
 was years ago. Now, I've decided to jump into webobjects. I have eclipse and 
 WO 543 on intel mac. I can run a simple hello world program. 
 
 As I try to do the beginner tutorial here: 
 http://wiki.objectstyle.org/confluence/display/WO/Hello+World+-+Your+First+WebObjects+Application
 
 Should we keep that page or should we delete it?
 
 I find myself stuck. The instructions say: So, to add a variable to keep 
 track of our visitors name, click on the 'Interface' menu bar item and 
 select 'Add Key...'.
 
 I have no interface menu bar item. I can't find it anywhere, nor can I 
 find any instructions on how to add a variable. Do I just type it in? Is 
 there a resource for total newbs using current WO implementation, or is it 
 an 'idiots need not apply' type of thing?
 
 If this is the wrong mailing list, my apologies. 
 
 Thanks,
 
 Kevin 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: What do you use for building the web interface?

2011-05-06 Thread Paul D Yu
Kevin

We use WOLips.  Although you can have your UI people create the HTML and all 
the CSS outside of WOLips and then replace the objects, e.g. Tables, 
textfields, etc. With WO versions. Inside of WOLips.

Paul

Sent from my iPad

On May 6, 2011, at 5:40 PM, Kevin Spake sparky0...@yahoo.com wrote:

 What do you use to build the web interface for your WO apps? Eclipse? 
 DreamWeaver?  Is there any sort of agreed upon 'best practices' regarding 
 building complex UIs?
 
 Kevin 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: resRouteURLForActionNamed?

2011-04-29 Thread Paul D Yu
ERRest FTW!!!
On Apr 29, 2011, at 2:35 PM, Pascal Robert wrote:

 ERXRouteLink and ERXRouteUrlUtils are doing the job quite well.
 
 Just saw that (and ERXRouteURL). Will take a look at those.
 
 probably not exactly what you want, but there's ERXRouteUrlUtils ... it's 
 making a bunch of assumptions about the route syntax, though.
 
 On Apr 29, 2011, at 10:39 AM, Pascal Robert wrote:
 
 
 Le 2011-04-29 à 09:35, Mike Schrag a écrit :
 
 you would have to replace them yourself, but it's sort of unclear what 
 you would replace them WITH ... they're not valid urls without having an 
 actual value in those slots.
 
 Yes, I do know that for show pages, I will have to add the IDs myself. 
 That's not only for the manifest, I'm also playing with the automatic HTML 
 routing to make the WOWODC mini app (to view the schedule + the 
 presenters) so I need to generate the URLs to go from the index page 
 (list of presentations) to the session detail page. If we had a 
 restRouteUrl method, I would just need to add the ID of the conference 
 session object to the URL returned by restRouteUrl. 
 
 On Apr 29, 2011, at 9:30 AM, Pascal Robert wrote:
 
 
 Le 2011-04-28 à 20:23, Pascal Robert a écrit :
 
 Yes, I know that method doesn't exist, but I'm looking for something 
 that would generate the URL (without the host) for the routes. The 
 reason? I want to add them to a HTML5 cache manifest so if I could 
 dynamically generate the list of URLs, that would be cool! I didn't see 
 anything obvious for this in ERXRoute or ERXRouteRequestHandler.
 
 So, how can I find those URLs a la directActionURLForActionNamed but 
 for REST routes (especially the ones using HTTP GET)? 
 
 I was able to do part of it like this:
 
 public WOActionResults manifestAction() {
 WOResponse response = new WOResponse();
 StringBuffer content = new StringBuffer();
 content.append(CACHE MANIFEST\n);
 content.append(CACHE:\n);
 String baseUrl = 
 this.context()._urlWithRequestHandlerKey(ERXRouteRequestHandler.Key, 
 null, null, false);
 content.append(baseUrl + /sessions.html + \n);
 response.setContent(content.toString());
 response.setHeader(text/cache-manifest, Content-Type);
 return response;
 }
 
 That work, but I still have to add the last part of the URL. I tried 
 with:
 
 for (ERXRoute route: Application.restRequestHandler().routes()) {
 if (Method.Get.equals(route.method())) {
   content.append(baseUrl + route.routePattern().toString + \n);
 }
   }
 
 But I didn't find a way remove the regex constructs (I guess I would use 
 string.replace to remove them).
 
 
 --
 Pascal Robert
 prob...@macti.ca
 
 WOWODC 2011 : July 1-2-3, Montreal. wowodc.com
 
 AIM/iChat : MacTICanada
 LinkedIn : http://www.linkedin.com/in/macti
 Twitter : pascal_robert
 
 
 
 ___
 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%40pobox.com
 
 This email sent to msch...@pobox.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/pyu%40mac.com
 
 This email sent to p...@mac.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: PHP Customer Request

2011-04-07 Thread Paul D Yu
I'd build him the PHP system, then take his money again when he wants to 
upgrade the system.

Paul
On Apr 7, 2011, at 12:38 PM, Dov Rosenberg wrote:

 It is a lot cheaper to host a php site - the cheapest GoDaddy hosting plan
 for $5/mon includes PHP and mysql.
 
 Dov
 
 
 On 4/7/11 8:55 AM, Chuck Hill ch...@global-village.net wrote:
 
 The place to start is to understand why your customer wants (or thinks that 
 he
 wants) a site specifically in PHP.  Maybe he has a valid reason.  Maybe he
 thinks that PHP brings some benefit that other technologies don't.  In that
 case, focus on the technical and business needs and then help him to select a
 technology based on that.
 
 
 Chuck
 
 
 On Apr 7, 2011, at 8:41 AM, Amedeo Mantica wrote:
 
 Hello all,
 
 Generic question, how do you promote Java/WebObjects technology to customers
 ?
 
 A customer today asked me for a PHP/MySQ WebSite/WebApp. That was a specific
 request., he doesn't want a dynamic WebSite, he wants a php based website.
 
 Suggestions ?
 
 Amed
 
 ___
 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
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Migrations not executed at startup problem

2011-04-06 Thread Paul D Yu
Miguel

You will need to call the external sql script from inside of your 
Migration.java file.

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

ERXJDBCUtilities.executeUpdateScriptFromResourceNamed(database.adaptorChannel(),
 DInAdminEOModel1_Postgresql_Upgrade.migration, DIModelFramework);
}

Something like that?

Paul
On Apr 6, 2011, at 1:07 PM, Chuck Hill wrote:

 Is this a full Wonder app, extending ERXApplication?  If not, you need to 
 initiate the migration:
 
 if (ERXMigrator.shouldMigrateAtStartup())
 {
 try
 {
 migrator().migrateToLatest();
 }
 catch (ERXMigrationFailedException e)
 {
 // It might be a missing plugin problem
 new 
 ERXJDBCConnectionAnalyzer(databaseConnectionDictionary());
 throw e;
 }
 }
 
 Chuck
 
 
 On Apr 6, 2011, at 9:47 AM, Miguel Angel Torres Avila wrote:
 
 Hi all,
 
 I am trying to implement Migrations in an existing Application.
 
 I followed the instructions in this page:
 
 http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/extensions/migration/package-summary.html
 
 and this one 
 
 http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/extensions/migration/ERXMigration.html
 
 I think the steps are:
 
 1. Modify properties file:
 
 # Migrations
 er.migration.migrateAtStartup=true
 er.migration.createTablesIfNecessary=true
 er.migration.modelNames=DInAdminEOModel
 er.extensions.migration.ERXMigration.useDatabaseSpecificMigrations=true
 
 DInAdminEOModel.InitialMigrationVersion=1
 DInAdminEOModel.MigrationClassPrefix=com.toracom.app.migration.DInAdminEOModel
  
 
 2. Create class com.toracom.app.migration.DInAdminEOModel1.java
 
 /// BEGIN CLASS
 package com.toracom.app.migration;
 
 import com.webobjects.eoaccess.EOAdaptorChannel;
 import com.webobjects.eoaccess.EOModel;
 import com.webobjects.eocontrol.EOEditingContext;
 import com.webobjects.foundation.NSArray;
 
 import er.extensions.migration.ERXMigration;
 import er.extensions.migration.ERXModelVersion;
 
 public class DInAdminEOModel1 extends ERXMigration {
  public NSArrayERXModelVersion modelDependencies() { 
   return null; 
 } 
 
 
  @Override
  public void upgrade(EOEditingContext editingContext, EOAdaptorChannel 
 channel, EOModel model) throws Throwable {
  
  }
 
  @Override
  public void downgrade(EOEditingContext editingContext,  
 EOAdaptorChannel channel, EOModel model) throws Throwable {
  // TODO Auto-generated method stub
  
  } 
 }
 
 // END CLASS
 
 
 3. Create DInAdminEOModel1_Postgresql_Upgrade.migration file
 
 ALTER TABLE parametros ADD COLUMN modulo_cfdivault_habilitado varchar(5);
 UDPATE parametros SET modulo_cfdivault_habilitado = 'false';
 ALTER TABLE parametros ALTER COLUMN modulo_cfdivault_habilitado SET NOT NULL;
 
 
 When I run my application never get the SQL code executed. In the 
 Application class I load a Parametros entity but I get the following error
 
 Apr 06 11:38:11 dinadmin[9] DEBUG NSLog  -  evaluateExpression: 
 com.webobjects.jdbcadaptor.PostgresqlExpression: SELECT DISTINCT 
 t0.directorio_raiz_procesamiento_cfd, t0.email_formato, 
 t0.encoding_archivo_fuente, t0.encoding_escritura_cfd, 
 t0.encoding_escritura_div_sol, t0.encoding_escritura_xml_co, 
 t0.encoding_escritura_xml_impresion, t0.encoding_lectura_jaxb, 
 t0.encoding_obtencion_co, t0.encoding_trans_co, t0.fh, t0.fhc, 
 t0.formato_fecha_dhtmlxgrid, t0.formato_numero_registro_bd, 
 t0.formato_numero_registro_bd_corto, t0.fsh, t0.fshnm, t0.iva, 
 t0.logs_debug, t0.logs_path, t0.logs_stdout, t0.metodo_impresion, 
 t0.modulo_cfdivault_habilitado, t0.moneda_id, t0.nd, t0.ne, t0.nm, 
 t0.nombre_aplicacion, t0.np, t0.ntc, t0.parametros_id, t0.retraso_daemon, 
 t0.rfc_fisica, t0.rfc_moral, t0.sistema_inicializado, t0.url_birt_viewer, 
 t0.version_comprobante FROM parametros t0 withBindings: 
 Apr 06 11:38:11 dinadmin[9] DEBUG NSLog  -  === Rollback Internal 
 Transaction
 ERROR: column t0.modulo_cfdivault_habilitado does not existat 
 org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1608)
 at 
 org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1343)
 at 
 org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:194)
 at 
 org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
 at 
 org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:336)
 
 
 Because the modulo_cfdivault_habilitado column does not exist, so the 
 migration's file is never executed.
 
 Am I missing something, maybe a missing Framework?
 
 Thanks in advance.
 
 
 ___
 Ing. 

Re: Migrations not executed at startup problem

2011-04-06 Thread Paul D Yu
Look at the _dbupdater table in your database.

It should have a row in there with your EOModel name in it;  set the version 
back to null.

Paul

On Apr 6, 2011, at 1:43 PM, Mike Schrag wrote:

 More than likely you've already run once, and the migration did nothing, so 
 it succeeded, and it's not going to run it again unless you modify the data 
 in the migration version table to reset it back.
 
 On Apr 6, 2011, at 1:24 PM, Miguel Angel Torres Avila wrote:
 
 Thanks Paul
 
 For some reason the code inside the upgrade class is never called.
 
 I think I should mistyped something. I am checking now.
 
 
 On Apr 6, 2011, at 12:16 PM, Paul D Yu wrote:
 
 Miguel
 
 You will need to call the external sql script from inside of your 
 Migration.java file.
 
 @Override
 public void upgrade(EOEditingContext editingContext, 
 ERXMigrationDatabase database) throws Throwable {
 
 ERXJDBCUtilities.executeUpdateScriptFromResourceNamed(database.adaptorChannel(),
  DInAdminEOModel1_Postgresql_Upgrade.migration, DIModelFramework);
 }
 
 Something like that?
 
 Paul
 On Apr 6, 2011, at 1:07 PM, Chuck Hill wrote:
 
 Is this a full Wonder app, extending ERXApplication?  If not, you need 
 to initiate the migration:
 
 if (ERXMigrator.shouldMigrateAtStartup())
 {
 try
 {
 migrator().migrateToLatest();
 }
 catch (ERXMigrationFailedException e)
 {
 // It might be a missing plugin problem
 new 
 ERXJDBCConnectionAnalyzer(databaseConnectionDictionary());
 throw e;
 }
 }
 
 Chuck
 
 
 On Apr 6, 2011, at 9:47 AM, Miguel Angel Torres Avila wrote:
 
 Hi all,
 
 I am trying to implement Migrations in an existing Application.
 
 I followed the instructions in this page:
 
 http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/extensions/migration/package-summary.html
 
 and this one 
 
 http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/extensions/migration/ERXMigration.html
 
 I think the steps are:
 
 1. Modify properties file:
 
 # Migrations
 er.migration.migrateAtStartup=true
 er.migration.createTablesIfNecessary=true
 er.migration.modelNames=DInAdminEOModel
 er.extensions.migration.ERXMigration.useDatabaseSpecificMigrations=true
 
 DInAdminEOModel.InitialMigrationVersion=1
 DInAdminEOModel.MigrationClassPrefix=com.toracom.app.migration.DInAdminEOModel
 
 2. Create class com.toracom.app.migration.DInAdminEOModel1.java
 
 /// BEGIN CLASS
 package com.toracom.app.migration;
 
 import com.webobjects.eoaccess.EOAdaptorChannel;
 import com.webobjects.eoaccess.EOModel;
 import com.webobjects.eocontrol.EOEditingContext;
 import com.webobjects.foundation.NSArray;
 
 import er.extensions.migration.ERXMigration;
 import er.extensions.migration.ERXModelVersion;
 
 public class DInAdminEOModel1 extends ERXMigration {
   public NSArrayERXModelVersion modelDependencies() { 
return null; 
  } 
 
 
   @Override
   public void upgrade(EOEditingContext editingContext, EOAdaptorChannel 
 channel, EOModel model) throws Throwable {
   
   }
 
   @Override
   public void downgrade(EOEditingContext editingContext,  
 EOAdaptorChannel channel, EOModel model) throws Throwable {
   // TODO Auto-generated method stub
   
   } 
 }
 
 // END CLASS
 
 
 3. Create DInAdminEOModel1_Postgresql_Upgrade.migration file
 
 ALTER TABLE parametros ADD COLUMN modulo_cfdivault_habilitado varchar(5);
 UDPATE parametros SET modulo_cfdivault_habilitado = 'false';
 ALTER TABLE parametros ALTER COLUMN modulo_cfdivault_habilitado SET NOT 
 NULL;
 
 
 When I run my application never get the SQL code executed. In the 
 Application class I load a Parametros entity but I get the following error
 
 Apr 06 11:38:11 dinadmin[9] DEBUG NSLog  -  evaluateExpression: 
 com.webobjects.jdbcadaptor.PostgresqlExpression: SELECT DISTINCT 
 t0.directorio_raiz_procesamiento_cfd, t0.email_formato, 
 t0.encoding_archivo_fuente, t0.encoding_escritura_cfd, 
 t0.encoding_escritura_div_sol, t0.encoding_escritura_xml_co, 
 t0.encoding_escritura_xml_impresion, t0.encoding_lectura_jaxb, 
 t0.encoding_obtencion_co, t0.encoding_trans_co, t0.fh, t0.fhc, 
 t0.formato_fecha_dhtmlxgrid, t0.formato_numero_registro_bd, 
 t0.formato_numero_registro_bd_corto, t0.fsh, t0.fshnm, t0.iva, 
 t0.logs_debug, t0.logs_path, t0.logs_stdout, t0.metodo_impresion, 
 t0.modulo_cfdivault_habilitado, t0.moneda_id, t0.nd, t0.ne, t0.nm, 
 t0.nombre_aplicacion, t0.np, t0.ntc, t0.parametros_id, t0.retraso_daemon, 
 t0.rfc_fisica, t0.rfc_moral, t0.sistema_inicializado, t0.url_birt_viewer, 
 t0.version_comprobante FROM parametros t0 withBindings: 
 Apr 06 11:38:11 dinadmin[9] DEBUG NSLog  -  === Rollback Internal 
 Transaction
 ERROR: column t0.modulo_cfdivault_habilitado does not existat 
 org.postgresql.core.v3

Re: Newbie question

2011-04-06 Thread Paul D Yu
Based on the column/attribute in your DB/EOModel that would make your consider 
the record/EO to be duplicate of another, you should implement a method that 
would check for those values in the existing set.

I don't think there is a one line solution to what you are seeking.

Paul
On Apr 6, 2011, at 10:52 PM, Mr Tonnew wrote:

 Hi,
 
 How do I avoid committing duplicate entries in the DB? I have a form
 from where I take entries. Is there a single line of code that can
 accomplish this?
 
 MR
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: model connections to multiple DBs

2011-04-04 Thread Paul D Yu
Yeah, that's the way to go.

Reverse engineer each database into it's own EOModel, then build the 
relationships between the models.

Be mindful that EO's can NOT have the same names across your models.  So you 
may have to put prefixes on the EO's after you reverse engineer the DB tables.

Paul
On Apr 4, 2011, at 11:04 AM, Simon wrote:

 i think it's a big no :-(
 
 but you can definitely have multiple models - one for each db - and
 relationships between the models.
 
 simon
 
 On 4 April 2011 16:00, Michael Gargano mgarg...@escholar.com wrote:
 Hi all,
 
Is there a way to have a model connect to different databases 
 simultaneously?  So, I have a schema that is rev. eng'ed but that same 
 schema is on 10 different databases, I want to fetch data from different 
 DB's for different users of the system simultaneously.  Is this possible?  
 omg please say YES.  :)
 
 Thanks.
 -Mike
 
 
  ___
 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/simon%40potwells.co.uk
 
 This email sent to si...@potwells.co.uk
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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


ERAttachmentViewer and iPad Safari

2011-03-28 Thread Paul D Yu
Greetings

Anyone has any success with getting ERAttachmentViewer to play back QuickTime 
content in iPad Safari?

Paul
 ___
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: Scheduled Actions

2011-03-28 Thread Paul D Yu
You should be able to build a headless application and have cron call that app 
to do what you need.

Sent from my iPad

On Mar 28, 2011, at 10:32 PM, Ken - Watermark Studios 
k...@watermarkstudios.com wrote:

 How would I handle scheduled actions with WebObjects. Cron or some other 
 approach? I'd like to have my application run a daily process to check a 
 remote client's membership status and update my application's membership 
 status.
 
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Split large application into smaller ones

2011-03-18 Thread Paul D Yu
Yes breaking you monolithic application into smaller apps is a good idea.  
However there are some consideration that you should give to inter application 
communications, such as changes created by the admin app may not be known to 
the customer app.

The first thing you should do is the refactor you model(s) out of the 
application into a separate framework.  And of course all of the EO's.  
Regardless of one app or two or more, this refactoring in a must!

Jrebel is really help in development but is not meant for deployment.  At least 
that's not what I use it for.

Paul

Sent from my iPad

On Mar 18, 2011, at 1:04 AM, Yung-Luen Lan yungl...@gmail.com wrote:

 Hi,
 
 I want to split my one large web application into multiple smaller
 applications so that each part running separately because:
 
 1. Update one application won't affect the other. For example, I want
 to deploy the admin backend but don't want to restart the customer
 page.
 2. If one JVM crash, the other is still alive. (Although it cost more memory)
 
 I'm not sure if my reason is solid. Any comment?
 If this is the way to go, how to share the data model between these
 applications? Use something like terracota?
 Does JRebel help on the point 1?
 
 Regards,
 yllan
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: not to start something but:

2011-03-12 Thread Paul D Yu
The Dave's should jump in here with a Direct to DoJo or Direct to Cappuccino 
application with ERRest.

Paul
On Mar 12, 2011, at 4:15 PM, Pascal Robert wrote:

 
 Le 2011-03-12 à 16:05, Theodore Petrosky a écrit :
 
 I tend to use the Ajax Frameworks in everything. I really like how easy it 
 is to add to my WO projects.
 
 I seem to recall looking at SproutCore quite a while ago and I lost 
 traction, but as there is no Chocolate :-( available I will check it out 
 again. Maybe this time some more will stick.
 
 You want to use SproutCore, Dojo or Cappuccino if you want to do a 
 desktop-like app and with most of the data processing to happen on the 
 client. If you want to only add some Ajax to your (stateful) pages, stay with 
 the Ajax framework.
 
 Thanks. Hope to meet youse guys this summer.
 
 Ted
 
 --- On Sat, 3/12/11, David LeBer dleber_wo...@codeferous.com wrote:
 
 From: David LeBer dleber_wo...@codeferous.com
 Subject: Re: not to start something but:
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: Pascal Robert prob...@macti.ca, webobjects-dev@lists.apple.com
 Date: Saturday, March 12, 2011, 3:40 PM
 On 2011-03-12, at 3:21 PM, Theodore
 Petrosky wrote:
 
 so if you were to recommend another framework today
 that someone would start to sink time into, what would it
 be?
 
 Ted
 
 It depends on what you are trying to achieve I guess.
 
 - The Ajax framework does a good job of allowing you to
 pragmatically add Ajax behaviour to existing WO apps.
 - You can roll your own UI using JQuery or some other JS
 framework to give you a leg-up.
 - SproutCore seems to have some traction for building rich
 desktop like app front-ends.
 - Cappuccino[2] is interesting and a very cool tech
 accomplishment especially if you are familiar with Cocoa,
 but it requires that you abandon all standard web tech when
 building your UI.
 
 Both SproutCore and Cappuccino would probably be best used
 with an ERRest backend.
 
 I'm sure there are others, anyone have anything else to
 share?
 
 [1]http://www.sproutcore.com/
 [2]http://cappuccino.org/
 
 
 --- On Sat, 3/12/11, Pascal Robert prob...@macti.ca
 wrote:
 
 From: Pascal Robert prob...@macti.ca
 Subject: Re: not to start something but:
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: webobjects-dev@lists.apple.com
 Date: Saturday, March 12, 2011, 11:32 AM
 
 Le 2011-03-12 à 11:13, Theodore Petrosky a écrit
 :
 
 what ever happened to gianduia? it like fell
 off the
 radar and disappeared. not a word from anyone. I
 was really
 expecting to see a video with something from last
 year's
 WOWODC.
 
 Ask Apple, they are the only one who can
 explain... And
 they won't. And so many JavaScript frameworks
 exist, someone
 will come up with something as good as gianduia,
 and not in
 Apple's hands, so that's even better...
 
 i even hesitate to press the send button on
 this
 email.
 
 ;david
 
 --
 David LeBer
 Codeferous Software
 'co-def-er-ous' adj. Literally 'code-bearing'
 site: http://codeferous.com
 blog: http://davidleber.net
 profile:http://www.linkedin.com/in/davidleber
 twitter:http://twitter.com/rebeld
 --
 Toronto Area Cocoa / WebObjects developers group:
 http://tacow.org
 
 
 
 
 
 
 
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Am I using ec properly?

2011-03-12 Thread Paul D Yu
Drew

I think you will need to check the objects in memory as well.

Paul
On Mar 12, 2011, at 9:14 PM, Drew Thoeni wrote:

 I am writing objects to a database in this fashion:
 
 1) reading a text file with companies in it.
 
 2) fetching a company object based on a unique attribute (domain name) from 
 the text file using objectWithFetchSpecificationAndBindings
 
 3) if the object is not found, I'm adding the object using 
 ec.insertObject(tempCompany) and, after creating 1,000 objects, I invoke 
 ec.saveChanges(). I'm doing this after 1,000 objects to reduce database 
 overhead.
 
 However, I am getting database errors (unique constraint) because there are 
 duplicate items in the text file and the fetch does not seem to be 
 discovering these items in the 1,000 as yet unwritten objects. 
 
 I thought a fetch would not only check the database but also check the 
 editing context to see if the item was there and not yet committed.
 
 I think I must be handling this incorrectly and there is a pattern that would 
 accomplish my goal, which is to add companies from the text file to the 
 database only if the company is not yet in the database, but also do this 
 efficiently. That is, if I invoke ec.saveChanges() for every record, the 
 duplicates are discovered but the process is much slower.
 
 Any suggestions are, of course, greatly appreciated.
 
 
 Drew
 
 
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Reverse Engineer?

2011-03-08 Thread Paul D Yu
I think the current thinking is to not have anything there.  I think the 
embedded deploys would bundle the jar into the woa, so it would not run into 
the /Jave/Extensions folder.

Paul
On Mar 8, 2011, at 12:18 PM, Farrukh Ijaz wrote:

 Shouldn't the mysql jar be placed in Java/ext folder?
 
 Farrukh
 
 Pascal Robert prob...@macti.ca wrote:
 
 Bundle-less project without having WO 5.4 and a recent Wonder version? If 
 JavaFoundation is in the classpath, that problem look like the one we had 
 when the bundle-less option was enabled but we were using WO 5.3.
 
 Hello -
 
 I am trying to reverse engineer a mysql db with Eclipse 3.6x and all I get 
 are error messages.
 First about JavaMail and then thereafter, NSBundle ?
 
 Am I missing some setup config? 
 
 Thanks
 James
 
 
 
 java.lang.NoClassDefFoundError: Could not initialize class 
 com.webobjects.foundation.NSBundle
 at 
 com.webobjects.eoaccess.EOAdaptor.infoDictionaryForAdaptorNamed(EOAdaptor.java:230)
 at 
 com.webobjects.eoaccess.EOAdaptor.classNameForAdaptorNamed(EOAdaptor.java:246)
 at 
 com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:262)
 at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:287)
 at 
 org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineer53.init(EOFSQLReverseEngineer53.java:28)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at 
 org.objectstyle.wolips.eomodeler.core.sql.EOFSQLReverseEngineerFactory.reverseEngineer(EOFSQLReverseEngineerFactory.java:23)
 at 
 org.objectstyle.wolips.eomodeler.actions.ReverseEngineerAction.run(ReverseEngineerAction.java:86)
 at 
 org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
 at 
 org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
 at 
 org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
 at 
 org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
 at 
 org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
 at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
 at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
 at 
 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at 
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at 
 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
 at 
 org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
 at 
 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at 
 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at 
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
 at 
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
 
 ___
 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
 
 

Re: ERCalendar usage

2011-03-08 Thread Paul D Yu
I've tried using it, and would be happy to upgrade!

Sent from my iPhone

On Mar 8, 2011, at 1:12 PM, Pascal Robert prob...@macti.ca wrote:

 Anyone using the ERCalendar framework from Wonder? That framework should at 
 least use ical4j to create the event object, it would make it easier and more 
 solid that's for sure.
 
 --
 Pascal Robert
 prob...@macti.ca
 
 AIM/iChat : MacTICanada
 LinkedIn : http://www.linkedin.com/in/macti
 Twitter : pascal_robert
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: D2W Question

2011-03-02 Thread Paul D Yu
Markus

Dave Leber provided a very simple way to generating Excel files.

See his blog here.  http://davidleber.net/?p=369

Paul
On Mar 2, 2011, at 6:53 AM, Markus Ruggiero wrote:

 Hi WO Developers, I need help with D2W,
 
 I want to provide a Download as Excel link on each list page. What is the 
 best way to accomplish this? I know I can freeze a list page and modify it 
 but this decouples me from the rule system. This is a plain out-of-the-box 
 WonderD2W app.
 
 Thanks a lot
 ---markus---
 
 PS: I am still very confused by the lack of documentation (or my not being 
 able to find it). I do have the source to the Wonder Frameworks but even with 
 that finding what I want to know is more or less like shooting with a shotgun 
 into a large forest and hoping to hit something edible...
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: WOWODC 2011: call for presenters

2011-03-01 Thread Paul D Yu
Dave's of a feather...

;)


On Mar 1, 2011, at 1:17 PM, Pascal Robert wrote:

 We should do a Night with the Davids session :-P
 
 + there WILL be a lot of Davids there.
 
 :-)
 
 On 2011-03-01, at 8:34 AM, David LeBer wrote:
 
 
 On 2011-03-01, at 11:21 AM, Pascal Robert wrote:
 
 Hi guys,
 
 We have a couple of slots available for more WOWODC 2011 presentations, so 
 if you would like to present contact me. Remote presentations is also a 
 possibility, and if you want to prepare a presentation but not deliver it, 
 that's another option too.
 
 Check the FAQ if you want to present:
 
 http://wocommunity.org/wowodc11/presenters-faq.html
 
 See you in July!
 
 Let me just chime in to say that giving a presentation to your peers is an 
 amazing thing:
 
 - It expands your understanding of the topic (even if you think you have it 
 mastered).
 - It's a great way to go deep on a *new* topic (need a concrete deadline, 
 this'll give it to you).
 - It expands your exposure in the community.
 - It gives you a great addition to your resume
 - It teaches valuable life and career skills.
 - I will not lie and say it is not a lot of work, but it is amazingly 
 rewarding.
 
 And, I have to say that the WOWODC crowd is a great group to present to.
 
 ;david
 
 --
 David LeBer
 Codeferous Software
 'co-def-er-ous' adj. Literally 'code-bearing'
 site:   http://codeferous.com
 blog:   http://davidleber.net
 profile:http://www.linkedin.com/in/davidleber
 twitter:http://twitter.com/rebeld
 --
 Toronto Area Cocoa / WebObjects developers group:
 http://tacow.org
 
 
 
 
 ___
 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 programming...@mac.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/pyu%40mac.com
 
 This email sent to p...@mac.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: Using Fetch Limits with MySQL

2011-02-25 Thread Paul D Yu
Yes, ERBatchingDisplayGroup is to help you with pagination of large data sets 
in and out of the database.

Paul

Here;s a sample

public BoiseBatchingDisplayGroupObservation observationDG() {
if (observationDG == null) {
EODatabaseDataSource ds = new 
EODatabaseDataSource(pageEditingContext(), Observation.ENTITY_NAME);
observationDG = new BoiseBatchingDisplayGroupObservation();
observationDG.setDataSource(ds);
observationDG.setFetchesOnLoad(true);
observationDG.setNumberOfObjectsPerBatch(20);

... Qualifiers here...


observationDG.setSortOrderings(Observation.DATE_LAST_MODIFIED.descs());
observationDG.qualifyDisplayGroup();
}
return observationDG;

On Feb 25, 2011, at 8:07 PM, Johnny Miller wrote:

 Hi Paul,
 
 No.  Right now I'm just using the vanilla WO stuff like EOFetchSpecification 
 and EOUtilities.
 
 Should I take a look at ERBathingDisplayGroup?
 
 Thanks again,
 
 
 
 
 On Feb 25, 2011, at 3:02 PM, Paul D Yu wrote:
 
 ERBatchingDisplayGroup
 
 Johnny Miller
 Kahalawai Media Corp
 http://www.kahalawai.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: Amazon EC2 Image

2011-02-23 Thread Paul D Yu
Kevin

Try to do a sudo passwd on the root account.

Paul
On Feb 23, 2011, at 9:45 AM, Kevin Hinkson wrote:

 Hi,
 I setup an Amazon EC2 instance using the WOlastic image listed here 
 (ami-0be80962):http://wiki.objectstyle.org/confluence/display/WO/Deploying+on+Amazon+EC2
 However, I have not been able to find the su password for this image so I can 
 drop to root. This question was also asked on the google groups support page 
 referenced on the WOlastic website.
 
 Has anyone else used this image and happens to know what the root password is?
 
 I should also mention that I have been able to get all my webobjects apps 
 running on the instance and backed by postgres on Amazon EBS and the reason I 
 need root is to setup Virual Hosts in Apache. If that approach is wrong or 
 anyone knows of a better way to setup the hosts other than on the EC2 image, 
 please let me know.
 
 I would also be grateful for any other advice for using Amazon AWS.
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Linux deployment advice

2011-02-22 Thread Paul D Yu
John

Welcome back.

first thing is to use Eclipse + WOLips and Project Wonder.

Then set the project to embed all frameworks.

Then I would recommend using Project Wonder's wotaskd and JavaMonitor instead 
of Tomcat.

Paul
 
On Feb 22, 2011, at 3:48 PM, John Baldwin wrote:

 I'm finally coming back to WebObjects after years away from it.
 
 This time around, I'll need to deploy my application in Linux.
 
 I've read the wiki, and see there's instructions for both Tomcat deployment, 
 and installing WO deployment on a Linux server.
 
 I'm game for either one, but was wondering if there's advice to be had to 
 help me decide which one will work better for my needs.
 
 I watched Pascal's deployment video. Good stuff. I took from that the WO 
 deployment with wotaskd and JavaMonitor is preferred.
 
 My experience with Tomcat is very limited (although the servlet deployment 
 option in WOLips makes it seem pretty braindead simple).
 
 This is a small, internal app. I don't have the option of deploying on a Mac. 
 I have full root access to the Linux server. I am comfortable in Linux.
 
 I recall from the old days that there were certain caveats when deploying to 
 Tomcat that made it different than deploying with what then was the 
 standard WO deployment. Pascal mentions classpath issues, but I vaguely 
 recall something about session handling and the Application object behaving 
 differently when within a servlet deployment. But this info might be as 
 obsolete as my experience with WOBuilder.
 
 John
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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


AjaxFlexibleFileUpload and ERAttachmentFlexibleUpload

2011-02-16 Thread Paul D Yu
Dear List

This is just documentation for a problem that we encountered after upgrading to 
the latest Wonder.

We had an upload component inside of and AMD and AjaxUpdateContainer, like this

wo:AjaxUpdateContainer id = uploadContainer
  wo:ERAttachmentFlexibleUpload injectDefaultCSS = $false 
succeededFunction =  uploadContainerUpdate();}
attachment = $avatar 
editingContext = $editingContext /
div style = clear: both;/
/wo:AjaxUpdateContainer

This use to work, but did not after the upgrade.  After working with Dave 
Leber, thanks Dave for the help, we found that the succeededFunction binding 
was the issue.  So changing the code to the following fixed our issue.

wo:AjaxUpdateContainer id = uploadContainer
  wo:ERAttachmentFlexibleUpload injectDefaultCSS = $false 
succeededFunction =  
function(id){uploadContainerUpdate();}
attachment = $avatar 
editingContext = $editingContext /
div style = clear: both;/
/wo:AjaxUpdateContainer

I did not test the new style against the old frameworks.  Hope this will help 
someone in the future.

Paul
 ___
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: Informix Adaptor

2011-02-14 Thread Paul D Yu
We did one at Apple for the CHCS II Project.  I don't know where that is now, 
but Ubermind helped us build one.

Paul
On Feb 14, 2011, at 8:00 PM, Andrew Lindesay wrote:

 Hello;
 
 Has anybody had a go at creating an Informix JDBC plugin for EOF?
 
 cheers.
 
 -- 
 Andrew Lindesay
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: inner join query help

2011-02-05 Thread Paul D Yu
Ted

What do you see in the SQL that gets generated when you access the relationship.

If there are no other qualifiers you query should bring all the rows back, yes?

So what is qualifying the deleted rows?

Paul
On Feb 5, 2011, at 1:35 PM, David Avendasora wrote:

 I also agree with Alex, that version is an attribute, either of Job or of the 
 Invoice. If you could have multiple invoices for a given version, then I'd 
 see it be something along the lines of Project - Version - Invoice 
 (where an invoice could be for multiple versions of one or more projects).
 
 Dave
 
 On Feb 5, 2011, at 8:40 AM, Theodore Petrosky wrote:
 
 This is what I am looking for. However I still don't see my killed versions 
 in the invoice list and I changed the join as you mentioned.
 
 Of course, I could just create an invoice for a version that I kill (with 
 all zeros). That would end the issue (seems to be the easiest solution). But 
 I think I will try to think this through some more.
 
 Alex believes that my overall model may be wrong and that invoice should 
 hang on Job. I have to think that through and see if he is correct. I don't 
 think so but hey, I will give it my full attention.
 
 Ted
 
 --- On Sat, 2/5/11, David Avendasora webobje...@avendasora.com wrote:
 
 From: David Avendasora webobje...@avendasora.com
 Subject: Re: inner join query help
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: webobjects-dev@lists.apple.com
 Date: Saturday, February 5, 2011, 7:33 AM
 Hi Ted,
 
 I'm not 100% clear on exactly what you want. It sounds like
 you want to get a list of all Versions, regardless if they
 have an invoice or not. Is that correct? If so:
 
 In SQL you'd use an outer join if you wanted both Version
 and Invoice information in one result and you wanted to see
 Version information even if there were no Invoice to go with
 it.
 
 In WO, it is similar. You should model the Version -
 Invoice relationship as a Left Outer join. This way you will
 get version records even if there are no corresponding
 Invoice records.
 
 Dave
 
 
 
 On Feb 5, 2011, at 7:07 AM, Theodore Petrosky wrote:
 
 I could fairly easily do this in SQL with a join but i
 am lost in WO.
 
 I have two entities   
 Version   Invoice
 
 my full schema looks like:
 
 ParentCompany toMany 
 Client toMany 
 Project toMany 
 Job toMany 
 Version toOne 
 Invoice
 
 The Version may have many invoices because the version
 may be partially billed. 
 
 in my Invoice report, I will see:
 
 Version 1 partial 01-01-2011
 Version 1 final  01-30-2011
 Version 3 final  01-05-2011
 
 So what happened to version 2. The version was killed
 in production. there will be no version 2 invoice. (Let's
 also add that there could be a version 2.1 or even 2.1
 subversion 1 and any of these could be killed.)
 
 Invoice only records the versions that are invoiced.
 so indeed there could be versions not included in the
 invoice list.
 
 Normally I would join the invoice list against the
 version list. Then I would have a complete list of invoices
 and versions. There would be no 'holes' where a version was
 killed.
 
 Version 1 partial 01-01-2011
 Version 1 final  01-30-2011
 Version 2 killed
 Version 2.1 final  01-30-2011
 Version 3 final  01-05-2011
 
 How to do this the WO way?
 
 I hope I am clear.
 
 Ted
 
 
 
 
 
 
 
 
 
 ___
 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%40avendasora.com
 
 This email sent to webobje...@avendasora.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/pyu%40mac.com
 
 This email sent to p...@mac.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: Flattened many-to-many with WOBrowser

2011-02-05 Thread Paul D Yu
Are they in the same editingContext?

Paul
On Feb 5, 2011, at 5:27 PM, James Cicenia wrote:

 Here is the error:
 
 A valid global ID could not be obtained for entity named 
 PortfolioProjectPortfolioProject, relationship named childProjects, primary 
 key dictionary {childProjectRowId = 69063; }
 
 
 The project with that row id (69063) does exist and would be the correct one.
 
 WOBrowser:
 childProjects: WOBrowser {
   displayString = aChildProject.title;
   item = aChildProject;
   list = possibleChildProjects;
   selections = theNewProjectItem.childProjects;
   multiple = true;
 }
 
 theNewProjectItem.childProjects is the flattened relationship.
 
 What am I missing here?
 Thanks
 James Cicenia
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Happy WO-xmas!

2010-12-24 Thread Paul D Yu
Merry Christmas to all as well.

Here's to a WOnder-ful New Year.

Paul
On Dec 24, 2010, at 4:30 PM, Timo Hoepfner wrote:

 Merry Christmas for all of you.
 
 Spend a few nice days with your families!
 
 Timo
 
 
 Am 22.12.2010 um 19:04 schrieb ISHIMOTO Ken:
 
 I wish everyone here a nice X-mas.
 
 And WO live forever.
 
 WOxmas.png
 
 Thank you
 
 
 K's ROOM  (ISHIMOTO Ken)
 
 [E-Mail]  k...@ksroom.com
 [iChat:]   ibase_...@mac.com
 [HP]  http://www.ksroom.com/
 _
 This e-mail has not been scanned for viruses because it was written on an 
 Mac,
 and there are NO Viruses on an Apple Computer.
 For further information visit http://www.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/th-dev%40onlinehome.de
 
 This email sent to th-...@onlinehome.de
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Models confused?

2010-12-22 Thread Paul D Yu
Jesse

I believe foreignKeys do not work on MySQL with EOF.

Paul
On Dec 22, 2010, at 12:53 PM, Jesse Tayler wrote:

 I've had ERAttachment tests working once or twice, now I think maybe I've 
 gotten models confused somewhere perhaps. 
 
 I have a poster relationship from user which eogen's a line to add a foreign 
 key, which I think should be there, but this step fails - in past experience, 
 this has been mismatched id key types, but I don't see that here.
 
 Everything is setup with id as a prototype for mysql.
 
 I see some similar troubles with Postgres on the list or google, but I'm on 
 Mysql and just starting a new dev. environment etc.
 
 This foreign key should be there right? Any ideas why it might be failing?
 
 
 
 
 
 
   userTable.addForeignKey(posterId, ERAttachment, id);
 
 Can't create table 'mtly.#sql-731_26c3' (errno: 150)
 
 Failed to execute 'ALTER TABLE USER ADD CONSTRAINT USER_posterId_posterId_FK 
 FOREIGN KEY (posterId) REFERENCES ERAttachment (id)'.
 
 
 
 
 If I ignore, I'll get a runtime:
 
 
 
 
 com.webobjects.eoaccess.EOGeneralAdaptorException: EvaluateExpression failed: 
 : Next exception:SQL State:23000 -- error code: 1452 -- msg: Cannot add or 
 update a child row: a foreign key constraint fails (`mtly`.`ERAttachment`, 
 CONSTRAINT `ERAttachment_attachmentDataID_attachmentDataID_FK` FOREIGN KEY 
 (`attachmentDataID`) REFERENCES `ERAttachmentData` (`id`))
 
 Reason:
 EvaluateExpression failed: 
 com.webobjects.jdbcadaptor._MySQLPlugIn$MySQLExpression: INSERT INTO 
 ERAttachment(size, width, height, attachmentDataID, available, thumbnail, 
 creationDate, ownerID, configurationName, smallData, mimeType, 
 originalFileName, webPath, id, proxied, storageType) VALUES (?, NULL, NULL, 
 ?, ?, NULL, ?, NULL, NULL, NULL, ?, ?, ?, ?, ?, ?) withBindings: 
 1:73207(size), 2:2(attachmentDataID), 3:true(available), 4:2010-12-21 
 22:23:33(creationDate), 5:image/jpeg(mimeType), 
 6:jesseheadshot.jpg(originalFileName), 7:/2.jpg(webPath), 8:2(id), 
 9:true(proxied), 10:db(storageType): Next exception:SQL State:23000 -- 
 error code: 1452 -- msg: Cannot add or update a child row: a foreign key 
 constraint fails (`mtly`.`ERAttachment`, CONSTRAINT 
 `ERAttachment_attachmentDataID_attachmentDataID_FK` FOREIGN KEY 
 (`attachmentDataID`) REFERENCES `ERAttachmentData` (`id`))
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Ajax framework's future

2010-11-22 Thread Paul D Yu
Paole

If you use Eclipse with latest WOLips, and select create Project Wonder 
Framework, and then Application, WOLips will create the proper framework 
dependencies for you.
http://wiki.objectstyle.org/confluence/display/WONDER/ERRest+Framework

Also install the Ken Ishimoto Safari plugin which will give you easy access to 
WO and Wonder documentations.

ERRest podcast is at 
feed://www.wocommunity.org/podcasts/wopodcasts.xml

Paul
 
On Nov 22, 2010, at 6:15 AM, Paolo Sommaruga wrote:

 Hi Pascal,
 
 can you can you suggested me some docs about installing and using ERRest ? I 
 have loked at 
 http://wiki.objectstyle.org/confluence/display/WO/Project+Wonder and I don't 
 see it
 
 In the past I have had bad experiences with Wonder and  now I don't use 
 Wonder in my applications and I'd like to understand the framework 
 dependencies in case of using ERRest
 
 Regards 
 
 Paolo
 
 
 
 Il giorno 19/nov/2010, alle ore 00.54, Pascal Robert ha scritto:
 
 Use ERRest and Dojo's JSONRestStore :-)
 
 Hi Mike,
 
 why not dojo support ? I think it's very powerful
 
 Regards
 
 Paolo
 
 
 
 Il giorno 19/nov/2010, alle ore 00.26, Mike Schrag ha scritto:
 
 jQuery is the most likely future. It's on the task list, but nothing is 
 particularly driving it. At one point I thought about making a pluggable 
 impl but decided it wasn't worth the complexity for something that might 
 only change every 4 years. jQuery seems to have most of the mineshare at 
 this point and seems like a good choice. If I do it I'll probably make a 
 new framework and copy everything over so it doesn't break people that 
 have big investments in prototype.
 
 Sent from my iPhone
 
 On Nov 18, 2010, at 5:58 PM, Michael Gargano mgarg...@escholar.com wrote:
 
 I was playing with the Ajax framework today (really cool btw) and I was 
 wondering about where it's going.  I know right now it's based off 
 prototype.js and scriptaculous, but there's a large kickback in the 
 prototype community because the framework extends the DOM.  Prototype 2 
 is going to fix this, but requires fairly major rewrites.  Just wondering 
 if the framework would just be updated for prototype 2 or if that would 
 be taken as an opportunity to move to something else like jQuery.
 
 -Mike
 
 ___
 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%40pobox.com
 
 This email sent to msch...@pobox.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/psomma%40jpaso.com
 
 This email sent to pso...@jpaso.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
 
 
 -- 
 This message has been scanned for viruses and 
 dangerous content by MailScanner, and is 
 believed to be clean.
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: WebObjects scalability question - WOSession?

2010-11-16 Thread Paul D Yu
WebObjects has been where it is since Apple's acquisition of NeXT.  NeXT was 
banking on WebObjects as its future, just like BEA WebLogic, SliverStream, blah 
blah.  WebObjects was $50K per CPU.  NeXT had a large enterprise sales force 
for WebObjects and there was a large consulting business around it.

Apple is a consumer integrated computing platform company.  It is the largest 
music retailer in the world.  It's market capitalization is HUGE, one of the 
largest corporations in the world.

WebObjects as a PRODUCT does not fit into that world.  WebObjects as a 
competitive advantage to Apple in its IT infrastructure is a HUGE.  WebObjects 
SAP adaptor allowed Apple to integrate the Apple Store with its trading 
partners to give us instantaneous feed back on where our orders are in the 
world.  WebObjects is tightly integrated with every major system in Apple 
today.  Is Apple incentivized to upgrade the docs, or provide what ever you/we 
are asking for?  NOT AT ALL.  Even at its peak, NeXT was doing $50M per year.  
That's like a couple of hours on the Apple online stores?  So Apple does not 
really care if we on the outside use their internal framework.  The only 
reason they would care is that they need more WO developers.  

All the upgrades to WOnder that's happened recently, where did that come from?  
If certain people at certain companies did not get support from a certain fruit 
company financially, would there have been all these upgrades and new 
capabilities?

Everywhere I have gone professionally, WebObjects typically followed.  AT K12, 
I built one of the largest WebObjects dev shops outside of Apple.  They have 
lots of WebObjects Apps that I personally designed and help build.  We 
re-trained several developers from other technologies, J2EE, C#, VisualBasic, 
etc.  They are all highly functional WO developers now.  Could having better 
documentation help, sure.  But from the start WebObjects was like this.

All the talk about the demise of WebObjects is ridiculous.  Apple will continue 
to use it internally.  Real developers all know how hard it would be to 
parallel track an entire development effort to replace any technology that's in 
production.  There's no way that Steve would authorize the replacement of Apple 
Store, iTunes Music Store, etc. etc. without WebObjects falling all over 
itself.  If Apple does not replace WebObjects internally, then WebObjects will 
not die.

Could we in the outside world do better at coordinating the enhancements to 
WOnder?  Sure...  But really the answer is that if we are able to make money 
using WebObjects, we should be prepared to give back to the community.  Like 
when I got K12 to support WONOVA, which continues today.  Without financial 
support or incentives from ongoing companies, it is very difficult to ask 
people to fully volunteer to improve the Wonder project.

So lets not ask what WebObjects can do for us, and ask what we can do for 
WebObjects.

Sorry for the Rant.

Paul 

On Nov 16, 2010, at 11:04 PM, Ian Joyner wrote:

 The best marketing is making a better product - either technically or with 
 improved documentation, accessibility, etc.
 
 I know that's wrong, at least as far as marketers are concerned. Marketeers 
 are like lawyers - they get paid to defend people and make them look their 
 best even if they are guilty. So a lot of shoddy products pay heaps to 
 marketeers to make them look good. Problem is that must be a cheaper/more 
 effective strategy than actually putting in the technical effort.
 
 I don't think your hours were wasted Pascal.
 
 Ian

 ___
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: [OT] Localizing copyright declarations

2010-11-08 Thread Paul D Yu
Sounds like a good reusable component here.

Sent from my iPad

On Nov 8, 2010, at 1:52 AM, Stefan Klein stefan.kl...@buero-sde.de wrote:

 In Germany it's in the most cases:
 
 © [YEAR(S)] [HOLDER] - Alle Rechte vorbehalten
 
 Stefan
 
 Am 08.11.10 04:34, schrieb Paul Hoadley:
 On 05/11/2010, at 4:52 PM, Paul Hoadley wrote:
 
 In English speaking countries, copyright declarations are usually made like 
 this:
 
 Copyright © [YEAR(S)] [HOLDER]
 
 Where [YEAR(S)] is a calendar year or range of years, and [HOLDER] is the 
 copyright holder.  Sometimes a phrase such as All rights reserved might 
 be appended.
 
 How does this vary in non-English-speaking locales?
 Henrique Prange gave me Brazilian Portuguese:
 
 Todos os Direitos Reservados © [YEAR(S)] [HOLDER]
 
 Can anyone give me French, German or Italian?
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: [OT] rumor - oracle plans java version with costs

2010-11-08 Thread Paul D Yu
Here' the article in the Register.

http://www.theregister.co.uk/2010/11/06/oracle_dueling_jvms/

Paul
On Nov 8, 2010, at 6:22 AM, Stefan Klein wrote:

 Hi,
 
 i read some interesting news in german magazine.
 
 http://www.heise.de/developer/meldung/Oracle-will-auch-kostenpflichtige-Java-Virtual-Machine-anbieten-1131860.html
 
 
 Here is an english translation (gooles, not mine):
 
 Oracle will offer future apparently based on the OpenJDK project, both a free 
 Java Virtual Machine (JVM) and a paid version. That is the message of a 
 presentation by Adam Messinger on the meeting in San Francisco QCon event. 
 According to Oracle's Vice President for Development, both versions have 
 their basis in the currently developed together the JRockit VM and the 
 Hotspot JVM should have. Work on a unified virtual machine had Oracle in 
 February 2010, shortly after completion of the acquisition by Oracle Suns 
 announced. This was then confirmed at JavaOne Keynote in Java.
 In February, the monitoring and control functions were highlighted in Oracle 
 JRockit, and Sun's HotSpot JVM performance properties. How different the free 
 paid by the JVM should not speak about the Oracle Manager. Messinger also had 
 no information on the prices, but he stressed that Oracle offset the cost of 
 Java more elsewhere and there will always be a well-functioning free JVM 
 would. It is expected that the commercial version is at least better 
 integration with Oracle's middleware products bring.
 
 
 Stefan
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: MySQL + InnoDB no longer free?

2010-11-04 Thread Paul D Yu
WOW.  that sucks!  Guess the Oracle machine is working!

May be time to switch to Frontbase or Postgres.


On Nov 4, 2010, at 9:34 AM, David LeBer wrote:

 http://www.mysql.com/products/
 
 ;david
 
 --
 David LeBer
 Codeferous Software
 'co-def-er-ous' adj. Literally 'code-bearing'
 site: http://codeferous.com
 blog: http://davidleber.net
 profile:  http://www.linkedin.com/in/davidleber
 twitter:  http://twitter.com/rebeld
 --
 Toronto Area Cocoa / WebObjects developers group:
 http://tacow.org
 
 
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: WebObjects Community ideas on Google Moderator

2010-10-22 Thread Paul D Yu
Would something like this help us?

http://wiki.eclipse.org/DocumentationGuidelines/CrowdSourcingExample

Paul
On Oct 21, 2010, at 4:13 PM, ISHIMOTO Ken wrote:

 That's fine.
 
 But Google Translate won't work very well with Japanese - English.
 
 Maybe German or other Languages are OK.
 
 There is no real good translation Program to Japanese.
 
 I tried it often but sometimes I don't get a clue what the translation try to 
 say^^
 
 On 2010/10/21, at 22:10, Simon wrote:
 
 and our Wonder version is really heavy Documented. That makes it also hard 
 to give back Frameworks to the Community.
 
 That is unfortunate.
 
 this is why the following idea on google moderator is so important:
 
 We need a way to link the JavaDoc and the wiki together. It could be
 special tags in the JavaDoc so that those tags are found, we
 automatically create a page in the wiki with a link to the JavaDoc.
 
 google translate could then sort it all out !
 
 Simon
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: OS X Java Deprecation JVM Source Code

2010-10-21 Thread Paul D Yu
Long live WOnder!!!

:-)

Paul
On Oct 21, 2010, at 4:30 PM, Chuck Hill wrote:

 
 On Oct 21, 2010, at 1:26 PM, Stefan Klein wrote:
 
 OK OK, horror is not the correct word (sorry, I'm not a native speaker) but 
 the last 20 years there were a lot of discussions about that.
 I missed to note annual WO is dead discussions :-) .
 
 WO is dead?  Is WO dead?  WO IS dead!  Oh my God! Run away!  Run away!  Run 
 away!
 
 :-P
 
 
 Chuck
 
 
 
 But to make it clear:
 
 I like WO and I hope i will be able to work with it the next 20 years.
 
 Stefan
 
 
 Am 21.10.10 22:16, schrieb Ken Anderson:
 How is that a horror?  Name me one other technology thats lasted more than 
 5 years, forget about 20! :)
 
 
 On Oct 21, 2010, at 4:12 PM, Stefan Klein wrote:
 
 Can't remember the exact years but:
 
 1990 I started with NeXTstep on a black box
 
 and then the horror began:
 
 Operating Systems:
 - NeXTstep on several plattforms
 - OpenStep
 - Black Hardware dies
 - YellowBox (anyone remenber?)
 - YellowBox died
 - Next buys apple
 
 WO:
 
 - Started with WO 3.5
 - WebScript dies
 - Objective-C dies (I think 2001)
 - Last Windows Version WO 5.2
 
 Now: Announcement  OS X JVM will die
 
 I think we will survive that too!
 
 Stefan
 
 Am 21.10.10 21:29, schrieb Kieran Kelleher:
 My 2 cents:
 
 Relax, don't panic,  There is always a way forward. Look at the positive.
 
 I am sure that in 5 years, much of this community will still be here 
 developing WebObjects enterprise apps in Java 9 on Mac OS XI Cobra  ;-)
 
 -Kieran
 
 
 On Oct 21, 2010, at 12:32 PM, Ken Foust wrote:
 
 I have not seen a response form Mike Schrag and would hold most comments 
 until he responds.
 
 But what do you think of CocoaWO now
 
 My opinion Apple needs to incorporate and brilliant enterprise web dev 
 app tied to Cocoa.
 
 
 On Oct 21, 2010, at 10:29 AM, Ken Anderson wrote:
 
 Couldn't we just use the SoyLatte JVM for WO development?
 
 On Oct 21, 2010, at 12:21 PM, Paulo Siqueira wrote:
 
 +1 
 =p
 
 
 
 Well, I hear that Ubuntu is nice this time of year...
 
 
 That was my thought as well, I swear :p
 
 
 -- 
 Paulo JCranky Siqueira
 Visit my blog: http://www.jcranky.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/kenlists%40anderhome.com
 
 This email sent to kenli...@anderhome.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/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/kelleherk%40gmail.com
 
 This email sent to kelleh...@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/stefan.klein%40buero-sde.de
 
 
 This email sent to 
 stefan.kl...@buero-sde.de
 ___
 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 kenli...@anderhome.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/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/pyu%40mac.com
 
 This email sent to p...@mac.com

 ___
Do not post admin requests to the list. They will be ignored.

Re: looking for webobjects sample code

2010-10-19 Thread Paul D Yu
Have you looked at the Wonder examples?

Paul
On Oct 19, 2010, at 4:52 PM, Ray Sanders wrote:

 I'm relatively new to WebObjects (at least on eclipse). I have what I believe 
 is the current version of eclipse (3.6.1 with the custom install script that 
 includes WOLips). I also have the 5.3.3 and 5.4.3 versions of WebObjects 
 installed in /Developer/WebObjects/Versions (per the instructions online).
 
 What I need is sample code that compiles on the current configuration. What I 
 have is the old XCode RealEstate/PetShop code, which I can't get to compile 
 cleanly on eclipse (although I have made some minor progress reducing the 
 number of errors).
 
 Does current sample code exist ?
 
 thanks, Ray
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Now it won't find application or session in wods?

2010-10-19 Thread Paul D Yu
I've seen some strange behavior on validation in the .wo as well.   Mine would 
show up for some random inline component all of a sudden becoming not found.  A 
clean usually does the trick.

Remember there are LOTS of property files.  All it takes is one of them in the 
process to over rule the one you thought should be ruling.

My setup now is Properties.paul er.javamai.centralize is true, then Properties 
that is set to false.

But you need to make sure the .username properties file has all the 
parameters that you want to override.  In your case it may be overriding what 
you don't want.

Paul
On Oct 19, 2010, at 10:32 PM, James Cicenia wrote:

 it seems as though... if I go into the wod the errors disappear... sort of 
 like an incomplete build.
 
 Now when I run it, it can't seem to find my properties file because it thinks 
 that er.javamail.centralize is true.
 
 James
 
 
 On Oct 19, 2010, at 9:27 PM, James Cicenia wrote:
 
 nothing in those directories.
 
 
 
 On Oct 19, 2010, at 8:40 PM, Chuck Hill wrote:
 
 You have undesirable elements, er jars, in /Library/Java/Extensions or 
 /Library/WebObjects/Extensions.
 
 
 On Oct 19, 2010, at 6:22 PM, James Cicenia wrote:
 
 This is a cursed computer.
 
 Anyway, I did some fresh installs for the third time.
 Ran an example app. Setup all my paths like my
 other two workstations... blah, blah, blah.
 
 Did a clean build and now my components can't see
 application or session in the wod files.
 
 ???
 
 help.
 James
 
 
 
 
 
 
 
 On Oct 19, 2010, at 2:13 PM, James Cicenia wrote:
 
 Hmmm...
 
 That is something to look at... 
 
 - j-
 
 On Oct 19, 2010, at 1:58 PM, Paul D Yu wrote:
 
 IIRC.  The version number thing sounds like JVM version difference 
 between those three frameworks and the running app?  MS had me look 
 inside my frameworks/class wrapper to see what version those were.  I 
 don't remember exactly how to do that, sorry.
 
 Paul
 On Oct 19, 2010, at 2:05 PM, James Cicenia wrote:
 
 I noticed this at the top of the log:
 
 [2010-10-19 13:1:30 CDT] main Couldn't load properties file: 
 /Users/jerrykosek/WebObjects.properties at path: /Users/jerrykosek
 [2010-10-19 13:1:30 CDT] main The bundle MyEOPrototypes has malformed 
 version number: 
 [2010-10-19 13:1:30 CDT] main The bundle QualifierAdditions has 
 malformed version number: 
 [2010-10-19 13:1:31 CDT] main The bundle NoxymoCore has malformed 
 version number: null
 [2010-10-19 13:1:31 CDT] main Couldn't load properties file: 
 /Users/jerrykosek/WebObjects.properties at path: /Users/jerrykosek
 
 I don't see WebObjects.properties as file in the users directory on my 
 other two installs.
 
 Where is this set to look for it?
 
 Thanks
 
 
 On Oct 19, 2010, at 10:31 AM, James Cicenia wrote:
 
 Nothing in there.
 
 
 
 On Oct 19, 2010, at 10:19 AM, Pascal Robert wrote:
 
 
 Le 2010-10-19 à 10:48, James Cicenia a écrit :
 
 A couple of things:
 
 I am not using ERXApplication and why would I have to do this if it 
 compiles and runs on two of my other development machines?
 
 You probably have something in /Library/Java/Extensions that have a 
 class called Main and that class is taking over your Main class. 
 Cleanup /Library/Java/Extensions (close Eclipse before doing that) 
 and check if the problem goes away.
 
 Thanks
 James
 
 
 On Oct 19, 2010, at 9:37 AM, Henrique Prange wrote:
 
 Hi James,
 
 Add to your Application class:
 
 @Override
 public void installPatches() {
 super.installPatches();
 
 ERXPatcher.setClassForName(Main.class, Main);
 }
 
 Cheers,
 
 Henrique
 
 On 19/10/2010, at 12:11, James Cicenia wrote:
 
 Trying to get this dev laptop working but when I try to run the 
 app I get the following which I haven't seen.
 Thoughts? Thanks James
 
 Tue Oct 19 13:54:33 GMT 2010 WARN: Invalid value {1} for server 
 variable named {0}, falling back to sane default of {2}.
 JDBC connection successful!
 Tue Oct 19 13:54:33 GMT 2010 WARN: Invalid value {1} for server 
 variable named {0}, falling back to sane default of {2}.
 [2010-10-19 8:54:35 CDT] main ** DirectToWeb could not merge 
 d2wmodel from 
 file:/Users/jerrykosek/Library/Frameworks/ERDirectToWeb.framework/Resources/d2w.d2wmodel
  for reason: ** DirectToWeb exception - a rule cannot be 
 instantiated if its right hand side is null. LHS=null  RHS=null
 [2010-10-19 8:54:36 CDT] main Opening application's URL in 
 browser:
 http://10.0.1.15:/cgi-bin/WebObjects/TOSDevelopment.woa
 [2010-10-19 8:54:35 CDT] main null
 [2010-10-19 8:54:36 CDT] main DirectToWeb WebAssistant launch 
 line: appletviewer 
 http://localhost:/cgi-bin/WebObjects/TOSDevelopment.woa/wa/D2WActions/openWebAssistant
 [2010-10-19 8:54:46 CDT] WorkerThread0 
 com.webobjects.appserver.WODirectAction: Exception in 
 performActionNamed() on the action default with the 
 message:java.lang.IllegalArgumentException: 
 com.webobjects.appserver._private.WOComponentDefinition Class 
 'Main' exists but is not a subclass of WOComponent

Re: re-post text encoding in a WOText area?

2010-10-18 Thread Paul D Yu
I have the same issue just different.

I use YUITextEditor for my text editing.  The copy and paste for Word is a HUGE 
problem.  The latest YUI 2.8.1 code has a switch that will deal with weird 
formatting and characters issue a little bit better.  But still not great.

Part of my research found a javascript thing that will try to clean the text 
box, but I could not get that to work correctly.

Paul
On Oct 18, 2010, at 9:21 AM, Theodore Petrosky wrote:

 Is the Word issue the same as mine. When I view the logs I see 0x00 as the 
 offending character. If you look at the accessor (setJobDescription) from 
 below, you will see the NSLog that prints the int value of the characters. 
 this is where I discovered the 'zero' at the end of the string.
 
 As I said I can not believe I was the only one that could have had this 
 problem so what do others do with it? Is there a way to handle this globally?
 
 Obviously, there is no way to type a string with the trailing zero, so it 
 only comes when pasting in text.
 
 If I use the accessor method to fix this, that implies that I must fix any 
 text area on any page that I generate. (this is of course only an issue with 
 the WOText not WOTextField)
 
 Maybe I should override the accessor in my model?
 
 Ted
 
 --- On Mon, 10/18/10, David Avendasora webobje...@avendasora.com wrote:
 
 From: David Avendasora webobje...@avendasora.com
 Subject: Re: re-post text encoding in a WOText area?
 To: Theodore Petrosky tedp...@yahoo.com
 Date: Monday, October 18, 2010, 7:30 AM
 Hi Ted,
 
 I am about to deal with similar issue. I know we have seen
 problems with pasting text out of a Word document before
 also. I'm not sure what to tell you to try. What PDF reader
 are you using? Do you see the same issue with other PDF
 readers?
 
 Dave
 
 On Oct 18, 2010, at 4:41 AM, Theodore Petrosky wrote:
 
 Last week I asked whether anyone had seen a problem
 with inserting text that was copied from a PDF and pasted
 into a WOText area.
 
 My client was creating a new object (a job). She
 copied some meta data (text) from a PDF and pasted it into a
 WOText:
 
 wo:WOText value = $jobDescription cols = 40
 rows = 8 /
 
 she then clicked the save button that fired the
 saveChanges() on the EC. 
 
 The new object threw an exception and after looking at
 the logs I discovered that the text that was pasted from the
 PDF had a trailing byte with a value of '0'. I googled
 around and came up with a solution to parse the text before
 trying to insert it into the database.
 
 this is the setter for the WOText (now):
 
 public void setJobDescription(String aJobDescription)
 {
 String theString = ;
 
 for(char
 c:aJobDescription.toCharArray()){
  
if((c(char)0xff00)==0 
 (int)c != 0 ) {

  theString=theString+c;

  //NSLog.out.appendln(character 
 =  + (int)c);
  }
 } 
 
 _jobDescription = theString;
 }
 
 First, has anyone seen this before (text coming from a
 PDF with anomalies that will then require processing) and 
 B, is there a better solution?
 
 I can not be the only person to have a problem with
 this. I think it is unreasonable for me to tell my client,
 Just copy and paste the text into a text editor before
 copying it again then paste it into the web page.
 
 
 :-)
 
 Ted
 
 
 
 ___
 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%40avendasora.com
 
 This email sent to webobje...@avendasora.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/pyu%40mac.com
 
 This email sent to p...@mac.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: Deployment setup on a OS X box

2010-10-10 Thread Paul D Yu
Great idea!

+1

Sent from my iPad

On Oct 10, 2010, at 2:01 AM, Pascal Robert prob...@macti.ca wrote:

 I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm 
 setting up a OS X box just for deployment. I installed WO with 
 woinstaller.jar, but I did forget that it won't install it in /, saying that 
 /System already exists. So I installed it in /Developer, and had to create a 
 symlink for /Library/WebObjects to /Developer/Library/WebObjects.
 
 Now, since it's a deployment box, I don't actually need WO on it, I only need 
 the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm 
 thinking of creating a installer (.pkg) that would :
 
 - create /Library/WebObjects and /Library/WebServer/Documents if they don't 
 already exists
 - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications
 - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications
 - install the two launchctl scripts
 - install and load the Apache HTTP adaptor from Wonder
 
 Any opinions on this?
 
 
 --
 Pascal Robert
 prob...@macti.ca
 
 AIM/iChat : MacTICanada
 LinkedIn : http://www.linkedin.com/in/macti
 Twitter : pascal_robert
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: TurnKey Installer Components

2010-10-07 Thread Paul D Yu
I have not shared MY development machine(s) with other people for as long as I 
can remember, so I've installed Eclipse in /Applications.  Not that I'm 
advocating for this...

Do you guys actually share your machines with other developers?

Paul
On Oct 7, 2010, at 8:36 AM, Timo Hoepfner wrote:

 I agree with Dave on this one.
 
 Timo
 
 Am 07.10.2010 um 13:54 schrieb David Avendasora:
 
 I'm pretty against ~/Applications. Nothing installs there by default. Why 
 would we make an installer that's targeted at getting new users up and 
 running install in a place other than the normal /Applications? Sure 
 ~/Applications is _better_ but it's not _normal_.
 
 If they're advanced enough to want it in ~/Applications then they can move 
 it.
 
 Dave
 
 On Oct 6, 2010, at 9:49 PM, Jeremy Matthews wrote:
 
 I had no idea what I was getting myself intoheh.
 
 This is for newbies...generally speaking, so we'll do 
 ~/Applications...maybe offer a choice...dunno yet.
 
 -j
 
 On Oct 6, 2010, at 8:57 PM, Mike Schrag wrote:
 
 I was the same until recently when I switched to a new machine and forgot 
 to copy over eclipse for the umteen'th time. So I moved it to my home 
 directory instead.
 
 If eclipse kept it's plugins and other global config in my home directory 
 I would have no reason to keep it there also.
 welcome to one of the longest-standing debates in eclipse history
 
 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 arch...@mail-archive.com


Re: TurnKey Installer Components

2010-10-07 Thread Paul D Yu
Just for my education, now.

So when I setup my clean machine from Apple, I should not use the default user 
and be create a separate user?  not not give the new user admin rights?

Paul
On Oct 7, 2010, at 11:50 AM, John Huss wrote:

 3) Thou shalt not run as an admin user
 

 ___
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: database concept help

2010-09-29 Thread Paul D Yu
Ted

Conceptually, if the association entity (PeopleJob) is just that an association 
between the two EO's and no other attributes are on the the association then 
Flatten is good.  However, if you have another attribute such as isPrimary on 
the PeopleJob or startDate then flatten would not be the right approach.

Paul
On Sep 29, 2010, at 9:14 AM, Theodore Petrosky wrote:

 so I am creating a little test.
 
 I have a People and a Job entity. 
 attributes:
 
 People has a personName attribute
 and
 Job has a jobtitle
 
 I created the many to many selecting the Flatten Relationship option.
 
 I get a new entity:   PeopleJob
 
 so far so good.
 
 I see in _Job.java a method:
 
 addToPeoplesRelationship but no 'set'. Was that a typo on your part?
 
 I am going to continue playing with my test app and see where it leads me.
 
 thanks for the help.
 
 Ted
 
 --- On Wed, 9/29/10, Pascal Robert prob...@macti.ca wrote:
 
 From: Pascal Robert prob...@macti.ca
 Subject: Re: database concept help
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: webobjects-dev@lists.apple.com
 Date: Wednesday, September 29, 2010, 6:47 AM
 
 Le 2010-09-29 à 06:42, Theodore Petrosky a écrit :
 
 I am altering a project (adding a relation) and I
 don't understand the Flatten relationship option.
 
 this will be a many to many. I just don't understand
 what flattening does. I started googling and so far the
 answers don't click.
 
 what's happening in a flattened vs an un-flattened
 relationship.
 
 Flattened means that the table in the middle (that only
 holds the keys to join the two other tables) is hidden in
 the EOs, and when you create a new object in one of the two
 tables, the join table will automatically be populated.
 
 So let's say you have a People and a Job tables, and the
 join table is People_Job, to add a new job to a person, you
 do :
 
   aPerson.setRelationJob(newJob)
 
 No need to do aPerson.setRelationshipPeopleJob(new
 PeopleJob).
 
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Current Status of WO

2010-09-29 Thread Paul D Yu
And for you app, you may want to look at ERRest framework.

Paul
On Sep 29, 2010, at 2:31 PM, Chuck Hill wrote:

 
 On Sep 29, 2010, at 11:28 AM, Alexander Spohr wrote:
 
 Hi list,
 
 I am planning a new project with heavy load. No HTML output, just plists. 
 Lots of users, small data footprint (about 10k per request). PostgreSQL.
 I consider using WO and EOF again because it served me well in the last 
 (almost) 15 years. But I am not sure about the current status.
 
 The net has lots of outdated info and a some fresh about wonder. This list 
 looks still very active (that gives me hope).
 What is the current status of WO?
 
 The same as two years ago.
 
 
 Do we have a public hosted WO5.4 that Apple won’t pull?
 
 Who knows what Apple may decide to do?
 
 
 I left this list two years ago so if someone could please bring me up to 
 speed?
 
 Thank you for your time. It is appreciated!
 
 
 Things are the same as they ever were, except for lots of advances in Wonder.
 
 
 Chuck
 
 -- 
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: webex and D2W

2010-09-26 Thread Paul D Yu
Ted

Here's what I have.

Requirement:  Person table needing an Avatar

Add ERAttachment framework to my eclipse build path.

Add idERAttachment INT to my table

Add relationship Person.avatar from Person.idERAttachment column to 
ERAttachment.model.ERAttachment in EntityModeler

In Properties of my Model Framework

Add ERAttachment.* for the jdbc setup  (this could be done in the Properties 
file of the main program too)

Add er.attachment.Person.avatar.storageType = db
Add er.attachment.Person.avatar.maxSize=512000

for file uploading

er.ajax.AjaxFileRequestHandler.maxUploadSize=5242880

Paul

On Sep 26, 2010, at 10:01 AM, Theodore Petrosky wrote:

 I finally discovered what I (is) needed.
 
 I fairly short tutorial on implementing ERAttachment.
 
 I am struggling and I just don't get it. What do I put into the properties 
 vs. what do I add and where to get it to work.
 
 I viewed the Practical Wonder from 2009 but I just can't get it to work.
 
 Ted
 
 --- On Tue, 9/14/10, David Holt programming...@mac.com wrote:
 
 From: David Holt programming...@mac.com
 Subject: Re: webex and D2W
 To: Theodore Petrosky tedp...@yahoo.com
 Cc: webobjects-dev@lists.apple.com
 Date: Tuesday, September 14, 2010, 12:50 PM
 I am happy to try a beginning
 screencast if you like (not live). What information would
 you like to see covered?
 
 d
 
 On 2010-09-13, at 6:23 AM, Theodore Petrosky wrote:
 
 I am waiting patiently for the videos of the WOWODC
 2010 for more info and knowledge on D2W and it dawned on me
 that perhaps there are other people that would benefit from
 a little D2W help.
 
 Do you think there are enough people that would
 subscribe (pay) for an hour (or two) webex type conference
 on beginning D2W? Perhaps David L. would be interested in
 the gig?
 
 I couldn't make it to the show :-( and I am reading
 everything there is on D2W, but some things just are slow
 coming. Or maybe its just me in my old age.
 
 Ted
 
 
 
 ___
 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 programming...@mac.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/pyu%40mac.com
 
 This email sent to p...@mac.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: custom file input form element

2010-09-22 Thread Paul D Yu
Lets not go down that rabbit hole again.

WebObjects lives.  Wonder is where it is at.

Paul 
On Sep 22, 2010, at 8:16 AM, Pelaia II, Tom wrote:

 Hi Chuck,
 
 Would it be worthwhile for me to file a bug report with Apple, or has 
 WebObjects come to the end of its support? It seems that WebObjects has been 
 stuck at version 5.4.3 for a long time.
 
 thanks,
 tom
 
 
 On Sep 21, 2010, at 4:17 PM, Pelaia II, Tom wrote:
 
 I am using WO 5.4.3.
 
 thanks,
 tom
 
 
 On Sep 21, 2010, at 4:05 PM, Chuck Hill wrote:
 
 Which version of WO.  There is, or was, a restriction on streaming uploads: 
 they have to be the last input(s) in a form.
 
 Chuck
 
 
 On Sep 21, 2010, at 12:55 PM, Pelaia II, Tom wrote:
 
 Hi,
 
 I am trying to support multiple file upload by using a custom input 
 element. It works, but for some reason it strips the form values for all 
 form elements that follow it. So in the following example, the form values 
 for the testField are stripped. If I move the test field before the file 
 upload element, it will behave as expected and all form data gets passed 
 correctly.
 
 Below is the code I am trying to get working:
 wo:WOForm enctype=multipart/form-data method=post 
 multipleSubmit=[true]
 input name=mediaupload type=file multiple=true /
 wo:WOTextField name=testField value=[testField] /
 input type=submit name=uploadData action=[uploadData] /
 /wo:WOForm
 
 What is the correct way to introduce an multi-file upload element?
 
 thanks,
 tom
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: More thoughts to rile MS

2010-09-11 Thread Paul D Yu
That's actually a very good point about the Legacy.  If Apple could change 
that term on their website that would be a help for new people wanting to adopt 
WO as a platform.

Paul 
On Sep 11, 2010, at 4:14 PM, Farrukh Ijaz wrote:

 
 All new additions to the community comes from single people or very reduced 
 team among the community, without other even knowing that there is 
 something undertaken. Is it possible to organize a common roadmap and a 
 method to be used by the community to propose new features (part exists 
 with Jira) but also to organize the design (something more structured than 
 the mailing list, private chats our tweets) and the development?
 imo, the best thing the community can do to increase the number of people 
 contributing is to contribute. don't start a committee to investigate the 
 creation of a project to contribute to the community. just contribute. do 
 you have frameworks in your app that aren't core IP? put them on github. 
 project wonder doesn't have to be the clearing house for everything 
 open-source in wo. everybody here has built components and tools on top of 
 wo and wonder. put them out.
 
 Removing the word Legacy and replacing the screeshots of Apple's WebObjects 
 documentation with WOLips' one can make a difference too :)
 
 One must understand the differences between WO and a non WO platform prior to 
 do any development. Imo, for a beginner's point, starting from a D2W project 
 is even worst as most of the non WO people don't get the idea of Rule System 
 unless they understand EOF and other supporting stuff.
 
 It took me a year to understand WO as for me (J2EE developer) everything was 
 revolving around Servlets (Struts, JSF, and similar framworks) and I missed a 
 lot of important stuff in the beginning just because I thought the Legacy is 
 no more in use so there is no need to read it. After multiple failures to set 
 a proper road map for learning WO, I gave up on Wonder and started from 
 Legacy WebObjects and gone through every inch of the text. Then I understood 
 that switching from non WO to WO is similar to switching religion. It's a 
 rabbit hole to wonder land.
 
 To contribute to WO, Alice must jump. 
 
 Farrukh
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: More thoughts to rile MS

2010-09-10 Thread Paul D Yu
Ken

There are many new small companies going to market with WO + Wonder, some even 
with D2W with Wonder.  Personally, I've got one in production now and trying to 
build a second as we speak.  In addition, I'm consulting on another.  K12 has 
MANY WO apps in production serving their entire student population.  Evergent 
is HUGE.

So lots of good things happening.  But every year, we have to have this 
conversation.

Paul
On Sep 11, 2010, at 12:15 AM, Ken Foust wrote:

 Some more thoughts even if they are total BS
 
 I wonder how many people still use D2W ?   
 I would say fold project wonder into WO
 bring back WOB in HTML 5 
 Even if you make WOB a stand alone Apple Dev App leaving WO open-source
 If D2W is outdated - dump it
 Get on the tutorials - it is the way forward
 You could even pick real apps to to a tutorial and all the gurus could join 
 it.  
 This may be far fetched but just think - If all you guys got together and say 
 did a tutorial based on a WO-ebay 
 you could even launch it and share in the profits.
 get rid of the fragmentation
 one click install and be ready to rock
 How many New companies are moving to WO
 How are you going to market
 
 
 On Sep 10, 2010, at 6:01 PM, webobjects-dev-requ...@lists.apple.com wrote:
 
 Send Webobjects-dev mailing list submissions to
  webobjects-dev@lists.apple.com
 
 To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.apple.com/mailman/listinfo/webobjects-dev
 or, via email, send a message with subject or body 'help' to
  webobjects-dev-requ...@lists.apple.com
 
 You can reach the person managing the list at
  webobjects-dev-ow...@lists.apple.com
 
 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Webobjects-dev digest...
 
 
 Today's Topics:
 
  1. Re: Does Apple stop to use WebObjects for its internal tools?
 (Pascal Robert)
  2. Re: Does Apple stop to use WebObjects for its internal tools?
 (Chuck Hill)
  3. Re: Does Apple stop to use WebObjects for its internal tools?
 (Pascal Robert)
  4. Re: Does Apple stop to use WebObjects for its internal tools?
 (Jeremy Matthews)
  5. Re: Does Apple stop to use WebObjects for its internal tools?
 (Andr? Mitra)
  6. WOCommunity 2010 surveys (Pascal Robert)
 
 
 --
 
 Message: 1
 Date: Fri, 10 Sep 2010 19:49:24 -0400
 From: Pascal Robert prob...@macti.ca
 Subject: Re: Does Apple stop to use WebObjects for its internal tools?
 To: Michael Gargano mgarg...@me.com
 Cc: Apple WO-Dev webobjects-dev@lists.apple.com
 Message-ID: 0df1e3b1-1bfb-46a9-a140-9e9d735af...@macti.ca
 Content-Type: text/plain; charset=iso-8859-1
 
 Yes, the wiki do need a good cleanup. About the videos, that's one of my 
 options for my book/big tutorial...
 
 Looking at it as someone just starting to get very serious about WO  
 The community needs videos that describe everything from the ground level 
 up.  Not just here's how to install WO and Hello World with every other 
 video being fairly advanced.  To much is assumed for beginners.  Also, the 
 wiki needs an enema.  As I learn more I hope I can help clean it (a lot of 
 the stuff in there is outdated).  Maybe starting from scratch in a new wiki 
 or blog would be best.  Other than that the community has been extremely 
 helpful overall!
 
 
 -Mike
 
 
 On Sep 10, 2010, at 7:39 PM, Pascal Robert wrote:
 
 And we will try to help out the community even more. I have a couple of 
 ideas about that...
 
 In the meantime, while we wait for the apocalypse, whoever wants to keep 
 making apps with Java and WebObjects is welcome to hang around.
 
 ms
 
 On Sep 10, 2010, at 5:43 PM, Ken Foust wrote:
 
 From the outside looking in:
 
 It appears to me as thought WO is on the end of life list.  As good as 
 it may be I don't suspect in can survive in the future.  
 Apple has elected to leave web development to the open-source.  I would 
 suspect they only possible way Apple can compete in the 
 Enterprise market is to make it proprietary and in ObjC.  Short of that 
 you have too many people working for free on Rails, Grails and all 
 the open-source programs. 
 There is no way to get enough new users to come aboard as WO now has 
 poor documentation and terrible tutorials.
 Sorry if I offend anyone but it is what it is.
 For you gurus to understand it completely - leaves you in a world of 
 your own, but selling the concept I believe is difficult and will even 
 get more 
 difficult. 
 Hell I think Java is on the way out along with Sun and Oracle.
 
 Apple has always had the proprietary followers and they could put off a 
 brilliant app for web development should they choose.  In addition their 
 market share is now large enough to support the idea.  
 
 my two cents
 
 
 On Sep 10, 2010, at 1:02 PM, André Mitra wrote:
 
 except Mathematica :)
 
 On 2010-09-10, at 9:26 AM, Amiel Montecillo wrote:
 
 Mike is scary somtimes  

Re: WOWODC 2011 coming to your city

2010-09-08 Thread Paul D Yu
The only reason from my perspective to move out of Montreal would be to try to 
get more Apple participation.  But if they're not going to be coming and 
sharing because of legal restrictions, but we should stay in Montreal.  It was 
a great WOWODC 2010.

Paul
On Sep 8, 2010, at 12:29 PM, Ken - Watermark Studios wrote:

 If anyone wants to have it in San Francisco or Sacramento (both beautiful 
 cities) I can help with planning. Next year will be my first WOWODC. Even 
 though I'm a few hundred miles away, I'd also like to suggest Santa Barbara. 
 That is one of the most beautiful summer cities in the US. Great beach, 
 amazing restaurants, and very nice hotels.
 
 Ken Anderson (the one from Sacramento)
 
 Sent from my iPhone  ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Weird mysql problem

2010-09-05 Thread Paul D Yu
What is the case insensitivity on MySQL set to?

Paul
On Sep 5, 2010, at 9:21 AM, Mark Woollard wrote:

 I am trying to take a backup of a mysql database used by WO app from a live 
 server and restoring onto my laptop so I can test the migration code in the 
 new version with a live data set. I've created a sql script from the live 
 database using backup feature of mysqlworkbench. However when I try to import 
 this into mysql running on the laptop I get the following error:
 
 Error Code: 1050
 Table 'eo_pk_table' already exists
 
 but the table doesn't exist as far as I can tell, the sql for creating the 
 table is:
 
 DROP TABLE IF EXISTS `EO_PK_TABLE`;
 /*!40101 SET @saved_cs_client = @@character_set_client */;
 /*!40101 SET character_set_client = utf8 */;
 CREATE TABLE `EO_PK_TABLE` (
  `NAME` char(40) default NULL,
  `PK` int(11) default NULL
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
 /*!40101 SET character_set_client = @saved_cs_client */;
 
 And this happens even if I drop the database before trying the import. 
 
 Any ideas as I can't see why this is happening...
 
 Thanks
 Mark
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: AjaxDatePicker Revisited

2010-08-29 Thread Paul D Yu
Ah, the date format has to be %m/%d/%Y  4-digit year.

Paul
On Aug 29, 2010, at 4:58 PM, Klaus Berkling wrote:

 I got AjaxDatePicker to work quite easily, so I though.
 
 I have not found out where to set the date selected in the calendar.  
 
 I pre-populate the field with a value but when clicking on the date field it 
 shows the current month in the calendar.  Like-wise when I change the date, 
 using the calendar, next time I click the field it still does not show the 
 date field's date in the calendar.
 
 Here's my binding:
 
 HotelCheckInDate : AjaxDatePicker {
   value = hotelCheckInDate;
   format = %m/%d/%y;
   size = 8;
   calendarCSS = myCalendar.css;
   calendarCSSFramework = application;
 }
 
 Am I missing a binding?
 
 (The initial value of  is set to one day before the beginning of a 
 conference.)
 
 
 kib
 
 We keep moving forward, opening new doors, and doing new things, because 
 we're curious and curiosity keeps leading us down new paths.
 Walt Disney
 
 Klaus Berkling
 Web Application Dev.  Systems Administrator
 DynEd International, Inc.
 www.dyned.com | www.eskimo.com/~kiberkli
 
 
 
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Eclipse setup

2010-08-16 Thread Paul D Yu
I'm on Eclipse 3.6 and WOLips 3.6.6122.  Works great.  This is where all the 
performance and other fixes is happening.

Paul
On Aug 16, 2010, at 7:25 AM, r...@synapticstorm.com wrote:

 Hi list,
 
 I absolutely love WebObjects but I find Eclipse rather slow and erratic. Are 
 there any links on the correct way to setup Eclipse for WebObjects and does 
 any one have any tips for making it perform better and more Mac like?
 My development setup is a MacBook Pro 2.93GHz 4GB, OS X 10.6.4 (64bit), 
 Eclipse 3.4.2 and WOLips 3.4.5744. I have increased the memory used by 
 Eclipse by setting -Xms512m -Xmx1024m in eclipse.ini which has helped, but I 
 still find I'm having to wait for the editor to catch up with my typing.
 
 I would really appreciate hearing from other people on how they set up 
 Eclipse and how it performs for them (would I get better performance on a 
 PC?).
 
 Regards,
 
 Rob.
 
  ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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: Eclipse setup

2010-08-16 Thread Paul D Yu
I use the cocoa 64 bit.  I have MBP and and i7 iMac.

Paul
On Aug 16, 2010, at 7:17 PM, Johnny Miller wrote:

 Hi Paul,
 
 With Eclipse, are you using Cocoa or Carbon?  32 or 64bit?  I'm on a MacPro 
 Intel 64bit 10.6.
 
 I know this has been gone over many times but I'm just wondering if something 
 has changed and I missed it.
 
 Thanks,
 
 Johnny
 
 
 On Aug 16, 2010, at 1:30 AM, Paul D Yu wrote:
 
 I'm on Eclipse 3.6 and WOLips 3.6.6122.  Works great.  This is where all the 
 performance and other fixes is happening.
 
 Paul
 On Aug 16, 2010, at 7:25 AM, r...@synapticstorm.com wrote:
 
 Hi list,
 
 I absolutely love WebObjects but I find Eclipse rather slow and erratic. 
 Are there any links on the correct way to setup Eclipse for WebObjects and 
 does any one have any tips for making it perform better and more Mac like?
 My development setup is a MacBook Pro 2.93GHz 4GB, OS X 10.6.4 (64bit), 
 Eclipse 3.4.2 and WOLips 3.4.5744. I have increased the memory used by 
 Eclipse by setting -Xms512m -Xmx1024m in eclipse.ini which has helped, but 
 I still find I'm having to wait for the editor to catch up with my typing.
 
 I would really appreciate hearing from other people on how they set up 
 Eclipse and how it performs for them (would I get better performance on a 
 PC?).
 
 Regards,
 
 Rob.
 
 ___
 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/pyu%40mac.com
 
 This email sent to p...@mac.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/jlmiller%40kahalawai.com
 
 This email sent to jlmil...@kahalawai.com
 
 Johnny Miller
 Kahalawai Media Corp
 http://www.kahalawai.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: Suggestions for best deployment?

2010-07-31 Thread Paul D Yu
Ken

I host at SliceHost (subsidiary of Rackspace).  The VM's that I get both Ubuntu 
and CentOS both are full OS's and they also have iptables.

Paul
On Jul 31, 2010, at 9:14 AM, Ken Anderson wrote:

 OK - at least at Rackspace, there's a tool called iptables that allows you to 
 set firewall rules.
 
 On Jul 30, 2010, at 11:14 PM, Chuck Hill wrote:
 
 I honestly have no idea.  That is an interesting question.
 
 Chuck
 
 On Jul 30, 2010, at 6:55 PM, Ken Anderson wrote:
 
 I'm just not sure what kind of control you have over the firewall with 
 these cloud servers...
 
 
 On Jul 30, 2010, at 8:48 PM, Chuck Hill wrote:
 
 
 On Jul 30, 2010, at 5:42 PM, Ken Anderson wrote:
 
 Does everyone run apache and WO on the same machine?  No DMZ?  
 
 That depends on the size of the installation.  Usually Apache and some of 
 the instances can co-exist.  You can run Apache on each machine and put a 
 load balancer in front.  For lower usage apps, you can put the database on 
 the same machine.  Put them all behind a firewall and only allow 80 and 
 443 through.
 
 Chuck
 
 
 
 I'm still not clear on how these cloud servers are supposed to work 
 regarding separation...
 
 Ken
 
 On Jul 29, 2010, at 1:35 AM, Lon Varscsak wrote:
 
 I have a dedicated box on rackspace too...it's pricey, but solid as a 
 rock.  WO/apache/Postgres.
 
 -Lon
 
 On Wed, Jul 28, 2010 at 6:24 PM, James Cicenia ja...@jimijon.com wrote:
 I actually have a dedicated managed box over at Rackspace. Their support 
 is top notch. And the webobjects app just keep chugging. I use mysql.
 
 - James
 
 
 
 
 
 
 
 On Jul 28, 2010, at 3:49 PM, Ken Anderson wrote:
 
 I'm considering using rackspace and fathomdb - seems very similar to 
 ec2 and rds.  Anyone have any experience with rackspace?  I've been 
 using the for mail hosting for a while and I like them.
 
 Ken
 
 On Jul 28, 2010, at 5:51 AM, Giles Palmer wrote:
 
 +1 for a podcast!
 
 We are just starting down the EC2 route and would be very interested 
 in your experiences.  We are using postgres so can't make use of RDS 
 which is a great shame, we are also intending to make use of hBase 
 (Hadoop) for some of our file storage.
 
 Giles
 
 
 You know, that could make a great podcast or even better, a nice 
 WOWODC presentation :-) Ubermind did a great introduction to WOlastic 
 last year, your case study can complement it.
 
 doing what you've done means you're managing mysql, looking after 
 it, making sure it doesn't fall over, doing backups, managing 
 replication etc. rds does all of that for you. it also makes 
 changing the config of your database server a breeze: need more disk 
 space ? couple of clicks. need more ram ? couple of clicks. need 
 more compute power behind it ? couple of clicks. need automatic 
 fail-over to a different availability zone ? couple of clicks.
 
 re web server resources, remember it's just a normal wo deployment 
 running in the cloud, so you can do whatever you do now.
 
 we don't separate the web and app tier - all our ec2 instances run 
 monitor, wotaskd and apache, and are effectively independent of each 
 other, and we use an elastic load balancer up front.
 
 simon
 
 
 On 27 July 2010 17:40, James Cicenia ja...@jimijon.com wrote:
 So the base image is the actual OS? So you are managing it as the 
 admin?
 
 I decided to try WOlastic. I configured the instances, setup up 
 mysql with my users and sync'd the database from existing production 
 to amazon.
 So you are suggesting RDS vs. what I just did? What are the benefits 
 of RDS? Amazon backs up the mysql I created.
 
 Now I am a bit stumped on WebServerResources. How are you handling 
 that?
 
 Well, if this works well, I can my webobject apps over and then just 
 sell my server and drop the colo.
 
 - James
 
 On Jul 27, 2010, at 11:28 AM, Simon wrote:
 
 rolling your own is surprisingly easy if you start with a base 
 image. we started out with a vanilla centos image from rightscale, 
 and have built it up into what we needed from there. you can then 
 create an ebs-backed ami in a couple of clicks.
 
 re pricing, it all depends on what you need. our financial models 
 tell us for our deployment is excellent value for money, and we can 
 scale well beyond our current needs and it remains as such. use the 
 cost aws calculator to figure out your own costs, and remember to 
 factor in staff costs in your decision making process. those DBA's 
 are darn expensive compared to RDS :-)
 
 http://calculator.s3.amazonaws.com/calc5.html
 
 the only performance issue we found is that it is basically 
 impossible to host your DB outside of amazon due to latency. but 
 you don't have to use RDS - if you like sticking needles in your 
 eyes you can just run and look after your own mysql / postgre / 
 mssql / whatever on an ec2 instance.
 
 the general performance of our apps has also vastly improved. a 
 mixture of using more computing power and amazon having much faster 
 internet transit than we were paying for 

RE: My first Eclipse D2W

2009-07-28 Thread Paul D Yu



Dino

You should also take a look at Dave LeBer's screen 
cast...http://davidleber.net/?p=388

Paul


___
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


WOCheckBoxList

2009-07-10 Thread Paul D Yu

Greetings

I'm using WOCheckBoxList component for the first time.

When I use this, without type=checkbox
wo:checkBoxList list=$derts item = $dertItem displayString =  
$dertItem.displayCode selections = $recommendations / 

 I get normal input fields in the browser, which is not what I want.

So I have to add the type=checkbox to the declaration.
wo:checkBoxList list=$derts item = $dertItem displayString =  
$dertItem.displayCode selections = $recommendations  
type=checkbox /


Is this correct?  Seems like it should default to type=checkbox  
right?  or did I do something wrong?


Paul


 ___
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: Webobjects-dev Digest, Vol 6, Issue 335

2009-04-05 Thread Paul D Yu

This is actually a commercial product from Jiva Software, ClearSpace.

Paul

On Apr 5, 2009, at 9:17 AM, webobjects-dev-requ...@lists.apple.com  
wrote:



Send Webobjects-dev mailing list submissions to
webobjects-dev@lists.apple.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/webobjects-dev
or, via email, send a message with subject or body 'help' to
webobjects-dev-requ...@lists.apple.com

You can reach the person managing the list at
webobjects-dev-ow...@lists.apple.com

When replying, please edit your Subject line so it is more specific
than Re: Contents of Webobjects-dev digest...
Today's Topics:

  1. Mother ship should use WO for dev forums... (Georg Tuparev)

From: Georg Tuparev tupa...@mac.com
Date: April 5, 2009 9:16:10 AM EDT
To: WebObjects-Dev List webobjects-dev@lists.apple.com
Subject: Mother ship should use WO for dev forums...


Picture 1.png

Should someone internally educate about the qualities of JSPA  
please?


:-)

-- georg --

We can't solve problems by using the same kind of thinking we used  
when we created them

Albert Einstein





___
Webobjects-dev mailing list
Webobjects-dev@lists.apple.com
http://lists.apple.com/mailman/listinfo/webobjects-dev


 ___
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: Cannot update WOLips

2009-03-16 Thread Paul D Yu
I just did an upgrade this morning after reading the message, and  
did not have a problem.  But I was coming from an older version.


Paul
On Mar 16, 2009, at 2:07 PM, TW wrote:


Anders

I'm having the same problem as well - probably for a couple weeks  
now. The last time this happened I had to re-install Eclipse. I  
would really be stoked if someone has another solution because I  
really don't want to do that.


Tim
UCLA GSEIS


On Mar 16, 2009, at 2:27 AM, Anders Peterson wrote:

When I try to update WOLips (Help  Software Updates... |  
Update...) I get this error mesage. I got the same mesage when I  
tried last week. The version I have installed is 3.4.5690.


/Anders

An error occurred while collecting items to be installed
No repository found containing: org.objectstyle.wolips/osgi.bundle/ 
3.4.5693
No repository found containing: org.objectstyle.wolips.ant/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.apieditor/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.base.feature/org.eclipse.update.feature/ 
3.4.5693
No repository found containing:  
org.objectstyle.wolips.baseforplugins/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.baseforuiplugins/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.bindings/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.builder/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.componenteditor/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.components/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.datasets/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.debug/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.deployment.ui/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.documentation/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.editors/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eogenerator.core/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eogenerator.jdt/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eogenerator.ui/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.eomodeler/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eomodeler.core/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eomodeler.eclipse/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.feature/ 
org.eclipse.update.feature/3.4.5693
No repository found containing:  
org.objectstyle.wolips.goodies.core.mac/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.goodies.mac.feature/ 
org.eclipse.update.feature/3.4.5693
No repository found containing:  
org.objectstyle.wolips.goodies.ui.mac/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.htmlpreview/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.jdt/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.launching/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.locate/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.pbserver/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.preferences/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.refactoring/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.ruleeditor/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.targetbuilder/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.team/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.templateengine/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.cayenne/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.commonscollections/osgi.bundle/ 
3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.feature/ 
org.eclipse.update.feature/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.log4j/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.velocity/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.tkhtmleditor/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.ui/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.variables/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.wizards/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.wodclipse/ 
osgi.bundle/3.4.5693
No repository found containing:  

Re: Cannot update WOLips

2009-03-16 Thread Paul D Yu
Sorry, after reading your reported error.  I did an update from within  
Eclipse and everything seem to have worked.


Paul
On Mar 16, 2009, at 2:22 PM, TW wrote:


Paul:

Sorry, I don't understand. When you after reading the message are  
you talking about the update error below? We're getting the message  
because we can't update. So, maybe you could clarify how you updated  
after getting the errors.


Tim

On Mar 16, 2009, at 11:14 AM, Paul D Yu wrote:

I just did an upgrade this morning after reading the message, and  
did not have a problem.  But I was coming from an older version.


Paul
On Mar 16, 2009, at 2:07 PM, TW wrote:


Anders

I'm having the same problem as well - probably for a couple weeks  
now. The last time this happened I had to re-install Eclipse. I  
would really be stoked if someone has another solution because I  
really don't want to do that.


Tim
UCLA GSEIS


On Mar 16, 2009, at 2:27 AM, Anders Peterson wrote:

When I try to update WOLips (Help  Software Updates... |  
Update...) I get this error mesage. I got the same mesage when I  
tried last week. The version I have installed is 3.4.5690.


/Anders

An error occurred while collecting items to be installed
No repository found containing: org.objectstyle.wolips/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.ant/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.apieditor/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.base.feature/org.eclipse.update.feature/ 
3.4.5693
No repository found containing:  
org.objectstyle.wolips.baseforplugins/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.baseforuiplugins/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.bindings/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.builder/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.componenteditor/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.components/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.datasets/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.debug/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.deployment.ui/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.documentation/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.editors/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eogenerator.core/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eogenerator.jdt/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eogenerator.ui/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.eomodeler/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eomodeler.core/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eomodeler.eclipse/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.feature/ 
org.eclipse.update.feature/3.4.5693
No repository found containing:  
org.objectstyle.wolips.goodies.core.mac/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.goodies.mac.feature/ 
org.eclipse.update.feature/3.4.5693
No repository found containing:  
org.objectstyle.wolips.goodies.ui.mac/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.htmlpreview/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.jdt/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.launching/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.locate/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.pbserver/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.preferences/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.refactoring/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.ruleeditor/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.targetbuilder/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.team/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.templateengine/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.cayenne/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.commonscollections/osgi.bundle/ 
3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.feature/ 
org.eclipse.update.feature/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.log4j/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.velocity/osgi.bundle/3.4.5693

WebObjects Developer Position Available Northern VA, USA

2006-11-02 Thread Paul D. Yu


Greetings

We are looking for a Java/WebObjects developer in the Northern VA  
area.  We are a rapidly growing company; great pay and benefits;  
great team.


If you are interested please send me an e-mail with resume attached  
and we can go from there.


Thanks.

Paul


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


Re: Eclipse Tomcat distribution

2006-10-17 Thread Paul D Yu

John

 I have build a private version of the WOLips plugin that will  
basically build the a WebObjects Application for SSDD/WAR  
deployment.  The changes I have made are in the files associated with  
the bug


http://objectstyle.org/jira/browse/WOL-221

Some of the write up may be helpful for you.  I'm waiting for the  
changes to be incorporated into the product :-)


Also, did you add the JavaWOJSPServlet.framework to your project?

Paul

http://www.superdiem.com - U.S. government per diem and mileage rates

In advance, I'm sorry for not reading the manual, but I can't find  
the manual!  I'm trying to build my project for deployment to a  
Tomcat server.  In XCode jam spit out a WEB-INF folder with a  
web.xml file, the woa, a lib folder, etc.  I can get Eclipse to  
build for direct connect following the wiki deployment  
instructions, but I'm stuck there.  I also read the Eclipse  
documentation on producing a Tomcat project, but I don't want to  
build a whole new project.  I assume that this is an ant build  
procedure that I'm not familiar with ??  It looks like I can  
manhandle the build myself, but I'd rather have a clean folder to  
deploy.


thanks in advance,
John



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


Re: Eclipse Tomcat distribution

2006-10-17 Thread Paul D Yu
JohnYou have to create a text file called LICENSE, with the deployment license key in it.  The file should be in the project wrapper "." or if you are using the old WOLips build.xml, the LICENSE file should actually be one level higher "..".You will also need to make sure the classpath reference to the application jar is pointing to the right place.  That was one of the last issues I had to deal with.There are two version of the build.xml files there contributed by Pierre.  I used the first one.  I have not had a chance to incorporate his second set of changes.Hope this helps.PaulOn Oct 17, 2006, at 10:40 AM, John Larson wrote:Thanks Paul,To be honest, I'm not comfortable enough with ANT to follow all the changes you made, but it appears as if I may have made some headway.  I am getting the WAR file now, (which I wasn't before), and everything looks better, but I'm still getting the same error (WOServletAdaptor is not available).  I take it that the most likely place to look is in the license issue, but I'm not sure what to do here.  I'm confused by the statement "and create the LICENSE in your project" in the build.xml.  In my previous projects (that work) LICENSE is just the WebObjects license agreement.  Is that was this is talking about??  I'd imagine that it's looking for the deployment license key, but . . . Thanks again,JohnOn Oct 17, 2006, at 8:34 AM, Paul D Yu wrote:John I have build a private version of the WOLips plugin that will basically build the a WebObjects Application for SSDD/WAR deployment.  The changes I have made are in the files associated with the bughttp://objectstyle.org/jira/browse/WOL-221Some of the write up may be helpful for you.  I'm waiting for the changes to be incorporated into the product :-)Also, did you add the JavaWOJSPServlet.framework to your project?Paulhttp://www.superdiem.com - U.S. government per diem and mileage rates In advance, I'm sorry for not reading the manual, but I can't find the manual!  I'm trying to build my project for deployment to a Tomcat server.  In XCode jam spit out a WEB-INF folder with a web.xml file, the woa, a lib folder, etc.  I can get Eclipse to build for direct connect following the wiki deployment instructions, but I'm stuck there.  I also read the Eclipse documentation on producing a Tomcat project, but I don't want to build a whole new project.  I assume that this is an ant build procedure that I'm not familiar with ??  It looks like I can manhandle the build myself, but I'd rather have a clean folder to deploy.thanks in advance,John   ___
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 archive@mail-archive.com

OT Question: Google ADs and WebObjects Apps

2006-09-14 Thread Paul D Yu

Greetings

Sorry for the OT question, but I've seen this in two WebObjects sites  
with Google ADs and was wondering if someone had an answer.


In my website, www.superdiem.com, when you first land on it, the  
Main.wo, google seems to present appropriate ADs for the site, GSA,  
Travel Related.  However, if you click on any of the menu choices,  
the ADs becomes J2EE, WebObjects and WebDevelopment related ADs.
This is not really the behavior that I want.  I guess Google sees all  
the URLs with WebObjects in the HTML and is tailoring the ADs to  
those keywords.


What can I do differently to make Google present non-WebObjects or  
development related ADs.


Thanks.

Paul

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


Re: Finding nearest location, calculating distance - best way to store and sort info?

2006-05-03 Thread Paul D Yu
MattI've implemented something like this at www.superdiem.com, where you can find the nearest airports to a zipcode location.I wrote a query that modeled the suggested Great Circle (based on lat-long) calculation in EOQualifiers, load them into a fetchSpecification and do ec.objectsWithFetchSpecification( fs ); and the result set is what you're looking for.If you are looking for calculating distance between two lat-longs then that is a simple calculation once you have selected your two pairs.  I would not recommend pre-calculating all you distance pairs.  May be if you are looking to shortest distance calculations you would need to do that, but I didn't find that necessary.Paul ___
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 archive@mail-archive.com

Re: OT: Is used WO 5.3.1 in production (deployment)?

2006-04-23 Thread Paul D Yu
Agree.  The sales were facilitated by WebObjects as I said in the  
lines below.  But WebObjects does not DRIVE the $1.5 Billion in music  
and iPod related sales.


Paul

On Apr 23, 2006, at 7:51 PM, Ken Anderson wrote:



On Apr 23, 2006, at 4:06 PM, Paul D. Yu wrote:

How much of the Music sales were a result of WebObjects? Not very  
much...


Paul,

The iTunes music store is written in WebObjects - so all!

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


Re: stringQualifierOperators (like, contains) (David Holt)

2005-12-14 Thread Paul D Yu
DavidYou should be using something like this for a case insensitive searchEOKeyValueQualifier q1 = new EOKeyValueQualifier("title", EOQualifier.QualifierOperatorCaseInsensitiveLike, mytitle);Are you using Oracle?  If you are the Contains clause if for the Context Index not the normal VARCHAR index.  And you would have to do see http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_5/Topics/ProgrammingTopics.3a.html.Which will talk about this.Creating an EOSQLQualifier with "CONTAINS" (Java) EOEntity anEntity=EOModelGroup.defaultGroup().entityNamed("MyEntity"); EOSQLQualifier (anEntity, "CONTAINS(columnName,'"+someString+", 1)0");Hope this helps.PaulPaulOn Dec 13, 2005, at 7:59 PM, [EMAIL PROTECTED] wrote: SELECT t0.evidence_abstract, t0.title, t0.year_publication FROM  evidence t0 WHERE UPPER(t0.title) LIKE UPPER('%handwashing%') ESCAPE  '|'  This is exactly the SQL that I would expect for a case insensitive LIKE  and returns the results expected.  The "LIKE" qualifier generates this SQL:  SELECT t0.evidence_abstract, t0.title, t0.year_publication FROM  evidence t0 WHERE t0.title like 'handwashing' ESCAPE '|'  This SQL generates no results even though the word handwashing appears  in 25 titles.  My question is whether the "like" qualifier should even be there?  "Contains" gives me the results I expect from a "like" query. I can't  get the "like" query to generate results under any circumstances, yet  it is exposed as one of the choices to my users and potentially causes  confusion. Is anyone else running into this? Am I misunderstanding what  "like" should be returning because of my background using SQL? Is this  a bug?  Thanks, David   ___
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 archive@mail-archive.com