Re: Alternative JVM

2021-04-19 Thread Lon Varscsak via Webobjects-dev
Nevermind, I found it, thanks!

For future reference to those that might need it you need to change the
woapplication task of the build.xml to send a new option of "jvm" with the
path to the deployment jvm.

On Mon, Apr 19, 2021 at 1:23 PM Lon Varscsak  wrote:

> Hey Hugi, thanks, what build setting did you modify?
>
> On Mon, Apr 19, 2021 at 2:23 AM Hugi Thordarson  wrote:
>
>> Hi Lon,
>> the .woa's [platform]Classpath.txt files have some variables defined in
>> comments at the top. One of them is "JVM" which is the java executable.
>> I've changed that during build to point to my desired JVM, replacing "java"
>> with something like "/opt/jdk8/bin/java".
>>
>> I don't think you can change the JVM using JavaMonitor/arguments without
>> modifying the script that runs the app.
>>
>> Cheers,
>> - hugi
>>
>>
>>
>> > On 19 Apr 2021, at 06:22, Lon Varscsak via Webobjects-dev <
>> webobjects-dev@lists.apple.com> wrote:
>> >
>> > Hey all,
>> >
>> > What parameter can I pass in Monitor to launch a specific application
>> with an alternative JVM?
>> >
>> > Thanks,
>> >
>> > Lon
>>
>>
 ___
Do not 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: Alternative JVM

2021-04-19 Thread Lon Varscsak via Webobjects-dev
Hey Hugi, thanks, what build setting did you modify?

On Mon, Apr 19, 2021 at 2:23 AM Hugi Thordarson  wrote:

> Hi Lon,
> the .woa's [platform]Classpath.txt files have some variables defined in
> comments at the top. One of them is "JVM" which is the java executable.
> I've changed that during build to point to my desired JVM, replacing "java"
> with something like "/opt/jdk8/bin/java".
>
> I don't think you can change the JVM using JavaMonitor/arguments without
> modifying the script that runs the app.
>
> Cheers,
> - hugi
>
>
>
> > On 19 Apr 2021, at 06:22, Lon Varscsak via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
> >
> > Hey all,
> >
> > What parameter can I pass in Monitor to launch a specific application
> with an alternative JVM?
> >
> > Thanks,
> >
> > Lon
>
>
 ___
Do not 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


Alternative JVM

2021-04-19 Thread Lon Varscsak via Webobjects-dev
Hey all,

What parameter can I pass in Monitor to launch a specific application with
an alternative JVM?

Thanks,

Lon
 ___
Do not 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: Sybase PlugIn code

2020-10-14 Thread Lon Varscsak via Webobjects-dev
Hmm, no, it's part of WO. :(

On Wed, Oct 14, 2020 at 11:44 AM Paul Yu via Webobjects-dev <
webobjects-dev@lists.apple.com> wrote:

> All
>
> Does anyone have the source to the Sybase PlugIn?
>
> 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:
>
> https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Reverse Engineering in WOLips/EOModeler not finding Driver

2020-09-10 Thread Lon Varscsak via Webobjects-dev
Thanks for trying.  The project itself runs fine (has for years), it's just
in EOModeler that I'm having the trouble.

On Thu, Sep 10, 2020 at 2:49 AM Markus Ruggiero 
wrote:

> On 9 Sep 2020, at 19:57, Lon Varscsak  wrote:
>
>
> Hmm, when you say driver in the "workspace" where do you mean?  It's
> currently on the classpath.
>
>
> yes, of course, that's what I meant, sorry for the wrong wording.
>
> There might be other issues like driver not being compatible with the
> database (newer db, older driver ?) or some such. Did you explicitly
> specify the driver class in the connection dict in the model? I found that
> usually one does not need to do this. Having the driver on the project
> class path should be enough if the credentials and the url to the db given
> in the model are ok. Did you specify the correct plugin? URL scheme ok?
>
> Often when there are unexplicable things going on quitting Eclipse,
> manually deleting the project's build folder from the file system,
> restarting Eclipse and doing an explicit Project -> Clean can fix things.
>
> Other than that I have no idea.
>
>
> I do have credentials in the model for this, so that isn't an issue.
>
> On Fri, Sep 4, 2020 at 6:14 AM Markus Ruggiero 
> wrote:
>
>>
>> > On 4 Sep 2020, at 05:29, Lon Varscsak via Webobjects-dev <
>> webobjects-dev@lists.apple.com> wrote:
>> >
>> > Hey guys,
>> >
>> > I'm trying to do reverse engineering in EOModeler, but when I go to do
>> it it complains that it can't find a suitable driver.  The drive is on the
>> classpath for the project (and works fine connecting), but I'm wondering if
>> there's something I need to do for WOLips to know about the jar file?  I
>> can't find anything on it.
>> >
>>
>> Driver in the workspace is a good starting point, but reverse engineering
>> (and generating SQL) in EntityModeler does not read the Properties files in
>> your project, thus does not use and of the DB credentials specified there.
>> You must edit your Default db config in the model. These values will not be
>> used by your application but overridden by what is in the Properties
>> file(s), so no problem with db credentials and such that disagree between
>> the model connection dict and the Properties file
>>
>> ---markus---
>>
>> > Any help would be appreciated,
>> >
>> > Lon
>> > ___
>> > Do not 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/steiner%40rucotec.ch
>> >
>> > This email sent to stei...@rucotec.ch
>>
>>
>
 ___
Do not 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: Reverse Engineering in WOLips/EOModeler not finding Driver

2020-09-09 Thread Lon Varscsak via Webobjects-dev
Hmm, when you say driver in the "workspace" where do you mean?  It's
currently on the classpath.

I do have credentials in the model for this, so that isn't an issue.

On Fri, Sep 4, 2020 at 6:14 AM Markus Ruggiero 
wrote:

>
> > On 4 Sep 2020, at 05:29, Lon Varscsak via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
> >
> > Hey guys,
> >
> > I'm trying to do reverse engineering in EOModeler, but when I go to do
> it it complains that it can't find a suitable driver.  The drive is on the
> classpath for the project (and works fine connecting), but I'm wondering if
> there's something I need to do for WOLips to know about the jar file?  I
> can't find anything on it.
> >
>
> Driver in the workspace is a good starting point, but reverse engineering
> (and generating SQL) in EntityModeler does not read the Properties files in
> your project, thus does not use and of the DB credentials specified there.
> You must edit your Default db config in the model. These values will not be
> used by your application but overridden by what is in the Properties
> file(s), so no problem with db credentials and such that disagree between
> the model connection dict and the Properties file
>
> ---markus---
>
> > Any help would be appreciated,
> >
> > Lon
> > ___
> > Do not 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/steiner%40rucotec.ch
> >
> > This email sent to stei...@rucotec.ch
>
>
 ___
Do not 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


Reverse Engineering in WOLips/EOModeler not finding Driver

2020-09-03 Thread Lon Varscsak via Webobjects-dev
Hey guys,

I'm trying to do reverse engineering in EOModeler, but when I go to do it
it complains that it can't find a suitable driver.  The drive is on the
classpath for the project (and works fine connecting), but I'm wondering if
there's something I need to do for WOLips to know about the jar file?  I
can't find anything on it.

Any help would be appreciated,

Lon
 ___
Do not 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: How often do you bounce your apps?

2020-08-05 Thread Lon Varscsak via Webobjects-dev
We don't bounce our apps unless we do a release or if there's an instance
that hangs.

-Lon

On Wed, Aug 5, 2020 at 9:09 AM Theodore Petrosky via Webobjects-dev <
webobjects-dev@lists.apple.com> wrote:

> My apps upload pdfs. As Java keeps the temp file that was uploaded until
> the app that did the upload quits, I bounce my apps every night to clean
> things up.
>
> Ted
>
> On Aug 5, 2020, at 10:37 AM, Ken Anderson via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
>
> I never bounce them - even with EOF ;)
>
> On Aug 5, 2020, at 07:07, Jesse Tayler via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
>
> What do you use to keep an eye on memory? JAVA has such an old-school
> approach with the VM I use AWS and really don’t have any good automated
> visualizing report on how instances or JAVA is running under the hood.
>
> My apps seem to run for a long time as a few times my scheduler has failed
> and they racked up 10X or even 100X normal sessions, but who knows what the
> user patterns were really — I have had to increase my JAVA VM and set
> memory stuff from JavaMonitor to keep things sane.
>
>
>
> On Aug 5, 2020, at 3:35 AM, Jérémy DE ROYER via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
>
> Hi Aaron,
>
> (I’m still using EOF) and, for the main apps, I bounce every morning.
>
> After updates I sometimes forget to activate the schedules without any
> problems… but I’m used to do it in the pasts where I had a lot of meomry
> leaks so I still do it.
>
> Jérémy
>
> Le 5 août 2020 à 00:04, Hugi Thordarson via Webobjects-dev <
> webobjects-dev@lists.apple.com> a écrit :
>
> Never. Uptime on my apps is usually weeks or months.
>
> Cycled regularly when I used EOF though. That thing leaks.
>
> - hugi
>
>
>
> On 4 Aug 2020, at 21:31, Aaron Rosenzweig via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
>
> Personally I feel better bouncing my .woa instances daily. Even if it is a
> small site I have at least two instances and I gracefully cycle them on a
> daily schedule. I feel better knowing that it is fresh every morning for
> the new day.
>
> On the other hand, I could see an argument that a java app shouldn’t have
> any memory leaks. The garbage collector should get everything. If it cannot
> do so, then you’ve got something messed up in your app that you should
> track down and rectify. So maybe it’s better to just leave your .woa
> instances running forever until the next redeployment to get new features.
>
>
> What does the community do? Do you cycle often (daily, twice per day, or
> once per week) or do you leaving your instances running without a scheduled
> restart?
>
> Thanks to all those who chime in :-)
> ___
> Do not 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/hugi%40karlmenn.is
>
> This email sent to h...@karlmenn.is
>
>
> ___
> Do not 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/jeremy.deroyer%40ingencys.net
>
> This email sent to jeremy.dero...@ingencys.net
>
>
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://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:
>
> https://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:
> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
>
> This email sent to tedp...@yahoo.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/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@gmail.com
>
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  

Re: Complimentary App Server Choice

2020-02-14 Thread Lon Varscsak via Webobjects-dev
We also use bootique...for war-less applications.  I've kind of built all
the stuff like WebObjects (I have a monitor a taskd, etc)...not public
domain yet though :/

On Fri, Feb 14, 2020 at 11:50 AM Lon Varscsak 
wrote:

> We've settled on Apache Wicket (apps are being re-written from WO) with
> Apache Cayenne (EOF-like but more modern).  I love both, I would be sad if
> I had to use a different toolset.
>
> On Fri, Feb 14, 2020 at 12:14 AM Jérémy DE ROYER via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
>
>> Hi
>>
>> And about wo components framework ?
>>
>> What are you using  with Bootique ?
>>
>> Jérémy
>>
>> Le 13 févr. 2020 à 23:08, Matthew Ness via Webobjects-dev <
>> webobjects-dev@lists.apple.com> a écrit :
>>
>> 
>> I wouldn't hesitate to recommend Bootique.
>>
>> We've had various types of Bootique apps in production for years now to
>> great success, some with the Cayenne module directly derived from older WO
>> apps/dbs, some communicating with existing WO apps, others simply
>> processing tasks.
>>
>>
>> Regards,
>>
>> --
>> Matt
>> http://logicsquad.net
>> https://www.linkedin.com/company/logic-squad/
>>
>>
>> On Thu, Feb 13, 2020, at 11:25 PM, Andrus Adamchik via Webobjects-dev
>> wrote:
>>
>> My opinionated take is the following:
>>
>> * The "official" JavaEE is dead and is now a pure volunteer effort under
>> https://jakarta.ee/ . The "appserver" concept has almost disappeared and
>> morphed to something different. All the past market leaders have moved on
>> to more lightweight solutions, though some still cling to .war deployment.
>>
>> * SpringBoot is the market leader in the Java world. If you are looking
>> to build a marketable Java developer resume, learn SpringBoot.
>>
>> * If you need to write apps for your org or your customers, and are not
>> constrained by the PHBs opinion, use Bootique. It is a better platform in
>> the modern appserver-free world. Bootique is "commercially-viable" in a
>> sense that there are hundreds of apps that run in prod for a number of
>> years. But it is still an open source effort supported by community and a
>> mid-sized company (ObjectStyle), so it is sometimes an uphill battle in
>> organizations that are looking to conform to the lowest common denominator.
>>
>> So you decide :)
>>
>> Andrus
>>
>>
>> On Feb 13, 2020, at 3:06 PM, Gino Pacitti via Webobjects-dev <
>> webobjects-dev@lists.apple.com> wrote:
>>
>> Thanks for that… it looks really interesting…
>>
>> Is it a commercially viable alternative to some of the others like JBoss,
>> Tomcat, Websphere etc..
>>
>> I would like to add another feather to my bow but not really sure which
>> architecture to devote time to so that I can work on bigger projects in a
>> team...
>>
>>
>>
>>
>> On 13 Feb 2020, at 11:16, Andrus Adamchik  wrote:
>>
>> We are using Bootique: https://bootique.io/
>>
>> Just like SpringBoot, its idea is that it is not an "appserver". It gives
>> you a plain Java app with your own "main" method, and a way to assemble
>> various components together (and also modularity, dependency injection,
>> consistent configuration and a large collection of ready-to-use modules).
>> The app can serve web requests, run jobs or do whatever.
>>
>> Unlike SpringBoot, Bootique is much smaller, starts much faster, and
>> doesn't feel like magic. Also all the apps you write are automatically
>> equipped with POSIX CLI.
>>
>> Andrus
>>
>>
>> On Feb 11, 2020, at 4:29 PM, Paul Yu via Webobjects-dev <
>> webobjects-dev@lists.apple.com> wrote:
>>
>> Spring and it’s ecosystem seems to be pretty powerful.
>>
>> Paul
>>
>> Sent from my iPhone
>> Please excuse iOS autocomplete
>>
>> On Feb 11, 2020, at 8:06 AM, Gino Pacitti via Webobjects-dev <
>> webobjects-dev@lists.apple.com> wrote:
>>
>> hey if any one was to use a different app server configuration other
>> than WO what would you choose and why?
>>
>> What are most companies requesting these days in a Java system?
>>
>>
>>
>>
>>
>>
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>>

Re: Complimentary App Server Choice

2020-02-14 Thread Lon Varscsak via Webobjects-dev
We've settled on Apache Wicket (apps are being re-written from WO) with
Apache Cayenne (EOF-like but more modern).  I love both, I would be sad if
I had to use a different toolset.

On Fri, Feb 14, 2020 at 12:14 AM Jérémy DE ROYER via Webobjects-dev <
webobjects-dev@lists.apple.com> wrote:

> Hi
>
> And about wo components framework ?
>
> What are you using  with Bootique ?
>
> Jérémy
>
> Le 13 févr. 2020 à 23:08, Matthew Ness via Webobjects-dev <
> webobjects-dev@lists.apple.com> a écrit :
>
> 
> I wouldn't hesitate to recommend Bootique.
>
> We've had various types of Bootique apps in production for years now to
> great success, some with the Cayenne module directly derived from older WO
> apps/dbs, some communicating with existing WO apps, others simply
> processing tasks.
>
>
> Regards,
>
> --
> Matt
> http://logicsquad.net
> https://www.linkedin.com/company/logic-squad/
>
>
> On Thu, Feb 13, 2020, at 11:25 PM, Andrus Adamchik via Webobjects-dev
> wrote:
>
> My opinionated take is the following:
>
> * The "official" JavaEE is dead and is now a pure volunteer effort under
> https://jakarta.ee/ . The "appserver" concept has almost disappeared and
> morphed to something different. All the past market leaders have moved on
> to more lightweight solutions, though some still cling to .war deployment.
>
> * SpringBoot is the market leader in the Java world. If you are looking to
> build a marketable Java developer resume, learn SpringBoot.
>
> * If you need to write apps for your org or your customers, and are not
> constrained by the PHBs opinion, use Bootique. It is a better platform in
> the modern appserver-free world. Bootique is "commercially-viable" in a
> sense that there are hundreds of apps that run in prod for a number of
> years. But it is still an open source effort supported by community and a
> mid-sized company (ObjectStyle), so it is sometimes an uphill battle in
> organizations that are looking to conform to the lowest common denominator.
>
> So you decide :)
>
> Andrus
>
>
> On Feb 13, 2020, at 3:06 PM, Gino Pacitti via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
>
> Thanks for that… it looks really interesting…
>
> Is it a commercially viable alternative to some of the others like JBoss,
> Tomcat, Websphere etc..
>
> I would like to add another feather to my bow but not really sure which
> architecture to devote time to so that I can work on bigger projects in a
> team...
>
>
>
>
> On 13 Feb 2020, at 11:16, Andrus Adamchik  wrote:
>
> We are using Bootique: https://bootique.io/
>
> Just like SpringBoot, its idea is that it is not an "appserver". It gives
> you a plain Java app with your own "main" method, and a way to assemble
> various components together (and also modularity, dependency injection,
> consistent configuration and a large collection of ready-to-use modules).
> The app can serve web requests, run jobs or do whatever.
>
> Unlike SpringBoot, Bootique is much smaller, starts much faster, and
> doesn't feel like magic. Also all the apps you write are automatically
> equipped with POSIX CLI.
>
> Andrus
>
>
> On Feb 11, 2020, at 4:29 PM, Paul Yu via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
>
> Spring and it’s ecosystem seems to be pretty powerful.
>
> Paul
>
> Sent from my iPhone
> Please excuse iOS autocomplete
>
> On Feb 11, 2020, at 8:06 AM, Gino Pacitti via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
>
> hey if any one was to use a different app server configuration other than
> WO what would you choose and why?
>
> What are most companies requesting these days in a Java system?
>
>
>
>
>
>
> ___
> Do not 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/jeremy.deroyer%40ingencys.net
>
> This email sent to jeremy.dero...@ingencys.net
>
>  ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
>
> https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Problem with a few apps in WOMonitor

2019-07-23 Thread Lon Varscsak via Webobjects-dev
I added JavaXML framework and it seems fine now...weirdly I removed this A
LONG time ago and it only recently has been a problem. 路‍♂️

-Lon

On Tue, Jul 23, 2019 at 3:28 PM Lon Varscsak  wrote:

> Hey all, I have a couple of apps that are behaving weirdly in WOMonitor.
> All of my apps are built using the same version of WO and WOnder, but 2 or
> 3 of them do not respond to WOMonitor requests, but do have errors in the
> logs like:
>
> Jul 23 15:26:37 SPAllergenBank[2006] WARN  NSLog  - Instance Request:
> Error parsing: 
>
> STATISTICS
>
> 
>
>
> Jul 23 15:26:47 SPAllergenBank[2006] WARN  NSLog  - Instance Request:
> Error parsing: 
>
> 
>
> TERMINATE
>
> 
>
> 
>
>
> Jul 23 15:26:47 SPAllergenBank[2006] WARN  NSLog  - Instance Request:
> Error parsing: 
>
> STATISTICS
>
> 
>
> Any ideas what could be going wrong?  The apps run and respond fine (from
> an application perspective), I just have to manage restarts by hand which
> is a PITA.
>
> Thanks,
>
> Lon
>
 ___
Do not 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


Problem with a few apps in WOMonitor

2019-07-23 Thread Lon Varscsak via Webobjects-dev
Hey all, I have a couple of apps that are behaving weirdly in WOMonitor.
All of my apps are built using the same version of WO and WOnder, but 2 or
3 of them do not respond to WOMonitor requests, but do have errors in the
logs like:

Jul 23 15:26:37 SPAllergenBank[2006] WARN  NSLog  - Instance Request: Error
parsing: 

STATISTICS




Jul 23 15:26:47 SPAllergenBank[2006] WARN  NSLog  - Instance Request: Error
parsing: 



TERMINATE






Jul 23 15:26:47 SPAllergenBank[2006] WARN  NSLog  - Instance Request: Error
parsing: 

STATISTICS



Any ideas what could be going wrong?  The apps run and respond fine (from
an application perspective), I just have to manage restarts by hand which
is a PITA.

Thanks,

Lon
 ___
Do not 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: Practical WebObjects

2018-10-25 Thread Lon Varscsak
Thanks for the recommendations!

On Thu, Oct 25, 2018 at 5:35 AM Maik Musall  wrote:

> Hi all,
>
> we hired a new developer in July this year, and he says "Learning the
> Wonders" was quite helpful in getting up to speed with WO and Wonder. And I
> agree he quickly got up to speed :)
>
> Maik
>
>
> Am 24.10.2018 um 15:12 schrieb Theodore Petrosky :
>
> I have to agree with “Learning the Wonders” this one is really good as a
> starting point.
>
> Ted
>
>
> On Oct 23, 2018, at 5:01 PM, Lon Varscsak  wrote:
>
> Okay, after going through the index, I kind of came to that conclusion
> myself.  Thanks for the tip!
>
>
> On Tue, Oct 23, 2018 at 1:58 PM Chuck Hill  wrote:
>
>> I will say no.  It was never intended to be a “Learn WebObjects” book and
>> avoids Wonder, other than a mention or two.As proof that nothing ever
>> dies on the Internet, Amazon still sells it and claims that it is in stock:
>>
>> https://www.amazon.ca/Practical-WebObjects-Sacha-Mallais/dp/1590592964/ref=sr_1_1?ie=UTF8=1540328088=8-1=Practical+webOBjects
>>
>> They don’t mention if the stock is dusty or not…
>>
>>
>>
>> This is a far better starting point:
>> https://www.amazon.com/Learning-Wonders-introduction-creating-applications/dp/3952423300
>>
>>
>>
>> Chuck
>>
>>
>>
>> *From: *Webobjects-dev > gmail@lists.apple.com> on behalf of Lon Varscsak <
>> lon.varsc...@gmail.com>
>> *Date: *Tuesday, October 23, 2018 at 1:52 PM
>> *To: *"webobjects-dev@lists.apple.com" 
>> *Subject: *Practical WebObjects
>>
>>
>>
>> I need to teach a young'un WebObjects.  Do you think that Practical
>> WebObjects is a good starting point?  If so, can I still get a copy
>> somewhere (even if digital)?
>>
>>
>>
>> -Lon
>>
> ___
> Do not 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/tedpet5%40yahoo.com
>
> This email sent to tedp...@yahoo.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/maik%40selbstdenker.ag
>
> This email sent to m...@selbstdenker.ag
>
>
>  ___
> Do not 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/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Practical WebObjects

2018-10-23 Thread Lon Varscsak
Okay, after going through the index, I kind of came to that conclusion
myself.  Thanks for the tip!


On Tue, Oct 23, 2018 at 1:58 PM Chuck Hill  wrote:

> I will say no.  It was never intended to be a “Learn WebObjects” book and
> avoids Wonder, other than a mention or two.As proof that nothing ever
> dies on the Internet, Amazon still sells it and claims that it is in stock:
> https://www.amazon.ca/Practical-WebObjects-Sacha-Mallais/dp/1590592964/ref=sr_1_1?ie=UTF8=1540328088=8-1=Practical+webOBjects
>
> They don’t mention if the stock is dusty or not…
>
>
>
> This is a far better starting point:
> https://www.amazon.com/Learning-Wonders-introduction-creating-applications/dp/3952423300
>
>
>
> Chuck
>
>
>
> *From: *Webobjects-dev  gmail@lists.apple.com> on behalf of Lon Varscsak <
> lon.varsc...@gmail.com>
> *Date: *Tuesday, October 23, 2018 at 1:52 PM
> *To: *"webobjects-dev@lists.apple.com" 
> *Subject: *Practical WebObjects
>
>
>
> I need to teach a young'un WebObjects.  Do you think that Practical
> WebObjects is a good starting point?  If so, can I still get a copy
> somewhere (even if digital)?
>
>
>
> -Lon
>
 ___
Do not 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


Practical WebObjects

2018-10-23 Thread Lon Varscsak
I need to teach a young'un WebObjects.  Do you think that Practical
WebObjects is a good starting point?  If so, can I still get a copy
somewhere (even if digital)?

-Lon
 ___
Do not 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: Mojave, Eclipse and WebObjects

2018-10-02 Thread Lon Varscsak
The only problem I've had is 4.9 of eclipse and WOLips (4.7 works fine).

On Mon, Oct 1, 2018 at 11:37 PM Josef Vanek 
wrote:

> Nope, all works fine for me.
>
> Josef
>
> Le 2 octobre 2018 à 08:36:32, fre...@timeoff.se (fre...@timeoff.se) a
> écrit:
>
> Just looking for confirmation that it all works with Mojave before
> upgrading!
>
> Has anyone had any problems with Mojave, Eclipse and WebObjects?
>
> /Fredrik
> ___
> Do not 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/josef.vanek%40intellicore.net
>
> This email sent to josef.va...@intellicore.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:
>
> https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Question regarding the old WebObjects tools (WOBuilder et.al.)

2017-12-13 Thread Lon Varscsak
I still have access to WO4 on Windows, but it doesn't look like source for
either of those apps is part of the distribution.

-Lon

On Wed, Dec 13, 2017 at 10:05 AM, Chuck Hill  wrote:

> I have not heard of them.
>
> Chuck
>
> On 2017-12-13, 8:53 AM, "Webobjects-dev on behalf of Markus Ruggiero"
>  mailingli...@kataputt.com> wrote:
>
> Does anybody know whether the old Objective-C tools like EOModeler and
> WOBuilder are available in source form? The D2W RuleModeler is, but I'd
> like to play with the two other tools.
>
> Call me masochistic
>
> ---markus---
>
>
>  ___
> Do not 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/chill%40gevityinc.com
>
> This email sent to ch...@gevityinc.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/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Installing WOLips in Eclipse Neon (4.6.2)

2017-03-07 Thread Lon Varscsak
Pascal is always listening. 

On Fri, Mar 3, 2017 at 3:41 AM, Pascal Robert  wrote:

> I will have a look today. Let’s say I have many things to go over...
>
> > Le 3 mars 2017 à 04:46, Musall, Maik  a écrit :
> >
> > Does anyone have contact to Pascal other than Email? I completed the
> jenkins migration a while ago, but need him to point the DNS to it, as well
> as for a number of other details about apache configs, confluence migration
> and stuff. But he doesn't respond to emails.
> >
> > Or does anyone else have access to the DNS? Pascal isn't even a member
> of the association any more, right?
> >
> > Maik
> >
> >
> >> Am 21.02.2017 um 11:57 schrieb Lars Sonchocky-Helldorf <
> lars.sonchocky-helld...@hamburg.de>:
> >>
> >> Thanks a lot, installation worked like a charm!
> >>
> >>
> >> greetings,
> >>
> >>  Lars
> >>
> >>> Am 21.02.2017 um 00:40 schrieb Pascal Robert :
> >>>
> >>> Done
> >>>
>  Le 20 févr. 2017 à 18:32, Pascal Robert  a écrit :
> 
>  A new SSL certificate will be installed tonight.
> 
> > Le 19 févr. 2017 à 14:45, Michael Kondratov <
> mich...@aspireauctions.com> a écrit :
> >
> > The server has an expired ssl certificate. You can download the
> archive of WOLips locally and install it from a file.
> >
> > Michael
> >
> > Sent from my iPhone
> >
> >> On Feb 19, 2017, at 1:42 PM, Lars Sonchocky-Helldorf <
> lars.sonchocky-helld...@hamburg.de> wrote:
> >>
> >> Hello everybody (I hope someone is still listening),
> >>
> >>
> >> when trying to install WOLips like described here
> https://github.com/wocommunity/wolips I get the following error message:
> >>
> >>
> >> Unable to read repository at http://jenkins.wocommunity.
> org/job/WOLips44/lastSuccessfulBuild/artifact/temp/dist/content.xml.
> >> sun.security.validator.ValidatorException: PKIX path building
> failed: sun.security.provider.certpath.SunCertPathBuilderException:
> unable to find valid certification path to requested target
> >>
> >>
> >> Obviously the certificate has expired 30 days ago.
> >>
> >> Is someone around here able to fix this?
> >>
> >>
> >> Thanks,
> >>
> >> Lars
> >> ___
> >> Do not 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/michael%40aspireauctions.com
> >>
> >> This email sent to mich...@aspireauctions.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/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:
>  https://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:
> >>> https://lists.apple.com/mailman/options/webobjects-
> dev/lars.sonchocky-helldorf%40hamburg.de
> >>>
> >>> This email sent to lars.sonchocky-helld...@hamburg.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:
> >> https://lists.apple.com/mailman/options/webobjects-
> dev/maik%40selbstdenker.ag
> >>
> >> This email sent to m...@selbstdenker.ag
> >
> > ___
> > Do not 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/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:
> https://lists.apple.com/mailman/options/webobjects-
> dev/lon.varscsak%40gmail.com
>

Re: Alive ?

2017-02-21 Thread Lon Varscsak
I think I’m alive.

On Tue, Feb 21, 2017 at 2:27 AM, Amedeo Mantica 
wrote:

> +1
>
> On 9 Feb 2017, at 20:38, Tim Worman  wrote:
>
> +1
>
> Tim
>
> On Feb 7, 2017, at 12:08 PM, Jean-François Veillette <
> jean_francois_veille...@yahoo.ca> wrote:
>
> +1
>
> jfv
>
> Le 6 févr. 2017 à 08:11, Jérémy DE ROYER  a
> écrit :
>
> Is there anyone alive ?
>
> Jérémy
>
> ___
> Do not 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/jean_francois_veillette%40yahoo.ca
>
> This email sent to jean_francois_veille...@yahoo.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:
> https://lists.apple.com/mailman/options/webobjects-
> dev/lists%40thetimmy.com
>
> This email sent to li...@thetimmy.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/amedeomantica%40me.com
>
> This email sent to amedeomant...@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:
> https://lists.apple.com/mailman/options/webobjects-
> dev/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: JoavaMonitor question

2016-10-25 Thread Lon Varscsak
I think the general thought is that you don’t want that accessible
externally.  If you run it in direct connect mode and then make sure that
port isn’t accessible via your firewall you should be “safe”.

-Lon

On Tue, Oct 25, 2016 at 3:21 PM, Theodore Petrosky 
wrote:

> I think you are saying that JavaMonitor should only be accessed by the
> direct connect port.
>
> I never read that anywhere, and I have alway create an instance to
> JavaMonitor. Is this a bad practice?
>
> Please be kind, I am showing my ignorance here hoping to be edified.
>
>
> Ted
>
>
> On Oct 25, 2016, at 6:17 PM, Paul Hoadley  wrote:
>
> Hi Ted,
>
> On 26 Oct 2016, at 2:48 AM, Theodore Petrosky  wrote:
>
> Why is it that I can only access the application scheduling or Application
> Settings sections of JavaMonitor when I access it with the direct connect
> (:56789)? these sections are not accessible if I use the running app.
> http://something.com/apps/Webobjects/JavaMonitor
>
>
> Are you doing something strange here? Why is JavaMonitor even accessible
> via that URL?
>
>
> --
> Paul Hoadley
> http://logicsquad.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:
> https://lists.apple.com/mailman/options/webobjects-
> dev/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: DB2

2016-10-12 Thread Lon Varscsak
I think I have an app that connects to a DB2 server.  What’s up?

On Wed, Oct 12, 2016 at 6:57 AM, Michael Kondratov <
mich...@aspireauctions.com> wrote:

> Hello,
>   Any one using WO with DB2?
>
> Michael
>
> 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:
> https://lists.apple.com/mailman/options/webobjects-
> dev/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: AIX deployment

2016-09-12 Thread Lon Varscsak
Hold on, let me get my time machine and check. ;)

-Lon

On Mon, Sep 12, 2016 at 2:03 PM, Michael Kondratov <
mich...@aspireauctions.com> wrote:

> Is anyone running a deployment of WebObjects on AIX?
>
> Michael
>
> 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:
> https://lists.apple.com/mailman/options/webobjects-
> dev/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Slack WO channel

2016-09-07 Thread Lon Varscsak
I’d be on the Slack channel :D  Mostly so I could talk about Wicket and
Cayenne. ;)

On Wed, Sep 7, 2016 at 12:24 PM, Tom Termini  wrote:

> I’d like to be on the WebObjects Slack channel, please.
>
>
> Tom Termini  / Bluedog
> tomterm...@gmail.com  | +1-301-649-5000
>
>
>
>
>  ___
> Do not 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/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Ajax request, ERXRedirect and ERXThreadStorage

2016-07-12 Thread Lon Varscsak
I believe the the thread storage is reset for each request, and the Ajax
request and the redirect are two different requests.

On Mon, Jul 11, 2016 at 11:52 PM, Paul Hoadley  wrote:

> Hello,
>
> I’m working on an app where some page-level informational messages (such
> as validation problems) are stored in ERXThreadStorage, and displayed by
> the page wrapper. This works great for full page loads.
>
> In a few places, I’m doing some Ajax submissions with AjaxSubmitButton. In
> the usual case, nothing goes wrong and an AjaxUpdateContainer displays some
> new information. I figured that a reasonable way to display validation
> errors from these Ajax submissions would be to stash the messages in
> ERXThreadStorage in the usual way, and then use ERXRedirect and
> its setComponentToPage() to just force a full page reload. This all works
> except (critically) the _retrieval_ of the messages from
> ERXThreadStorage—there’s nothing there. Is this expected? Is the invocation
> of the action method by the Ajax submission on a different thread?
>
>
> --
> Paul Hoadley
> http://logicsquad.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:
>
> https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WebObjects officially declared dead by Apple

2016-05-26 Thread Lon Varscsak
I think a clean-room implementation was probably always defendable,
however, no one that I know is doing that.  Looking at de-compiled source
isn’t “clean”. :P

-Lon

On Thu, May 26, 2016 at 4:42 PM, Ray Kiddy  wrote:

>
> Well, Google just won their case against Oracle. I am not a lawyer, nor do
> I play one on TV, but I think that this means a clean-room
> re-implementation is legally doable. Just saying.
>
> -  ray
>
> On 5/3/16 8:19 AM, Hugi Thordarson wrote:
>
>> Hi all.
>>
>> We probably all know that WO's been practically dead to Apple for a long
>> time, but unfortunately Apple has refused to state so officially (at least
>> I don't recall there being an official statement).
>>
>>
>> 
> ___
> Do not 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/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Closure of WOCommunity Association

2016-05-11 Thread Lon Varscsak
I agree with Chuck, if you're out of pocket, I'll be happy to share the
load.

However, I don't know how much we should keep investing beyond this.  Just
my personal (and probably unpopular) opinion.

But, I'd be happy to host this stuff here at SmartPractice indefinitely.

-Lon

On Wednesday, May 11, 2016, Chuck Hill  wrote:

> At 32 people that is $200 each to cover the shortfall.  I am good for at
> least that!  We are not going to let you get caught short on this.
>
>
>
> Maybe we can encourage some additional people to attend too.
>
>
>
> Chuck
>
>
>
>
>
> *From: * > on
> behalf of Ken Anderson  >
> *Date: *Wednesday, May 11, 2016 at 2:08 PM
> *To: *Pascal Robert  >
> *Cc: *WebObjects-Dev  >
> *Subject: *Re: Closure of WOCommunity Association
>
>
>
> Pascal,
>
>
>
> Why would you think we would let that happen to you?  We will figure it
> out and make sure you’re not out of pocket.  What are the minimums you have
> to meet?
>
>
>
> Ken
>
>
>
> On May 11, 2016, at 4:49 PM, Pascal Robert  > wrote:
>
>
>
> I fond it weird to have to do that because we only have 32 guys at WOWODC,
> so we have a +6000$ deficit that I will have to pay from my pockets since I
> can't meet the minimum set by the hotel.
> --
>
> *De :* webobjects-dev-bounces+probert=macti...@lists.apple.com
> 
>  >
> de la part de Musall Maik  >
> *Envoyé :* 11 mai 2016 16:37:22
> *À :* WebObjects-Dev
> *Objet :* Re: Closure of WOCommunity Association
>
>
>
> Hi guys,
>
>
>
> I find this weird to be announced exclusively on Facebook of all places. I
> also find it inappropriate to be notified of something like this on short
> notice without a chance for the community to discuss the details before
> it's too late.
>
>
>
> Anyway, we can host the stuff at our company's hosting place. One VPS more
> ore less doesn't make a difference. If the hosting costs are the main
> factor, we can eliminate that.
>
>
>
> Maik
>
>
>
> Am 11.05.2016 um 21:06 schrieb jazzsalsa  >:
>
>
>
> Hi WebObjects fans,
>
>
>
> I just read this message on Facebook from Pascal:
>
>
> Pascal Robert
>
> 21 hrs
> 
>  · Montreal, QC, Canada
>
> With the official death of WebObjects, it is time to announce the closure
> of the WOCommunity Association. We don't have any cash left to pay the
> expenses of WOWODC 2016 and the hosting.
>
> WOWODC 2016 won't be cancelled. Unless someone wants to host the wiki and
> Jenkins, they will be shutdown at the end of the month. Recordings of
> WOWODC 2016 will only be available to attendees.
>
>
>
> Very bad indeed. Therefore I created an overview of WebObjects fans I
> found on the wiki:
>
>
>
>
> https://onedrive.live.com/redir?resid=ADCCC076DD8AF29D!106=!ACckRFppMHmbsog=file%2cxlsx
>
>
>
> Let's find out how to organize the migration. I just sent an email to
> RedHat (openshift) to see if they support it.
>
> 1. Could you be so kind to add your email address in case your are
> interested to receive updates about the migration?
>
> 2. Fill in the column ("continent") as well to figure out how we are
> distributed on the planet(for skype calls and meetups).
>
> 3. Mention if you support (need) the migration of the services maven,
> jenkins, wiki, others I forgot
>
>
>
> Pascal, could you be so kind to fill in sheet "Infrastructure" about the
> size of the services we are talking about. This will help to migrate this
> easily.
>
>
>
> Many thanks, Bart
>
> ___
> Do not 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/maik%40selbstdenker.ag
>
> This email sent to m...@selbstdenker.ag
> 
>
>
>
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  

Re: Extending the “No Instance Available” timeout

2016-04-06 Thread Lon Varscsak
1) Direct Connect isn’t really an option for us (nor should it be for
anyone ).
2) The URLs look like:
http://localhost/Apps/WebObjects/SmartPractice.woa/-20001
3) We always set a port for development.
4) I did have him set the application up in Monitor with timeouts and he
claims it didn’t work.
5) I swear I’ve done this before both ways and had it work. :(

-Lon

On Wed, Apr 6, 2016 at 10:03 AM, Chuck Hill <ch...@gevityinc.com> wrote:

> Ben, what do the URLs look like?  It has been ages since I set this up.  I
> think you might need to set the WOPort in Eclipse and then configure an
> application in JavaMonitor and create an instance on that port for the
> Receive Timeout to have any effect.  Or, if you are not using Apache to
> serve resources or do SSL, using DirectConnect will also avoid this error
> message.
>
> Chuck
>
>
>
>
>
> On 2016-04-06, 9:02 AM, "webobjects-dev-bounces+chill=
> gevityinc@lists.apple.com on behalf of OC"
> <webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of
> o...@ocs.cz> wrote:
>
> >Aha, I see — I thought Eclipse uses Direct Connect, just as Xcode used to
> (and mine still does).
> >
> >In that case, beside the adaptor log, I would probably
> >
> >(a) try Direct Connect; no timeouts in this mode;
> >(b) add extra logs to show when the R/R loop begins, how it runs, and
> when it ends, to see what takes that long (and how long precisely).
> >
> >All the best,
> >OC
> >
> >On 6. 4. 2016, at 17:55, Lon Varscsak <lon.varsc...@gmail.com> wrote:
> >
> >> Just to help Ben while he’s sleeping… This is while he’s running the
> application from within Eclipse (still through Apache) while he’s
> testing/debugging.
> >>
> >> -Lon
> >>
> >> On Wed, Apr 6, 2016 at 8:37 AM, OC <o...@ocs.cz> wrote:
> >> Benjamin,
> >>
> >> On 6. 4. 2016, at 10:19, Benjamin Chew <bc...@smarthealth.com> wrote:
> >>
> >> > I did change Receive Timeout to 999,999 under “Site”, and restarted
> wotaskd and monitor, but that didn’t help.
> >>
> >> The only thing which should need to be restarted is your application.
> >>
> >> > I also tried creating an app in monitor with the same name as the one
> running in Eclipse, and changing the Receive Timeout, but that didn’t work
> either.
> >>
> >> I am afraid I do not quite get your setup; what has Eclipse to do with
> that?
> >>
> >> Anyway, it is really weird if setting a super-high receive timeout for
> an application does not affect that application's “No Instance Available“
> report; that does not make any sense to me. If the application locks, you
> still might not get the desired page, but (a) that is extremely improbable
> if it does run all right in a different setup, (b) at the very least, you
> should be waiting for the “No Instance Available“ report much, much longer.
> >>
> >> Sorry for an extremely dumb question, but is there perhaps any
> possibility you are changing the timeouts of another application, or the
> same application but on a different server, or something like that?
> >>
> >> Is there anything of interest in the adaptor log?
> >>
> >> All the best,
> >> OC
> >>
> >>
> >> > On Wed, Apr 6, 2016 at 2:59 PM, Chuck Hill <ch...@gevityinc.com>
> wrote:
> >> > Receive Timeout is set in JavaMonitor.
> >> >
> >> > From: Benjamin Chew <bc...@smarthealth.com>
> >> > Date: Tuesday, April 5, 2016 at 11:52 PM
> >> > To: Chuck Hill <ch...@gevityinc.com>
> >> > Cc: OC <o...@ocs.cz>, WebObjects-Dev Mailing List <
> webobjects-dev@lists.apple.com>
> >> > Subject: Re: Extending the “No Instance Available” timeout
> >> >
> >> > Thanks guys, I appreciate all the other suggestions, but I’m quite
> positive it is the ping time that is killing me.
> >> >
> >> > I have tried multiple apps, and all the apps have the same problem.
> They worked fine when I was in the US, but I encountered this problem once
> I got to Singapore. I’ve verified this by pinging servers in the US, and
> I’m getting ~300ms ping times, with some jitter, which does not help.
> >> >
> >> > OC and Chuck: could you tell me how to adjust my Receive Timeout?
> >> >
> >> > Thanks,
> >> > Ben
> >> >
> >> > On Wed, Apr 6, 2016 at 2:26 AM, Chuck Hill <ch...@gevityinc.com>
> wrote:
> >> > I assume that you are running the app locally 

Re: Extending the “No Instance Available” timeout

2016-04-06 Thread Lon Varscsak
Just to help Ben while he’s sleeping… This is while he’s running the
application from within Eclipse (still through Apache) while he’s
testing/debugging.

-Lon

On Wed, Apr 6, 2016 at 8:37 AM, OC  wrote:

> Benjamin,
>
> On 6. 4. 2016, at 10:19, Benjamin Chew  wrote:
>
> > I did change Receive Timeout to 999,999 under “Site”, and restarted
> wotaskd and monitor, but that didn’t help.
>
> The only thing which should need to be restarted is your application.
>
> > I also tried creating an app in monitor with the same name as the one
> running in Eclipse, and changing the Receive Timeout, but that didn’t work
> either.
>
> I am afraid I do not quite get your setup; what has Eclipse to do with
> that?
>
> Anyway, it is really weird if setting a super-high receive timeout for an
> application does not affect that application's “No Instance Available“
> report; that does not make any sense to me. If the application locks, you
> still might not get the desired page, but (a) that is extremely improbable
> if it does run all right in a different setup, (b) at the very least, you
> should be waiting for the “No Instance Available“ report much, much longer.
>
> Sorry for an extremely dumb question, but is there perhaps any possibility
> you are changing the timeouts of another application, or the same
> application but on a different server, or something like that?
>
> Is there anything of interest in the adaptor log?
>
> All the best,
> OC
>
>
> > On Wed, Apr 6, 2016 at 2:59 PM, Chuck Hill  wrote:
> > Receive Timeout is set in JavaMonitor.
> >
> > From: Benjamin Chew 
> > Date: Tuesday, April 5, 2016 at 11:52 PM
> > To: Chuck Hill 
> > Cc: OC , WebObjects-Dev Mailing List <
> webobjects-dev@lists.apple.com>
> > Subject: Re: Extending the “No Instance Available” timeout
> >
> > Thanks guys, I appreciate all the other suggestions, but I’m quite
> positive it is the ping time that is killing me.
> >
> > I have tried multiple apps, and all the apps have the same problem. They
> worked fine when I was in the US, but I encountered this problem once I got
> to Singapore. I’ve verified this by pinging servers in the US, and I’m
> getting ~300ms ping times, with some jitter, which does not help.
> >
> > OC and Chuck: could you tell me how to adjust my Receive Timeout?
> >
> > Thanks,
> > Ben
> >
> > On Wed, Apr 6, 2016 at 2:26 AM, Chuck Hill  wrote:
> > I assume that you are running the app locally through Apache as that
> message is from wotaskd.  As OC pointed out, the Receive Timeout is what
> you need to adjust up and up and up.
> >
> > It sounds like latency is what is killing you, I don’t recall how chatty
> JDBC is but it is probably along the lines of ODBC which is quite chatty
> indeed.  Latency kills its performance.  Another possibility is to run a
> local copy of the DB.
> >
> > Chuck
> >
> >
> >
> >
> > On 2016-04-05, 7:38 AM, "webobjects-dev-bounces+chill=
> gevityinc@lists.apple.com on behalf of OC"
>  o...@ocs.cz> wrote:
> >
> > >Benjamin,
> > >
> > >On 5. 4. 2016, at 11:02, Benjamin Chew  wrote:
> > >
> > >> I’m in Singapore working off a VPN connection to the States, and
> while waiting for some database-intensive components to display, I keep
> getting “No Instance Available” because it’s taking so long to complete all
> the queries (ping times ~ 200ms).
> > >
> > >As others have pointed out, ping times could hardly affect this.
> > >
> > >> I’ve tried going to WOMonitor on my local machine (localhost:56789)
> and modified the Send, Receive and Connect timeouts, but that didn’t seem
> to help.
> > >
> > >Far as I can say with my very limited knowledge,
> > >
> > >(a) “No Instance Available” is most time (if not always) caused by the
> receive timeout at the server side;
> > >(b) and thus, increasing it enough should help.
> > >
> > >> Does anyone have any ideas?
> > >
> > >First thing, I would try some ludicrously high receive timeout. For us,
> it always helped (in the sense that the rendered page did always return,
> presumed the user had the patience to wait long enough, especially when by
> a mistake I had computed some results in O(2^N) :))
> > >
> > >It might also help to check the adaptor log -- touch /tmp/logWebObjects
> as root, and the log should appear in /tmp/WebObjectsLog.
> > >
> > >The ultimate solution, of course, would be background processing and/or
> paging, as others already recommended; but first you need to find the
> particular cause of the long processing, which might be sometimes a bit
> hairy.
> > >
> > >All the best and good luck,
> > >OC
> > >
> > >
> > > ___
> > >Do not post admin requests to the list. They will be ignored.
> > >Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> > 

Re: prevent memory drain through sessions?

2016-03-24 Thread Lon Varscsak
We treat crawl bots in a special way.  Basically, we have 1 session for all
of them, and restore them to that session id.

So we override WOApplication’s createSessionForRequest(WORequest request)

We then check the user-agent against a list of known bots, and assign them
to a single session.  Something like this:

@Override

public WOSession createSessionForRequest(WORequest request) {

String userAgent = request.headerForKey("user-agent");

WOSession session = null;


if (userAgent != null && userAgent.toLowerCase().contains(“googlebot")) {

session = super.sessionStore().checkOutSessionWithID(sessionIDForRobots,
request);


if (session == null) {

session = super.createSessionForRequest(request);

session.setStoresIDsInCookies(true);

session.setStoresIDsInURLs(false); //this means any urls generated for bots
will be without the session id

*   sessionIDForRobots = session.sessionID();*

log.debug("NEW SESSION CREATED FROM " + SHWORequestUtilities.clientIP(
request) + " (" + userAgent + ")");

} else {

// no session created, so we need to "fix" the activeSessionsCount, which
is incremented on every call to this method

ERXKeyValueCodingUtilities.takePrivateValueForKey(this,
activeSessionsCount() - 1, "_activeSessionsCount");

}


log.debug("Known bot hitting application. User-Agent: " + userAgent);

} else {

session = super.createSessionForRequest(request);

log.debug("NEW SESSION CREATED FROM " + SHWORequestUtilities.clientIP(
request) + " (" + userAgent + ")");

}


return session;

}

The only oddity is the when we’re checking out an existing session (bots),
the session count goes up even though no session is created.  I don’t
remember where I got that bit of code. :)  This has been in production for
a long time and hasn’t caused us any problems, but your mileage may vary.

Good luck,

Lon

On Thu, Mar 24, 2016 at 10:21 AM, OC  wrote:

> Hello there,
>
> one of my applications drained its memory quickly; it looks like the
> primary cause was creation of thousands sessions, which itself was caused
> by lots of Google requests containing spurious (probably stored years ago)
> session IDs. It seems each such request creates a new session, and hilarity
> quickly ensues.
>
> Of course, moving session IDs to cookies would help (and kicking out those
> bloody Google bots from the server would help tremendously), but I wonder...
>
> ... first, sometimes session IDs in URLs are needed, e.g., to allow
> concurrent work in different sessions from more browser tabs/windows.
> Besides, an attack can be created maliciously with spurious session IDs in
> cookies just as well.
>
> Is there a known and tested way to reliably prevent this kind of
> session-induced death? Some trick to create new sessions only for valid
> requests? Perhaps handleSessionRestorationErrorInContext redirecting to a
> static address without a session ID, or something like that?
>
> Thanks,
> OC
>
>
>  ___
> Do not 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/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Use case for a "case insensitive equals" qualifier

2016-02-24 Thread Lon Varscsak
Hmm, it would be interesting if there was an alternative, but really the
problem lies in the database.  Any wildcard type searches (at least that
start with a wildcard) are not likely to use indexes and cause a table
scan.  If your database supported the concept of having case-insensitive
indexes, then I would think it would be pretty trivial to implement in your
own qualifier.  In Sybase (the database I use mostly) you can create a
functional index (an index based on a function), but it’s the equivalent
creating a second column that’s always lower and maintaining an index on
it.  The difference being that the database maintains it for you (which is
usually annoying for EOF).

I’ve always wanted a better way to do this too.

-Lon

On Wed, Feb 24, 2016 at 5:13 PM, Paul Hoadley  wrote:

> Hello,
>
> Say you have a web application where the login identifier is the user’s
> email address. This works in the conventional way: the user supplies that
> address at sign-up, and it serves two in-app functions: login identifier,
> and actual email address to which notifications can be sent. This is a
> fairly common pattern among some large, modern web apps.
>
> It turns out that not everyone understands case sensitivity. We are seeing
> login failures in the wild because a user that signed up as “
> pa...@logicsquad.net” is now trying to log in with “pa...@logicsquad.net”,
> or vice versa. Here are some facts:
>
> 1. It would seem to be at least reasonably common for modern web apps that
> use email addresses as login identifiers to ignore case at login time. (For
> example, I tested a couple I had open in browser tabs: Strava and Bitbucket
> ignore case.)
>
> 2. Although the domain part of an email address is case-insensitive, my
> understanding is that the relevant RFCs suggest that you shouldn’t make
> assumptions about the local part. While everything I’ve read claims that in
> practice it will make no difference, let’s assume that we need to preserve
> the address as entered at sign-up. (It’s fail-safe to do so, whether we
> strictly need to or not.)
>
> So, 1 is our aim: ignore case on the login identifier at login time. But
> because of 2, we don’t want to, say, normalise the email address given at
> sign-up to lower case and just store that, on the off chance that it makes
> a difference for mail delivery for that particular user. (Again, it
> probably won’t, but let’s assume that it could for the exercise.)
>
> What are our options for finding the right User entity at login time?
>
> 1. We can jump in and naively use a CaseInsensitiveLike qualifier, but
> then a user can stick ‘?’ and ‘*’ wildcards in the input. We could strip
> those out, but they’re actually both valid characters in the local part. I
> stopped short of trying to escape them, as this route is starting to seem a
> little dangerous.
>
> 2. We could track both the supplied and a lower-cased version of the
> identifier in separate attributes. This has the advantage of presumably
> working, but it’s awkward, requiring special attention to changing the
> normalised attribute when the user-supplied one changes.
>
> Can anyone suggest a better way? What I really need is a
> CaseInsensitiveEquals qualifier, like Java’s equalsIgnoreCase(). Is there
> such a thing? Would it be easily implemented?
>
>
> --
> Paul Hoadley
> http://logicsquad.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:
>
> https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com
>
> This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

WOLips and Eclipse Mars (4.5)

2015-09-01 Thread Lon Varscsak
Hey guys,

Since upgrading to Mars, WOLips isn't doing component validation.  All of
the regular Validation preferences are set (compared against another
developer here).  Any ideas?

Thanks,

Lon
 ___
Do not 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: WOLips and Eclipse Mars (4.5)

2015-09-01 Thread Lon Varscsak
No errors in the log file...it turns out I'm just dumb.  I hadn't checked
"binding value validation (slow)" checked. :/

On Tue, Sep 1, 2015 at 11:33 AM, Wolfgang Hartmann 
wrote:

> Hy,
>
> You could have a look into your eclipse log for errors.
> The eclipse error-log is in your workspace in the folder ".metadata" in
> the file ".log".
>
> After upgrading to Mars you should also upgrade your wolips-plugins.
>
> Greetz, Wolfy
>
> --
> Date: Tue, 1 Sep 2015 10:57:03 -0700
> Subject: WOLips and Eclipse Mars (4.5)
> From: lon.varsc...@gmail.com
> To: webobjects-dev@lists.apple.com
>
>
> Hey guys,
>
> Since upgrading to Mars, WOLips isn't doing component validation.  All of
> the regular Validation preferences are set (compared against another
> developer here).  Any ideas?
>
> Thanks,
>
> Lon
>
> ___ Do not 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/halbeisen%40hotmail.com
> This email sent to halbei...@hotmail.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: WOLips and Eclipse Mars (4.5)

2015-09-01 Thread Lon Varscsak
I'm on 4.4.20150826.46

On Tue, Sep 1, 2015 at 11:31 AM, Theodore Petrosky <tedp...@yahoo.com>
wrote:

> what’s you version of WOLips? mine is:4.4.20150630.44
>
>
>
>
> > On Sep 1, 2015, at 1:57 PM, Lon Varscsak <lon.varsc...@gmail.com> wrote:
> >
> > Hey guys,
> >
> > Since upgrading to Mars, WOLips isn't doing component validation.  All
> of the regular Validation preferences are set (compared against another
> developer here).  Any ideas?
> >
> > Thanks,
> >
> > Lon
> > ___
> > Do not 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/tedpet5%40yahoo.com
> >
> > This email sent to tedp...@yahoo.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: Practical WebObjects book ???

2015-01-08 Thread Lon Varscsak
How many beers will it take to get a book on tape version?

-Lon

On Thu, Jan 8, 2015 at 2:16 PM, Chuck Hill ch...@gevityinc.com wrote:

  There is an official PDF:
 http://www.apress.com/9781590592960



   On 2015-01-08, 1:14 PM, Theodore Petrosky wrote:


  Was there (is there) a pdf version of this book. I have two copies
 (office and home), but they are too fragile to carry in my bag. If there
 were a PDF on the other hand.

  has anyone seen this?

  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:

 https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com

  This email sent to ch...@gevityinc.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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Precompiled WOAdaptor for apache 2.4

2014-10-20 Thread Lon Varscsak
I just downgraded and installed 2.2.26 using homebrew (and these
instructions https://gist.github.com/falker/857c40ac854999d88135).  Figured
it was the path of least resistance. :P

-Lon

On Mon, Oct 20, 2014 at 9:28 AM, Michael Kondratov 
mich...@aspireauctions.com wrote:

 I would also love to get a copy of a binary. Tried compiling - no success.

 Michael Kondratov
 Aspire Auctions, Inc.
 216-231-5515

 On Oct 20, 2014, at 6:13 AM, Gino Pacitti ginok...@mac.com wrote:

 Hi all…

 Just updated to Yosemite and duh… Apache is updated and I cannot get WO to
 work…
 I have the adaptor make file from wonder but not totally sure how to set
 it up to compile. There is no make.postamble or make.config and I am not
 sure what to use to configure if there were.

 Is there a precompiled adaptor for Apache 2.4 to use on Yosemite?

 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:

 https://lists.apple.com/mailman/options/webobjects-dev/michael%40aspireauctions.com

 This email sent to mich...@aspireauctions.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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Precompiled WOAdaptor for apache 2.4

2014-10-20 Thread Lon Varscsak
Shellshock was an SSLv3/v2 fallback problem (technically a client
bug)...upgrading Apache shouldn't resolve this (unless by default 2.4 turns
off SSLv3/v2).

-Lon

On Mon, Oct 20, 2014 at 3:10 PM, Ray Kiddy r...@ganymede.org wrote:

 On Mon, 20 Oct 2014 14:10:19 -0700
 Lon Varscsak lon.varsc...@gmail.com wrote:

  I just downgraded and installed 2.2.26 using homebrew (and these
  instructions https://gist.github.com/falker/857c40ac854999d88135).
  Figured it was the path of least resistance. :P
 
  -Lon

 So, I updated my apache instance in response to Shellshock. Was this
 not necessary or not an issue?

 - ray

  On Mon, Oct 20, 2014 at 9:28 AM, Michael Kondratov 
  mich...@aspireauctions.com wrote:
 
   I would also love to get a copy of a binary. Tried compiling - no
   success.
  
   Michael Kondratov
   Aspire Auctions, Inc.
   216-231-5515
  
   On Oct 20, 2014, at 6:13 AM, Gino Pacitti ginok...@mac.com wrote:
  
   Hi all…
  
   Just updated to Yosemite and duh… Apache is updated and I cannot
   get WO to work…
   I have the adaptor make file from wonder but not totally sure how
   to set it up to compile. There is no make.postamble or make.config
   and I am not sure what to use to configure if there were.
  
   Is there a precompiled adaptor for Apache 2.4 to use on Yosemite?
  
   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:

 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Precompiled WOAdaptor for apache 2.4

2014-10-20 Thread Lon Varscsak
Oh right...haha...I'm getting them all confused these days. :P  Either way,
Apache 2.4 doesn't fix either. :)

-Lon

On Mon, Oct 20, 2014 at 4:13 PM, Pascal Robert prob...@macti.ca wrote:


 Le 2014-10-20 à 19:00, Lon Varscsak lon.varsc...@gmail.com a écrit :

  Shellshock was an SSLv3/v2 fallback problem (technically a client
 bug)...upgrading Apache shouldn't resolve this (unless by default 2.4 turns
 off SSLv3/v2).

 Shellshock is the bash security issue :-) The SSL fallback issue is called
 POOTLE.

  -Lon
 
  On Mon, Oct 20, 2014 at 3:10 PM, Ray Kiddy r...@ganymede.org wrote:
  On Mon, 20 Oct 2014 14:10:19 -0700
  Lon Varscsak lon.varsc...@gmail.com wrote:
 
   I just downgraded and installed 2.2.26 using homebrew (and these
   instructions https://gist.github.com/falker/857c40ac854999d88135).
   Figured it was the path of least resistance. :P
  
   -Lon
 
  So, I updated my apache instance in response to Shellshock. Was this
  not necessary or not an issue?
 
  - ray
 
   On Mon, Oct 20, 2014 at 9:28 AM, Michael Kondratov 
   mich...@aspireauctions.com wrote:
  
I would also love to get a copy of a binary. Tried compiling - no
success.
   
Michael Kondratov
Aspire Auctions, Inc.
216-231-5515
   
On Oct 20, 2014, at 6:13 AM, Gino Pacitti ginok...@mac.com wrote:
   
Hi all…
   
Just updated to Yosemite and duh… Apache is updated and I cannot
get WO to work…
I have the adaptor make file from wonder but not totally sure how
to set it up to compile. There is no make.postamble or make.config
and I am not sure what to use to configure if there were.
   
Is there a precompiled adaptor for Apache 2.4 to use on Yosemite?
   
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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com
 
  This email sent to lon.varsc...@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:
 
 https://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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Convert WebObjects app to pure java

2014-04-15 Thread Lon Varscsak
Because WebObjects is written in Java, it can pretty much run anywhere you
need it to.  We almost exclusively deploy our applications on Linux, but
there are others who deploy on Windows (we call them crazy though :D).

There was a restriction in the license (I don't remember if this ever
changed) that required you to do development on a Mac OS X box, but I know
there are devs that do development on other platforms.

-Lon


On Tue, Apr 15, 2014 at 4:48 PM, Ada mersi...@gmail.com wrote:

 Thanks all for the responses!

 Some answers to your questions:

 I think what you are saying is that you were using Apple Development
 tools including Xcode and WOBuilder to design your apps but now… now you’ve
 upgraded your Mac and you can’t run them anymore…. You sorta know that your
 only choice is to go Eclipse… does this sound like your situation? I’m
 guessing too :-)-- Yes, can no longer run WO on my current machine.
 It is dying, and cannot patch it with anymore old parts.

 Plain JSP is what I am thinking of switching to.

 The reason we're stripping out the webobjects from the code is due to the
 server it lies on. It is running on a decade old mac, version 10.5.8.
 My understanding is that i cannot run a webobjects app on a windows box
 (or maybe Red Hat)? Am I correct with my thoughts on that?
 I need a simple Java framework to convert all the code in, JSP is what I
 first thought of, but I'm open to suggestions.
 The application listserv type app, where users are creating, adding,
 removing people form listservs.
 As, one of you mentioned it does use the EOF, so I would need to rewrite
 that, and I don't know much as to what it is involved in there eitehr
 either.
 Any guidance as to what to expect would be greatly appreciated.
 Apologies for the confusing questions.

 Thank you all!


 On Tue, Apr 15, 2014 at 4:44 PM, Timothy Worman li...@thetimmy.comwrote:

 Golipse should install Eclipse 3.8.2, WOLips, and some other tools, etc.

 Tim

 On Apr 15, 2014, at 1:24 PM, Aaron Rosenzweig aa...@chatnbike.com
 wrote:

  Hi Ada,

 Hey sorry… so many responses and we’re all confused.

 I think what you are saying is that you were using Apple Development
 tools including Xcode and WOBuilder to design your apps but now… now you’ve
 upgraded your Mac and you can’t run them anymore…. You sorta know that your
 only choice is to go Eclipse… does this sound like your situation? I’m
 guessing too :-)

 WO 5.4 is pure java. There is nothing to convert.

 When you switch to Eclipse and install the WOLips plugin it will work.
 You don’t need to convert anything.

 Get Eclipse version 3.7.x and WOLips.

 Cheers,
 *AARON ROSENZWEIG* / Chat 'n Bike http://www.chatnbike.com/

 *e:*  aa...@chatnbike.com  *t:*  (301) 956-2319
 [image: Chat 'n Bike][image: Chat 'n Bike]

 On Apr 15, 2014, at 4:16 PM, David LeBer dleber_wo...@codeferous.com
 wrote:

 WebObjects *is* pure java (there is no magic ‘other’ language or
 anything). It is a full web publishing stack.

 If you have a WebObjects application, you are probably talking to a
 database, if so that uses the entity relational mapping layer of WebObjects
 called EOF.

 The display layer of the stack builds UI elements using WOComponents
 (each comprised of a chunk of HTML, it’s associated Java and a bindings
 file (.wod) to tie them together), and has classes to handle session
 management etc.

 If by “pure java” you mean “unencumbered by Apple’s frameworks” then you
 are faced with rewriting your application to use a different ERM layer and
 display layer. Perhaps Tapestry/Cayenne. Regardless, this is not a simple
 undertaking.

 D

 On Apr 15, 2014, at 3:48 PM, Ada mersi...@gmail.com wrote:

 The GUI of the app is in webobjects; there's components which utilize WO.

 I am not sure what to expect if I were to take the code and run it on
 Eclipse without WOLips, I am going to try that soon, but was looking some
 guidance on how to rewrite the GUI (it is rather simple) into Java.


 On Tue, Apr 15, 2014 at 3:30 PM, Chuck Hill ch...@global-village.net
 wrote:
 How is it not pure Java now?

 Chuck


 On 2014-04-15, 12:25 PM, Ada wrote:


 Hello all,

 We're looking to convert one of our WebObjects Apps to pure java.
 Wondering if there's a tool which could help with this process. The
 application is running WO 5.4 on Java 5.

 Any advice would be greatly appreciated

 ___
 Do not 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/dleber_wodev%40codeferous.com

 This email sent to dleber_wo...@codeferous.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:

 

Re: Using type=image on WOSubmitButton

2014-03-11 Thread Lon Varscsak
Without a leading / it's interpreted as relative the current directory,
but since this is an application, it's relative to the application.

-Lon


On Tue, Mar 11, 2014 at 5:42 AM, John Pollard j...@pollardweb.com wrote:

 Hi Alexander,
 Super, that works, src remains as I set it with WOImageButton, many thanks.
 Out of interest, why does WOSubmitButton spot my src=... setting and
 convert it to a WO type resource path?
 Thanks
 John

 On 11 Mar 2014, at 12:23, Alexander Spohr a...@freeport.de wrote:

  Would WOImageButton do what you need?
 
 
  Am 11.03.2014 um 13:17 schrieb John Pollard j...@pollardweb.com:
 
  Hi List,
 
  I am displaying a button with my own image from a webserver image
 resource file by setting type=image and src=path/to/file.jpg on
 WOSubmitButton.
 
  If I set the src attribute, it then gets mangled at some stage to turn
 it into a WO type of path, which fails with ...wodata=ERROR_NOT_FOUND...
 
  I can fix this by using:
 
  otherTagString = src=\path.\
 
  but is there a nicer way to specify the src path of my own choosing,
 without WOSubmitButton trying to turn it into a WO style of resource path?
 
  Thanks
  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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/atze%40freeport.de
 
  This email sent to a...@freeport.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:

 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Items mysteriously disappearing from the destination of a relationship

2014-02-18 Thread Lon Varscsak
Check to see who owns the destination.

-Lon


On Tue, Feb 18, 2014 at 2:57 PM, Jean Pierre Malrieu jp.malr...@free.frwrote:

 I guess I found the cause: a cascade delete rule from the source entity to
 destination entity. I'll set it to nullify and see if it works.

 JPM

 Début du message réexpédié :

 *De: *Jean Pierre Malrieu jp.malr...@free.fr
 *Objet: **Items mysteriously disappearing from the destination of a
 relationship*
 *Date: *18 février 2014 22:40:15 UTC+1
 *À: *WebObjects Development webobjects-dev@lists.apple.com

 Hi,

 I have a D2W app where users edit a many-to-many relationship. The to-many
 is flattened.
 The editing uses a ERD2WEditToManyRelationship component (using a checkbox
 array). Users cannot add new items to the destination entity.
 In deployment, I notice that after a while, the destination item of the
 relationship get progressively deleted. They are not simply removed from
 the relationship: they are removed from the database.
 Strangely this happens even if the items in the joint table are not
 deleted... and I have no cascade delete rule for the relation from the
 joint table to the destination entity.

 I cannot imagine what can produce this phenomenon, and I do not succeed to
 reproduce it in development. Any ideas?

 TIA

 JPM



  ___
 Do not 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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOLips for Eclipse 4.3.1

2014-01-31 Thread Lon Varscsak
There was some wonkiness in the EOModeler tool too.  I vaguely remember
you'd go to edit a field (like class name) and it would clear all the
contents...so it was sort of impossible to work with.  Did that ever get
resolved?


On Fri, Jan 31, 2014 at 7:44 AM, Pascal Robert prob...@macti.ca wrote:

 And Eclipse 4.x full support is one of the recurrent requests in the
 surveys!

 --
 *De: *David Avendasora webobje...@avendasora.com
 *À: *Frank Cobia frank_co...@me.com
 *Cc: *WebObjects-Dev Mailing List List webobjects-dev@lists.apple.com
 *Envoyé: *Vendredi 31 Janvier 2014 09:41:56
 *Objet: *Re: WOLips for Eclipse 4.3.1


 Awesome! I would love to move forward!

 On Jan 31, 2014, at 9:33 AM, Frank Cobia frank_co...@me.com wrote:

 I have been using it for a few weeks now and it seems to be working. I
 will try to get it all cleaned up this weekend and then all I will need it
 help moving it from my personal guthub to the official project guthub.

 Frank


 On Jan 29, 2014, at 10:17 AM, Ken Anderson kenli...@anderhome.com wrote:

 Frank,

 While I volunteered to look at this at the last meeting, I have not had
 the time.  I would love to help, especially if you've gotten something
 going already which would alleviate the dreaded figure it out first
 problem.

 Ken

 On Jan 21, 2014, at 8:00 PM, Frank Cobia frank_co...@me.com wrote:

 I finally got tired of being stuck with Eclipse 3.x and sat dow to figure
 out what was causing the NullPointerException.

 I found the problem and fixed it and built it locally. I have been running
 it for a couple of days now without any problems. However, there are a
 couple of problems with getting this out to everyone:

 1) There were some libraries that were referenced with environment
 variables. I hard coded the paths (It was 4am). I could probably go back
 and fix this myself after a couple of days.

 2) I took out support for JRebel and JProfiler, because I did not want to
 track down any libraries those are dependent on (again it was 4am). Does
 anyone have experience with these parts?

 3) I am not very familiar with Git so I created my own repository (
 https://github.com/fcobia/wolips). Can someone help me get my changes
 moved into the official repository so that jenkins can be successful
 building for Eclipse 4.3?

 Is there anyone interested in having a functioning WOLips for Eclipse 4.3
 that could help me at least with numbers 2 and 3?

 Thanks,
 Frank
 ___
 Do not 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/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:

 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

 This email sent to webobje...@avendasora.com



 --
 *WebObjects** - so easy that even Dave Avendasora can do it!(tm)*
 --
 *David Avendasora*
 Senior Software Abuser
 Nekesto, Inc.






  ___
 Do not 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/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:

 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOFrameworksBaseURL and life :P

2013-08-07 Thread Lon Varscsak
I have some code similar to this (actually so does ERXApplication's
constructor), but even after trying your code...for resources in frameworks
it still ignores this value.  I may be missing something.

-Lon


On Tue, Aug 6, 2013 at 6:53 PM, Aaron Rosenzweig aa...@chatnbike.comwrote:

 Hi Lon,

 It's a bug in WO 5.4.3 that was not there in WO 5.3.3 but there are ways
 to deal with it.

 In your Application.java try adding these lines:

 @Override
 public void setFrameworksBaseURL(String string) {
 // To workaround a WO 5.4 bug we need to take over and forcibly set the
 frameworks base URL
  String defaultURL = /WebObjects/yourAppName.woa/Contents/Frameworks;
 String sysPropsURL = NSProperties.getProperty(WOFrameworksBaseURL);
  String finalURL = defaultURL;
 if (StringUtils.isNotBlank(sysPropsURL)) {
 finalURL = sysPropsURL;
  }
  super.setFrameworksBaseURL(finalURL);
 }
  @Override
 public void setApplicationBaseURL(String aString) {
  // To workaround a WO 5.4 bug we need to take over and forcibly set the
 application base URL
 String defaultURL = /WebObjects;
  String sysPropsURL = NSProperties.getProperty(WOApplicationBaseURL);
 String finalURL = defaultURL;
  if (StringUtils.isNotBlank(sysPropsURL)) {
 finalURL = sysPropsURL;
 }
  super.setApplicationBaseURL(finalURL);
 }

 Cheers,
 -- Aaron


 On Tue, Aug 6, 2013 at 9:15 PM, Lon Varscsak lon.varsc...@gmail.comwrote:

 I'm not sure where to turn here, but it appears there's a bug with the
 way WOnder/WO (which one, I'm not sure…probably WO)
 handles WOFrameworksBaseURL.

 It appears that the resource manager is never returning the right (based
 on WOFrameworksBaseURL) url for resources located inside of frameworks.  It
 only generates urls that look like /WebObjects/app directory
 name/Frameworks.  It's not even using the app's name (which in my case is
 different than the app's directory name)..

 Has anyone ever encountered this?  Any ways around it?

 -Lon

  ___
 Do not 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/aaron%40chatnbike.com

 This email sent to aa...@chatnbike.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: WOFrameworksBaseURL and life :P

2013-08-07 Thread Lon Varscsak
Okay, I've figured out the source of my problem…and, after looking at many
lines of decompiled code…I realized it's not a bug in code. :P

It seems (and I don't know if this is unique to our setup) that when the
application is packaged the script that it generates uses the command line
args (which get passed in from Monitor) and THEN adds it's own version of
-WOFrameworksBaseURL, which ends up negating the one I've been trying to
force in.

I'm not sure where to look on how to overcome this.

-Lon


On Wed, Aug 7, 2013 at 11:06 AM, Lon Varscsak lon.varsc...@gmail.comwrote:

 I have some code similar to this (actually so does ERXApplication's
 constructor), but even after trying your code...for resources in frameworks
 it still ignores this value.  I may be missing something.

 -Lon


 On Tue, Aug 6, 2013 at 6:53 PM, Aaron Rosenzweig aa...@chatnbike.comwrote:

 Hi Lon,

 It's a bug in WO 5.4.3 that was not there in WO 5.3.3 but there are ways
 to deal with it.

 In your Application.java try adding these lines:

 @Override
 public void setFrameworksBaseURL(String string) {
 // To workaround a WO 5.4 bug we need to take over and forcibly set the
 frameworks base URL
  String defaultURL = /WebObjects/yourAppName.woa/Contents/Frameworks;
 String sysPropsURL = NSProperties.getProperty(WOFrameworksBaseURL);
  String finalURL = defaultURL;
 if (StringUtils.isNotBlank(sysPropsURL)) {
 finalURL = sysPropsURL;
  }
  super.setFrameworksBaseURL(finalURL);
 }
  @Override
 public void setApplicationBaseURL(String aString) {
  // To workaround a WO 5.4 bug we need to take over and forcibly set the
 application base URL
 String defaultURL = /WebObjects;
  String sysPropsURL = NSProperties.getProperty(WOApplicationBaseURL);
 String finalURL = defaultURL;
  if (StringUtils.isNotBlank(sysPropsURL)) {
 finalURL = sysPropsURL;
 }
  super.setApplicationBaseURL(finalURL);
 }

 Cheers,
 -- Aaron


 On Tue, Aug 6, 2013 at 9:15 PM, Lon Varscsak lon.varsc...@gmail.comwrote:

 I'm not sure where to turn here, but it appears there's a bug with the
 way WOnder/WO (which one, I'm not sure…probably WO)
 handles WOFrameworksBaseURL.

 It appears that the resource manager is never returning the right (based
 on WOFrameworksBaseURL) url for resources located inside of frameworks.  It
 only generates urls that look like /WebObjects/app directory
 name/Frameworks.  It's not even using the app's name (which in my case is
 different than the app's directory name)..

 Has anyone ever encountered this?  Any ways around it?

 -Lon

  ___
 Do not 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/aaron%40chatnbike.com

 This email sent to aa...@chatnbike.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: WOFrameworksBaseURL and life :P

2013-08-07 Thread Lon Varscsak
The problem is that we have a need to deploy the same application in 2
different ways (resulting in the need for a runtime value set in
WOFrameworksBaseURL.  I was hoping to do it with a property or a arg in
monitor.  If the ant task just swapped the position of it's args and
${COMMAND_LINE_ARGS} it would all work (in theory). :)

-Lon


On Wed, Aug 7, 2013 at 1:17 PM, Hugi Thordarson h...@karlmenn.is wrote:

 You can fix this by changing the frameworksBaseURL attribute in your
 build.xml. It's been wrong for quite a while.

 - hugi


 On 7.8.2013, at 20:04, Lon Varscsak lon.varsc...@gmail.com wrote:

  Okay, I've figured out the source of my problem…and, after looking at
 many lines of decompiled code…I realized it's not a bug in code. :P
 
  It seems (and I don't know if this is unique to our setup) that when the
 application is packaged the script that it generates uses the command line
 args (which get passed in from Monitor) and THEN adds it's own version of
 -WOFrameworksBaseURL, which ends up negating the one I've been trying to
 force in.
 
  I'm not sure where to look on how to overcome this.
 
  -Lon
 
 
  On Wed, Aug 7, 2013 at 11:06 AM, Lon Varscsak lon.varsc...@gmail.com
 wrote:
  I have some code similar to this (actually so does ERXApplication's
 constructor), but even after trying your code...for resources in frameworks
 it still ignores this value.  I may be missing something.
 
  -Lon
 
 
  On Tue, Aug 6, 2013 at 6:53 PM, Aaron Rosenzweig aa...@chatnbike.com
 wrote:
  Hi Lon,
 
  It's a bug in WO 5.4.3 that was not there in WO 5.3.3 but there are ways
 to deal with it.
 
  In your Application.java try adding these lines:
 
@Override
public void setFrameworksBaseURL(String string) {
// To workaround a WO 5.4 bug we need to take over and
 forcibly set the frameworks base URL
String defaultURL =
 /WebObjects/yourAppName.woa/Contents/Frameworks;
String sysPropsURL =
 NSProperties.getProperty(WOFrameworksBaseURL);
String finalURL = defaultURL;
if (StringUtils.isNotBlank(sysPropsURL)) {
finalURL = sysPropsURL;
}
 
super.setFrameworksBaseURL(finalURL);
}
 
@Override
public void setApplicationBaseURL(String aString) {
// To workaround a WO 5.4 bug we need to take over and
 forcibly set the application base URL
String defaultURL = /WebObjects;
String sysPropsURL =
 NSProperties.getProperty(WOApplicationBaseURL);
String finalURL = defaultURL;
if (StringUtils.isNotBlank(sysPropsURL)) {
finalURL = sysPropsURL;
}
 
super.setApplicationBaseURL(finalURL);
  }
 
  Cheers,
  -- Aaron
 
 
  On Tue, Aug 6, 2013 at 9:15 PM, Lon Varscsak lon.varsc...@gmail.com
 wrote:
  I'm not sure where to turn here, but it appears there's a bug with the
 way WOnder/WO (which one, I'm not sure…probably WO) handles
 WOFrameworksBaseURL.
 
  It appears that the resource manager is never returning the right (based
 on WOFrameworksBaseURL) url for resources located inside of frameworks.  It
 only generates urls that look like /WebObjects/app directory
 name/Frameworks.  It's not even using the app's name (which in my case is
 different than the app's directory name)..
 
  Has anyone ever encountered this?  Any ways around it?
 
  -Lon
 
   ___
  Do not 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/aaron%40chatnbike.com
 
  This email sent to aa...@chatnbike.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/hugi%40karlmenn.is
 
  This email sent to h...@karlmenn.is


 ___
Do not 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

WOFrameworksBaseURL and life :P

2013-08-06 Thread Lon Varscsak
I'm not sure where to turn here, but it appears there's a bug with the way
WOnder/WO (which one, I'm not sure…probably WO) handles WOFrameworksBaseURL.

It appears that the resource manager is never returning the right (based on
WOFrameworksBaseURL) url for resources located inside of frameworks.  It
only generates urls that look like /WebObjects/app directory
name/Frameworks.  It's not even using the app's name (which in my case is
different than the app's directory name)..

Has anyone ever encountered this?  Any ways around it?

-Lon
 ___
Do not 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: AjaxModalDialog and AjaxDatePicker

2013-07-31 Thread Lon Varscsak
This does work in modal dialogs, but then causes a problem for me when not
in a modal dialog.  If I scroll on a regular page, the calendar component
moves with the scroller.

-Lon


On Tue, Jul 30, 2013 at 8:24 PM, Theodore Petrosky tedp...@yahoo.comwrote:

 try this CSS:


 body #calendar_control {
  position: fixed !important;
 }

 it worked for me.

 Ted


 
 On Tue, 7/30/13, Lon Varscsak lon.varsc...@gmail.com wrote:

  Subject: Re: AjaxModalDialog and AjaxDatePicker
  To: Chuck Hill ch...@global-village.net
  Cc: webobjects-dev@lists.apple.com webobjects-dev@lists.apple.com
  Date: Tuesday, July 30, 2013, 8:21 PM

  lol, I'm not sure I can
  tell the users that.
  There is this line in the
  calendar.js:

var result =
  [document.viewport.getScrollOffsets().left -
  $(el).cumulativeScrollOffset().left,
  document.viewport.getScrollOffsets().top -
  $(el).cumulativeScrollOffset().top];

  Which results in [0,0] because the
  document's viewport's getScrollOffsets() are the
  same as the element's cumulativeScrollOffset().  If I
  change it to:

var result =
  [document.viewport.getScrollOffsets().left,
  document.viewport.getScrollOffsets().top];

  It displays in the right location.  Scrolling while
  it's displayed will cause it to move since the
  background is moving…but I could live with that.
  I'm just not familiar enough with JS
  to know the ramifications of such a change.

  -Lon

  On Tue, Jul 30, 2013
  at 5:13 PM, Chuck Hill ch...@global-village.net
  wrote:

  We
  see this too.  Don't scroll?  :-)  My guess would be
  absolute vs relative positioning.



  Chuck



  On 2013-07-30, at 4:54 PM, Lon Varscsak wrote:



   Hey all,

  

   I have an AjaxDatePicker on an AjaxModalDialog and am
  running into a bit of trouble.  If the page that is
  launching the AMD is scrolled down at all, the
  AjaxDatePicker is in the wrong location (up at the top as
  though the page hadn't been scrolled).


  

   I can actually scroll (the background) while an AMD is
  open and make it align, but I'm not sure how to deal
  with this.

  

   Any ideas?

  

   Thanks,

  

   Lon

  

   P.S. -- Happens in both Safari and Chrome…default
  CSS.

  
  ___

   Do not 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/chill%40global-village.net

  

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



  --

  Chuck Hill

  Executive Managing Partner, VP Development and Technical
  Services



  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/gvc/practical_webobjects



  Global Village Consulting ranks 13th in 2012 in BIV's
  Top 100 Fastest Growing Companies in B.C!



  Global Village Consulting ranks 44th in 25th annual PROFIT
  500 ranking of Canada’s Fastest-Growing Companies by
  PROFIT Magazine!




























  -Inline Attachment Follows-


  ___
  Do not 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/tedpet5%40yahoo.com

  This email sent to tedp...@yahoo.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: AjaxModalDialog and AjaxDatePicker

2013-07-31 Thread Lon Varscsak
The problem isn't just that it moves when you scroll on an AMD (which
probably shouldn't happen anyway)…it's that when you launch an AMD from a
page that's already scrolled, the AjaxDatePicker starts off in the wrong
position (it's treating it like it's not scrolled).

This isn't the only bad behavior of ADP, it also doesn't close on it's own
when closing the AMD.

I've gone ahead and written a new component based on jQuery UI's datepicker
and it seems to be a better citizen…but time will tell. :P

-Lon


On Wed, Jul 31, 2013 at 10:54 AM, Johnny Miller jlmil...@kahalawai.comwrote:

 Hi Lon,

 I suppose you could add an on scroll event to the document to recalculate
 the position of the calendar.  Maybe add it to the onClick binding and
 remove it using onDateSelect?

   Aloha,   Mr. Johnny Miller
 Web Development Manager
 Kahalawai Media Company
 Lahaina, HI 96761
 tel: (808) 661-7962 | mobile: (808) 283-0791
 website http://www.kahalawai.com | e-mail +jlmil...@kahalawai.com

 On Jul 30, 2013, at 2:21 PM, Lon Varscsak lon.varsc...@gmail.com wrote:

 lol, I'm not sure I can tell the users that.

 There is this line in the calendar.js:

   var result = [document.viewport.getScrollOffsets().left -
 $(el).cumulativeScrollOffset().left,
 document.viewport.getScrollOffsets().top -
 $(el).cumulativeScrollOffset().top];

 Which results in [0,0] because the document's viewport's
 getScrollOffsets() are the same as the element's cumulativeScrollOffset().
  If I change it to:

   var result = [document.viewport.getScrollOffsets().left,
 document.viewport.getScrollOffsets().top];

 It displays in the right location.  Scrolling while it's displayed will
 cause it to move since the background is moving…but I could live with that.

 I'm just not familiar enough with JS to know the ramifications of such a
 change.

 -Lon


 On Tue, Jul 30, 2013 at 5:13 PM, Chuck Hill ch...@global-village.netwrote:

 We see this too.  Don't scroll?  :-)  My guess would be absolute vs
 relative positioning.

 Chuck

 On 2013-07-30, at 4:54 PM, Lon Varscsak wrote:

  Hey all,
 
  I have an AjaxDatePicker on an AjaxModalDialog and am running into a
 bit of trouble.  If the page that is launching the AMD is scrolled down at
 all, the AjaxDatePicker is in the wrong location (up at the top as though
 the page hadn't been scrolled).
 
  I can actually scroll (the background) while an AMD is open and make it
 align, but I'm not sure how to deal with this.
 
  Any ideas?
 
  Thanks,
 
  Lon
 
  P.S. -- Happens in both Safari and Chrome…default CSS.
  ___
  Do not 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/chill%40global-village.net
 
  This email sent to ch...@global-village.net

 --
 Chuck Hill
 Executive Managing Partner, VP Development and Technical Services

 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/gvc/practical_webobjects

 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest
 Growing Companies in B.C!

 Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of
 Canada’s Fastest-Growing Companies by PROFIT Magazine!













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

 This email sent to jlmil...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: AjaxModalDialog and AjaxDatePicker

2013-07-31 Thread Lon Varscsak
haha, well, it's really the fault of the JS library you used.  This is the
first time that I've ever had problems with it…so we got years of use out
of it!

-Lon


On Wed, Jul 31, 2013 at 7:59 PM, Chuck Hill ch...@global-village.netwrote:

 IIRC the ADP is my fault.  It was the best fit that found a few years
 back.  It has been far from problem free though.


 Chuck

 On 2013-07-31, at 7:33 PM, Lon Varscsak wrote:

  The problem isn't just that it moves when you scroll on an AMD (which
 probably shouldn't happen anyway)…it's that when you launch an AMD from a
 page that's already scrolled, the AjaxDatePicker starts off in the wrong
 position (it's treating it like it's not scrolled).
 
  This isn't the only bad behavior of ADP, it also doesn't close on it's
 own when closing the AMD.
 
  I've gone ahead and written a new component based on jQuery UI's
 datepicker and it seems to be a better citizen…but time will tell. :P
 
  -Lon
 
 
  On Wed, Jul 31, 2013 at 10:54 AM, Johnny Miller jlmil...@kahalawai.com
 wrote:
  Hi Lon,
 
  I suppose you could add an on scroll event to the document to
 recalculate the position of the calendar.  Maybe add it to the onClick
 binding and remove it using onDateSelect?
 
  Aloha,
  Mr. Johnny Miller
  Web Development Manager
  Kahalawai Media Company
  Lahaina, HI 96761
  tel: (808) 661-7962 | mobile: (808) 283-0791
  website | e-mail
 
  On Jul 30, 2013, at 2:21 PM, Lon Varscsak lon.varsc...@gmail.com
 wrote:
 
  lol, I'm not sure I can tell the users that.
 
  There is this line in the calendar.js:
 
var result = [document.viewport.getScrollOffsets().left -
 $(el).cumulativeScrollOffset().left,
 document.viewport.getScrollOffsets().top -
 $(el).cumulativeScrollOffset().top];
 
  Which results in [0,0] because the document's viewport's
 getScrollOffsets() are the same as the element's cumulativeScrollOffset().
  If I change it to:
 
var result = [document.viewport.getScrollOffsets().left,
 document.viewport.getScrollOffsets().top];
 
  It displays in the right location.  Scrolling while it's displayed will
 cause it to move since the background is moving…but I could live with that.
 
  I'm just not familiar enough with JS to know the ramifications of such
 a change.
 
  -Lon
 
 
  On Tue, Jul 30, 2013 at 5:13 PM, Chuck Hill ch...@global-village.net
 wrote:
  We see this too.  Don't scroll?  :-)  My guess would be absolute vs
 relative positioning.
 
  Chuck
 
  On 2013-07-30, at 4:54 PM, Lon Varscsak wrote:
 
   Hey all,
  
   I have an AjaxDatePicker on an AjaxModalDialog and am running into a
 bit of trouble.  If the page that is launching the AMD is scrolled down at
 all, the AjaxDatePicker is in the wrong location (up at the top as though
 the page hadn't been scrolled).
  
   I can actually scroll (the background) while an AMD is open and make
 it align, but I'm not sure how to deal with this.
  
   Any ideas?
  
   Thanks,
  
   Lon
  
   P.S. -- Happens in both Safari and Chrome…default CSS.
   ___
   Do not 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/chill%40global-village.net
  
   This email sent to ch...@global-village.net
 
  --
  Chuck Hill
  Executive Managing Partner, VP Development and Technical Services
 
  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/gvc/practical_webobjects
 
  Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest
 Growing Companies in B.C!
 
  Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking
 of Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 
 
 
 
 
 
  ___
  Do not 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/jlmiller%40kahalawai.com
 
  This email sent to jlmil...@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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
  This email sent to ch...@global-village.net

 --
 Chuck Hill
 Executive Managing Partner, VP Development and Technical Services

 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/gvc/practical_webobjects

 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest

Re: AjaxModalDialog and AjaxDatePicker

2013-07-31 Thread Lon Varscsak
Yeah, I'll look at what you have and see if mine is embarassing or not. :P
 I don't have full coverage of the datepicker, but it covers pretty much
all of what ADP did.

-Lon


On Wed, Jul 31, 2013 at 7:48 PM, Johnny Miller jlmil...@kahalawai.comwrote:

 Hi Lon,

 Yeah - the right implementation would be to have the date picker
 position's to be set relative to the input.  I was trying to give you a
 hack.  But if you have a scroll within a scroll I can see how that really
 complicates things.

 I did start on a JQuery framework for WO - there is the beginning of a
 date picker from JQuery UI.  You can see the sample app here:
 http://www.kahalawai.com/JQuery - it's in my fork here:
 https://github.com/johnnykahalawai/wonder/tree/integration

 If your date picker is more developed than mine and you don't mind sharing
 please send me what you have.

 Aloha,
 Mr. Johnny Miller
 Web Development Manager
 Kahalawai Media Company
 Lahaina, HI 96761
 tel: (808) 661-7962 | mobile: (808) 283-0791
 website http://www.kahalawai.com | e-mail +jlmil...@kahalawai.com

 On Jul 31, 2013, at 4:33 PM, Lon Varscsak lon.varsc...@gmail.com wrote:

 The problem isn't just that it moves when you scroll on an AMD (which
 probably shouldn't happen anyway)…it's that when you launch an AMD from a
 page that's already scrolled, the AjaxDatePicker starts off in the wrong
 position (it's treating it like it's not scrolled).

 This isn't the only bad behavior of ADP, it also doesn't close on it's own
 when closing the AMD.

 I've gone ahead and written a new component based on jQuery UI's
 datepicker and it seems to be a better citizen…but time will tell. :P

 -Lon


 On Wed, Jul 31, 2013 at 10:54 AM, Johnny Miller jlmil...@kahalawai.comwrote:

 Hi Lon,

 I suppose you could add an on scroll event to the document to recalculate
 the position of the calendar.  Maybe add it to the onClick binding and
 remove it using onDateSelect?

   Aloha,   Mr. Johnny Miller
 Web Development Manager
 Kahalawai Media Company
 Lahaina, HI 96761
 tel: (808) 661-7962 | mobile: (808) 283-0791
 website http://www.kahalawai.com/ | e-mail +jlmil...@kahalawai.com

 On Jul 30, 2013, at 2:21 PM, Lon Varscsak lon.varsc...@gmail.com wrote:

 lol, I'm not sure I can tell the users that.

 There is this line in the calendar.js:

   var result = [document.viewport.getScrollOffsets().left -
 $(el).cumulativeScrollOffset().left,
 document.viewport.getScrollOffsets().top -
 $(el).cumulativeScrollOffset().top];

 Which results in [0,0] because the document's viewport's
 getScrollOffsets() are the same as the element's cumulativeScrollOffset().
  If I change it to:

   var result = [document.viewport.getScrollOffsets().left,
 document.viewport.getScrollOffsets().top];

 It displays in the right location.  Scrolling while it's displayed will
 cause it to move since the background is moving…but I could live with that.

 I'm just not familiar enough with JS to know the ramifications of such a
 change.

 -Lon


 On Tue, Jul 30, 2013 at 5:13 PM, Chuck Hill ch...@global-village.netwrote:

 We see this too.  Don't scroll?  :-)  My guess would be absolute vs
 relative positioning.

 Chuck

 On 2013-07-30, at 4:54 PM, Lon Varscsak wrote:

  Hey all,
 
  I have an AjaxDatePicker on an AjaxModalDialog and am running into a
 bit of trouble.  If the page that is launching the AMD is scrolled down at
 all, the AjaxDatePicker is in the wrong location (up at the top as though
 the page hadn't been scrolled).
 
  I can actually scroll (the background) while an AMD is open and make
 it align, but I'm not sure how to deal with this.
 
  Any ideas?
 
  Thanks,
 
  Lon
 
  P.S. -- Happens in both Safari and Chrome…default CSS.
  ___
  Do not 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/chill%40global-village.net
 
  This email sent to ch...@global-village.net

 --
 Chuck Hill
 Executive Managing Partner, VP Development and Technical Services

 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/gvc/practical_webobjects

 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest
 Growing Companies in B.C!

 Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking
 of Canada’s Fastest-Growing Companies by PROFIT Magazine!













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

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

AjaxModalDialog and AjaxDatePicker

2013-07-30 Thread Lon Varscsak
Hey all,

I have an AjaxDatePicker on an AjaxModalDialog and am running into a bit of
trouble.  If the page that is launching the AMD is scrolled down at all,
the AjaxDatePicker is in the wrong location (up at the top as though the
page hadn't been scrolled).

I can actually scroll (the background) while an AMD is open and make it
align, but I'm not sure how to deal with this.

Any ideas?

Thanks,

Lon

P.S. -- Happens in both Safari and Chrome…default CSS.
 ___
Do not 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: AjaxModalDialog and AjaxDatePicker

2013-07-30 Thread Lon Varscsak
lol, I'm not sure I can tell the users that.

There is this line in the calendar.js:

  var result = [document.viewport.getScrollOffsets().left -
$(el).cumulativeScrollOffset().left,
document.viewport.getScrollOffsets().top -
$(el).cumulativeScrollOffset().top];

Which results in [0,0] because the document's viewport's getScrollOffsets()
are the same as the element's cumulativeScrollOffset().  If I change it to:

  var result = [document.viewport.getScrollOffsets().left,
document.viewport.getScrollOffsets().top];

It displays in the right location.  Scrolling while it's displayed will
cause it to move since the background is moving…but I could live with that.

I'm just not familiar enough with JS to know the ramifications of such a
change.

-Lon


On Tue, Jul 30, 2013 at 5:13 PM, Chuck Hill ch...@global-village.netwrote:

 We see this too.  Don't scroll?  :-)  My guess would be absolute vs
 relative positioning.

 Chuck

 On 2013-07-30, at 4:54 PM, Lon Varscsak wrote:

  Hey all,
 
  I have an AjaxDatePicker on an AjaxModalDialog and am running into a bit
 of trouble.  If the page that is launching the AMD is scrolled down at all,
 the AjaxDatePicker is in the wrong location (up at the top as though the
 page hadn't been scrolled).
 
  I can actually scroll (the background) while an AMD is open and make it
 align, but I'm not sure how to deal with this.
 
  Any ideas?
 
  Thanks,
 
  Lon
 
  P.S. -- Happens in both Safari and Chrome…default CSS.
  ___
  Do not 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/chill%40global-village.net
 
  This email sent to ch...@global-village.net

 --
 Chuck Hill
 Executive Managing Partner, VP Development and Technical Services

 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/gvc/practical_webobjects

 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest
 Growing Companies in B.C!

 Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of
 Canada’s Fastest-Growing Companies by PROFIT Magazine!













 ___
Do not 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: Still Undecided about coming to WOWODC 2013?

2013-05-21 Thread Lon Varscsak
Now you're banning us from Montreal in the future too?! ;)


On Tue, May 21, 2013 at 3:48 PM, Pascal Robert prob...@macti.ca wrote:

 And last time to enjoy Montreal since I won't organize it next year
 (mainly because of my new job).

  Reasons to Come to WOWODC:
 
  1. Buy Chuck that beer that you owe him
 
  2. Hang out with people that actually understand what you are talking
 about
 
  3. Buy Chuck that Bourbon that you owe him
 
  4. Learn useful things that you will learn in the year ahead
 
  5. Experience the coolest city in North America
 
  6. Much better WiFi: WOWODC will be held at a venue where they guarantee
 10 Mbps and can easily support more than 200 devices!
 
  7. Better Management: This year we have a professional Event Manager
 managing everything (and keeping Pascal sane).
 
  8. Learn about Cayenne as an Open Source alternative
 
  9. If you don't come to WOWODC 2013 you are stupid!
 
  10. http://www.restaurantaupieddecochon.ca/ and many, many more
 
 
  Book.  Your.  Trip.
 
 
  See you there!
  Chuck
 
 
 
  On 2013-05-21, at 5:08 AM, Pascal Robert wrote:
 
  Hi,
 
  If you are coming to WOWODC 2013, don't forget that the cutoff date for
 the room block at the Hilton ends tomorrow (May 22th), so make sure you do
 your reservation today or tomorrow!
 
  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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
  This email sent to ch...@global-village.net
 
  --
  Chuck Hill
  Executive Managing Partner, VP Development and Technical Services
 
  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/gvc/practical_webobjects
 
  Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest
 Growing Companies in B.C!
  Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking
 of Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 
 
 
 
 
  ___
  Do not 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/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:

 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Any interest in WOWODC recordings on DVDs?

2013-02-13 Thread Lon Varscsak
I want mine on 5 1/4 floppies.

-Lon

On Wed, Feb 13, 2013 at 10:18 AM, Pascal Robert prob...@macti.ca wrote:

 Le 2013-02-13 à 11:26, Theodore Petrosky tedp...@yahoo.com a écrit :

 did anyone mention $29 for the videos, $129 for the videos with 
 transcriptions and table of contents.

 No way we can sell a decent branded 32 Gb USB stick for $29 while making a 
 small profit. Yes, we need at least 24 Gb to be able to hold all the 
 recordings since 2008.

 just an idea

 --- On Tue, 2/12/13, Ramsey Gurley rgur...@smarthealth.com wrote:

 From: Ramsey Gurley rgur...@smarthealth.com
 Subject: Re: Any interest in WOWODC recordings on DVDs?
 To: Pascal Robert prob...@macti.ca
 Cc: WebObjects Development webobjects-dev@lists.apple.com
 Date: Tuesday, February 12, 2013, 1:59 PM
 I can't imagine a DVD being worth
 much since it would low res everything down to VGA.
 Squinting at the screencasts are tough enough with
 compression artifacts on the text at regular
 resolution.  Plus all the time recompressing and
 burning... yick.

 Just put the files on a microSD card. Then everyone can
 watch them on their computer/tablet/phone.

 Ramsey

 On Feb 12, 2013, at 11:43 AM, Pascal Robert wrote:

 If we sell the WOWODC recordings on DVDs (as QuickTime
 movies, not as a movie DVD) to raise money for the
 Association, does any of you would buy it? I don't think we
 will add that option is only one or two guys requests it,
 hence the question.
 ___
 Do not 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/rgurley%40smarthealth.com

 This email sent to rgur...@smarthealth.com


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

 This email sent to tedp...@yahoo.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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOCommunity Association is now a non-profit corporation

2013-01-30 Thread Lon Varscsak
Now, how do we take over the world with this? :)

-Lon

On Wed, Jan 30, 2013 at 1:08 PM, Pascal Robert prob...@macti.ca wrote:

 Le 2013-01-30 à 13:38, Beatty, Daniel D CIV NAVAIR, 474300D 
 daniel.bea...@navy.mil a écrit :

 Congratulations Pascal and the Daves,

 No Daves involved in this, maybe that's why it worked :-P Current directors 
 are Chuck, Stephen Smith and myself:

 https://www.ic.gc.ca/app/scr/cc/CorporationsCanada/fdrlCrpDtls.html?corpId=8369305

 This is exciting news and good work.  I encourage continued good work and 
 efforts on this front.  WebObjects and associated technologies have made 
 some unique contributions.  This association looks to be a significant 
 contribution to the community.  May we continue to contribute to both our 
 own community and share with others as good citizens of this cloud/web 
 ecosystem.

 V/R,

 Daniel Beatty, Ph.D.
 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/30/13 8:53 AM, David Aspinall daspin...@global-village.net wrote:

 This link may have some boiler plate content that we can use.

 http://bigonbloor.com/by-law/BIG%20Bylaw%201-%20Final.doc

 David

 Sent from my mobile, where brevity is beautiful.

 On 2013-01-30, at 11:03 AM, Pascal Robert prob...@macti.ca wrote:

 FYI, I got confirmation that the WOCommunity Association is now a non-profit 
 corporation! We still have to open a bank account and write the by-laws, but 
 at least the first part is done.

 If someone wants to contribute or comment the by-laws, I wrote a draft in 
 the wiki:

   http://wiki.wocommunity.org/display/WOCOM/Organization+Incorporation

 Please be aware that we defined two classes of members:

 «

 The corporation is authorized to establish Class A members and Class B 
 members as follows :

 (1) The Class A members shall be entitled to receive notice of and to attend 
 all meetings of the members of the Corporation and each Class A member shall 
 have one (1) vote at each such meeting, except for meetings at which only 
 members of another class are entitled to vote separately as a class.

 (2) Except as otherwise provided by the Canada Not-for-Profit Corporations 
 Act, S.C. 2009, c.23 the Class B members shall not be entitled to receive 
 notice of, attend or vote at meetings of the members of the Corporation.

 »

 The by-laws needs to define who is going in each class.
  ___
 Do not 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/daspinall%40global-village.net

 This email sent to daspin...@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:
 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/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:
 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Eclipse 3.7 or 4.2?

2013-01-30 Thread Lon Varscsak
I switch to 4.2 for a while…but (at least at the time) WOLips
(particulary EOModeler) wasn't really working that great.  I'm using
3.8 now with no issues.

-Lon

On Wed, Jan 30, 2013 at 2:58 PM, Pascal Robert prob...@macti.ca wrote:
 3.7 or 3.8 (WOLips 3.7 works great with 3.8).

 Is everyone still using 3.7, or is 4.2 good to go now?
 ___
 Do not 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/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:
 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Best Current Platform

2013-01-17 Thread Lon Varscsak
Yeah, any flavor of Linux is really the way to go.  I currently host on
Linode using Arch.  But I've worked on deployments that use CentOS as well
as RHEL without any issues.

-Lon

On Thu, Jan 17, 2013 at 12:53 PM, David LeBer
dleber_wo...@codeferous.comwrote:

 We're still happy with Linode.com.

 We went with  Ubuntu.

 D

 On 2013-01-17, at 12:53 PM, Jesse Tayler jtay...@oeinc.com wrote:

 
  I've been happy using AWS, there's some nifty scripts to set up servers
 on the wocommunity somewhere, and once you get the hang of it, it's
 amazingly powerful and easy.
 
  I do see other things being cheaper for sure.
 
 
 
  On Jan 17, 2013, at 12:45 PM, Gino Pacitti ginok...@mac.com wrote:
 
  Hi List
 
  Does anyone have any thoughts on best current platform for WO?
 
  Lots of talk about CentOS, Linux, Amazon etc... but any reason to
 choose apart from client requirement and budget?
 
 
  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:
 
 https://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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 
  This email sent to dleber_wo...@codeferous.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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Model Frameworks and Library Conflict Question

2012-12-05 Thread Lon Varscsak
Yeah, I agree with Chuck.  Have 1 framework…if those types of
dependencies exist, keeping them separate isn't going to provide
anything other than headaches.

-Lon

On Wed, Dec 5, 2012 at 5:59 PM, Chuck Hill ch...@global-village.net wrote:
 Refactor so that you don't have cyclic references.  Or implement EOMöbius.


 Chuck


 On 2012-12-05, at 4:55 PM, James Cicenia wrote:

 I have two frameworks. Each has its own model.

 FrameworkModel1
 FrameworkModel2

 In order for me to see the models I have to import the other's framework.

 This then causes a red explanation point error. Because they are referring 
 to each other.
 How do I get around this?

 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:
 https://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/gvc/practical_webobjects

 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
 Companies in B.C!
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!









  ___
 Do not 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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Code completion for a component's binding

2012-11-15 Thread Lon Varscsak
Create an .api file (it's a tab in WOLips on the component) and put what
bindings you want in there.

-Lon

On Thu, Nov 15, 2012 at 3:14 PM, Johnny Miller jlmil...@kahalawai.comwrote:

 Hi,

 I would like to add code completion to a component the way in WOString it
 will give you a list of suggested number or date formats for the respective
 binding.

 How do you declare this in your component?

 Thanks in advance,

   Aloha,   Mr. Johnny Miller
 Web Development Manager
 Kahalawai Media Company
 Lahaina, HI 96761
 tel: (808) 661-7962 | mobile: (808) 283-0791
 website http://www.kahalawai.com | e-mail +jlmil...@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:

 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Code completion for a component's binding

2012-11-15 Thread Lon Varscsak
Ah, gotcha…yeah for values like dateformat there isn't any completion (that
I know of).  For other values like value it will complete after the $.
 So wo:str value=$myV can complete to myVar.

-Lon

On Thu, Nov 15, 2012 at 4:39 PM, Johnny Miller jlmil...@kahalawai.comwrote:

 Hi Lon,

 Actually, I'm wondering how to add code completion to the value of the
 binding.

 i.e. when you set value of the dateformat binding for WOString the code
 completion will give you a suggested list of possible date formats i.e.
 %m/%d/%y

 I image that could also be set in the .api file but I don't believe WOLips
 supports it?

   Aloha,   Mr. Johnny Miller
 Web Development Manager
 Kahalawai Media Company
 Lahaina, HI 96761
 tel: (808) 661-7962 | mobile: (808) 283-0791
 website http://www.kahalawai.com | e-mail +jlmil...@kahalawai.com

 On Nov 15, 2012, at 1:30 PM, Lon Varscsak lon.varsc...@gmail.com wrote:

 Create an .api file (it's a tab in WOLips on the component) and put what
 bindings you want in there.

 -Lon

 On Thu, Nov 15, 2012 at 3:14 PM, Johnny Miller jlmil...@kahalawai.comwrote:

 Hi,

 I would like to add code completion to a component the way in WOString it
 will give you a list of suggested number or date formats for the respective
 binding.

 How do you declare this in your component?

 Thanks in advance,

   Aloha,   Mr. Johnny Miller
 Web Development Manager
 Kahalawai Media Company
 Lahaina, HI 96761
 tel: (808) 661-7962 | mobile: (808) 283-0791
 website http://www.kahalawai.com/ | e-mail +jlmil...@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:

 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WOWODC 2013?

2012-10-17 Thread Lon Varscsak
I heard you guys are holding it in Arizona this year? ;)

-Lon

On Wed, Oct 17, 2012 at 6:17 PM, Pascal Robert prob...@macti.ca wrote:

 Hi guys,

 Looking at the feedback we have every year, and it seems that the most
 important thing to fix is WiFi. So that means we will have to move the
 event to a larger hotel (Hilton, Delta, etc.), so you know what that means:
 higher costs. But if WiFi is important, we don't have the choice.

 But I'm wondering if people still care about WOWODC. Should we continue
 the event?


  ___
 Do not 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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WOWODC 2013?

2012-10-17 Thread Lon Varscsak
I approve of any location with beaches and beautiful girls.

-Lon

On Wed, Oct 17, 2012 at 7:05 PM, Pascal Robert prob...@macti.ca wrote:

 Well, it you are willing to organize it…

  WOWODC '13 Brazil: beaches, beautiful girls... and no LTE (yet)!
 
 
  On 17/10/2012, at 22:44, Pascal Robert wrote:
 
  The Big Four (Rogers, Fido, Bell, Telus) have LTE, and it's fast (got
 24 Mbps up/15 Mbps down in downtown).
 
  In fact, we had my iPad and 2 other iPads on LTE to help a bit, but I
 was thinking the limit was 15 users for sharing, not 5 :-/
 
  Do they have LTE in Canada?  ;)
 
  On Oct 17, 2012, at 9:32 PM, David LeBer dleber_wo...@codeferous.com
 wrote:
 
 
  coughlte-enabled-iphone5-intenet-sharing/cough
 
 
  On 2012-10-17, at 9:24 PM, Chuck Hill ch...@global-village.net
 wrote:
 
  We could make it a WIFI-free event and let people concentrate on the
 presentations instead of their laptops!  I wonder how long people could
 last before ducking out for a WIFI break  :-P
 
 
  Chuck
 
 
  On 2012-10-17, at 6:17 PM, Pascal Robert wrote:
 
  Hi guys,
 
  Looking at the feedback we have every year, and it seems that the
 most important thing to fix is WiFi. So that means we will have to move
 the event to a larger hotel (Hilton, Delta, etc.), so you know what that
 means: higher costs. But if WiFi is important, we don't have the choice.
 
  But I'm wondering if people still care about WOWODC. Should we
 continue the event?
 
 
  ___
  Do not 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/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/gvc/practical_webobjects
 
  Global Village Consulting ranks 13th in 2012 in BIV's Top 100
 Fastest Growing Companies in B.C!
  Global Village Consulting ranks 76th in 24th annual PROFIT 200
 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 
 
  ___
  Do not 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/dleber_wodev%40codeferous.com
 
  This email sent to dleber_wo...@codeferous.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/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:
 
 https://lists.apple.com/mailman/options/webobjects-dev/flavio%40donadio.com.br
 
  This email sent to fla...@donadio.com.br
 
 
  ___
  Do not 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/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:

 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Trouble with ERXLocalizer and currencies

2012-10-10 Thread Lon Varscsak
Hey all,

I'm working with an app that's setup to do two languages (English and
Japanese) and am working on some code to localize currencies (just
formatting).  I've added a key to both the English and Japanese
Localizable.strings files and reference those keys in numberformat
declarations.

This mostly works okay. :)  For Japanese, everything is fine...the Yen
symbol in the format string is represented properly.  The problem I'm
having is with the dollar sign symbol…which, when formatted by
NSNumberFormatter converts to an international currency symbol.

It looks like when ERXLocalizer creates it's NSNumberFormatters it
sets the localizesPattern property to true, which then tells the
formatter to replace $ with the Locale's country's appropriate
currency symbol (plus some other formatting features).

The problem is that the Locales that ERXLocalizer creates don't really
have enough information to have NSNumberFormatter's localizesPattern
logic to work properly.  Since it creates Locale's based soley on
language, and never a country, the $ replacement logic defaults to the
international format.

I would argue that ERXLocalizer shouldn't be setting
NSNumberFormatter's localizesPatterns property to true, since it's
never going to have a country.  Or, ERXLocalizer needs to support
Locale properties that are more than just the short language.  en_US
for example, still just equates to a Locale without a country (not
equivalent to Locale.US).

Any thoughts or ideas on how to work around this?

-Lon

 ___
Do not 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: WOLips 4.2 and Eclipse 4.2.1

2012-10-08 Thread Lon Varscsak
I left off an important bit.  This exception happens when trying to
install WOLips from the update site listed).

-Lon

On Mon, Oct 8, 2012 at 5:07 PM, Lon Varscsak lon.varsc...@gmail.com wrote:
 Hey all, I'm running (or trying to) Eclipse 4.2.1 with WOLips 4.2
 (from 
 http://jenkins.wocommunity.org/job/WOLips42/lastSuccessfulBuild/artifact/temp/dist/)..but
 I get an error with this stacktrace:

 org.eclipse.equinox.p2.core.ProvisionException: Unexpected exception
 while loading 
 http://jenkins.wocommunity.org/job/WOLips42/lastSuccessfulBuild/artifact/temp/dist.
 at 
 org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:66)
 at 
 org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
 at 
 org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
 at 
 org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
 at 
 org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
 at 
 org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
 at 
 org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:412)
 at 
 org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:120)
 at 
 org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:70)
 at 
 org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:34)
 at 
 org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
 Caused by: java.lang.IllegalArgumentException
 at java.net.URI.create(URI.java:841)
 at 
 org.eclipse.equinox.internal.p2.updatesite.UpdateSite.internalGetURI(UpdateSite.java:427)
 at 
 org.eclipse.equinox.internal.p2.updatesite.UpdateSite.getSiteFeatureURI(UpdateSite.java:347)
 at 
 org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeaturesFromSite(UpdateSite.java:530)
 at 
 org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeatures(UpdateSite.java:437)
 at 
 org.eclipse.equinox.internal.p2.updatesite.RemoteFeaturesAction.perform(RemoteFeaturesAction.java:39)
 at 
 org.eclipse.equinox.internal.p2.updatesite.RemoteUpdateSiteAction.perform(RemoteUpdateSiteAction.java:50)
 at 
 org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:207)
 at 
 org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:237)
 at 
 org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.generateMetadata(UpdateSiteMetadataRepositoryFactory.java:120)
 at 
 org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.initializeRepository(UpdateSiteMetadataRepositoryFactory.java:105)
 at 
 org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:59)
 ... 11 more
 Caused by: java.net.URISyntaxException: Illegal character in path at
 index 50: features/org.objectstyle.wolips.feature_4.2.201210 3.5.jar
 at java.net.URI$Parser.fail(URI.java:2810)
 at java.net.URI$Parser.checkChars(URI.java:2983)
 at java.net.URI$Parser.parseHierarchical(URI.java:3067)
 at java.net.URI$Parser.parse(URI.java:3025)
 at java.net.URI.init(URI.java:577)
 at java.net.URI.create(URI.java:839)
 ... 22 more

 Any ideas?

 Thanks,

 Lon
 ___
Do not 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: WOLips 4.2 and Eclipse 4.2.1

2012-10-08 Thread Lon Varscsak
Yay!  You're a rockstar…thanks!

-Lon

On Mon, Oct 8, 2012 at 5:23 PM, Pascal Robert prob...@macti.ca wrote:
 Was the same problem as the 37Stable build, the version had a space in it. 
 Fixed two minutes ago.

 I left off an important bit.  This exception happens when trying to
 install WOLips from the update site listed).

 -Lon

 On Mon, Oct 8, 2012 at 5:07 PM, Lon Varscsak lon.varsc...@gmail.com wrote:
 Hey all, I'm running (or trying to) Eclipse 4.2.1 with WOLips 4.2
 (from 
 http://jenkins.wocommunity.org/job/WOLips42/lastSuccessfulBuild/artifact/temp/dist/)..but
 I get an error with this stacktrace:

 org.eclipse.equinox.p2.core.ProvisionException: Unexpected exception
 while loading 
 http://jenkins.wocommunity.org/job/WOLips42/lastSuccessfulBuild/artifact/temp/dist.
at 
 org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:66)
at 
 org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at 
 org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
at 
 org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
at 
 org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at 
 org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at 
 org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:412)
at 
 org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:120)
at 
 org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:70)
at 
 org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:34)
at 
 org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
 Caused by: java.lang.IllegalArgumentException
at java.net.URI.create(URI.java:841)
at 
 org.eclipse.equinox.internal.p2.updatesite.UpdateSite.internalGetURI(UpdateSite.java:427)
at 
 org.eclipse.equinox.internal.p2.updatesite.UpdateSite.getSiteFeatureURI(UpdateSite.java:347)
at 
 org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeaturesFromSite(UpdateSite.java:530)
at 
 org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeatures(UpdateSite.java:437)
at 
 org.eclipse.equinox.internal.p2.updatesite.RemoteFeaturesAction.perform(RemoteFeaturesAction.java:39)
at 
 org.eclipse.equinox.internal.p2.updatesite.RemoteUpdateSiteAction.perform(RemoteUpdateSiteAction.java:50)
at 
 org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:207)
at 
 org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:237)
at 
 org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.generateMetadata(UpdateSiteMetadataRepositoryFactory.java:120)
at 
 org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.initializeRepository(UpdateSiteMetadataRepositoryFactory.java:105)
at 
 org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:59)
... 11 more
 Caused by: java.net.URISyntaxException: Illegal character in path at
 index 50: features/org.objectstyle.wolips.feature_4.2.201210 3.5.jar
at java.net.URI$Parser.fail(URI.java:2810)
at java.net.URI$Parser.checkChars(URI.java:2983)
at java.net.URI$Parser.parseHierarchical(URI.java:3067)
at java.net.URI$Parser.parse(URI.java:3025)
at java.net.URI.init(URI.java:577)
at java.net.URI.create(URI.java:839)
... 22 more

 Any ideas?

 Thanks,

 Lon
 ___
 Do not 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/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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Problem EOEditingContext

2012-07-12 Thread Lon Varscsak
Oh, I like that!

-Lon

On Thu, Jul 12, 2012 at 3:26 PM, Maik Musall m...@selbstdenker.ag wrote:

 Am 12.07.2012 um 23:58 schrieb Louis Demers:
 User newUser = (User)EOUtilities.createAndInsertInstance(ec, 
 User.ENTITY_NAME) ;

 Much too wordy for my taste, and needs a cast on top of it. Just add a second 
 constructor in your template which does ec.insertObject(this), so that you 
 can simply use

 User newUser = new User( ec );

 Do not delete the parameter-less constructor though, because EOF needs that 
 internally when restoring objects from db. But refrain from using that 
 anywhere in your app.

 Maik
  ___
 Do not 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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Different Database Connection per session for the same model

2012-06-18 Thread Lon Varscsak
Here's how I implemented it (it's actually quite simple):


In Session.java:



 public ERXObjectStoreCoordinator defaultObjectStoreCoordinator() {

return defaultObjectStoreCoordinator;

}

 public void setDefaultObjectStoreCoordinator(ERXObjectStoreCoordinator
defaultObjectStoreCoordinator) {

if (this.defaultObjectStoreCoordinator != null 
this.defaultObjectStoreCoordinator != defaultObjectStoreCoordinator) {

this.defaultObjectStoreCoordinator.dispose();

this.defaultObjectStoreCoordinator = null;

 System.gc();

}

 this.defaultObjectStoreCoordinator = defaultObjectStoreCoordinator;

}

 public static class OneConnectionPerSessionFactory extends
ERXEC.DefaultFactory {

public OneConnectionPerSessionFactory() {

super();

}



@Override

public EOEditingContext _newEditingContext() {

return _newEditingContext(true);

}



@Override

public EOEditingContext _newEditingContext(boolean validationEnabled) {

EOObjectStore os =
((Session)ERXSession.session()).defaultObjectStoreCoordinator();

EOEditingContext ec = _newEditingContext(os, validationEnabled);


return ec;

}

}


@Override

public void terminate() {

setDefaultObjectStoreCoordinator(null); //this will cause a logout from
the database



super.terminate();

}

In Application.java:


 public Application() {

ERXApplication.log.info(Welcome to  + name() +  !);


  ERXEC.setFactory(new Session.OneConnectionPerSessionFactory());

}

Basically, every where ERXEC.newEditingContext() is used it should use your
new factory. I can't remember where I got this from…probably Mike…because I
am not smart enough to figure this out (although I do get lucky every now
and then :D).  You should be able to use defaultEditingContext without
worry too…although I rarely use it.


-Lon
 ___
Do not 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: I am going to write a WO book

2012-06-08 Thread Lon Varscsak
I felt left out. :P  +1

Long live WOnder!

On Fri, Jun 8, 2012 at 11:57 AM, Kieran Kelleher kelleh...@gmail.com wrote:
 +1.

 On Jun 8, 2012, at 1:16 PM, Chuck Hill wrote:

 +1

 There is no sense in writing a pure WO app these days, IMO.


 On 2012-06-08, at 9:55 AM, Pascal Robert wrote:

 +1

 Aren't pure Apple WO apps dead aside from legacy?

 IMO wonder is the ONLY option to learn new.
 ___
 Do not 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/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:
 https://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/gvc/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:
 https://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:
 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: AjaxSortableList goes bad on second row movement.

2012-06-06 Thread Lon Varscsak
listItemIDKeyPath should be a key path to a unique id that represents
the object.

-Lon

On Wed, Jun 6, 2012 at 6:16 AM, James Cicenia ja...@jimijon.com wrote:
 Hello-

 My list works great on the first use. Move a row. Perfect.
 However, when you move a second row, the saved sort goes all fubar'd.

 I have a basic setup and my action code is as follows:

 public WOActionResults sortList(){
 for(int i=0;itheList.count();i++){
 EOEnterpriseObject object = (EOEnterpriseObject) theList.objectAtIndex(i);
 object.takeValueForKey(new Integer( i+1), sequenceOrder);
 }
 ec().saveChanges();
 return null;
 }

 My Bindings:

 Sortable: AjaxSortableList {
 list = theList;
 item = theItem;
 listItemIDKeyPath = sequenceOrder;
 id = list-container-id;
 listClass = sortableList;
 listItemClass = sortableListItem;
 ghosting = true;
 action = sortList;
 index = index;
 handle = sub-col-item drag;
 }

 Does this all look correct, wrong, or I should be looking somewhere else for
 my issue?

 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Ajax and multiple file uploads

2012-05-15 Thread Lon Varscsak
Hey All,

I need a way to upload multiple files (assuming the browser supports
it) and give an ajax status of what's going on (like a progress of #
of files 1/2, etc).  I can't really find many references to this type
of thing which either means it's incredibly simple so there's no need
to discuss it or that's it's insane to even attempt. :P

Any ideas would be appreciated.

Thanks,

Lon
 ___
Do not 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: WOWODC 2012 tickets

2012-04-05 Thread Lon Varscsak
So I'm choosing to hear that the new price is $5US…that is awesome! ;)

-Lon

On Thu, Apr 5, 2012 at 12:44 PM, Pascal Robert prob...@macti.ca wrote:
 Since I had people asking me about tickets sale, they will go on sale next 
 week. Please note that the Web site said (until yesterday) that it was $480 
 in Canadian dollars, but we will have to use a bank account in US dollars, so 
 we had to change the currency to USD and the price go up by $5 for WOWODC and 
 $10 for the boot camp.

 The early bird cutoff also been extended, instead of May 1st it will be May 
 14th.

 More details next week (and Happy Easter).


  ___
 Do not 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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: AjaxModalDialog

2012-01-03 Thread Lon Varscsak
I believe you need to create this AMD outside of the form, and then use an
AjaxModalDialogOpener inside the form to open it.

-Lon

On Tue, Jan 3, 2012 at 6:12 AM, Jérémy DE ROYER [INGENCYS] 
jeremy.dero...@ingencys.net wrote:

 Hello,

 We used the Ajax framework with webobjects 5.3 and since I updated to
 version 5.4 (last month), some AjaxModalDialog doesn't work anymore...
 those that are inserted in a WOForm.

 Doesn't work means that a click on the submit button generates the
 javascript error below :

 Erreur : form is null
 Fichier Source :
 http://jeremy.local:51000/cgi-bin/WebObjects/TestIndeXys_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLibraryFrameworksWebObjects54%2FAjax.framework%2FWebServerResources%2Fwonder.js
 Ligne : 379

 I digged into the html code and found that the WOForm inside the
 AjaxModalDialog (code below) is not generated id the modal dialog is
 already in a WOForm... so the AjaxSubmitButton (javascript) can not send
 the form.

 But sometimes (example : opening a wizard inside a component inside a
 form), the modal dialog contained in a component has to be in a form
 because the parent contains a form.

 Worked like a charm with wo 5.3 no more with wo 5.4

 Any idea ?

 Jérémy

 --

 webobject name = AjaxModalDialog
 webobject name = WOForm
 pwebobject name = AjaxSubmitButton //p
 /webobject
 /webobject


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

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

 This email sent to lon.varsc...@gmail.com


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

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


Re: AjaxModalDialog

2012-01-03 Thread Lon Varscsak
Ah, yes, I see what you're describing.  I've encountered that before too,
so I remove the form from the enclosed component, and just have to know
that that component requires being wrapped in a WOForm.

-Lon

On Tue, Jan 3, 2012 at 10:31 AM, Jérémy DE ROYER [INGENCYS] 
jeremy.dero...@ingencys.net wrote:

 Yep, that's what I did for most of them.

 But some are included in components (record form) and those components are
 included in forms (edit pages) ... and that's hard to change.

 Jérémy

 Le 3 janv. 2012 à 17:49, Lon Varscsak a écrit :

 I believe you need to create this AMD outside of the form, and then use an
 AjaxModalDialogOpener inside the form to open it.

 -Lon

 On Tue, Jan 3, 2012 at 6:12 AM, Jérémy DE ROYER [INGENCYS] 
 jeremy.dero...@ingencys.net wrote:

 Hello,

 We used the Ajax framework with webobjects 5.3 and since I updated to
 version 5.4 (last month), some AjaxModalDialog doesn't work anymore...
 those that are inserted in a WOForm.

 Doesn't work means that a click on the submit button generates the
 javascript error below :

 Erreur : form is null
 Fichier Source :
 http://jeremy.local:51000/cgi-bin/WebObjects/TestIndeXys_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLibraryFrameworksWebObjects54%2FAjax.framework%2FWebServerResources%2Fwonder.js
 Ligne : 379

 I digged into the html code and found that the WOForm inside the
 AjaxModalDialog (code below) is not generated id the modal dialog is
 already in a WOForm... so the AjaxSubmitButton (javascript) can not send
 the form.

 But sometimes (example : opening a wizard inside a component inside a
 form), the modal dialog contained in a component has to be in a form
 because the parent contains a form.

 Worked like a charm with wo 5.3 no more with wo 5.4

 Any idea ?

 Jérémy

 --

 webobject name = AjaxModalDialog
  webobject name = WOForm
  pwebobject name = AjaxSubmitButton //p
  /webobject
 /webobject


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

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

 This email sent to lon.varsc...@gmail.com




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

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


Accessing a D2WContext from a non-D2W Component

2011-11-02 Thread Lon Varscsak
Is there a way to access the D2WContext in a non-D2W component that
contains a D2W component such as ERXD2WInspect?

Thanks,

Lon
 ___
Do not post admin requests to the list. They will 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: Accessing a D2WContext from a non-D2W Component

2011-11-02 Thread Lon Varscsak
Well, in one situation I want to manipulate displayPropertyKeys
without having to create a bunch more rules (I feel like I'm
duplicating code when I do that).  I'm pretty sure I'm fighting the
framework on this one and need to just drink the rule cool-aid
(regardless of whether it creates more work for someone later on :P).

-Lon

On Wed, Nov 2, 2011 at 5:34 PM, Ramsey Gurley rgur...@smarthealth.com wrote:
 Hi Lon,

 It doesn't look like that class has a D2W context at all.  It basically just 
 wraps a D2W page component with a switch.  You could create a new context and 
 give it the same pageConfiguration and object, but I'll guess you want 
 something else. What are you trying to determine from the nested component's 
 d2wContext?

 Ramsey


 On Nov 2, 2011, at 5:02 PM, Lon Varscsak wrote:

 Is there a way to access the D2WContext in a non-D2W component that
 contains a D2W component such as ERXD2WInspect?

 Thanks,

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

 This email sent to rgur...@smarthealth.com


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

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


Re: Accessing a D2WContext from a non-D2W Component

2011-11-02 Thread Lon Varscsak
Yeah, sorry...I'm a d2w newb so it's hard to explain.  I have been
advised that basically I shouldn't do what I was trying to do though.
:P

Thanks for trying to help though!

-Lon

On Wed, Nov 2, 2011 at 6:05 PM, Ramsey Gurley rgur...@smarthealth.com wrote:
 So you want to click something in the inspect page, have it reload the 
 current page or do some kind of ajax update, and do so with new 
 displayPropertyKeys?

 You could do something like that with a custom ERDActionButton or with a 
 branch delegate.  In either case, you could reach out to context().page() and 
 set whatever you want there or set something on the session to let the outer 
 page know about the change.  ERXThreadLocal would probably work too.

 Sorta hard to say without more specific info though.

 Ramsey

 On Nov 2, 2011, at 5:48 PM, Lon Varscsak wrote:

 Well, in one situation I want to manipulate displayPropertyKeys
 without having to create a bunch more rules (I feel like I'm
 duplicating code when I do that).  I'm pretty sure I'm fighting the
 framework on this one and need to just drink the rule cool-aid
 (regardless of whether it creates more work for someone later on :P).

 -Lon

 On Wed, Nov 2, 2011 at 5:34 PM, Ramsey Gurley rgur...@smarthealth.com 
 wrote:
 Hi Lon,

 It doesn't look like that class has a D2W context at all.  It basically 
 just wraps a D2W page component with a switch.  You could create a new 
 context and give it the same pageConfiguration and object, but I'll guess 
 you want something else. What are you trying to determine from the nested 
 component's d2wContext?

 Ramsey


 On Nov 2, 2011, at 5:02 PM, Lon Varscsak wrote:

 Is there a way to access the D2WContext in a non-D2W component that
 contains a D2W component such as ERXD2WInspect?

 Thanks,

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

 This email sent to rgur...@smarthealth.com




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

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


Re: Long time no write…and a problem with Unbound classpath container

2011-10-14 Thread Lon Varscsak
Yes, that's what it was!  I upgraded Xcode from the beta.  Thanks!
I'll take David's advice and move them from now on. :)

-Lon


On Fri, Oct 14, 2011 at 9:17 AM, Matteo Centro woli...@matteocentro.it wrote:
 Hi, I'm pretty sure my frameworks disappeared only when i deinstalled 
 developer tools using the uninstall script, not upgrading Lion...

 Matteo

 Sent from my iPad

 On 11/ott/2011, at 21:35, Chuck Hill ch...@global-village.net wrote:

 +1


 On 2011-10-11, at 12:13 PM, David LeBer wrote:

 That's why I keep all my frameworks in a custom location.

 On 2011-10-11, at 3:11 PM, Lon Varscsak wrote:

 No, they stopped working too.  It's like the WO Frameworks got
 deleted.  But only the frameworks, the rest of the WO install was
 fine.  I reinstalled WO and all is well in the world, I'm just stumped
 as to why they would magically disappear.  The only thing I can think
 I've done since my last project was to run Software Update (and I
 think there was an updated version of Lion).  It'd be a shame if it
 cleaned it's /System/Library/Frameworks on every update.

 -Lon

 On Tue, Oct 11, 2011 at 12:08 PM, David LeBer
 dleber_wo...@codeferous.com wrote:
 Do any of your previous projects still work?

 If they do, where does the WOLips Properties File specified in Eclipse - 
 WOLips - WOLips Properties File say your frameworks should be?

 D

 On 2011-10-11, at 2:50 PM, Lon Varscsak wrote:

 Hey, it's been 8 months since I've left my long-time company of
 SmartHealth and have mostly been out of the WO space since.  I have
 done a few projects for my old employer, so I'm not completely rusty.

 However… :)

 I went to start a new project today, and I'm getting Unbound
 classpath container errors on all of the WO Frameworks.  My
 ~/Library/Application\ Support/WOLips/wolips.properties seems fine.
 Although, I can't seem to find the WO Frameworks anywhere. :)  So I'm
 assuming that is the issue.

 The weird thing is, that the last project I did worked fine and
 haven't removed WO from my machine.  I am running Lion (although I'm
 positive I upgraded to this before my last project).

 Any reason why the system would delete frameworks?  Maybe after a
 software update?

 -Lon


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









 --
 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/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/wolists%40matteocentro.it

 This email sent to woli...@matteocentro.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/lon.varscsak%40gmail.com

 This email sent to lon.varsc...@gmail.com

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

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


Long time no write…and a problem with Unbound classpath container

2011-10-11 Thread Lon Varscsak
Hey, it's been 8 months since I've left my long-time company of
SmartHealth and have mostly been out of the WO space since.  I have
done a few projects for my old employer, so I'm not completely rusty.

However… :)

I went to start a new project today, and I'm getting Unbound
classpath container errors on all of the WO Frameworks.  My
~/Library/Application\ Support/WOLips/wolips.properties seems fine.
Although, I can't seem to find the WO Frameworks anywhere. :)  So I'm
assuming that is the issue.

The weird thing is, that the last project I did worked fine and
haven't removed WO from my machine.  I am running Lion (although I'm
positive I upgraded to this before my last project).

Any reason why the system would delete frameworks?  Maybe after a
software update?

-Lon
 ___
Do not post admin requests to the list. They will 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: Long time no write…and a problem with Unbound classpath container

2011-10-11 Thread Lon Varscsak
No, they stopped working too.  It's like the WO Frameworks got
deleted.  But only the frameworks, the rest of the WO install was
fine.  I reinstalled WO and all is well in the world, I'm just stumped
as to why they would magically disappear.  The only thing I can think
I've done since my last project was to run Software Update (and I
think there was an updated version of Lion).  It'd be a shame if it
cleaned it's /System/Library/Frameworks on every update.

-Lon

On Tue, Oct 11, 2011 at 12:08 PM, David LeBer
dleber_wo...@codeferous.com wrote:
 Do any of your previous projects still work?

 If they do, where does the WOLips Properties File specified in Eclipse - 
 WOLips - WOLips Properties File say your frameworks should be?

 D

 On 2011-10-11, at 2:50 PM, Lon Varscsak wrote:

 Hey, it's been 8 months since I've left my long-time company of
 SmartHealth and have mostly been out of the WO space since.  I have
 done a few projects for my old employer, so I'm not completely rusty.

 However… :)

 I went to start a new project today, and I'm getting Unbound
 classpath container errors on all of the WO Frameworks.  My
 ~/Library/Application\ Support/WOLips/wolips.properties seems fine.
 Although, I can't seem to find the WO Frameworks anywhere. :)  So I'm
 assuming that is the issue.

 The weird thing is, that the last project I did worked fine and
 haven't removed WO from my machine.  I am running Lion (although I'm
 positive I upgraded to this before my last project).

 Any reason why the system would delete frameworks?  Maybe after a
 software update?

 -Lon


 --
 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/archive%40mail-archive.com

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


Re: Long time no write…and a problem with Unbound classpath container

2011-10-11 Thread Lon Varscsak
Okay, that's a good idea (just never had to do it before).  Any
gotchas I need to know about before attempting that?

-Lon

On Tue, Oct 11, 2011 at 12:13 PM, David LeBer
dleber_wo...@codeferous.com wrote:
 That's why I keep all my frameworks in a custom location.

 On 2011-10-11, at 3:11 PM, Lon Varscsak wrote:

 No, they stopped working too.  It's like the WO Frameworks got
 deleted.  But only the frameworks, the rest of the WO install was
 fine.  I reinstalled WO and all is well in the world, I'm just stumped
 as to why they would magically disappear.  The only thing I can think
 I've done since my last project was to run Software Update (and I
 think there was an updated version of Lion).  It'd be a shame if it
 cleaned it's /System/Library/Frameworks on every update.

 -Lon

 On Tue, Oct 11, 2011 at 12:08 PM, David LeBer
 dleber_wo...@codeferous.com wrote:
 Do any of your previous projects still work?

 If they do, where does the WOLips Properties File specified in Eclipse - 
 WOLips - WOLips Properties File say your frameworks should be?

 D

 On 2011-10-11, at 2:50 PM, Lon Varscsak wrote:

 Hey, it's been 8 months since I've left my long-time company of
 SmartHealth and have mostly been out of the WO space since.  I have
 done a few projects for my old employer, so I'm not completely rusty.

 However… :)

 I went to start a new project today, and I'm getting Unbound
 classpath container errors on all of the WO Frameworks.  My
 ~/Library/Application\ Support/WOLips/wolips.properties seems fine.
 Although, I can't seem to find the WO Frameworks anywhere. :)  So I'm
 assuming that is the issue.

 The weird thing is, that the last project I did worked fine and
 haven't removed WO from my machine.  I am running Lion (although I'm
 positive I upgraded to this before my last project).

 Any reason why the system would delete frameworks?  Maybe after a
 software update?

 -Lon


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









 --
 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/archive%40mail-archive.com

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


Re: WO5 position open at SmartPractice (Phoenix, AZ)!

2010-11-29 Thread Lon Varscsak
FYI, I incorrectly stated that resumes should be emailed (apparently that
email address is dead according to HR) and resumes should be posted at
http://www.oursmartjobs.com/.

Sorry for the confusion!  If you emailed your resume, please resubmit.

Thanks,

Lon

On Mon, Nov 8, 2010 at 4:12 PM, Lon Varscsak varsc...@smarthealth.comwrote:

 SmartPractice, Inc. is a family owned enterprise consisting of a number of
 affiliate companies serving specific vertical markets. For nearly 40 years,
 the SmartPractice family of companies has been a diversified organization
 providing practice management and patient communication solutions to clients
 throughout the healthcare community.

 The Software Engineering group is looking for a Senior WebObjects Engineer
 with at least 5+ years of experience in WebObjects 5 to help build/support
 applications for our diverse companies.

 This individual will report to the Director of Software Engineering (me)
 and be responsible for (but not limited to) the following tasks:

 * Being creative.
 * Being an independent thinker, but open to others' ideas.
 * Being a good trouble shooter and problem solver.
 * Knowing how to balance between over engineering and doing something
 quickly (and knowing the risks/benefits of either approach).
 * Being productive with little guidance (a self starter).
 * Working well on a small team and as part of a larger organization.
 * Learning something new every day and teaching those around you.
 * Building/supporting/enhancing WebObjects 5 (Java) applications.
 * Participate in project planning and estimation.
 * Mentor other developers, help set direction for best practices and
 improve the development environment.
 * Oversee the design, development and testing of assigned projects.
 * Learn business processes and how they interact with systems.  This
 includes analyzing project specifications (and I use that term lightly) to
 make sure that the technical implementation marries well with the business
 objectives as laid out by the project managers.
 * Learn business data structures, how they relate to each other, and how to
 utilize them fully within a project.  This includes reading SQL (PostgreSQL
 and Sybase specifically) to understand existing applications and writing SQL
 so that it is optimal for database/application performance.

 We are a technologically diverse company so it's impossible to list
 everything this person could possibly work on.  Please take the time to look
 at some of our existing eCommerce sites and companies (be gentle) to get a
 better sense.

 http://www.practicemojo.com  (this website and the product that goes along
 with it is the primary focus of this position)
 http://www.smartscrubs.com

 These are still in WO4/Obj-C!:

 http://www.smartpractice.com  (rewrite to WO5 underway)
 http://www.allerderm.com
 http://www.sellsmart.com
 http://www.porfavor.com

 We have always been and will probably always be committed to WebObjects
 technology.  We've been using it since it was in pre-release (1996?).  We
 have a large deployment of OpenStep (supported by a different group) in
 which our desktop CRM system is currently deployed.  Long term, the Software
 Engineering group has been tasked with rewriting our CRM system in something
 modern.  Most likely it will be back-ended by WO5, maybe front-ended too?
  If you love WebObjects, we do too, and we won't stop loving it anytime
 soon.

 SmartPractice is a great company to work for and I know that you'd be happy
 here too. Please look at http://www.oursmartjobs.com/ to learn a little
 about our company and our benefits.

 Important Notes:

 * This is not a telecommuting job; work is done on site in Phoenix, AZ.
 * Salary D.O.E. Please include salary requirements when applying for this
 position.
 * SmartPractice and affiliate companies are a tobacco, drug, and alcohol
 free workplaces.
 * SmartPractice is an Equal Opportunity Employer.

 Please email resumes to j...@smartpractice.com

 Thanks for your time,

 Lon D. Varscsak
 Director of Software Engineering, SmartPractice
 3400 E. McDowell Rd.
 Phoenix, AZ  85008

 ___
Do not post admin requests to the list. They will 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: Consuming SOAP (mmm, delicious)

2010-11-17 Thread Lon Varscsak
Perfect!  I had settled on JAX-WS, but was coding it by hand...I didn't see
the wsimport stuff.

Thanks!

-Lon

On Tue, Nov 16, 2010 at 8:48 PM, Ramsey Lee Gurley rgur...@mac.com wrote:

 Hi Lon,

 On Nov 16, 2010, at 4:50 PM, Lon Varscsak wrote:

  I've never worked with SOAP before, definitely with XML and REST apis.
  Is there a good example of how to generate a SOAP request and process the
 results.


 If you're doing SOAP and WO, you might be tempted to use Axis since that is
 what WOWebServices is based on. If you are using Java 6, I would recommend
 the built in JAX-WS stuff.  Even if you are still on Java 5, the jars are
 available separately.  If you haven't used SOAP before, the process is
 fairly straightforward.  You start with the wsdl and the 'wsimport' command
 on the command line.  wsimport is a code generator.  It will parse the WSDL
 and the XSD schema files and produce java code you use to interact with the
 web service.

 Once you've generated your code, you find your service class(es) and use
 them to produce your portType interface(s).  (the service class will
 subclass javax.xml.ws.Service).  The port type will provide the methods you
 use to execute the service.  The input/output classes are also generated for
 you, so the whole time, you're just working with POJOs. A very brief
 example:

 http://www.javadb.com/create-a-web-service-client-with-jax-ws

 Some of the nicer features of JAX-WS: It uses all the nice Java 5 stuff
 like generics and typesafe enums when it generates, which is something you
 don't get with old Axis web service code generation. If you don't want to
 handle threading, you can have it generate callbacks. You can also specify
 bindings and provide data converters so your service code uses the classes
 you want (ex. use NSTimestamps instead of java.util.Date).  You may find you
 *have* to use the bindings if you have badly named enums though, since the
 wsimport tool seems to just pretend they don't exist if it can't name them
 (^_^)


  Do WO and/or WOnder have any magic for this?


 I don't think Wonder does any SOAP, just REST.  For WOWebServices stuff,
 you can find documentation on it here:


 http://developer.apple.com/legacy/mac/library/#documentation/WebObjects/Web_Services/Index.html

 It is next to useless for consuming web services though, so it's probably
 not what you need.

 Ramsey

  Any help in pointing me in the right direction would be of great help.
 
  Thanks,
 
  Lon



 ___
Do not post admin requests to the list. They will 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

Consuming SOAP (mmm, delicious)

2010-11-16 Thread Lon Varscsak
I've never worked with SOAP before, definitely with XML and REST apis.  Is
there a good example of how to generate a SOAP request and process the
results.  Do WO and/or WOnder have any magic for this?

Any help in pointing me in the right direction would be of great help.

Thanks,

Lon
 ___
Do not post admin requests to the list. They will 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

2010-11-15 Thread Lon Varscsak
Don't DIY, use WOnder. :)  There is even connection pooling in WOnder that
works to help with scalability of a single instance.

-Lon

On Mon, Nov 15, 2010 at 1:09 PM, Greg Lappen g...@lapcominc.com wrote:

 Thanks for all the feedback everyone!

 It seems like there are a few different ways to scale WebObjects
 horizontally, but nothing that is included in the WebObjects core.  And
 there is definitely a lack of documentation on this topic around the
 interwebs, so I guess it's a DIY kind of project.

 Thanks all!

 Greg

 On Mon, Nov 15, 2010 at 2:30 PM, Andrew Lindesay a...@lindesay.co.nzwrote:

 Hi Greg;


  #1 - Only one thread can be processing at once.  I seem to recall that
 this is a limit in EnterpriseObjects but it's been a while.


 You are right that one EOF stack can only be used by one thread.  You can
 load-up multiple EOObjectStoreCoordinators into a pool and use those within
 one virtual machine to create instances of EOEditingContext-s.  I think
 there's some material in PW for this or you could roll your own.

 For bulk data processing such as a billing system, one approach is to use
 a map/reduce approach.  Divvy up the work into little parcels and then
 distribute them to other virtual machines each with their own EOF stack.
  This spreads the load across available CPU and memory resources.


  With that being said, how can you horizontally scale your application
 layer?  If you setup more instances of your app, they each have their
 own caches, which will be out of sync with each other.  Is there a
 commonly used framework for doing distributed cache management?  And is
 it possible to make your applications multithreaded so page requests can
 be processed concurrently?


 Yes you can process concurrently -- there's a setting for that or you
 can use;

WOApplication.setAllowsConcurrentRequestHandling(..)

 For handling keeping caches consistent, you can use a change
 notification system.  This will shift changes from one EOF stack into other
 EOF stacks.  This works really well and there is an implementation in PW as
 well as other implementations available.

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

 This email sent to varsc...@smarthealth.com

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

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

WO5 position open at SmartPractice (Phoenix, AZ)!

2010-11-08 Thread Lon Varscsak
SmartPractice, Inc. is a family owned enterprise consisting of a number of
affiliate companies serving specific vertical markets. For nearly 40 years,
the SmartPractice family of companies has been a diversified organization
providing practice management and patient communication solutions to clients
throughout the healthcare community.

The Software Engineering group is looking for a Senior WebObjects Engineer
with at least 5+ years of experience in WebObjects 5 to help build/support
applications for our diverse companies.

This individual will report to the Director of Software Engineering (me) and
be responsible for (but not limited to) the following tasks:

* Being creative.
* Being an independent thinker, but open to others' ideas.
* Being a good trouble shooter and problem solver.
* Knowing how to balance between over engineering and doing something
quickly (and knowing the risks/benefits of either approach).
* Being productive with little guidance (a self starter).
* Working well on a small team and as part of a larger organization.
* Learning something new every day and teaching those around you.
* Building/supporting/enhancing WebObjects 5 (Java) applications.
* Participate in project planning and estimation.
* Mentor other developers, help set direction for best practices and improve
the development environment.
* Oversee the design, development and testing of assigned projects.
* Learn business processes and how they interact with systems.  This
includes analyzing project specifications (and I use that term lightly) to
make sure that the technical implementation marries well with the business
objectives as laid out by the project managers.
* Learn business data structures, how they relate to each other, and how to
utilize them fully within a project.  This includes reading SQL (PostgreSQL
and Sybase specifically) to understand existing applications and writing SQL
so that it is optimal for database/application performance.

We are a technologically diverse company so it's impossible to list
everything this person could possibly work on.  Please take the time to look
at some of our existing eCommerce sites and companies (be gentle) to get a
better sense.

http://www.practicemojo.com  (this website and the product that goes along
with it is the primary focus of this position)
http://www.smartscrubs.com

These are still in WO4/Obj-C!:

http://www.smartpractice.com  (rewrite to WO5 underway)
http://www.allerderm.com
http://www.sellsmart.com
http://www.porfavor.com

We have always been and will probably always be committed to WebObjects
technology.  We've been using it since it was in pre-release (1996?).  We
have a large deployment of OpenStep (supported by a different group) in
which our desktop CRM system is currently deployed.  Long term, the Software
Engineering group has been tasked with rewriting our CRM system in something
modern.  Most likely it will be back-ended by WO5, maybe front-ended too?
 If you love WebObjects, we do too, and we won't stop loving it anytime
soon.

SmartPractice is a great company to work for and I know that you'd be happy
here too. Please look at http://www.oursmartjobs.com/ to learn a little
about our company and our benefits.

Important Notes:

* This is not a telecommuting job; work is done on site in Phoenix, AZ.
* Salary D.O.E. Please include salary requirements when applying for this
position.
* SmartPractice and affiliate companies are a tobacco, drug, and alcohol
free workplaces.
* SmartPractice is an Equal Opportunity Employer.

Please email resumes to j...@smartpractice.com

Thanks for your time,

Lon D. Varscsak
Director of Software Engineering, SmartPractice
3400 E. McDowell Rd.
Phoenix, AZ  85008
 ___
Do not post admin requests to the list. They will 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: Greetings!

2010-11-05 Thread Lon Varscsak
It's a Triple-D technology.

On Fri, Nov 5, 2010 at 4:48 PM, David David Davidson
david.david.davids...@gmail.com wrote:
 Thank you. It is an honour to get mail from a programming language.


 On Fri, Nov 5, 2010 at 9:09 PM, Pascal Robert prob...@macti.ca wrote:
 So be sure to attend DavidDaveDC in 2011!

 Le 2010-11-05 à 17:08, Chuck Hill ch...@global-village.net a écrit :

 WebObjects is slowly transitioning to being a Pure David Technology.  We 
 are sure you will feel right at home.

 David (the developer formerly known as Chuck)



 On Nov 5, 2010, at 1:47 PM, David David Davidson wrote:

 I was told WebObjects is perfect for me. Can you tell me why?

 Yours truly,
 David David Davidson
 ___
 Do not post admin requests to the list. They will 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/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/varscsak%40smarthealth.com

 This email sent to varsc...@smarthealth.com

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

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


Re: OS X Java Deprecation JVM Source Code

2010-10-21 Thread Lon Varscsak
Finally Chuck admits it! ;)

-Lon

On Thu, Oct 21, 2010 at 1:30 PM, Chuck Hill ch...@global-village.net 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/varscsak%40smarthealth.com

 This email sent to varsc...@smarthealth.com

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

Re: Web Objects development options...

2010-10-18 Thread Lon Varscsak
I would seriously consider continuing to use WO (but in Java) for your
projects.  I went through the same thought process a couple of years
ago and the ease of what WO offers combined with what EOF offers is
really tough to beat.  I don't regret the decision at all to port our
WO4 (Obj-C) apps to WO5 at all (although we're still in the process).

In terms of support, I would say that it's in a better state then it's
been in a long time.  The community is very active and I rarely have a
situation that someone else hasn't encountered and has found a fix.
Project WOnder (the open source project designed to ease the
development of WebObjects applications) has made the development of
these rewrites really fun.

According to the license (at least my understanding) is that you are
required to develop on Apple hardware (although there are no Apple
tools in the mix, just frameworks), but you can deploy anywhere Java
can be deployed.  My company currently deploys on Red Hat, but I've
deployed independently on several other flavors of Linux.

Here are a couple of links to checkout:

http://www.wocommunity.org
http://projectwonder.blogspot.com/

Good luck on your decision making,

Lon

On Mon, Oct 18, 2010 at 9:30 AM,  dfles...@oceanobjects.com wrote:
 I am sure this question has been answered before but 

 We have been asked to convert a large WebObjects / Objective C app that
 was last modified in the year 2000 to a technology that is supportable today
 and, hopfully, for the next 10 years.  We are also looking for
 something simple and robust to use as WebObjects and would require minimial
 amount of effort to port.

 The application has about 60 pages, 150 persistent objects and lots of logic
 in between.  It currently runs on Windows and Solaris with an Oracle back
 end.

 We have explored JSF, Struts, Groovy, Rails, Python, Spring, Hybernate, JDO,
 J2EE, etc., etc.  In the end though, while most of these technologies score
 high on the current/future support criteria, some of them not as easy to
 develop in as WebObjects and each entails a complete rewrite of the
 application.

 So, back to Apple as an option.  From what we have learned, the is still a
 Java version of the WebObjects frameworks available (and a facility to
 convert the old WebObjects/Objective C artifacts) that runs on Mac OS
 X.  Are there any other options or advice you can share or point us to (e.g.
 latest versions, support issues, successes?

 Kindest regards,
 -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/varscsak%40smarthealth.com

 This email sent to varsc...@smarthealth.com

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

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


Re: Does Apple stop to use WebObjects for its internal tools?

2010-09-10 Thread Lon Varscsak
I thought maybe Anjo had hijacked your email account. ;)

-Lon

On Fri, Sep 10, 2010 at 8:10 AM, Mike Schrag msch...@pobox.com wrote:
 I should ONLY send emails at 3:30am ...

 ms

 On Sep 10, 2010, at 10:48 AM, Alan Ward wrote:


 I liked your grumpy response better ;-)

 Alan

 On Sep 10, 2010, at 6:22 AM, Mike Schrag wrote:

 Here's my slightly less grumpy response :)

 Apple, like any smart company, makes technology decisions based on lots of 
 variables -- what technology makes sense? what technology doesn't make 
 sense? what is the expertise of our current staffing? what are the goals 
 for the project? etc ... I love WO, but I'm also the first to admit that WO 
 and EOF aren't the right fit for every problem. There are parts of WOF and 
 EOF that drive me crazy, and there are parts that are amazing. I also don't 
 think that being WO inherently makes you scalable any more than I think 
 being a Rails app makes you inherently unscalable. It's just like the NoSQL 
 vs Relational debate. Are relational databases dead? No. That's just silly. 
 But do NoSQL databases have a place? Absolutely -- they bring value to a 
 certain set of problems that relational doesn't address well. Likewise, 
 Apple has public web properties that are static html, php, struts, jsf, 
 jsp, sproutcore, webobjects, and I'm sure others and there are lots of 
 different reasons in each of those cases why decisions were made one way or 
 another. In any complex system, you're probably going to end up with a mix 
 of technologies. As far as details, you're just not going to get them 
 because Apple doesn't roll that way.

 ms

 On Sep 10, 2010, at 2:54 AM, Mertz Stéphan wrote:

 Hi,

 The new 'the Sales and Trend reporting module' of iTunes Connect is 
 develop with JSF instead of WebObjects.
 Does Apple stop to use WebObjects for its internal tools?

 Does someone know what is powering the new Ping social network ?

 Regards,

 Stéphan ___
 Do not post admin requests to the list. They will 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/award%40apple.com

 This email sent to aw...@apple.com


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

 This email sent to varsc...@smarthealth.com

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

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


Re: Does Apple stop to use WebObjects for its internal tools?

2010-09-10 Thread Lon Varscsak
Yeah, what ever happened with that?  I heard discussion of it at
WOWODC 2009 and not much since (although I could just not be paying
attention :D).

-Lon

On Fri, Sep 10, 2010 at 9:37 AM, David BON bo...@mac.com wrote:
 Hoping a spoiler? +1 :-)

 David B.

 Le 10 sept. 10 à 14:52, Alexis Tual a écrit :

 Not to mention Gianduia ? :)

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

 This email sent to varsc...@smarthealth.com

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

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


Re: WOWODC 2011 coming to your city

2010-09-08 Thread Lon Varscsak
The thing I love about it being in SF (and timed with WWDC) is that I can
more easily justify it with my company. :)

-Lon

On Wed, Sep 8, 2010 at 9:29 AM, Ken - Watermark Studios 
k...@watermarkstudios.com 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/varscsak%40smarthealth.com

 This email sent to varsc...@smarthealth.com

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

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

Re: WOWODC 2011 coming to your city

2010-09-08 Thread Lon Varscsak
8 days away from the office is perfect! :)  But I did forget about how late
they've been announcing everything, and agree that's not enough time.

-Lon

On Wed, Sep 8, 2010 at 10:23 AM, Pascal Robert prob...@macti.ca wrote:

 I don't think we will ever WOWODC near WWDC. Apple give the WWDC dates
 later each year, last year we would have only 6 weeks to organize WOWODC,
 that's not enough. And if WOWODC is still 3 days, imagine 3 days of WOWODC +
 5 days of WWDC. Part of the reason WOWODC went really well this year is
 because we had more time to organize it and presenters had more time to
 prepare.

 The thing I love about it being in SF (and timed with WWDC) is that I can
 more easily justify it with my company. :)

 -Lon

 On Wed, Sep 8, 2010 at 9:29 AM, Ken - Watermark Studios 
 k...@watermarkstudios.com 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/varscsak%40smarthealth.com

 This email sent to varsc...@smarthealth.com


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

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



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

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

Re: WOWODC 2010 recordings

2010-09-07 Thread Lon Varscsak

  Pascal, it certainly sounds like you're volunteering for next year :)

 Oh trust me, if we're doing it in Montreal again, I will find new places to
 hang out. And the hotel said that they can make Net access to go faster.


I say we do it in Phoenix, AZ.  Much closer for me...and that's what it's
all about. ;)  Ya'll need to experience 115 degree weather anyway.

-Lon
 ___
Do not post admin requests to the list. They will 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: CSV File Reader

2010-08-31 Thread Lon Varscsak
I recently used opencvs, worked perfectly for my needs.

-Lon

On Tue, Aug 31, 2010 at 11:42 AM, Mike Schrag msch...@pobox.com wrote:
 http://opencsv.sourceforge.net/
 On Aug 31, 2010, at 2:40 PM, Joe Moreno wrote:

 Can anyone recommend a simple CSV file reader for WO?

 It needs to be smart enough to escape commas inside quotes, i.e.:
 Name, Location
 John Smith, Cupertino, CA

 I'm sure that this wouldn't be hard to write, but code I don't have to write 
 is code that I don't have to debug. :^D

 Many thanks,
 Joe
 ___
 Do not post admin requests to the list. They will 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/varscsak%40smarthealth.com

 This email sent to varsc...@smarthealth.com

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

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


Weird, intermitent problem with Monitor

2010-08-10 Thread Lon Varscsak
Every now and then, Monitor wigs out and displays the behavior in this
image ( http://grab.by/5PZb ).  It complains it can't connect to
wotaskd (but all the running apps are fine), and all of the images are
broken.  The direct image urls (that are fed through the monitor
applicatino) return An Internal Server Error Has Occurred..

Eventually, without doing a thing it will clear itself up and work fine.

Any ideas?  Nothing on the server seems out of whack during these
times (load is good, memory is good, disk space is good, etc).

Thanks,

Lon

P.S. -- Running WO 5.4.3 with the stock version of JavaMonitor.
 ___
Do not post admin requests to the list. They will 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, intermitent problem with Monitor

2010-08-10 Thread Lon Varscsak
Okay, thanks, that's good to know.

-Lon

On Tue, Aug 10, 2010 at 1:23 PM, Chuck Hill ch...@global-village.net wrote:
 This just means that one or more instances were too slow in responding.  
 Either they are busy or deadlocked.

 There is an interesting patch to the Wonder version here:
 http://issues.objectstyle.org/jira/browse/WONDER-567
 I have not looked at the details of this yet.


 Chuck


 On Aug 10, 2010, at 1:15 PM, Lon Varscsak wrote:

 Every now and then, Monitor wigs out and displays the behavior in this
 image ( http://grab.by/5PZb ).  It complains it can't connect to
 wotaskd (but all the running apps are fine), and all of the images are
 broken.  The direct image urls (that are fed through the monitor
 applicatino) return An Internal Server Error Has Occurred..

 Eventually, without doing a thing it will clear itself up and work fine.

 Any ideas?  Nothing on the server seems out of whack during these
 times (load is good, memory is good, disk space is good, etc).

 Thanks,

 Lon

 P.S. -- Running WO 5.4.3 with the stock version of JavaMonitor.
 ___
 Do not post admin requests to the list. They will 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: NSNotificationCenter.defaultCenter().postNotification(EONewCommandmentNotification, null)

2010-08-09 Thread Lon Varscsak
Can we consider using WOnder as obeying the command, even if we don't
explicitly lock them ourselves?

-Lon

On Mon, Aug 9, 2010 at 4:19 PM, Mike Schrag msch...@pobox.com wrote:


 http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF-The+EOF+Commandments

 After discussing it with Chuck, I've added a 9th commandment casting
 damnation upon you if you don't lock your EC's. Enjoy.

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

 This email sent to varsc...@smarthealth.com

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

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

Re: NSNotificationCenter.defaultCenter().postNotification(EONewCommandmentNotification, null)

2010-08-09 Thread Lon Varscsak
Yay! :)

On Mon, Aug 9, 2010 at 4:38 PM, Chuck Hill ch...@global-village.net wrote:

 On Aug 9, 2010, at 4:36 PM, Lon Varscsak wrote:

  Can we consider using WOnder as obeying the command, even if we don't
 explicitly lock them ourselves?

 without first ensuring that the EOEditingContext is locked

 It does not say that your code must lock it, only that you must ensure it
 is locked.  So, using ERExtensions and ERXEC and assuming you have not
 configured it away, then you are ensuring it is locked.


 Chuck



  On Mon, Aug 9, 2010 at 4:19 PM, Mike Schrag msch...@pobox.com wrote:
 
 http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF-The+EOF+Commandments
 
  After discussing it with Chuck, I've added a 9th commandment casting
 damnation upon you if you don't lock your EC's. Enjoy.
 
  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/varscsak%40smarthealth.com
 
  This email sent to varsc...@smarthealth.com
 
  ___
  Do not post admin requests to the list. They will be ignored.
  Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
 
 http://lists.apple.com/mailman/options/webobjects-dev/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: Suggestions for best deployment?

2010-07-28 Thread Lon Varscsak
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 in our previous co-lo.
 
  alongside production we also run our staging servers and our hudson
 build server on ec2. in productivity terms running hudson there was a huge
 leap forward: previously a new build would take around 30 minutes to upload
 to staging / production. now it takes 19 seconds flat :-)
 
  we're shortly going to move our subversion repository to ec2 as well.
 
  Simon
 
  On 27 July 2010 15:13, James Cicenia ja...@jimijon.com wrote:
  This is very cool.
 
  I need to move one of my servers, or, use the cloud approach for its
 WOApps. I see you rolled your own but wolastic seems like it is for a mere
 mortal.
 
  Anyone use wolastic? What is the pricing your are seeing? Issues?
 Performances? Etc.
 
  Thanks.
  James Cicenia
 
 
 
  On Jul 26, 2010, at 3:55 PM, Simon wrote:
 
  we don't use the wolastic images (we have our own) but we do deploy
 entirely on the amazon ec2 cloud now. ec2 instances running standard
 javamonitor / wotaskd, amazon RDS for database server, s3 for file storage
 etc. scalability on demand, load balancing, redundancy across multiple
 availability zones. it's the best thing since sliced bread...
 
  our staging servers (also on ec2) run wonders javamonitor / wotasd
 and hence we'll probably upgrade our 

OT: Java desktop dev environments

2010-07-21 Thread Lon Varscsak
Are there any good tools out there for building UIs for Java desktop apps?
 I'm not looking for WO/EOF integration, just something to quickly build
some applications.

-Lon
 ___
Do not post admin requests to the list. They will 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] Restaurant recommendations at WWDC?

2010-06-07 Thread Lon Varscsak
And if you're feeling adventurous, there's a crawfish place that's awesome:

http://maps.google.com/maps/place?client=safarirls=enoe=UTF-8um=1ie=UTF-8q=crawfish+san+franciscofb=1gl=ushq=crawfishhnear=San+Francisco,+CAcid=9315026063188604779



On Mon, Jun 7, 2010 at 7:59 AM, Miguel Arroz ar...@guiamac.com wrote:
 Hi!

  If you like sushi, there's a nice place called Jodima-Ann, near union 
 square: http://www.yelp.com/biz/dojima-ann-san-francisco.

  It's a small place, but pretty good. It has the best Miso soup I have tasted 
 anywhere in the world! Too bad I can't be there this year... :(

  Yours

 Miguel Arroz

 On 2010/06/07, at 15:34, John Huss wrote:

 Any recommended restaurants for those of us at WWDC?  What was the Indian 
 place?

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

 This email sent to varsc...@smarthealth.com

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

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


  1   2   3   >