Re: Right Way to use jQuery

2014-06-13 Thread Johnny Miller
Hi Thomas,

I have started an Ajax jquery framework - you can see here: 
http://www.kahalawai.com/JQuery

But it's not officially wonder and comes with a use at your own risk tag.  If 
interested let me know and I'll point you to my github account.

Aloha,

Johnny Miller
Kahalawai Media Co.

> On Jun 13, 2014, at 2:17 AM, "Thomas Grass (01SoftwareSolutions)" 
>  wrote:
> 
> Hello,
> is it possible to use jQuery instead of prototype with wonder? What is the 
> right way to do this? I found this article:
> 
> http://wiki.wocommunity.org/display/documentation/ERJQuery
> 
> How do i tell my wonder-application to use just jQuery?
> 
> Thanks
> 
> Thomas
> 
> 
> 
> --
> Thomas Grass, B.Sc. | 01SoftwareSolutions 
> +49 (89) 41 41 41 03-0
> off...@01softwaresolutions.eu | www.01softwaresolutions.eu
> Lichtenbergstraße 8 | D-85748 Garching b München
> 
> 
> ___
> Do not 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: WebObjects development

2014-03-07 Thread Johnny Miller
Does that make Google dumb?

https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial

Sent from my iPad

> On Mar 7, 2014, at 6:06 PM, Chuck Hill  wrote:
> 
> Unlike iOS and OS X, Apple does not own the server platform.  Communication 
> is via standard protocols.  And Apple is no longer in the server market.  
> Bringing back WO as a product is NOT going to sell more iPhones.  It is NOT 
> going to make more money for Apple.   Making a really good SDK and 
> development tool for iOS IS going to sell more iPhones.  Apple may not do 
> what you want, but they are smart!  They know a winning business model when 
> they see one.  Unfortunately for those who appreciate it, WO just never had a 
> winning business model.  Deal with it.
> 
> Chuck
> 
> 
> On 2014-03-07, 6:30 PM, "Jonathan Miller" wrote:
> 
> It's all about iPhone and iPad sales and one of the things that makes Apple's 
> devices the best is the quantity and quality of the applications in the 
> platform.  And the application server is an essential component to many iOS 
> and Mac applications with the prime example being iTunes.
> 
> 
>> On Fri, Mar 7, 2014 at 4:22 PM, Pascal Robert  wrote:
>> 
>> 
>> Envoyé de mon iPhone
>> 
>> Le 2014-03-07 à 21:05, Jonathan Miller  a écrit :
>> 
>>> I know you guys are right and I loathe to involve myself in this discussion 
>>> but here goes nothing...
>>> 
>>> Does Apple make a lot of money selling XCode?
>> 
>> They make money by selling laptops to developers and by taking 30% of 
>> revenues in the app stores.
>> 
>>>  It seems to me that WO is another tool that Apple could support that 
>>> enables developers to make great applications for their platform.  After 
>>> all, the application server is an important component to many if not most 
>>> iOS apps.
>>> 
>>> my 2 cents...
>>> 
>>> 
 On Fri, Mar 7, 2014 at 3:36 PM, Nilton Lessa  
 wrote:
 >
 > Em 07/03/2014, às 21:46, Pascal Robert  escreveu:
 >
 >
 >> Le 2014-03-07 à 19:21, Aaron Rosenzweig  a écrit :
 >>
 >> Am I right or what? WO is an elite “gentleman’s club” There are those 
 >> “in the circle” and those outside.
 >
 > For the record, I’m not the one who contacted a senior VP.
 >
 >> If Mark wants to send a note of praise to someone, why not? Even if it 
 >> is Tim Cook. Will anything bad come of that? It may fall on deaf ears 
 >> but that’s ok.
 >
 > It’s just that every year, in the answers in the surveys, I still people 
 > asking for something from Apple. Even if we said many times that Apple 
 > management don’t give a damn.
 
 >
 >> Mark, I’m glad you love WO.
 >>
 >> For those who may wonder, I’ll summarize what I believe Pascal is 
 >> alluding to:
 >>
 >> Even if WO sold very well, “well” would be a relative term. Compared to 
 >> their other product lines, a good line of sales related to WO would 
 >> mean nothing compared to Apple’s other product lines. How many 
 >> developers are there in the world? Compare that to consumers.
 >>
 >> Apple does not need to make other programmer’s lives easier on the 
 >> server. It would be nice but there is no need (for Apple).
 >>
 >> If Apple were to open source WO, it may mean they have less of an ace 
 >> up their sleeve in negotiations with other companies when legal issues 
 >> crop up. “You want to sue me for this? then I’ll sue you for your use 
 >> of Key-Value-Coding so why don’t we just not sue each other ok?” Open 
 >> sourcing WO could weaken Apple’s stance in legal battles for no 
 >> monetary gain.
 >>
 >> The ONLY way to open source WO would be to buy it from Apple… but even 
 >> then… it would have to be a lot of money to make it worth the legal 
 >> trouble of figuring out if that is a good financial deal for Apple.
 >
 > And since a major group (iTunes) use it, not going to happen. But we 
 > could open source it, by rewriting it and by replacing some stuff by 
 > alternatives.
 Yes, I strongly agree with Pascal, it's the only(and good) option for 
 future.
 >
 >> I can think of a few cases where Apple technology was freed up to the 
 >> world but in both of those cases they had strong supporters on the 
 >> inside to make it happen:
 >>
 >> 1. Apple released it’s Smalltalk and core team to Walt Disney and 
 >> Disney let it be open source:
 >> http://ftp.squeak.org/docs/OOPSLA.Squeak.html
 >>
 >> 2. Apple Newton’s “Dylan” language was released and became a commercial 
 >> product for a while:
 >> http://en.wikipedia.org/wiki/History_of_the_Dylan_programming_language
 >
 > Both happened in the 90s.
 >
 >> AARON ROSENZWEIG / Chat 'n Bike
 >> e:  aa...@chatnbike.com  t:  (301) 956-2319
 >>
 >>
 >>> On Mar 7, 2014, at 6:04 PM, Pascal Robert  wrote:
 >>>
>

Re: WebObjects development

2014-03-07 Thread Johnny Miller
Sounds great to me!  Here is your laptop, dev tools and apple hosted OS X VM.  
Well one can dream.

Have a nice weekend!

> On Mar 7, 2014, at 4:34 PM, Pascal Robert  wrote:
> 
> Like Chuck, Apple got out of that business (real server software, XServe, 
> WO). If they are going to offer something on the server-side, it will 
> probably be a Apple-hosted solution that they will control.
> 
> Envoyé de mon iPhone
> 
>> Le 2014-03-07 à 21:31, Jonathan Miller  a écrit :
>> 
>> It's all about iPhone and iPad sales and one of the things that makes 
>> Apple's devices the best is the quantity and quality of the applications in 
>> the platform.  And the application server is an essential component to many 
>> iOS and Mac applications with the prime example being iTunes.
>> 
>> 
>>> On Fri, Mar 7, 2014 at 4:22 PM, Pascal Robert  wrote:
>>> 
>>> 
>>> Envoyé de mon iPhone
>>> 
>>> Le 2014-03-07 à 21:05, Jonathan Miller  a écrit :
>>> 
 I know you guys are right and I loathe to involve myself in this 
 discussion but here goes nothing...
 
 Does Apple make a lot of money selling XCode?
>>> 
>>> They make money by selling laptops to developers and by taking 30% of 
>>> revenues in the app stores.
>>> 
  It seems to me that WO is another tool that Apple could support that 
 enables developers to make great applications for their platform.  After 
 all, the application server is an important component to many if not most 
 iOS apps.
 
 my 2 cents...
 
 
> On Fri, Mar 7, 2014 at 3:36 PM, Nilton Lessa  
> wrote:
> >
> > Em 07/03/2014, às 21:46, Pascal Robert  escreveu:
> >
> >
> >> Le 2014-03-07 à 19:21, Aaron Rosenzweig  a écrit :
> >>
> >> Am I right or what? WO is an elite “gentleman’s club” There are those 
> >> “in the circle” and those outside.
> >
> > For the record, I’m not the one who contacted a senior VP.
> >
> >> If Mark wants to send a note of praise to someone, why not? Even if it 
> >> is Tim Cook. Will anything bad come of that? It may fall on deaf ears 
> >> but that’s ok.
> >
> > It’s just that every year, in the answers in the surveys, I still 
> > people asking for something from Apple. Even if we said many times that 
> > Apple management don’t give a damn.
> 
> >
> >> Mark, I’m glad you love WO.
> >>
> >> For those who may wonder, I’ll summarize what I believe Pascal is 
> >> alluding to:
> >>
> >> Even if WO sold very well, “well” would be a relative term. Compared 
> >> to their other product lines, a good line of sales related to WO would 
> >> mean nothing compared to Apple’s other product lines. How many 
> >> developers are there in the world? Compare that to consumers.
> >>
> >> Apple does not need to make other programmer’s lives easier on the 
> >> server. It would be nice but there is no need (for Apple).
> >>
> >> If Apple were to open source WO, it may mean they have less of an ace 
> >> up their sleeve in negotiations with other companies when legal issues 
> >> crop up. “You want to sue me for this? then I’ll sue you for your use 
> >> of Key-Value-Coding so why don’t we just not sue each other ok?” Open 
> >> sourcing WO could weaken Apple’s stance in legal battles for no 
> >> monetary gain.
> >>
> >> The ONLY way to open source WO would be to buy it from Apple… but even 
> >> then… it would have to be a lot of money to make it worth the legal 
> >> trouble of figuring out if that is a good financial deal for Apple.
> >
> > And since a major group (iTunes) use it, not going to happen. But we 
> > could open source it, by rewriting it and by replacing some stuff by 
> > alternatives.
> Yes, I strongly agree with Pascal, it's the only(and good) option for 
> future.
> >
> >> I can think of a few cases where Apple technology was freed up to the 
> >> world but in both of those cases they had strong supporters on the 
> >> inside to make it happen:
> >>
> >> 1. Apple released it’s Smalltalk and core team to Walt Disney and 
> >> Disney let it be open source:
> >> http://ftp.squeak.org/docs/OOPSLA.Squeak.html
> >>
> >> 2. Apple Newton’s “Dylan” language was released and became a 
> >> commercial product for a while:
> >> http://en.wikipedia.org/wiki/History_of_the_Dylan_programming_language
> >
> > Both happened in the 90s.
> >
> >> AARON ROSENZWEIG / Chat 'n Bike
> >> e:  aa...@chatnbike.com  t:  (301) 956-2319
> >>
> >>
> >>> On Mar 7, 2014, at 6:04 PM, Pascal Robert  wrote:
> >>>
> >>> Please please please... Someone went as far as asking for support by 
> >>> talking to an Apple Senior VP, and the answer was: NO! Stop thinking 
> >>> that Apple will help us after 5 years without any help from Apple. 
> >>> They even stopped contributing to

Re: My last WOWODC

2014-03-07 Thread Johnny Miller
I'll gladly pay $200 a year to keep that going is there seven other people with 
me?

Aloha,

Johnny

> On Mar 7, 2014, at 2:26 AM, Pascal Robert  wrote:
> 
> 
>> Le 2014-03-07 à 00:04, Paul Hoadley  a écrit :
>> 
>> Hi Pascal,
>> 
>>> On 07/03/2014, at 12:34 PM, Pascal Robert  wrote:
>>> 
>>> I can help with the server (upgrading Jenkins and Confluence, etc.), but I 
>>> have no time to modernize the Web site. The server is paid up to June 30th, 
>>> we will need more paid members to pay for it after that.
>> 
>> Could you be a bit more specific about what's at risk here?  There are a 
>> number of resources (e.g., Jenkins build server, API documentation, 
>> Confluence) that I am sure any number of businesses still tied to WebObjects 
>> would not want to see disappear.  Exactly how much money does the 
>> WOCommunity Association need to remain viable and, in particular, to keep 
>> those online resources running?
> 
> If we stop selling membership by Shopify and we close the FreshBooks account 
> (useless to keep it open if we close the store), we need ~ 1600$ annually for 
> the server. 
> 
> I’m finishing the accounting for our first fiscal year, all numbers will be 
> available in a week.
> ___
> Do not 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: Multiple ERAttachment Databases

2014-01-13 Thread Johnny Miller
Hi David,

If you come up with a solution please let me know because this one has bitten 
me too.  

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 Jan 13, 2014, at 4:43 AM, David Avendasora  wrote:

> Hi all,
> 
> I’m working on a project that needs to have a separate, independent 
> ERAttachment setup. What I mean is that the project is already using 
> ERAttachment for a few things, but now I have a need for all of 
> ERAttachment’s functionality, only storing all the meta-data and even 
> db-based attachments in a completely different database than where the 
> existing attachments are stored.
> 
> I have done exactly this before by forking ERAttachment into a new 
> "DaveAttachment" Framework. All the existing attachments worked using the 
> stock ERAttachment framework, but the new attachments were managed by 
> DaveAttachment, but that is long-term code management PITA.
> 
> I’m wondering if it would it be possible enable ERAttachment to use multiple 
> data-stores by programmatically cloning the ERAttachment EOModel at startup 
> and creating a new EOModel for each “data-store” with independent Entity 
> names as configured by properties? 
> 
> If you only have one data-store (the current functionality) then ERAttachment 
> would continue to work as-is, but if you specify multiple data-stores in the 
> properties, that would trigger the programatic creation and loading of the 
> additional models?
> 
> Does anyone see anything that I’m missing that would not allow this?
> 
> Thanks!
> 
> Dave
> 
> 
> —
> WebObjects - so easy that even Dave Avendasora can do it!™
> —
> 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/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: Eclipse not seeing file changes.

2013-11-22 Thread Johnny Miller
Hi Tim,

Another problem with Mavericks - my mail (I use Gmail for small business) is 
totally hosed.  So I just saw your reply by searching Google on this problem. 

Anyway, I tried GOLips for the first time but I don’t think it completed the 
installation.  From the log:

Downloading the Eclipse Plugin installer ...
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed

  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
  0  221k0 00 0  0  0 --:--:--  0:00:01 --:--:-- 0
100  221k  100  221k0 0   106k  0  0:00:02  0:00:02 --:--:--  106k
Downloading and Installing the recommended Eclipse plugins ...
/tmp/p2_1385162422: line 1: syntax error near unexpected token `newline'
/tmp/p2_1385162422: line 1: `'
Cleaning up ...
You should be good to go. Eclipse is installed in '/Applications/eclipse'.

I don’t see the WOLips perspectives in Eclipse when I launch it.

Downloaded GOLips from here: 
http://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation

Is that the right version?

Thanks,

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 Nov 17, 2013, at 10:18 AM, Timothy Worman  wrote:

> I don’t have this issue. But I’ve used Golipse to install Eclipse 3.8. Maybe 
> you should give that a try instead?
> 
> Tim
> UCLA GSE&IS
> 
> On Nov 15, 2013, at 2:03 PM, Johnny Miller  wrote:
> 
>> Hi,
>> 
>> Since reinstalling my laptop with a clean install of OS X mavericks I’ve 
>> been having problems with eclipse not seeing file changes on the system.  I 
>> use a second editor for javascript/css and photoshop for images.  And 
>> whenever I change those files eclipse doesn’t seem to see the changes.
>> 
>> In my eclipse settings under general -> workspace I have the checkbox 
>> checked for Refresh using native hooks for polling.
>> 
>> Anybody else seeing this problem?  Or better yet have a fix?
>> 
>> Using Eclipse IDE for java developers 3.7 Indigo Service Release 2 .  Just 
>> installed WOLips so should be current.
>> 
>> Thanks,
>> 
>> Johnny
>> ___
>> Do not 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/archive%40mail-archive.com

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

Eclipse not seeing file changes.

2013-11-15 Thread Johnny Miller
Hi,

Since reinstalling my laptop with a clean install of OS X mavericks I’ve been 
having problems with eclipse not seeing file changes on the system.  I use a 
second editor for javascript/css and photoshop for images.  And whenever I 
change those files eclipse doesn’t seem to see the changes.

In my eclipse settings under general -> workspace I have the checkbox checked 
for Refresh using native hooks for polling.

Anybody else seeing this problem?  Or better yet have a fix?

Using Eclipse IDE for java developers 3.7 Indigo Service Release 2 .  Just 
installed WOLips so should be current.

Thanks,

Johnny
 ___
Do not 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: Mavericks clean install set up problem

2013-11-11 Thread Johnny Miller
Thank you Faizel.  That is exactly what I was looking for.

Should this be on the Wiki?



On Nov 11, 2013, at 4:59 AM, Faizel Dakri  wrote:

> I think you can specify the WORootDirectory and WOLocalRootDirectory to point 
> to your installation. The WORootDirectory should point to your "System" 
> folder and the WOLocalRootDirectory points to the folder that contains your 
> "Library" folder. 
> 
> On my dev machine, I start my wotaskd instance (via Launch Services) with the 
> following arguments:
> 
>   ProgramArguments 
>
>   wotaskd 
>   
> -DWORootDirectory=/opt/local/webobjects/5.4.3/System 
>   
> -DWOLocalRootDirectory=/opt/local/webobjects/5.4.3 
>   -WOHost 
>   localhost 
>   -WOPort 
>   1085 
>   
> 
> 
> Mind you, I didn't do a clean install of Mavericks, so this is left over from 
> my Mountain Lion installation, but it still seems to be working. Hope that 
> helps.
> 
> F
> 
> -- 
> Faizel Dakri
> 
> 
> 
> On 2013-Nov-10, at 10:21 PM, Johnny Miller  wrote:
> 
>> Hi Pascal,
>> 
>> On a clean install there is no /Library/WebObjects directory
>> If you install using WOInstaller.jar and put it in a non-default location 
>> like /Developer/WebObjects /Library/WebObjects does not get created.
>> 
>> So my question is how do you specify the override so that wotaskd doesn’t 
>> try to write it’s configuration to /Library/WebObjects/Configuration
>> 
>> Ideally, I would like it to write to 
>> /Developer/WebObjects/Library/WebObjects/Configuration
>> 
>> Could you pass it as an argument in com.apple.webobjects.wotaskd.plist?
>> 
>> On Nov 10, 2013, at 5:53 PM, Pascal Robert  wrote:
>> 
>>> Cannot be created = bad file permissions on /Library/WebObjects
>>> 
>>>> I changed the standard out and standard error to a place that could see 
>>>> the error messages and it was failing on:
>>>> 
>>>> [2013-11-10 15:25:28 HST]  Configuration Directory 
>>>> /Library/WebObjects/Configuration/ does not exist, and cannot be created.
>>>> 
>>>> So I created a symbolic link from 
>>>> /Developer/WebObjects/Library/WebObjects/Configuration to 
>>>> /Library/WebObjects/Configuration
>>>> 
>>>> Obviously that is kind of a hack.  Anyone know how to override that so I 
>>>> can direct to the non-default location?
>>>> 
>>>> Thank you,
>>>> 
>>>> Johnny
>>>> 
>>>> On Nov 10, 2013, at 2:31 PM, Johnny Miller  wrote:
>>>> 
>>>>> It seems to start up and then die on me.
>>>>> 
>>>>> 593   ??  Ss 0:01.82 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
>>>>> -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
>>>>> -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
>>>>> -Dcom.webobjects.pid=593 -Dcom.sun.management.jmxremote=false -classpath 
>>>>> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789
>>>>> 619   ??  Rs 0:00.09 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
>>>>> -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
>>>>> -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
>>>>> -Dcom.webobjects.pid=619 -Dcom.sun.management.jmxremote=false -classpath 
>>>>> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085
>>>>> 
>>>>> 
>>>>> It looks like -DWORootDirectory is wrong.  Do you know how would I direct 
>>>>> it to the right location?
>>>>> 
>>>>> Thank you!
>>>>> 
>>>>> On Nov 10, 2013, at 2:10 PM, Ken Anderson  wrote:
>>>>> 
>>>>>> If you do a ps, do you see monitor running?  It’s working OK on my clean 
>>>>>> Mavericks install (on a late 2013 MBP!!)
>>>>>> 
>>>>>> Ken
>>>>>> 
>>>>>> On Nov 10, 2013, at 6:34 PM, Johnny Miller  
>>>>>> wrote:
>>>>>> 
>>>>>>> OK.
>>>>>>> 
>>>>>>> So the mistake I made there was when reading the log files I saw it 
>>>>>>> complaining about appserver and appserverusr so I tried adding the 
>>>>>>> underscore in the configuration files in /Library/Lau

Re: Mavericks clean install set up problem

2013-11-10 Thread Johnny Miller
Hi Pascal,

On a clean install there is no /Library/WebObjects directory
If you install using WOInstaller.jar and put it in a non-default location like 
/Developer/WebObjects /Library/WebObjects does not get created.

So my question is how do you specify the override so that wotaskd doesn’t try 
to write it’s configuration to /Library/WebObjects/Configuration

Ideally, I would like it to write to 
/Developer/WebObjects/Library/WebObjects/Configuration

Could you pass it as an argument in com.apple.webobjects.wotaskd.plist?

On Nov 10, 2013, at 5:53 PM, Pascal Robert  wrote:

> Cannot be created = bad file permissions on /Library/WebObjects
> 
>> I changed the standard out and standard error to a place that could see the 
>> error messages and it was failing on:
>> 
>> [2013-11-10 15:25:28 HST]  Configuration Directory 
>> /Library/WebObjects/Configuration/ does not exist, and cannot be created.
>> 
>> So I created a symbolic link from 
>> /Developer/WebObjects/Library/WebObjects/Configuration to 
>> /Library/WebObjects/Configuration
>> 
>> Obviously that is kind of a hack.  Anyone know how to override that so I can 
>> direct to the non-default location?
>> 
>> Thank you,
>> 
>> Johnny
>> 
>> On Nov 10, 2013, at 2:31 PM, Johnny Miller  wrote:
>> 
>>> It seems to start up and then die on me.
>>> 
>>> 593   ??  Ss 0:01.82 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
>>> -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
>>> -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
>>> -Dcom.webobjects.pid=593 -Dcom.sun.management.jmxremote=false -classpath 
>>> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789
>>>  619   ??  Rs 0:00.09 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
>>> -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
>>> -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
>>> -Dcom.webobjects.pid=619 -Dcom.sun.management.jmxremote=false -classpath 
>>> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085
>>> 
>>> 
>>> It looks like -DWORootDirectory is wrong.  Do you know how would I direct 
>>> it to the right location?
>>> 
>>> Thank you!
>>> 
>>> On Nov 10, 2013, at 2:10 PM, Ken Anderson  wrote:
>>> 
>>>> If you do a ps, do you see monitor running?  It’s working OK on my clean 
>>>> Mavericks install (on a late 2013 MBP!!)
>>>> 
>>>> Ken
>>>> 
>>>> On Nov 10, 2013, at 6:34 PM, Johnny Miller  wrote:
>>>> 
>>>>> OK.
>>>>> 
>>>>> So the mistake I made there was when reading the log files I saw it 
>>>>> complaining about appserver and appserverusr so I tried adding the 
>>>>> underscore in the configuration files in /Library/LaunchDaemons.  That 
>>>>> didn’t solve anything but I left it.  I then made the two scripts for the 
>>>>> apps executable and then I ran into the error below.  After switching 
>>>>> back the user and group name to the version without the underscore both 
>>>>> apps now start.
>>>>> 
>>>>> But… I can’t connect to womonitor on localhost:56789
>>>>> 
>>>>> I have followed these instructions 
>>>>> http://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache?src=search
>>>>>  making the correct substitutions for my environment.  
>>>>> 
>>>>> Any idea on what I could be doing wrong?
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Johnny
>>>>> 
>>>>> 
>>>>> 
>>>>> Begin forwarded message:
>>>>> 
>>>>>> From: Johnny Miller 
>>>>>> Subject: Mavericks clean install set up problem
>>>>>> Date: November 10, 2013 at 1:15:31 PM HST
>>>>>> To: "webobjects-dev@lists.apple.com com" 
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I’m trying to set up webobjects on a clean install of mavericks.  And 
>>>>>> I’m getting stuck with trying to run debugging through apache. 
>>>>>> 
>>>>>> I’ve created the plists for womonitor and wotaskd per the instructions 
>>>>>> here: 
>>>>>> http://wiki.wocommunity.org/display/WO/WO+5.4+Getting+Started#

Re: Mavericks clean install set up problem

2013-11-10 Thread Johnny Miller
Hi Ken,

It’s running now - it’s just that it was trying to use a directory that doesn’t 
exist.  It’s was trying to use the standard installation location.  How did you 
set up your environment?  Did you just put use the / directory for your install 
or did you use a non-default installation like /WebObjects or 
/Developer/WebObjects?



On Nov 10, 2013, at 3:34 PM, Ken Anderson  wrote:

> Try running it on the command line - that way you can see what’s going wrong… 
>  maybe it can’t write to the log location you’re giving it?
> 
> On Nov 10, 2013, at 8:33 PM, Johnny Miller  wrote:
> 
>> I changed the standard out and standard error to a place that could see the 
>> error messages and it was failing on:
>> 
>> [2013-11-10 15:25:28 HST]  Configuration Directory 
>> /Library/WebObjects/Configuration/ does not exist, and cannot be created.
>> 
>> So I created a symbolic link from 
>> /Developer/WebObjects/Library/WebObjects/Configuration to 
>> /Library/WebObjects/Configuration
>> 
>> Obviously that is kind of a hack.  Anyone know how to override that so I can 
>> direct to the non-default location?
>> 
>> Thank you,
>> 
>> Johnny
>> 
>> On Nov 10, 2013, at 2:31 PM, Johnny Miller  wrote:
>> 
>>> It seems to start up and then die on me.
>>> 
>>>  593   ??  Ss 0:01.82 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
>>> -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
>>> -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
>>> -Dcom.webobjects.pid=593 -Dcom.sun.management.jmxremote=false -classpath 
>>> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789
>>>   619   ??  Rs 0:00.09 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
>>> -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
>>> -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
>>> -Dcom.webobjects.pid=619 -Dcom.sun.management.jmxremote=false -classpath 
>>> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085
>>> 
>>> 
>>> It looks like -DWORootDirectory is wrong.  Do you know how would I direct 
>>> it to the right location?
>>> 
>>> Thank you!
>>> 
>>> On Nov 10, 2013, at 2:10 PM, Ken Anderson  wrote:
>>> 
>>>> If you do a ps, do you see monitor running?  It’s working OK on my clean 
>>>> Mavericks install (on a late 2013 MBP!!)
>>>> 
>>>> Ken
>>>> 
>>>> On Nov 10, 2013, at 6:34 PM, Johnny Miller  wrote:
>>>> 
>>>>> OK.
>>>>> 
>>>>> So the mistake I made there was when reading the log files I saw it 
>>>>> complaining about appserver and appserverusr so I tried adding the 
>>>>> underscore in the configuration files in /Library/LaunchDaemons.  That 
>>>>> didn’t solve anything but I left it.  I then made the two scripts for the 
>>>>> apps executable and then I ran into the error below.  After switching 
>>>>> back the user and group name to the version without the underscore both 
>>>>> apps now start.
>>>>> 
>>>>> But… I can’t connect to womonitor on localhost:56789
>>>>> 
>>>>> I have followed these instructions 
>>>>> http://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache?src=search
>>>>>  making the correct substitutions for my environment.  
>>>>> 
>>>>> Any idea on what I could be doing wrong?
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Johnny
>>>>> 
>>>>> 
>>>>> 
>>>>> Begin forwarded message:
>>>>> 
>>>>>> From: Johnny Miller 
>>>>>> Subject: Mavericks clean install set up problem
>>>>>> Date: November 10, 2013 at 1:15:31 PM HST
>>>>>> To: "webobjects-dev@lists.apple.com com" 
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I’m trying to set up webobjects on a clean install of mavericks.  And 
>>>>>> I’m getting stuck with trying to run debugging through apache. 
>>>>>> 
>>>>>> I’ve created the plists for womonitor and wotaskd per the instructions 
>>>>>> here: 
>>>>>> http://wiki.wocommunity.org/display/WO/WO+5.4+Getting+Started#WO5.4GettingStarted-javamonitor
>>>>>> 
>>

Re: Mavericks clean install set up problem

2013-11-10 Thread Johnny Miller
I changed the standard out and standard error to a place that could see the 
error messages and it was failing on:

[2013-11-10 15:25:28 HST]  Configuration Directory 
/Library/WebObjects/Configuration/ does not exist, and cannot be created.

So I created a symbolic link from 
/Developer/WebObjects/Library/WebObjects/Configuration to 
/Library/WebObjects/Configuration

Obviously that is kind of a hack.  Anyone know how to override that so I can 
direct to the non-default location?

Thank you,

Johnny

On Nov 10, 2013, at 2:31 PM, Johnny Miller  wrote:

> It seems to start up and then die on me.
> 
>  593   ??  Ss 0:01.82 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
> -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
> -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
> -Dcom.webobjects.pid=593 -Dcom.sun.management.jmxremote=false -classpath 
> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789
>   619   ??  Rs 0:00.09 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
> -DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
> -DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
> -Dcom.webobjects.pid=619 -Dcom.sun.management.jmxremote=false -classpath 
> WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085
> 
> 
> It looks like -DWORootDirectory is wrong.  Do you know how would I direct it 
> to the right location?
> 
> Thank you!
> 
> On Nov 10, 2013, at 2:10 PM, Ken Anderson  wrote:
> 
>> If you do a ps, do you see monitor running?  It’s working OK on my clean 
>> Mavericks install (on a late 2013 MBP!!)
>> 
>> Ken
>> 
>> On Nov 10, 2013, at 6:34 PM, Johnny Miller  wrote:
>> 
>>> OK.
>>> 
>>> So the mistake I made there was when reading the log files I saw it 
>>> complaining about appserver and appserverusr so I tried adding the 
>>> underscore in the configuration files in /Library/LaunchDaemons.  That 
>>> didn’t solve anything but I left it.  I then made the two scripts for the 
>>> apps executable and then I ran into the error below.  After switching back 
>>> the user and group name to the version without the underscore both apps now 
>>> start.
>>> 
>>> But… I can’t connect to womonitor on localhost:56789
>>> 
>>> I have followed these instructions 
>>> http://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache?src=search
>>>  making the correct substitutions for my environment.  
>>> 
>>> Any idea on what I could be doing wrong?
>>> 
>>> Thanks,
>>> 
>>> Johnny
>>> 
>>> 
>>> 
>>> Begin forwarded message:
>>> 
>>>> From: Johnny Miller 
>>>> Subject: Mavericks clean install set up problem
>>>> Date: November 10, 2013 at 1:15:31 PM HST
>>>> To: "webobjects-dev@lists.apple.com com" 
>>>> 
>>>> Hi,
>>>> 
>>>> I’m trying to set up webobjects on a clean install of mavericks.  And I’m 
>>>> getting stuck with trying to run debugging through apache. 
>>>> 
>>>> I’ve created the plists for womonitor and wotaskd per the instructions 
>>>> here: 
>>>> http://wiki.wocommunity.org/display/WO/WO+5.4+Getting+Started#WO5.4GettingStarted-javamonitor
>>>> 
>>>> I set up WebObjects using the WOInstaller.jar to /Developer/WebObjects.
>>>> 
>>>> I updated the plists to point to the correct location for the launch 
>>>> scripts for womonitor and wotaskd.
>>>> 
>>>> And I made both those scripts executable.
>>>> 
>>>> But when I try to launch the scripts I’m getting the very cryptic message 
>>>> of:
>>>> 
>>>> Nov 10 13:06:46 Puamana com.apple.launchd[1] 
>>>> (com.apple.webobjects.wotaskd[4351]): Exited with code: 1
>>>> 
>>>> Any ideas on where I’ve gone wrong?
>>>> 
>>>> Thanks in advance,
>>>> 
>>>> Johnny
>>> 
>>> ___
>>> Do not 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/archive%40mail-archive.com

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

Re: Mavericks clean install set up problem

2013-11-10 Thread Johnny Miller
It seems to start up and then die on me.

 593   ??  Ss 0:01.82 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
-DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
-DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
-Dcom.webobjects.pid=593 -Dcom.sun.management.jmxremote=false -classpath 
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 56789
  619   ??  Rs 0:00.09 /usr/bin/java -XX:NewSize=2m -Xmx64m -Xms32m 
-DWORootDirectory=/System -DWOLocalRootDirectory= -DWOUserDirectory=/ 
-DWOEnvClassPath= -DWOApplicationClass=Application -DWOPlatform=MacOS 
-Dcom.webobjects.pid=619 -Dcom.sun.management.jmxremote=false -classpath 
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 1085


It looks like -DWORootDirectory is wrong.  Do you know how would I direct it to 
the right location?

Thank you!

On Nov 10, 2013, at 2:10 PM, Ken Anderson  wrote:

> If you do a ps, do you see monitor running?  It’s working OK on my clean 
> Mavericks install (on a late 2013 MBP!!)
> 
> Ken
> 
> On Nov 10, 2013, at 6:34 PM, Johnny Miller  wrote:
> 
>> OK.
>> 
>> So the mistake I made there was when reading the log files I saw it 
>> complaining about appserver and appserverusr so I tried adding the 
>> underscore in the configuration files in /Library/LaunchDaemons.  That 
>> didn’t solve anything but I left it.  I then made the two scripts for the 
>> apps executable and then I ran into the error below.  After switching back 
>> the user and group name to the version without the underscore both apps now 
>> start.
>> 
>> But… I can’t connect to womonitor on localhost:56789
>> 
>> I have followed these instructions 
>> http://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache?src=search
>>  making the correct substitutions for my environment.  
>> 
>> Any idea on what I could be doing wrong?
>> 
>> Thanks,
>> 
>> Johnny
>> 
>> 
>> 
>> Begin forwarded message:
>> 
>>> From: Johnny Miller 
>>> Subject: Mavericks clean install set up problem
>>> Date: November 10, 2013 at 1:15:31 PM HST
>>> To: "webobjects-dev@lists.apple.com com" 
>>> 
>>> Hi,
>>> 
>>> I’m trying to set up webobjects on a clean install of mavericks.  And I’m 
>>> getting stuck with trying to run debugging through apache. 
>>> 
>>> I’ve created the plists for womonitor and wotaskd per the instructions 
>>> here: 
>>> http://wiki.wocommunity.org/display/WO/WO+5.4+Getting+Started#WO5.4GettingStarted-javamonitor
>>> 
>>> I set up WebObjects using the WOInstaller.jar to /Developer/WebObjects.
>>> 
>>> I updated the plists to point to the correct location for the launch 
>>> scripts for womonitor and wotaskd.
>>> 
>>> And I made both those scripts executable.
>>> 
>>> But when I try to launch the scripts I’m getting the very cryptic message 
>>> of:
>>> 
>>> Nov 10 13:06:46 Puamana com.apple.launchd[1] 
>>> (com.apple.webobjects.wotaskd[4351]): Exited with code: 1
>>> 
>>> Any ideas on where I’ve gone wrong?
>>> 
>>> Thanks in advance,
>>> 
>>> Johnny
>> 
>> ___
>> Do not 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/archive%40mail-archive.com

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

Fwd: Mavericks clean install set up problem

2013-11-10 Thread Johnny Miller
OK.

So the mistake I made there was when reading the log files I saw it complaining 
about appserver and appserverusr so I tried adding the underscore in the 
configuration files in /Library/LaunchDaemons.  That didn’t solve anything but 
I left it.  I then made the two scripts for the apps executable and then I ran 
into the error below.  After switching back the user and group name to the 
version without the underscore both apps now start.

But… I can’t connect to womonitor on localhost:56789

I have followed these instructions 
http://wiki.wocommunity.org/display/documentation/Development+Tools-Running+Through+Apache?src=search
 making the correct substitutions for my environment.  

Any idea on what I could be doing wrong?

Thanks,

Johnny



Begin forwarded message:

> From: Johnny Miller 
> Subject: Mavericks clean install set up problem
> Date: November 10, 2013 at 1:15:31 PM HST
> To: "webobjects-dev@lists.apple.com com" 
> 
> Hi,
> 
> I’m trying to set up webobjects on a clean install of mavericks.  And I’m 
> getting stuck with trying to run debugging through apache. 
> 
> I’ve created the plists for womonitor and wotaskd per the instructions here: 
> http://wiki.wocommunity.org/display/WO/WO+5.4+Getting+Started#WO5.4GettingStarted-javamonitor
> 
> I set up WebObjects using the WOInstaller.jar to /Developer/WebObjects.
> 
> I updated the plists to point to the correct location for the launch scripts 
> for womonitor and wotaskd.
> 
> And I made both those scripts executable.
> 
> But when I try to launch the scripts I’m getting the very cryptic message of:
> 
> Nov 10 13:06:46 Puamana com.apple.launchd[1] 
> (com.apple.webobjects.wotaskd[4351]): Exited with code: 1
> 
> Any ideas on where I’ve gone wrong?
> 
> Thanks in advance,
> 
> Johnny

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

Mavericks clean install set up problem

2013-11-10 Thread Johnny Miller
Hi,

I’m trying to set up webobjects on a clean install of mavericks.  And I’m 
getting stuck with trying to run debugging through apache. 

I’ve created the plists for womonitor and wotaskd per the instructions here: 
http://wiki.wocommunity.org/display/WO/WO+5.4+Getting+Started#WO5.4GettingStarted-javamonitor

I set up WebObjects using the WOInstaller.jar to /Developer/WebObjects.

I updated the plists to point to the correct location for the launch scripts 
for womonitor and wotaskd.

And I made both those scripts executable.

But when I try to launch the scripts I’m getting the very cryptic message of:

Nov 10 13:06:46 Puamana com.apple.launchd[1] 
(com.apple.webobjects.wotaskd[4351]): Exited with code: 1

Any ideas on where I’ve gone wrong?

Thanks in advance,

Johnny
 ___
Do not 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: D2W and Boolean Queries

2013-10-11 Thread Johnny Miller
Well I'm the dummy.

I was looking at this rule:

(task = 'query' and (smartAttribute.className = 'java.lang.Boolean' or 
((smartAttribute.userInfo.erPrototype = 'Boolean' or 
smartAttribute.userInfo.erPrototype = 'BooleanYesNo') and 
(smartAttribute.className = 'java.math.BigDecimal' or smartAttribute.className 
= 'java.lang.Number'

which resolves componentName to ERD2WCustomQueryBoolean

So I couldn't figure out why I was getting that other message.

Anyway my attribute name was filled and in my rule I spelt it fillled

Tired eyes on a Friday didn't see it until after I had lunch.

Sorry about that everyone,

Johnny

On Oct 11, 2013, at 1:42 PM, Johnny Miller  wrote:

> Hi Jesse,
> 
> I'm trying to query on not edit a boolean.  The components that I see are:
> 
> ERD2WQueryBooleanRadioList which subclasses D2WQueryBoolean
> 
> But the problem is it works with Integers and not Booleans.  So true is 
> anything great than 0.  But I don't really want to change my model if I don't 
> have to...
> 
> Thank you,
> 
> Johnny
> 
> 
> On Oct 11, 2013, at 1:36 PM, Jesse Tayler  wrote:
> 
>> 
>> is ERD2WCustomEditBoolean helpful at all?
>> 
>> 
>> 
>> 
>> On Oct 11, 2013, at 7:32 PM, Jesse Tayler  wrote:
>> 
>>> 
>>> others may have far more accurate response to your problem.
>>> 
>>> this reminds me of the response a base component might return when it 
>>> fails, which doesn’t suggest to me that there’s not another component which 
>>> would allow that in a query.
>>> 
>>> have you written a component yourself and tried or otherwise combed through 
>>> modern look for one more suitable?
>>> 
>>> I’m sorry I am not more help —perhaps others will chime in. 
>>> 
>>> I can only say I’m not aware of why you’d be unable to do anything the JDBC 
>>> adaptor and your database might allow, or why D2W would prevent such.
>>> 
>>> 
>>> On Oct 11, 2013, at 7:18 PM, Johnny Miller  wrote:
>>> 
>>>> Hi Jesse,
>>>> 
>>>> I'm having the same experience as the thread that I posted.  I try to set 
>>>> a custom component on the propertyKey but instead of displaying the 
>>>> component it writes the following string:  "- cannot be used in a query -"
>>>> 
>>>> That's why I asked the list.
>>>> 
>>>> 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 Oct 11, 2013, at 1:13 PM, Jesse Tayler  wrote:
>>>> 
>>>>> 
>>>>> I am not aware of any reason why one would be unable to write any kind of 
>>>>> query component.
>>>>> 
>>>>> I would think there’s something nice in the modern look frameworks for 
>>>>> you, have you tried and are having a specific trouble or just wondering 
>>>>> and found that google provides WO people with bizarrely crappy search 
>>>>> results typically favoring the old and negative over seemingly anything 
>>>>> found on our modern wiki!! …sigh...I digress…
>>>>> 
>>>>> 
>>>>> On Oct 11, 2013, at 6:37 PM, Johnny Miller  wrote:
>>>>> 
>>>>>> hi,
>>>>>> 
>>>>>> I found this thread on this topic: 
>>>>>> http://lists.apple.com/archives/webobjects-dev/2004/Dec/msg00079.html
>>>>>> 
>>>>>> Which basically says you can't do this.  Has anything changed since 2004 
>>>>>> or does someone have a work around?
>>>>>> 
>>>>>> 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 | e-mail 
>>>>>> 
>>>>>> ___
>>>>>> Do not 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/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/archive%40mail-archive.com

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

Re: D2W and Boolean Queries

2013-10-11 Thread Johnny Miller
Hi Jesse,

I'm trying to query on not edit a boolean.  The components that I see are:

ERD2WQueryBooleanRadioList which subclasses D2WQueryBoolean

But the problem is it works with Integers and not Booleans.  So true is 
anything great than 0.  But I don't really want to change my model if I don't 
have to...

Thank you,

Johnny


On Oct 11, 2013, at 1:36 PM, Jesse Tayler  wrote:

> 
> is ERD2WCustomEditBoolean helpful at all?
> 
> 
> 
> 
> On Oct 11, 2013, at 7:32 PM, Jesse Tayler  wrote:
> 
>> 
>> others may have far more accurate response to your problem.
>> 
>> this reminds me of the response a base component might return when it fails, 
>> which doesn’t suggest to me that there’s not another component which would 
>> allow that in a query.
>> 
>> have you written a component yourself and tried or otherwise combed through 
>> modern look for one more suitable?
>> 
>> I’m sorry I am not more help —perhaps others will chime in. 
>> 
>> I can only say I’m not aware of why you’d be unable to do anything the JDBC 
>> adaptor and your database might allow, or why D2W would prevent such.
>> 
>> 
>> On Oct 11, 2013, at 7:18 PM, Johnny Miller  wrote:
>> 
>>> Hi Jesse,
>>> 
>>> I'm having the same experience as the thread that I posted.  I try to set a 
>>> custom component on the propertyKey but instead of displaying the component 
>>> it writes the following string:  "- cannot be used in a query -"
>>> 
>>> That's why I asked the list.
>>> 
>>> 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 Oct 11, 2013, at 1:13 PM, Jesse Tayler  wrote:
>>> 
>>>> 
>>>> I am not aware of any reason why one would be unable to write any kind of 
>>>> query component.
>>>> 
>>>> I would think there’s something nice in the modern look frameworks for 
>>>> you, have you tried and are having a specific trouble or just wondering 
>>>> and found that google provides WO people with bizarrely crappy search 
>>>> results typically favoring the old and negative over seemingly anything 
>>>> found on our modern wiki!! …sigh...I digress…
>>>> 
>>>> 
>>>> On Oct 11, 2013, at 6:37 PM, Johnny Miller  wrote:
>>>> 
>>>>> hi,
>>>>> 
>>>>> I found this thread on this topic: 
>>>>> http://lists.apple.com/archives/webobjects-dev/2004/Dec/msg00079.html
>>>>> 
>>>>> Which basically says you can't do this.  Has anything changed since 2004 
>>>>> or does someone have a work around?
>>>>> 
>>>>> 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 | e-mail  
>>>>> 
>>>>> ___
>>>>> Do not 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/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/archive%40mail-archive.com

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

Re: D2W and Boolean Queries

2013-10-11 Thread Johnny Miller
Hi Jesse,

I'm having the same experience as the thread that I posted.  I try to set a 
custom component on the propertyKey but instead of displaying the component it 
writes the following string:  "- cannot be used in a query -"

That's why I asked the list.

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 Oct 11, 2013, at 1:13 PM, Jesse Tayler  wrote:

> 
> I am not aware of any reason why one would be unable to write any kind of 
> query component.
> 
> I would think there’s something nice in the modern look frameworks for you, 
> have you tried and are having a specific trouble or just wondering and found 
> that google provides WO people with bizarrely crappy search results typically 
> favoring the old and negative over seemingly anything found on our modern 
> wiki!! …sigh...I digress…
> 
> 
> On Oct 11, 2013, at 6:37 PM, Johnny Miller  wrote:
> 
>> hi,
>> 
>> I found this thread on this topic: 
>> http://lists.apple.com/archives/webobjects-dev/2004/Dec/msg00079.html
>> 
>> Which basically says you can't do this.  Has anything changed since 2004 or 
>> does someone have a work around?
>> 
>> 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 | e-mail 
>> 
>> ___
>> Do not 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/archive%40mail-archive.com

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

D2W and Boolean Queries

2013-10-11 Thread Johnny Miller
hi,

I found this thread on this topic: 
http://lists.apple.com/archives/webobjects-dev/2004/Dec/msg00079.html

Which basically says you can't do this.  Has anything changed since 2004 or 
does someone have a work around?

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

 ___
Do not 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 2014: more details

2013-10-11 Thread Johnny Miller
Better than Indiana Dave and the Locked Editing Context of Doom?

I think not.

On Oct 11, 2013, at 10:04 AM, David Holt  wrote:

> Man, I go on a small holiday and look what happens in my absence.
> 
> You forgot
> 
> Dave Runner. 
> 
> 30th anniversary edition currently available in the iTunes store for cheap 
> cheap (at least in Canada) and no joke best movie Harrison Ford ever made.
> 
> 
> 
> 
> On 2013-10-11, at 6:49 AM, David LeBer  wrote:
> 
>> Dawn of the David
>> Night of the Living David
>> The Living Davids
>> To Have and Have Not David
>> For David the Bell Tolls
>> David
>> Davids (David 2) - the rest of the 'David' series were crap
>> 2014: A David Odyssey
>> The David of Oz
>> Taxi David
>> David with the Wind
>> David to the Future
>> Star David Episode IV: A New David
>> The Davidshank Redavidtion
>> 
>> OK, I'm done.
>> 
>> D
>> 
>> --
>> David LeBer
>> Codeferous Software
>> 
>> On 2013-10-10, at 8:30 PM, Chuck Hill  wrote:
>> 
>>> Day of The Davids!
>>> 
>>> I am liking this already.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On 2013-10-10 5:29 PM, "Pascal Robert"  wrote:
>>> 
 And all of those David did present in the past, so I challenge them to
 present again this year!
 
> David LeBer
> David Aspinall
> David Holt
> David Avendasora
> 
> Yep, that should do.
> 
> We can have a Stump the Davids session!
> 
> 
> 
> 
> On 2013-10-10 12:05 PM, "David Aspinall" 
> wrote:
> 
>> I'm In.  If we have to have a quorum or Davids then I want to be
>> there!!!
>> 
>> ---
>> David Aspinall
>> Senior IT Consultant
>> Global Village Consulting Inc.
>> E: daspin...@global-village.net
>> P: 1-587-439-7442
>> 
>> 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!
>> 
>> 
>> 
>> 
>> 
>> 
>> On 2013-10-10, at 1:02 PM, 
>> wrote:
>> 
>>> Yup, we need at least 3 Davids, or else it's boring.
>>> 
 More Davids please!
 On Oct 10, 2013, at 1:17 AM, David Avendasora
  wrote:
> It all sounds great to me! I'm just glad to be able to attend again!
> Now, Chuck, stop that. You knew I was going to be back. You should
> have prepared.
> Dave
> On Sep 26, 2013, at 11:29 PM, David Holt 
> wrote:
>> Definitely interested.
>> Sent from my iPad
>>> On Sep 26, 2013, at 6:25 PM, Pascal Robert 
>>> wrote:
>>> Hi guys,
>>> The ticket for WOWODC 2014 will be $580. As usual, we will have
>>> special price for groups. Tickets will be on sale before December.
>>> Ticket will include a dinner on Sunday April 13th, at this sugar
>>> shack:
>>> http://www.sucreriedelamontagne.com/
>>> Daniel, the event manager, knows the owners, so we will probably
>>> have some extras.
>>> And I'm thinking of doing a "A day with a sysadmin" session+labs.
>>> It would be practical stuff, like how to deploy from Git (with
>>> hooks), from Jenkins, how to use and write Nagios plugins, how to
>>> use Selenium WebDriver, cluster with Linux, heartbeat, DRDB and
>>> HAProxy, managing your logs with logstash. That would concurrent
>>> to
>>> the other presentations. Anyone have any interest in this?
>>> ___
>>> Do not 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/programmingo
>>> sx
>>> %40mac.com
>>> This email sent to programming...@mac.com
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> 
>> 
>> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40
>> av
>> endasora.com
>> This email sent to webobje...@avendasora.com
> ‹
> WebObjects - so easy that even Dave Avendasora can do it!
> ‹
> 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 Su

Re: WOBrowser selectedValues

2013-10-03 Thread Johnny Miller
Hi Chuck,

I think WOBrowser is broken.  I set my component type to ERXWOBrowser and it 
now works.  Shouldn't that override be automatic?

Thanks,

Johnny Miller
Kahalawai Media Co.

> On Oct 3, 2013, at 2:57 PM, Chuck Hill  wrote:
> 
> Have you tried selections instead of selectedValues?
> 
> 
> On 2013-10-03 4:14 PM, "Johnny Miller" wrote:
> 
> Hi,
> 
> I'm having trouble with WOBrowser.  I'm passing in a list of strings and 
> setting the value to the string.  And the WOBrowser is part of a form that 
> uses a direct action.
> 
> The problem is that I pass in an NSArray to the selectedValues binding but I 
> don't see that the string in the array get selected in WOBrowser.  Is there a 
> known problem with this 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 | e-mail  
> 
> 
> -- 
> 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

WOBrowser selectedValues

2013-10-03 Thread Johnny Miller
Hi,

I'm having trouble with WOBrowser.  I'm passing in a list of strings and 
setting the value to the string.  And the WOBrowser is part of a form that uses 
a direct action.

The problem is that I pass in an NSArray to the selectedValues binding but I 
don't see that the string in the array get selected in WOBrowser.  Is there a 
known problem with this 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 | e-mail

 ___
Do not 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: d2w query question

2013-09-25 Thread Johnny Miller
Like this?

http://lists.apple.com/archives/webobjects-dev/2012/Apr/msg00260.html


On Sep 25, 2013, at 9:23 AM, Theodore Petrosky  wrote:

> I have an entity 'Grid' that has an attribute 'isBillboard'. I created the 
> list billboard tab with:
> 
>  public WOComponent listBillboardAction() {
> 
>EOEditingContext ec = ERXEC.newEditingContext();
>ListPageInterface lpi = (ListPageInterface) 
> D2W.factory().pageForConfigurationNamed("ListGrid", session());
> 
>EODatabaseDataSource ds = new EODatabaseDataSource(ec, "Grid");
> 
>ERXFetchSpecification fs =  new 
> ERXFetchSpecification(Grid.ENTITY_NAME, 
> Grid.IS_COMPLETE.eq(false).and(Grid.IS_BILLBOARD.eq(true)), null);
> 
>ds.setFetchSpecification(fs);
> 
>lpi.setDataSource(ds);
> 
>((D2WComponent) lpi).d2wContext().takeValueForKey("ListBillboard", 
> "navigationState");
> 
>return (D2WPage) lpi;
>  }
> 
> 
> How can I apply the same limit to a Query page? I don't want to put a control 
> on the page to select 'isBillboard', i want isBillboard to be true
> 
> 
>  public WOComponent queryBillboardAction() {
>QueryPageInterface qpi = (QueryPageInterface) 
> D2W.factory().queryPageForEntityNamed("Grid", session());
> 
>((D2WComponent) qpi).d2wContext().takeValueForKey("ListBillboard", 
> "navigationState");
> 
>return (WOComponent) qpi;
> 
>  }
> ___
> Do not 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: Anyone using Kepler?

2013-09-20 Thread Johnny Miller
Hi Por,

I have a couple of other things I wanted to do first but I would be interested 
in participating on an IntelliJ plugin.  I was looking at the documentation, 
and I could be off on this, but I believe we could use the community edition of 
their platform (read free) and build our own product on top of it.  Just like 
the WebStorm, IDEA, RubyMine etc...

But I've never done any kind of plugin development so I don't know how much 
help I would be.

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 Sep 20, 2013, at 12:24 AM, Þór Sigurðsson  wrote:

> 
> How about the EOModeller trouble ( data types meing mangled when you alter 
> the model) ?
> 
> I had enough trouble with EOModeller in Eclipse 4.2 to go back to 3.7/8. I 
> really wish to hear about people's experiences since 3.x is an aging 
> platform...
> 
> And 4.x has proven troublesome for WOdevelopment...
> 
> (actually, if anyone, and I mean _anyone_ ) wishes to put effort into 
> bringing IntellJ/IDEA into the fold again, I'd be happy to participate ;)
> 
> /Þór
> 
> On 19.9.2013, at 16:10, Henrique Gomes wrote:
> 
>> Thank you for bringing this up, I was using different versions of eclipse 
>> for WO and other work (embedded systems, C) because when I tried to work 
>> with eclipse 4.x, it crashed with NPE's on the WO editor so I was still 
>> using Indigo (3.?) for WO.
>> 
>> After trying again with 4.3, I found out that a new workspace solves the 
>> problem, but I also found out that I only need to erase the prefs stored in 
>> .metadata/.plugins/org.eclipse.core.runtime/.settings I delete all the org 
>> org.objectstyle.* and org.eclipse.wst.* files in there.
>> 
>> I'm know using the same eclipse for all my work, great.
>> 
>> Henrique Gomes
>> 
>> 
>> On Sep 6, 2013, at 6:02 PM, Ramsey Gurley  wrote:
>> 
>>> I'm using 4.3 without issues for about 6 weeks now. My coworkers are not 
>>> able to make the same claim. We've all decided I'm charmed :-)
>>> 
>>> https://github.com/wolips/wolips/issues/102
>>> 
>>> On Sep 6, 2013, at 9:40 AM, Hugi Thordarson wrote:
>>> 
>>>> Hi all.
>>>> I'm setting up a new team on WO. Just wondering if anyone is using Eclipse 
>>>> 4 with any success now or if I should start them off on 3.x?
>>>> 
>>>> Cheers,
>>>> - hugi
>>>> 
> 
> 
> 
> 
> Sameinaðir kraftar í lofti, láði og legi
> 
> 
> Þann 1. júlí 2013 tók Samgöngustofa til starfa. Með stofnun hennar sameinast 
> stjórnsýsla og eftirlit samgöngumála og þangað færast öll verkefni 
> Flugmálastjórnar Íslands og Umferðarstofu auk stjórnsýslu- og 
> eftirlitsverkefna Siglingastofnunar Íslands og Vegagerðarinnar.
> 
> Starfstöðvar fyrrum Umferðarstofu, Siglingastofnunar og Flugmálastjórnar 
> Íslands munu haldast óbreyttar fyrst um sinn.
> 
> Samgöngustofa, pósthólf 470, 202 Kópavogur, sími 480 6000 - 
> samgongust...@samgongustofa.is, http://www.samgongustofa.is
> 
> 
> 
> Fyrirvari á tölvupósti / e-mail disclaimer
> http://ww2.us.is/fyrirvari
> 
> ___
> Do not 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: D2W Question

2013-09-05 Thread Johnny Miller
It is like the ultimate in DRY.  And you get all the comfort of knowing that 
these components have been heavily tested so it's less likely you will find a 
bug.  

It's kind of amazing that you don't see this type of development in other 
frameworks.

On Sep 5, 2013, at 1:25 PM, David Holt  wrote:

> Power is addicting, isn't it?
> 
> :-)
> 
> On 2013-09-05, at 3:56 PM, Johnny Miller  wrote:
> 
>> I'm definitely using unmodern ;)
>> 
>> I started out just trying to add some embedded components to an existing 
>> project.  I'm adding a new section that is strict D2W so I have a hodgepodge 
>> of my own components that add some styling  to the components from 
>> ERDirectToWeb to it to make the UI consistent.
>> 
>> After using the embedded components I realized that going part way was not 
>> far enough.
>> 
>> 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 Sep 5, 2013, at 12:45 PM, David Holt  wrote:
>> 
>>> ERMODEditRelationshipPage
>> 
> 

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

2013-09-05 Thread Johnny Miller
Cool that works too.

On Sep 5, 2013, at 9:42 AM, David LeBer  wrote:

> 'entity' is an EOEntity. It has a parentEntity method. I've never tried, but 
> that may give you what you want.
> 
> http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/com/webobjects/eoaccess/EOEntity.html
> 
> D
> 
> --
> David LeBer
> Codeferous Software
> 
> On 2013-09-05, at 3:27 PM, Johnny Miller  wrote:
> 
>> One more thing...
>> 
>> How about writing rules for entities that extend an abstract entity?  Is 
>> there an entity.parent.name rule?
>> 
>> On Sep 5, 2013, at 9:26 AM, Johnny Miller  wrote:
>> 
>>> It works.  Sununvagun I thought I had tried it and it did not.  Now I can 
>>> go delete some of the longest rules written in the history of D2W.
>>> 
>>> 
>>> On Sep 5, 2013, at 8:02 AM, David Holt  wrote:
>>> 
>>>> No special assignment.
>>>> 
>>>> Have you tried it??
>>>> 
>>>> David
>>>> 
>>>> 
>>>> On 2013-09-05, at 9:24 AM, Ramsey Gurley  wrote:
>>>> 
>>>>> 100: entity.name like 'XYZ*' => ... 
>>>>> 
>>>>> should work.
>>>>> 
>>>>> On Sep 4, 2013, at 8:22 PM, Johnny Miller wrote:
>>>>> 
>>>>>> Hi David,  
>>>>>> 
>>>>>> Do you think you can't do that or that you don't need a special 
>>>>>> assignment?
>>>>>> 
>>>>>> Johnny Miller
>>>>>> Kahalawai Media Co.
>>>>>> 
>>>>>> On Sep 4, 2013, at 2:37 PM, David Holt  wrote:
>>>>>> 
>>>>>>> I don't think so.
>>>>>>> 
>>>>>>> David
>>>>>>> 
>>>>>>> Sent from my iPad
>>>>>>> 
>>>>>>> On 2013-09-04, at 5:23 PM, Johnny Miller  wrote:
>>>>>>> 
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>> I would like to use an entity qualifier that treats all entities with 
>>>>>>>> a prefix the same way i.e. entity.name like 'XYZ*' 
>>>>>>>> 
>>>>>>>> Is there a special assignment I need to use to make that work?
>>>>>>>> 
>>>>>>>> Aloha,
>>>>>>>> Mr. Johnny Miller
>>>>>>>> Web Development Manager
>>>>>>>> Kahalawai Media Company
>>>>>>>> Lahaina, HI 96761
>>>>>>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>>>>>>> website | e-mail   
>>>>>>>> 
>>>>>>>> ___
>>>>>>>> Do not 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/programmingosx%40mac.com
>>>>>>>> 
>>>>>>>> This email sent to programming...@mac.com
>>>>>> ___
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>> 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/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/archive%40mail-archive.com

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

Re: D2W Question

2013-09-05 Thread Johnny Miller
I'm definitely using unmodern ;)

I started out just trying to add some embedded components to an existing 
project.  I'm adding a new section that is strict D2W so I have a hodgepodge of 
my own components that add some styling  to the components from ERDirectToWeb 
to it to make the UI consistent.

After using the embedded components I realized that going part way was not far 
enough.

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 Sep 5, 2013, at 12:45 PM, David Holt  wrote:

> ERMODEditRelationshipPage

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

2013-09-05 Thread Johnny Miller
Neat.  Since I'm throwing out questions... 

What is a good component to look at when I want to display a table with d2w 
context defined property keys for a to many relationship?

i.e. I have a tab inspect page and one of the tabs let's the user inspect a to 
many relationship.  And I want to be able to define the destination entity's 
properties the user sees through the rule editor.

I looked at ERD2WDisplayToManyTable but that really only lets use define a 
single attribute.

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 Sep 5, 2013, at 12:10 PM, Ramsey Gurley  wrote:

> Little known secret about EOQualifiers... you can use them to call methods 
> with a signature like
> 
> public boolean methodName(Object obj)
> 
> So you should also be able to do something like 
> 
> entity.userInfo containsKey "wiggly wompus"
> 
> or some such :) The EOQualifier documentation puts a colon after the selector 
> name, but that failed when I tried it.
> 
> I would not suggest putting selector methods on your session or EOs though, 
> since anything you put on either side of the qualifier selector is cached 
> automatically by the rule system.
> 
> Ramsey
> 
> On Sep 5, 2013, at 12:48 PM, Johnny Miller wrote:
> 
>> Cool that works too.
>> 
>> On Sep 5, 2013, at 9:42 AM, David LeBer  wrote:
>> 
>>> 'entity' is an EOEntity. It has a parentEntity method. I've never tried, 
>>> but that may give you what you want.
>>> 
>>> http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/com/webobjects/eoaccess/EOEntity.html
>>> 
>>> D
>>> 
>>> --
>>> David LeBer
>>> Codeferous Software
>>> 
>>> On 2013-09-05, at 3:27 PM, Johnny Miller  wrote:
>>> 
>>>> One more thing...
>>>> 
>>>> How about writing rules for entities that extend an abstract entity?  Is 
>>>> there an entity.parent.name rule?
>>>> 
>>>> On Sep 5, 2013, at 9:26 AM, Johnny Miller  wrote:
>>>> 
>>>>> It works.  Sununvagun I thought I had tried it and it did not.  Now I can 
>>>>> go delete some of the longest rules written in the history of D2W.
>>>>> 
>>>>> 
>>>>> On Sep 5, 2013, at 8:02 AM, David Holt  wrote:
>>>>> 
>>>>>> No special assignment.
>>>>>> 
>>>>>> Have you tried it??
>>>>>> 
>>>>>> David
>>>>>> 
>>>>>> 
>>>>>> On 2013-09-05, at 9:24 AM, Ramsey Gurley  wrote:
>>>>>> 
>>>>>>> 100: entity.name like 'XYZ*' => ... 
>>>>>>> 
>>>>>>> should work.
>>>>>>> 
>>>>>>> On Sep 4, 2013, at 8:22 PM, Johnny Miller wrote:
>>>>>>> 
>>>>>>>> Hi David,  
>>>>>>>> 
>>>>>>>> Do you think you can't do that or that you don't need a special 
>>>>>>>> assignment?
>>>>>>>> 
>>>>>>>> Johnny Miller
>>>>>>>> Kahalawai Media Co.
>>>>>>>> 
>>>>>>>> On Sep 4, 2013, at 2:37 PM, David Holt  wrote:
>>>>>>>> 
>>>>>>>>> I don't think so.
>>>>>>>>> 
>>>>>>>>> David
>>>>>>>>> 
>>>>>>>>> Sent from my iPad
>>>>>>>>> 
>>>>>>>>> On 2013-09-04, at 5:23 PM, Johnny Miller  
>>>>>>>>> wrote:
>>>>>>>>> 
>>>>>>>>>> Hi,
>>>>>>>>>> 
>>>>>>>>>> I would like to use an entity qualifier that treats all entities 
>>>>>>>>>> with a prefix the same way i.e. entity.name like 'XYZ*' 
>>>>>>>>>> 
>>>>>>>>>> Is there a special assignment I need to use to make that work?
>>>>>>>>>> 
>>>>>>>>>> Aloha,
>>>>>>>>>> Mr. Johnny Miller
>>>>>>>>>> Web Development Manager
>>>>>>>>>> Kahalawai Media Company
>>>>>>>>>> Lahaina, HI 96761
>>>

Re: D2W Question

2013-09-05 Thread Johnny Miller
One more thing...

How about writing rules for entities that extend an abstract entity?  Is there 
an entity.parent.name rule?

On Sep 5, 2013, at 9:26 AM, Johnny Miller  wrote:

> It works.  Sununvagun I thought I had tried it and it did not.  Now I can go 
> delete some of the longest rules written in the history of D2W.
> 
> 
> On Sep 5, 2013, at 8:02 AM, David Holt  wrote:
> 
>> No special assignment.
>> 
>> Have you tried it??
>> 
>> David
>> 
>> 
>> On 2013-09-05, at 9:24 AM, Ramsey Gurley  wrote:
>> 
>>> 100: entity.name like 'XYZ*' => ... 
>>> 
>>> should work.
>>> 
>>> On Sep 4, 2013, at 8:22 PM, Johnny Miller wrote:
>>> 
>>>> Hi David,  
>>>> 
>>>> Do you think you can't do that or that you don't need a special assignment?
>>>> 
>>>> Johnny Miller
>>>> Kahalawai Media Co.
>>>> 
>>>> On Sep 4, 2013, at 2:37 PM, David Holt  wrote:
>>>> 
>>>>> I don't think so.
>>>>> 
>>>>> David
>>>>> 
>>>>> Sent from my iPad
>>>>> 
>>>>> On 2013-09-04, at 5:23 PM, Johnny Miller  wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I would like to use an entity qualifier that treats all entities with a 
>>>>>> prefix the same way i.e. entity.name like 'XYZ*' 
>>>>>> 
>>>>>> Is there a special assignment I need to use to make that work?
>>>>>> 
>>>>>> Aloha,
>>>>>> Mr. Johnny Miller
>>>>>> Web Development Manager
>>>>>> Kahalawai Media Company
>>>>>> Lahaina, HI 96761
>>>>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>>>>> website | e-mail 
>>>>>> 
>>>>>> ___
>>>>>> Do not 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/programmingosx%40mac.com
>>>>>> 
>>>>>> This email sent to programming...@mac.com
>>>> ___
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> 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/archive%40mail-archive.com

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

Re: D2W Question

2013-09-05 Thread Johnny Miller
It works.  Sununvagun I thought I had tried it and it did not.  Now I can go 
delete some of the longest rules written in the history of D2W.


On Sep 5, 2013, at 8:02 AM, David Holt  wrote:

> No special assignment.
> 
> Have you tried it??
> 
> David
> 
> 
> On 2013-09-05, at 9:24 AM, Ramsey Gurley  wrote:
> 
>> 100: entity.name like 'XYZ*' => ... 
>> 
>> should work.
>> 
>> On Sep 4, 2013, at 8:22 PM, Johnny Miller wrote:
>> 
>>> Hi David,  
>>> 
>>> Do you think you can't do that or that you don't need a special assignment?
>>> 
>>> Johnny Miller
>>> Kahalawai Media Co.
>>> 
>>> On Sep 4, 2013, at 2:37 PM, David Holt  wrote:
>>> 
>>>> I don't think so.
>>>> 
>>>> David
>>>> 
>>>> Sent from my iPad
>>>> 
>>>> On 2013-09-04, at 5:23 PM, Johnny Miller  wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> I would like to use an entity qualifier that treats all entities with a 
>>>>> prefix the same way i.e. entity.name like 'XYZ*' 
>>>>> 
>>>>> Is there a special assignment I need to use to make that work?
>>>>> 
>>>>> Aloha,
>>>>> Mr. Johnny Miller
>>>>> Web Development Manager
>>>>> Kahalawai Media Company
>>>>> Lahaina, HI 96761
>>>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>>>> website | e-mail  
>>>>> 
>>>>> ___
>>>>> Do not 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/programmingosx%40mac.com
>>>>> 
>>>>> This email sent to programming...@mac.com
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> 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/archive%40mail-archive.com

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

Re: D2W Question

2013-09-04 Thread Johnny Miller
Are you sure the answer isn't 42?

Johnny Miller
Kahalawai Media Co.

On Sep 4, 2013, at 5:24 PM, Chuck Hill  wrote:

> Answering for David: yes.
> 
> :-P
> 
> 
> On 13-09-04 8:22 PM, "Johnny Miller" wrote:
> 
> Hi David,  
> 
> Do you think you can't do that or that you don't need a special assignment?
> 
> Johnny Miller
> Kahalawai Media Co.
> 
> On Sep 4, 2013, at 2:37 PM, David Holt  wrote:
> 
>> I don't think so.
>> 
>> David
>> 
>> Sent from my iPad
>> 
>> On 2013-09-04, at 5:23 PM, Johnny Miller  wrote:
>> 
>>> Hi,
>>> 
>>> I would like to use an entity qualifier that treats all entities with a 
>>> prefix the same way i.e. entity.name like 'XYZ*' 
>>> 
>>> Is there a special assignment I need to use to make that work?
>>> 
>>> Aloha,
>>> Mr. Johnny Miller
>>> Web Development Manager
>>> Kahalawai Media Company
>>> Lahaina, HI 96761
>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>> website | e-mail
>>> ___
>>> Do not 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/programmingosx%40mac.com
>>> 
>>> This email sent to programming...@mac.com
> 
> 
> 
> -- 
> 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: D2W Question

2013-09-04 Thread Johnny Miller
Hi David,  

Do you think you can't do that or that you don't need a special assignment?

Johnny Miller
Kahalawai Media Co.

On Sep 4, 2013, at 2:37 PM, David Holt  wrote:

> I don't think so.
> 
> David
> 
> Sent from my iPad
> 
> On 2013-09-04, at 5:23 PM, Johnny Miller  wrote:
> 
>> Hi,
>> 
>> I would like to use an entity qualifier that treats all entities with a 
>> prefix the same way i.e. entity.name like 'XYZ*' 
>> 
>> Is there a special assignment I need to use to make that work?
>> 
>> Aloha,
>> Mr. Johnny Miller
>> Web Development Manager
>> Kahalawai Media Company
>> Lahaina, HI 96761
>> tel: (808) 661-7962 | mobile: (808) 283-0791
>> website | e-mail 
>> 
>> ___
>> Do not 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/programmingosx%40mac.com
>> 
>> This email sent to programming...@mac.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

D2W Question

2013-09-04 Thread Johnny Miller
Hi,

I would like to use an entity qualifier that treats all entities with a prefix 
the same way i.e. entity.name like 'XYZ*' 

Is there a special assignment I need to use to make that work?

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

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

2 Models, 2 Databases and ERAttachment

2013-08-27 Thread Johnny Miller
Hi,

I need to use the ERAttachment framework in an application that references two 
frameworks that use ERAttachment and use separate databases.

Is there a way to do this?  If so, how would I set up my properties, migrations 
etc...

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

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

ERQuartzScheduler Example App?

2013-08-27 Thread Johnny Miller
Hi,

For slow learners like me is there an example application we can look at?

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

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

2013-08-26 Thread Johnny Miller
I would love to see that too please.


On Aug 26, 2013, at 1:03 PM, Amedeo Mantica  wrote:

> Yes. I did.
> 
> I would send you
> 
> Sent from my iPhone
> 
>> On 27/ago/2013, at 00:35, Miguel Torres  wrote:
>> 
>> Hi list,
>> 
>> Does anyone has any experience integrating Fecebook login to their 
>> WebObjects applications that could share.
>> 
>> Best regards.
>> 
>> 
>> Miguel Torres
>> ___
>> Do not 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/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: jgroups synchronizer still used?

2013-08-25 Thread Johnny Miller
I'm using it.  I don't have any statistics to back this up but it definitely 
resolved our issue of keeping the data between instances in sync.

On Aug 25, 2013, at 12:12 PM, Ken Anderson  wrote:

> All,
> 
> In digging deeper into my synchronizer woes, I see that the version of 
> jgroups is 4 years old.  Is anyone still using this stuff?
> 
> Ken
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> 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

OT: Has anybody worked with DMQL and/or RETS?

2013-08-21 Thread Johnny Miller
Hi,

Not a lot of information on the web about this stuff and I just have a couple 
of noob questions.

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

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

2013-08-14 Thread Johnny Miller
Hi Paul,

Yes.  I'm building the application with frameworks embedded.  And adding the 
PostgreSQL plugin onto the application's path has resolved it.  So that was 
just an error on my part.

Thanks for your help!

Johnny

On Aug 14, 2013, at 4:33 PM, Paul Hoadley  wrote:

> Hi Johnny,
> 
> On 15/08/2013, at 10:14 AM, Johnny Miller  wrote:
> 
>> Please see my last email about not having the PostgreSQL plugin in the 
>> application itself.  I have different EOModels in individual frameworks and 
>> then the application includes those frameworks.  The frameworks have the 
>> PostgreSQL plugin but the actual application itself didn't include the 
>> PostgreSQL plugin.  When I included it it worked as expected (at least 
>> locally).
>> 
>> I'm uploading my application now to test.  Does that make any sense to you?
> 
> Obviously the PostgresqlPlugIn is, itself, just a framework.  I suspect what 
> you're running into here is that framework inclusion is not transitive.  That 
> is, having PostgresqlPlugIn.framework on the build path of some framework F 
> does not make the plug-in available to application A just because F is on A's 
> build path.  If A needs or is expecting the plug-in, it needs to be on A's 
> build path.  Are you building A with frameworks embedded?  Does 
> PostgresqlPlugIn.framework even make it into A's bundle?
> 
> 
> -- 
> 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/archive%40mail-archive.com

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

Re: Problem with sequences

2013-08-14 Thread Johnny Miller
Hi Paul,

That's the strange thing to me too.

Please see my last email about not having the PostgreSQL plugin in the 
application itself.  I have different EOModels in individual frameworks and 
then the application includes those frameworks.  The frameworks have the 
PostgreSQL plugin but the actual application itself didn't include the 
PostgreSQL plugin.  When I included it it worked as expected (at least locally).

I'm uploading my application now to test.  Does that make any sense to you?

Johnny

On Aug 14, 2013, at 2:35 PM, Paul Hoadley  wrote:

> Hi Johnny,
> 
> On 15/08/2013, at 8:00 AM, Johnny Miller  wrote:
> 
>> I'm using a PostgreSQL database
> 
> ...
> 
>> It stops using the sequence to generate the ID and switches over to 
>> EO_PK_TABLE so the thumbnails get properly saved.  But the next time I go to 
>> add an attachment I get a EO general adapter exception because the sequence 
>> is behind the value in EO_PK_TABLE which holds the last generated ID.
> 
> Something smells very strange here.  If you're using PostgreSQL, why is 
> EO_PK_TABLE being created and used?
> 
> 
> -- 
> 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/archive%40mail-archive.com

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

Re: Problem with sequences

2013-08-14 Thread Johnny Miller
Hi Ted,

I was wrong about it only happening in production I was able to replicate it 
locally.

Each of the frameworks and applications have the postgresql.jar

Thanks,

Johnny

On Aug 14, 2013, at 2:32 PM, Theodore Petrosky  wrote:

> you said it only happens on the production box. I have a couple of deployment 
> boxes that I test deployments. can you duplicate this. and what about the 
> postgresql.jar. I always copy that to my Library folder and add it to the 
> Build Path.
> 
> 
> On Aug 14, 2013, at 8:24 PM, Johnny Miller  wrote:
> 
>> Hi Ted,
>> 
>> Everything is going through EOF.  I'm not doing any manual inserts.
>> 
>> But what I think is happening is that if the PostgreSQL plugin is only in 
>> the framework and not the application itself for some reason EOF reverts to 
>> using eo_pk_table.
>> 
>> I'm testing right now to see if that is the case.
>> 
>> Thanks,
>> 
>> 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 Aug 14, 2013, at 2:17 PM, Theodore Petrosky  wrote:
>> 
>>> I've noticed that WO's order of events is to read the lastvalue, then to 
>>> create an insert that includes the id. then it updated the sequence. so you 
>>> can get out of sequence if you manually inserted any rows and didn't check 
>>> to make sure you updated the seq.
>>> 
>>> that said, i have a table with a sequence and I inserted data using the 
>>> next value from the sequence (lastvalue was 9)
>>> 
>>> insert into table (firstname, id) values ('ted', 10);
>>> 
>>> it inserted correctly into the user table however because I supplied the id 
>>> value, it did not update the sequence. This is documented behavior. 
>>> 
>>> How you got out of sync I don't know. Either you manually added a row, or 
>>> you are getting in the way of WO and inserting using raw SQL (you can but 
>>> you will have to resolve the primary key).
>>> 
>>> I don't know if this is the issue. Just my musings
>>> 
>>> Ted
>>> 
>>> 
>>> On Aug 14, 2013, at 6:30 PM, Johnny Miller  wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I'm using a PostgreSQL database and I'm having a problem with the sequence 
>>>> not getting updated.
>>>> 
>>>> I'm using ERAttachment and I have pages that will generate thumbnails of 
>>>> the attachment for specific sizes.  And for some reason when creating the 
>>>> thumbnail it will not update the sequence for ERAttachment.  It stops 
>>>> using the sequence to generate the ID and switches over to EO_PK_TABLE so 
>>>> the thumbnails get properly saved.  But the next time I go to add an 
>>>> attachment I get a EO general adapter exception because the sequence is 
>>>> behind the value in EO_PK_TABLE which holds the last generated ID.
>>>> 
>>>> And it only seems to do this in production on my OS X 10.5.8 server box.
>>>> 
>>>> Has anybody seen this before?
>>>> 
>>>> Aloha,
>>>> Mr. Johnny Miller
>>>> Web Development Manager
>>>> Kahalawai Media Company
>>>> Lahaina, HI 96761
>>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>>> website | e-mail   
>>>> 
>>>> ___
>>>> Do not 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: Problem with sequences

2013-08-14 Thread Johnny Miller
Hi Ted,

Everything is going through EOF.  I'm not doing any manual inserts.

But what I think is happening is that if the PostgreSQL plugin is only in the 
framework and not the application itself for some reason EOF reverts to using 
eo_pk_table.

I'm testing right now to see if that is the case.

Thanks,

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 Aug 14, 2013, at 2:17 PM, Theodore Petrosky  wrote:

> I've noticed that WO's order of events is to read the lastvalue, then to 
> create an insert that includes the id. then it updated the sequence. so you 
> can get out of sequence if you manually inserted any rows and didn't check to 
> make sure you updated the seq.
> 
> that said, i have a table with a sequence and I inserted data using the next 
> value from the sequence (lastvalue was 9)
> 
> insert into table (firstname, id) values ('ted', 10);
> 
> it inserted correctly into the user table however because I supplied the id 
> value, it did not update the sequence. This is documented behavior. 
> 
> How you got out of sync I don't know. Either you manually added a row, or you 
> are getting in the way of WO and inserting using raw SQL (you can but you 
> will have to resolve the primary key).
> 
> I don't know if this is the issue. Just my musings
> 
> Ted
> 
> 
> On Aug 14, 2013, at 6:30 PM, Johnny Miller  wrote:
> 
>> Hi,
>> 
>> I'm using a PostgreSQL database and I'm having a problem with the sequence 
>> not getting updated.
>> 
>> I'm using ERAttachment and I have pages that will generate thumbnails of the 
>> attachment for specific sizes.  And for some reason when creating the 
>> thumbnail it will not update the sequence for ERAttachment.  It stops using 
>> the sequence to generate the ID and switches over to EO_PK_TABLE so the 
>> thumbnails get properly saved.  But the next time I go to add an attachment 
>> I get a EO general adapter exception because the sequence is behind the 
>> value in EO_PK_TABLE which holds the last generated ID.
>> 
>> And it only seems to do this in production on my OS X 10.5.8 server box.
>> 
>> Has anybody seen this before?
>> 
>> Aloha,
>> Mr. Johnny Miller
>> Web Development Manager
>> Kahalawai Media Company
>> Lahaina, HI 96761
>> tel: (808) 661-7962 | mobile: (808) 283-0791
>> website | e-mail 
>> 
>> ___
>> Do not 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

Problem with sequences

2013-08-14 Thread Johnny Miller
Hi,

I'm using a PostgreSQL database and I'm having a problem with the sequence not 
getting updated.

I'm using ERAttachment and I have pages that will generate thumbnails of the 
attachment for specific sizes.  And for some reason when creating the thumbnail 
it will not update the sequence for ERAttachment.  It stops using the sequence 
to generate the ID and switches over to EO_PK_TABLE so the thumbnails get 
properly saved.  But the next time I go to add an attachment I get a EO general 
adapter exception because the sequence is behind the value in EO_PK_TABLE which 
holds the last generated ID.

And it only seems to do this in production on my OS X 10.5.8 server box.

Has anybody seen this before?

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

 ___
Do not 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: Users Groups (and grouping)

2013-08-13 Thread Johnny Miller
Tweak your eotemplate?  And have isDeep set by a protected method that you can 
override if you don't want the default behavior?

Just thinking out loud there?

Sent from my iPad

On Aug 13, 2013, at 11:49 AM, Theodore Petrosky  wrote:

> almost but maybe barking (or coughing) up the wrong tree.
> 
> without cloning all the fetch specification methods from _User into User.java 
> is there an easy way to set IsDeep to false?
> 
> 
> On Aug 13, 2013, at 4:42 PM, Johnny Miller  wrote:
> 
>> Sorry brain fart (dealing with bronchitis) - I meant single table 
>> inheritance.  But if an object can be both then I would go with Ramsey's 
>> method.
>> 
>> 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 Aug 13, 2013, at 10:31 AM, Theodore Petrosky  wrote:
>> 
>>> I like this method of inheritance however, why did you choose vertical 
>>> inheritance? I did one vertical and one single table. I put a qualifier 
>>> userType='Vendor' on the table.
>>> 
>>> I think the only thing 'wrong' with inheritance is that I can not create a 
>>> User that is both a employee and a vendor. There are cases where we have 
>>> clients that are also vendors.
>>> 
>>> I was looking at the migration that I am creating and now I see.
>>> 
>>> with vertical inheritance, it is actually creating a table in the database 
>>> with a foreign key. this would allow me to add specific meta data to my 
>>> inherited entity, whereas the single table does not create this table 
>>> therefore I can segregate the different 'roles' but can not add a specific 
>>> piece of meta data. Such as a person has a SSN but a business has an EIN 
>>> (in the US).
>>> 
>>> but that still leaves me with the problem of modeling a Vendor that is a 
>>> Person not a business. Couldn't we find an easier way to model this stuff.
>>> 
>>> Ted
>>> 
>>> 
>>> 
>>> 
>>> On Aug 13, 2013, at 2:59 PM, Johnny Miller  wrote:
>>> 
>>>> Use vertical inheritance and then use entity.name='Vendor'?
>>>> 
>>>> Sent from my iPad
>>>> 
>>>> On Aug 13, 2013, at 8:19 AM, Theodore Petrosky  wrote:
>>>> 
>>>>> I have been playing with D2W and I may have boxed myself into a corner.
>>>>> 
>>>>> A User is of a type. a User can be a Vendor or a Client or a Worker. So I 
>>>>> thought that I would create an attribute 'userType' in User. I wanted  to 
>>>>> have a Vendor tab and a Client tab and I have it mostly working. 
>>>>> 
>>>>> when I create a ListVendorPage:
>>>>> 
>>>>> public WOComponent listVendorAction() {
>>>>> 
>>>>> EOEditingContext ec = ERXEC.newEditingContext();
>>>>> ListPageInterface lpi = (ListPageInterface) 
>>>>> D2W.factory().listPageForEntityNamed("AppUser", session()); 
>>>>> 
>>>>> EODatabaseDataSource ds = new EODatabaseDataSource(ec, "AppUser");
>>>>> 
>>>>> ERXFetchSpecification fs = 
>>>>> new ERXFetchSpecification(AppUser.ENTITY_NAME, 
>>>>> AppUser.IS_ACTIVE.eq(true).and(AppUser.USER_TYPE.eq("Vendor")), null);
>>>>> 
>>>>> ds.setFetchSpecification(fs);
>>>>> 
>>>>> lpi.setDataSource(ds);
>>>>> 
>>>>> ((D2WComponent) lpi).d2wContext().takeValueForKey("ListVendor", 
>>>>> "navigationState");
>>>>> ((D2WComponent) lpi).d2wContext().takeValueForKey("Vendor", 
>>>>> "userTypeKey");
>>>>> 
>>>>> return (D2WPage) lpi;
>>>>> }
>>>>> 
>>>>> I am also adding that userTypeKey so I can target rules like this:
>>>>> 
>>>>> 100 : (pageConfiguration = 'ListAppUser' and userTypeKey = 'Vendor') => 
>>>>> displayNameForPageConfiguration = "Vendor List" 
>>>>> [com.webobjects.directtoweb.Assignment]
>>>>> 
>>>>> Maybe there is a better way? If I select to edit a Vendor, I wanted rules:
>>>>> 
>>>>> 100 : (p

Re: Users Groups (and grouping)

2013-08-13 Thread Johnny Miller
Sorry brain fart (dealing with bronchitis) - I meant single table inheritance.  
But if an object can be both then I would go with Ramsey's method.

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 Aug 13, 2013, at 10:31 AM, Theodore Petrosky  wrote:

> I like this method of inheritance however, why did you choose vertical 
> inheritance? I did one vertical and one single table. I put a qualifier 
> userType='Vendor' on the table.
> 
> I think the only thing 'wrong' with inheritance is that I can not create a 
> User that is both a employee and a vendor. There are cases where we have 
> clients that are also vendors.
> 
> I was looking at the migration that I am creating and now I see.
> 
> with vertical inheritance, it is actually creating a table in the database 
> with a foreign key. this would allow me to add specific meta data to my 
> inherited entity, whereas the single table does not create this table 
> therefore I can segregate the different 'roles' but can not add a specific 
> piece of meta data. Such as a person has a SSN but a business has an EIN (in 
> the US).
> 
> but that still leaves me with the problem of modeling a Vendor that is a 
> Person not a business. Couldn't we find an easier way to model this stuff.
> 
> Ted
> 
> 
> 
> 
> On Aug 13, 2013, at 2:59 PM, Johnny Miller  wrote:
> 
>> Use vertical inheritance and then use entity.name='Vendor'?
>> 
>> Sent from my iPad
>> 
>> On Aug 13, 2013, at 8:19 AM, Theodore Petrosky  wrote:
>> 
>>> I have been playing with D2W and I may have boxed myself into a corner.
>>> 
>>> A User is of a type. a User can be a Vendor or a Client or a Worker. So I 
>>> thought that I would create an attribute 'userType' in User. I wanted  to 
>>> have a Vendor tab and a Client tab and I have it mostly working. 
>>> 
>>> when I create a ListVendorPage:
>>> 
>>> public WOComponent listVendorAction() {
>>>   
>>>   EOEditingContext ec = ERXEC.newEditingContext();
>>> ListPageInterface lpi = (ListPageInterface) 
>>> D2W.factory().listPageForEntityNamed("AppUser", session()); 
>>> 
>>> EODatabaseDataSource ds = new EODatabaseDataSource(ec, "AppUser");
>>> 
>>> ERXFetchSpecification fs = 
>>> new ERXFetchSpecification(AppUser.ENTITY_NAME, 
>>> AppUser.IS_ACTIVE.eq(true).and(AppUser.USER_TYPE.eq("Vendor")), null);
>>> 
>>> ds.setFetchSpecification(fs);
>>> 
>>> lpi.setDataSource(ds);
>>> 
>>> ((D2WComponent) lpi).d2wContext().takeValueForKey("ListVendor", 
>>> "navigationState");
>>> ((D2WComponent) lpi).d2wContext().takeValueForKey("Vendor", 
>>> "userTypeKey");
>>> 
>>> return (D2WPage) lpi;
>>> }
>>> 
>>> I am also adding that userTypeKey so I can target rules like this:
>>> 
>>> 100 : (pageConfiguration = 'ListAppUser' and userTypeKey = 'Vendor') => 
>>> displayNameForPageConfiguration = "Vendor List" 
>>> [com.webobjects.directtoweb.Assignment]
>>> 
>>> Maybe there is a better way? If I select to edit a Vendor, I wanted rules:
>>> 
>>> 100 : (pageConfiguration = 'EditAppUser' and userTypeKey = 'Vendor') => 
>>> navigationState = "ListVendor" [com.webobjects.directtoweb.Assignment]
>>> 100 : (pageConfiguration = 'EditAppUser' and userTypeKey = 'admins') => 
>>> navigationState = "ListAdmins" [com.webobjects.directtoweb.Assignment]
>>> 
>>> then I thought that what I should be using is inheritance.  Vendor inherits 
>>> from User, Administrators inherit from User. In the past, I would have 
>>> created a User with boolean attributes for  Vendor, Client, Employee, 
>>> Admin. After all a user can be both an employee and a vendor.
>>> 
>>> How are youse guys doing 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/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: Users Groups (and grouping)

2013-08-13 Thread Johnny Miller
Use vertical inheritance and then use entity.name='Vendor'?

Sent from my iPad

On Aug 13, 2013, at 8:19 AM, Theodore Petrosky  wrote:

> I have been playing with D2W and I may have boxed myself into a corner.
> 
> A User is of a type. a User can be a Vendor or a Client or a Worker. So I 
> thought that I would create an attribute 'userType' in User. I wanted  to 
> have a Vendor tab and a Client tab and I have it mostly working. 
> 
> when I create a ListVendorPage:
> 
> public WOComponent listVendorAction() {
> 
> EOEditingContext ec = ERXEC.newEditingContext();
> ListPageInterface lpi = (ListPageInterface) 
> D2W.factory().listPageForEntityNamed("AppUser", session()); 
> 
> EODatabaseDataSource ds = new EODatabaseDataSource(ec, "AppUser");
> 
> ERXFetchSpecification fs = 
> new ERXFetchSpecification(AppUser.ENTITY_NAME, 
> AppUser.IS_ACTIVE.eq(true).and(AppUser.USER_TYPE.eq("Vendor")), null);
> 
> ds.setFetchSpecification(fs);
> 
> lpi.setDataSource(ds);
> 
> ((D2WComponent) lpi).d2wContext().takeValueForKey("ListVendor", 
> "navigationState");
> ((D2WComponent) lpi).d2wContext().takeValueForKey("Vendor", 
> "userTypeKey");
> 
> return (D2WPage) lpi;
> }
> 
> I am also adding that userTypeKey so I can target rules like this:
> 
> 100 : (pageConfiguration = 'ListAppUser' and userTypeKey = 'Vendor') => 
> displayNameForPageConfiguration = "Vendor List" 
> [com.webobjects.directtoweb.Assignment]
> 
> Maybe there is a better way? If I select to edit a Vendor, I wanted rules:
> 
> 100 : (pageConfiguration = 'EditAppUser' and userTypeKey = 'Vendor') => 
> navigationState = "ListVendor" [com.webobjects.directtoweb.Assignment]
> 100 : (pageConfiguration = 'EditAppUser' and userTypeKey = 'admins') => 
> navigationState = "ListAdmins" [com.webobjects.directtoweb.Assignment]
> 
> then I thought that what I should be using is inheritance.  Vendor inherits 
> from User, Administrators inherit from User. In the past, I would have 
> created a User with boolean attributes for  Vendor, Client, Employee, Admin. 
> After all a user can be both an employee and a vendor.
> 
> How are youse guys doing 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/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: Ajax links failing on deployment

2013-08-05 Thread Johnny Miller
I wonder if you have an element whose id is .3?  Which sounds like an id 
generated by ERXWOContext.safeElementID which should be OK.

What browser were you using?

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 Aug 5, 2013, at 12:51 PM, Ken Anderson  wrote:

> SyntaxError: Unexpected number '.3'

 ___
Do not 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 Johnny Miller
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 | e-mail

On Jul 31, 2013, at 4: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  
> 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  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  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 Consultin

Re: AjaxModalDialog and AjaxDatePicker

2013-07-31 Thread Johnny Miller
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  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  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/archive%40mail-archive.com

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

Re: ERDListPageRepetition Question

2013-07-29 Thread Johnny Miller
Thank you - just what I was looking for.

On Jul 29, 2013, at 8:01 AM, David LeBer  wrote:

> Modern look has an updated version of the list page repetition.
> 
> ERMDSimpleListPageRepetition
> 
> You might want to take a look at that for reference.
> 
> D
> 
> --
> David LeBer
> Codeferous Software
> 
> On 2013-07-28, at 4:25 PM, Johnny Miller  wrote:
> 
>> Hi,
>> 
>> I'm working on a new D2W look and I have a few questions about the HTML 
>> formatting on ERDListPageRepetition and I was curious if someone knew the 
>> answers.
>> 
>> So first of all there is a SectionsRepetition at the top of the component 
>> that conditionally displays the section names if the displayPropertyKeys are 
>> organized into sections.  But the WOConditional that checks to see if there 
>> are multiple sections returns false.  So it will never be displayed - so why 
>> have it?  Is it safe to omit it?
>> 
>> Then on the rows for the objects the formatting is kind of weird.
>> 
>> So for the left actions and the right actions they are put in table dividers 
>> that have a row span of 4.  This is done to compensate for two extra rows...
>> 
>> The first row displays the section contents.  The second row returns a list 
>> of center actions.  Do those ever really get used?  I guess it would be 
>> better if you conditionally checked to see if those rows are required and to 
>> change the row span size for the left and right actions if they are not 
>> required?  Otherwise you have a bunch of extraneous HTML that you don't need 
>> which makes styling more difficult.  And I want to make this look 
>> "responsive" so I'm worried that having a bunch of nested tables is going to 
>> throw off the CSS framework (Bootstrap).
>> 
>> The last question is about the use of the spacer tag.  I believe that tag 
>> was only supported by netscape.  Can I just use   instead?
>> 
>> 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 | e-mail 
>> 
>> ___
>> Do not 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/archive%40mail-archive.com

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

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-28 Thread Johnny Miller
Hi Ray,

I was thinking the same thing.  Maybe you could even just have a component that 
just contains a switch component whose name gets resolved by a property and or 
a binding?  Then the individual implementations wouldn't get too big and you 
could call them specifically if you wanted to.  I guess the tricky part is that 
the bindings can deviate a little bit?

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 28, 2013, at 11:28 AM, Ray Kiddy  wrote:

> 
> On Jul 20, 2013, at 2:06 PM, Johnny Miller  wrote:
> 
>> I guess this would be a bad time to mention I'm working on a 
>> JQAjaxTabbedPanel?
>> 
> 
> Sigh…….
> 
> Well, no. People implementing good stuff is always appreciated.
> 
> I guess two questions come to mind. If we are developing new components to do 
> things better, can we start deprecating and getting rid of older components 
> that do not have this new good-ness?
> 
> Also, I wonder if there is a way to combine components. I mean, it seems 
> obvious that if you have 5 components that all something in different ways, 
> you _could_ actually package this as one component with a 5-way switch. 
> Imagine if a component was named after what it did instead of being named 
> with a prefix specific to when it was designed. We _could_ have just one 
> Accordion component and have switches for Ajax or no, for JQuery or no, for 
> animated or no. I can see this may be complicated to actually implement, but 
> we could suggest some complication can be shouldered by our developers and 
> not load all of the complexity onto our users….
> 
> - ray
> 
> 
>> On Jul 19, 2013, at 7:34 PM, Timothy Worman  wrote:
>> 
>>> On Jul 19, 2013, at 9:53 PM, Ray Kiddy  wrote:
>>> 
>>>> 
>>>> On Jul 15, 2013, at 7:21 AM, Chuck Hill wrote:
>>>> 
>>>>> Yes, AjaxTabbedPanel is going to fight you here.
>>>>> 
>>>>> Chuck
>>>> 
>>>> Really? AjaxTabbedPanel does not do repetitions? This seems odd. And 
>>>> undocumented.
>>>> 
>>>> Just for fun, can anyone take a stab at how one would decide to use one of 
>>>> these and not one of the others?
>>>> 
>>>>AjaxTabbedPanel
>>>> 
>>>>MTAjaxTabbedPanel
>>>> 
>>>>CCAjaxTabPanel
>>>> 
>>>>CCTabPanel
>>>> 
>>>>ERLITTabPanel
>>>> 
>>>>ERXAjaxTabPanel
>>>> 
>>>>ERXColoredTabPanel
>>>> 
>>>>ERXImageTabPanel
>>>> 
>>>>ERXTabPanel
>>>> 
>>>>WOTabPanel
>>>> 
>>>> These all exist in the Wonder frameworks.
>>>> 
>>>> I mean, hey, I looked for an ERXWOTabPanel, an ERDTabPanel, and a 
>>>> BTTabPanel and they are not there. What's up? We're falling down on the 
>>>> job here.
>>>> 
>>>> And what about IERXTabPanel. Where is David Avendasora when we need him?
>>>> 
>>>> - ray
>>> 
>>> Well, anything with Ajax or MT in front of it is pretty self-explanatory. 
>>> Thank you Johnny Miller for MT! I think I can understand from the naming 
>>> that a bunch of them are non-ajax? But the CC naming convention - where’d 
>>> that come from?
>>> 
>>> Tim
>>> UCLA GSE&IS
>>> 
>>>> 
>>>>> On 2013-07-15, at 5:07 AM, Paul Yu wrote:
>>>>> 
>>>>>> Raymond
>>>>>> 
>>>>>> I had better success using CCTabPanel for dynamically creating tabs.
>>>>>> 
>>>>>> .html
>>>>>> 
>>>>>>  >>>>> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>>  >>>>> accessController="$accessController" evaluation = "$evaluation" />
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>> 
>>>>>> 
>>>>>> .java
>>>>>> 
>>>>>> private NSArray _tabs;
>>>>>> 
>>>>>> public NS

ERDListPageRepetition Question

2013-07-28 Thread Johnny Miller
Hi,

I'm working on a new D2W look and I have a few questions about the HTML 
formatting on ERDListPageRepetition and I was curious if someone knew the 
answers.

So first of all there is a SectionsRepetition at the top of the component that 
conditionally displays the section names if the displayPropertyKeys are 
organized into sections.  But the WOConditional that checks to see if there are 
multiple sections returns false.  So it will never be displayed - so why have 
it?  Is it safe to omit it?

Then on the rows for the objects the formatting is kind of weird.

So for the left actions and the right actions they are put in table dividers 
that have a row span of 4.  This is done to compensate for two extra rows...

The first row displays the section contents.  The second row returns a list of 
center actions.  Do those ever really get used?  I guess it would be better if 
you conditionally checked to see if those rows are required and to change the 
row span size for the left and right actions if they are not required?  
Otherwise you have a bunch of extraneous HTML that you don't need which makes 
styling more difficult.  And I want to make this look "responsive" so I'm 
worried that having a bunch of nested tables is going to throw off the CSS 
framework (Bootstrap).

The last question is about the use of the spacer tag.  I believe that tag was 
only supported by netscape.  Can I just use   instead?

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

 ___
Do not 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: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-22 Thread Johnny Miller
Hi Timmy,

I've got a long way to go before the JQuery framework is finished but here is a 
sneak peek: 
http://www.kahalawai.com/cgi-bin/WebObjects/JQueryExample.woa/wa/PageAction/AjaxTabTestPage

Any condemnation, critiques, advice or assistance would be greatly appreciated 
;)

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 20, 2013, at 11:37 AM, Timothy Worman  wrote:

> Super stoked. Appreciate your JS talents and efforts.
> 
> T
> 
> On Jul 20, 2013, at 2:06 PM, Johnny Miller  wrote:
> 
>> I guess this would be a bad time to mention I'm working on a 
>> JQAjaxTabbedPanel?
>> 
>> On Jul 19, 2013, at 7:34 PM, Timothy Worman  wrote:
>> 
>>> On Jul 19, 2013, at 9:53 PM, Ray Kiddy  wrote:
>>> 
>>>> 
>>>> On Jul 15, 2013, at 7:21 AM, Chuck Hill wrote:
>>>> 
>>>>> Yes, AjaxTabbedPanel is going to fight you here.
>>>>> 
>>>>> Chuck
>>>> 
>>>> Really? AjaxTabbedPanel does not do repetitions? This seems odd. And 
>>>> undocumented.
>>>> 
>>>> Just for fun, can anyone take a stab at how one would decide to use one of 
>>>> these and not one of the others?
>>>> 
>>>>AjaxTabbedPanel
>>>> 
>>>>MTAjaxTabbedPanel
>>>> 
>>>>CCAjaxTabPanel
>>>> 
>>>>CCTabPanel
>>>> 
>>>>ERLITTabPanel
>>>> 
>>>>ERXAjaxTabPanel
>>>> 
>>>>ERXColoredTabPanel
>>>> 
>>>>ERXImageTabPanel
>>>> 
>>>>ERXTabPanel
>>>> 
>>>>WOTabPanel
>>>> 
>>>> These all exist in the Wonder frameworks.
>>>> 
>>>> I mean, hey, I looked for an ERXWOTabPanel, an ERDTabPanel, and a 
>>>> BTTabPanel and they are not there. What's up? We're falling down on the 
>>>> job here.
>>>> 
>>>> And what about IERXTabPanel. Where is David Avendasora when we need him?
>>>> 
>>>> - ray
>>> 
>>> Well, anything with Ajax or MT in front of it is pretty self-explanatory. 
>>> Thank you Johnny Miller for MT! I think I can understand from the naming 
>>> that a bunch of them are non-ajax? But the CC naming convention - where’d 
>>> that come from?
>>> 
>>> Tim
>>> UCLA GSE&IS
>>> 
>>>> 
>>>>> On 2013-07-15, at 5:07 AM, Paul Yu wrote:
>>>>> 
>>>>>> Raymond
>>>>>> 
>>>>>> I had better success using CCTabPanel for dynamically creating tabs.
>>>>>> 
>>>>>> .html
>>>>>> 
>>>>>>  >>>>> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>>  >>>>> accessController="$accessController" evaluation = "$evaluation" />
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>> 
>>>>>> 
>>>>>> .java
>>>>>> 
>>>>>> private NSArray _tabs;
>>>>>> 
>>>>>> public NSArray tabs() {
>>>>>>  if (_tabs == null) {
>>>>>>  // the evaluation has a method for getting the districtDomains
>>>>>>  NSMutableArray tabs = new 
>>>>>> NSMutableArray();
>>>>>>  
>>>>>>  NSMutableDictionary myTab1 = new 
>>>>>> NSMutableDictionary("My Tab Title", "tabLabel");
>>>>>>  observationsTab.takeValueForKey(ObservationSubTab.class.getName(), 
>>>>>> "wocomponent");
>>>>>> 
>>>>>>  // More tabs here
>>>>>> 
>>>>>>  tabs.add(myTab1);
>>>>>> 
>>>>>>  _tabs = tabs.immutableClone();
>>>>>>  }
>>>>>>  
>>>>>>  return _tabs;
>>>>>>  }
>>>>>> 
>>>>>> Paul
>>>>>> On Jul 15, 2013, at 4:18 AM, Raymond NANEON  wr

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-20 Thread Johnny Miller
I guess this would be a bad time to mention I'm working on a JQAjaxTabbedPanel?

On Jul 19, 2013, at 7:34 PM, Timothy Worman  wrote:

> On Jul 19, 2013, at 9:53 PM, Ray Kiddy  wrote:
> 
>> 
>> On Jul 15, 2013, at 7:21 AM, Chuck Hill wrote:
>> 
>>> Yes, AjaxTabbedPanel is going to fight you here.
>>> 
>>> Chuck
>> 
>> Really? AjaxTabbedPanel does not do repetitions? This seems odd. And 
>> undocumented.
>> 
>> Just for fun, can anyone take a stab at how one would decide to use one of 
>> these and not one of the others?
>> 
>>  AjaxTabbedPanel
>> 
>>  MTAjaxTabbedPanel
>> 
>>  CCAjaxTabPanel
>> 
>>  CCTabPanel
>> 
>>  ERLITTabPanel
>> 
>>  ERXAjaxTabPanel
>> 
>>  ERXColoredTabPanel
>> 
>>  ERXImageTabPanel
>> 
>>  ERXTabPanel
>> 
>>  WOTabPanel
>> 
>> These all exist in the Wonder frameworks.
>> 
>> I mean, hey, I looked for an ERXWOTabPanel, an ERDTabPanel, and a BTTabPanel 
>> and they are not there. What's up? We're falling down on the job here.
>> 
>> And what about IERXTabPanel. Where is David Avendasora when we need him?
>> 
>> - ray
> 
> Well, anything with Ajax or MT in front of it is pretty self-explanatory. 
> Thank you Johnny Miller for MT! I think I can understand from the naming that 
> a bunch of them are non-ajax? But the CC naming convention - where’d that 
> come from?
> 
> Tim
> UCLA GSE&IS
> 
>> 
>>> On 2013-07-15, at 5:07 AM, Paul Yu wrote:
>>> 
>>>> Raymond
>>>> 
>>>> I had better success using CCTabPanel for dynamically creating tabs.
>>>> 
>>>> .html
>>>> 
>>>>>>> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>>>
>>>>
>>>>
>>>>>>> accessController="$accessController" evaluation = "$evaluation" />
>>>>
>>>>
>>>>
>>>> 
>>>> 
>>>> .java
>>>> 
>>>>  private NSArray _tabs;
>>>> 
>>>>  public NSArray tabs() {
>>>>if (_tabs == null) {
>>>>// the evaluation has a method for getting the districtDomains
>>>>NSMutableArray tabs = new 
>>>> NSMutableArray();
>>>>
>>>>NSMutableDictionary myTab1 = new 
>>>> NSMutableDictionary("My Tab Title", "tabLabel");
>>>>observationsTab.takeValueForKey(ObservationSubTab.class.getName(), 
>>>> "wocomponent");
>>>> 
>>>>// More tabs here
>>>> 
>>>>tabs.add(myTab1);
>>>> 
>>>>_tabs = tabs.immutableClone();
>>>>}
>>>>
>>>>return _tabs;
>>>>}
>>>> 
>>>> Paul
>>>> On Jul 15, 2013, at 4:18 AM, Raymond NANEON  wrote:
>>>> 
>>>>> Hi List,
>>>>> 
>>>>> I don't understand why item is null when I want to dynamically create 
>>>>> tabs in AjaxTabbedPanel using WORepetion.
>>>>> What's wrong in my codes?
>>>>> Envoyé depuis iCloud
>>>>> 
>>>>> Le 12 jul 2013 à 07:08, Raymond NANEON  a écrit :
>>>>> 
>>>>>> Hi List,
>>>>>> 
>>>>>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>>>>>> AjaxTabbedPanel.
>>>>>> 
>>>>>> html : 
>>>>>> 
>>>>>> 
>>>>>>  
>>>>>>>>>>> name = "template" />
>>>>>>  
>>>>>>
>>>>>> 
>>>>>> wod : 
>>>>>> 
>>>>>> Tabs : AjaxTabbedPanel {
>>>>>>  id = tabsId;
>>>>>> }
>>>>>> 
>>>>>> repeatTabbedPanelTab : WORepetition {
>>>>>>  list = competences;
>>>>>>  item = competenceItem;
>>>>>>  identifier = dynaTabId;
&g

Re: Handling of "value" binding on ERXSubmitButton changed

2013-06-28 Thread Johnny Miller
Great, I have something in common with Hitler.  Dammit.

On Jun 28, 2013, at 11:03 AM, Chuck Hill  wrote:

> http://www.youtube.com/watch?v=CDeG4S-mJts
> 
> 
> On 2013-06-28, at 1:59 PM, Ramsey Gurley wrote:
> 
>> I miss Anjo. I remember when committers who broke things were expected to 
>> fix them.
>> 
>> 
>> 
>> 
>> On Jun 26, 2013, at 11:50 PM, Johann Werner wrote:
>> 
>>> Where is the pull request :-)
>>> 
>>> 
>>> Am 26.06.2013 um 22:49 schrieb Fabian Peters :
>>> 
 I got lucky and found the change that caused my problem: 
 
 
 Adding back the (empty) takeValuesFromRequest method to my ERXSubmitButton 
 subclass makes it work again. Is nobody else using ERXSubmitButton these 
 days?
 
 Fabian
 
 Am 26.06.2013 um 17:35 schrieb Fabian Peters:
 
> Hi all,
> 
> After updating Wonder from an integration-branch version dated 2012-11-25 
> to one dated 2013-06-08, an old application that uses ERXSubmitButton 
> quite a bit, is throwing the exception quoted below. I have confirmed 
> that this is due to the updated wonder frameworks, by going back to the 
> previous set of wonder frameworks, while keeping the current version of 
> the application and internal framework code. Removing the value binding 
> doesn't help, as it will then default to "Save".
> 
> The same error message ("Cannot set value to 'Foo' in component 'bar' 
> because value is not settable") was once posted to the list: 
>  
> Which makes me think that the commit that changed the behaviour occurred 
> some time between 2012-11-25 and 2013-02-09. I've looked through the 
> commits of ERXSubmitButton, ERXWOForm, ERXComponent, ERXSession, 
> ERXAjaxApplication, ERXComponentRequestHandler and ERXApplication, but 
> could not find anything "suspicious".
> 
> Before I start some lengthy debug session: Does someone have an idea what 
> could be causing this?
> 
> Fabian
> 
> 
> WARN  25 Jun 2013 19:45:14,575 elumoApp[-:7878 1] 48,62 MB/32,44 MB NSLog 
>   :44 - : 
> Exception occurred while handling request:
> java.lang.IllegalStateException: 
>  value=Save>: Cannot set value to 'Save' in component 
> 'com.elumo.app.CustomerBrowserPage' because value is not settable.
> [2013-6-25 19:45:14 MESZ]  
> java.lang.IllegalStateException: 
>  value=Save>: Cannot set value to 'Save' in component 
> 'com.elumo.app.CustomerBrowserPage' because value is not settable.
>   at 
> com.webobjects.appserver._private.WOConstantValueAssociation.setValue(WOConstantValueAssociation.java:44)
>   at 
> com.webobjects.appserver._private.WOInput.takeValuesFromRequest(WOInput.java:87)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:93)
>   at 
> er.extensions.components._private.ERXWOForm.takeValuesFromRequest(ERXWOForm.java:281)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:93)
>   at 
> com.webobjects.appserver._private.WOConditional.takeValuesFromRequest(WOConditional.java:79)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:93)
>   at 
> com.webobjects.appserver._private.WOConditional.takeValuesFromRequest(WOConditional.java:79)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:93)
>   at 
> com.webobjects.appserver._private.WOConditional.takeValuesFromRequest(WOConditional.java:79)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeValuesFromRequest(WODynamicGroup.java:93)
>   at 
> com.webobjects.appserver._private.WOComponentContent.takeValuesFromRequest(WOComponentContent.java:26)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
>   at 
> com.webobjects.appserver._private.WOGenericContainer.takeValuesFromRequest(WOGenericContainer.java:22)
>   at 
> com.webobjects.appserver._private.WODynamicGroup.takeChildren

Re: Background image in css for email from component

2013-06-26 Thread Johnny Miller
Are you using a stylesheet or inlining the style?

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 Jun 26, 2013, at 9:35 AM, Ken Anderson  wrote:

> Well, Apple Mail does, and so do the other clients I've tested.
> 
> Any idea why my resources are so screwy?
> 
> 
> On Jun 26, 2013, at 3:34 PM, Johnny Miller  wrote:
> 
>> Hi Ken,
>> 
>> I believe most mail clients don't support CSS background images.
>> 
>> 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 Jun 26, 2013, at 9:32 AM, Ken Anderson  wrote:
>> 
>>> OK - still driving me crazy.
>>> 
>>> If I ask WOResourceManager for the url, I get this:
>>> 
>>> /WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>> 
>>> but that path doesn't work.  If I put the machine in front:
>>> 
>>> http://127.0.0.1/WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>> 
>>> still wrong.  I need to add Contents after the woa:
>>> 
>>> http://127.0.0.1/WebObjects/FitnotixService.woa/Contents/WebServerResources/emailBackground.png
>>> 
>>> THAT URL works.
>>> 
>>> So, do I have something configured wrong somewhere?  
>>> 
>>> If I put the image in a WOImage, I get this ing src:
>>> 
>>> >> src="/fit/-/wr/wodata=/Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png"
>>>  width="800" height="600" />
>>> 
>>> I can only assume this happens on a local machine, even though I have 
>>> direct connect turned OFF and I'm definitely running everything through 
>>> Apache.
>>> 
>>> Ken
>>> 
>>> 
>>> 
>>> 
>>> On Jun 26, 2013, at 11:57 AM, prob...@macti.ca wrote:
>>> 
>>>> Or how to do it with WO, which I wrote from one of your emails :-)
>>>> 
>>>> http://wiki.wocommunity.org/display/WOCOM/Emails
>>>> 
>>>> Problem:
>>>> Your HTML email have images that you want to display inline.
>>>> 
>>>> Solution:
>>>> If you have a WebObjects Component and you want to send inline images with 
>>>> the component, you have to make use of a trick, that was mentioned in 
>>>> Fabian Peters mail on the Wonder Discussion mailinglist on 6 june 2009.
>>>> 
>>>> First of all, in the Component HTML one includes something like this:
>>>> 
>>>> 
>>>> The code that accompanies this cid:image0 is:
>>>> URL logoURL = 
>>>> myApp().resourceManager().pathURLForResourceNamed("logo.png", null, null);
>>>> File logo = new File(logoURL.toURI());
>>>> ERMailAttachment imageLogo = new 
>>>> ERMailFileAttachment("logo.png","",logo);
>>>> 
>>>> Note that the file "logo.png" has to be included in the Resources folder 
>>>> of you WebObjects project.
>>>> The "cid:image0" is linked to the  in the ImageAttachment.
>>>> 
>>>>> Or if you want to include the image in the mail, you'll have to reference 
>>>>> it by CID: 
>>>>> See 
>>>>> <http://stackoverflow.com/questions/4312687/how-to-embed-images-in-email>
>>>>> I've never used this for CSS background images though.
>>>>> Fabian
>>>>> Am 26.06.2013 um 17:32 schrieb James Cicenia:
>>>>>> The image has to be public. So you could just store a url to the public 
>>>>>> image.
>>>>>> Otherwise:
>>>>>>> /Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png
>>>>>> does look correct. It is the actual path to the image which the server 
>>>>>> needs to server it up.
>>>>>> On Jun 26, 2013, at 10:06 AM, Ken Anderson  
>>>>>> wrote:
>>>>>>> Gang,
>>>>>>> This is driving me nuts so hopefully someone has an easy answer.
>>>>>>> In a component I'm using with ERMailDeliveryHTML I

Re: Background image in css for email from component

2013-06-26 Thread Johnny Miller
And you are using urlForResourceNamed?

On Jun 26, 2013, at 10:40 AM, Ken Anderson  wrote:

> The host isn't the problem.  The URL I'm getting back doesn't have "Contents" 
> in the middle…
> 
> On Jun 26, 2013, at 4:18 PM, Johnny Miller  wrote:
> 
>> I would have a property like:
>> 
>> myhost=http://127.0.0.1/
>> 
>> and then in my properties.deployment I would have
>> 
>> myhost=http://www.mydomain.com/
>> 
>> And then prepend that to my url.
>> 
>> HTH,
>> 
>> Johnny
>> 
>> 
>> On Jun 26, 2013, at 10:04 AM, Ken Anderson  wrote:
>> 
>>> Thanks Johnny…  but until I can find resources I'm still stuck…
>>> 
>>> But I will certainly try a different approach.
>>> 
>>> Ken
>>> 
>>> 
>>> On Jun 26, 2013, at 3:55 PM, Johnny Miller  wrote:
>>> 
>>>> Also: http://www.campaignmonitor.com/css/
>>>> 
>>>> What a surprise?  Outlook doesn't support background images!  IDK if that 
>>>> influences your design though.
>>>> 
>>>> But if it were me I would try using an absolutely positioned image and put 
>>>> your content in a z-index above it.
>>>> 
>>>> On Jun 26, 2013, at 9:35 AM, Ken Anderson  wrote:
>>>> 
>>>>> Well, Apple Mail does, and so do the other clients I've tested.
>>>>> 
>>>>> Any idea why my resources are so screwy?
>>>>> 
>>>>> 
>>>>> On Jun 26, 2013, at 3:34 PM, Johnny Miller  wrote:
>>>>> 
>>>>>> Hi Ken,
>>>>>> 
>>>>>> I believe most mail clients don't support CSS background images.
>>>>>> 
>>>>>> 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 Jun 26, 2013, at 9:32 AM, Ken Anderson  wrote:
>>>>>> 
>>>>>>> OK - still driving me crazy.
>>>>>>> 
>>>>>>> If I ask WOResourceManager for the url, I get this:
>>>>>>> 
>>>>>>> /WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>>>>>> 
>>>>>>> but that path doesn't work.  If I put the machine in front:
>>>>>>> 
>>>>>>> http://127.0.0.1/WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>>>>>> 
>>>>>>> still wrong.  I need to add Contents after the woa:
>>>>>>> 
>>>>>>> http://127.0.0.1/WebObjects/FitnotixService.woa/Contents/WebServerResources/emailBackground.png
>>>>>>> 
>>>>>>> THAT URL works.
>>>>>>> 
>>>>>>> So, do I have something configured wrong somewhere?  
>>>>>>> 
>>>>>>> If I put the image in a WOImage, I get this ing src:
>>>>>>> 
>>>>>>> >>>>>> src="/fit/-/wr/wodata=/Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png"
>>>>>>>  width="800" height="600" />
>>>>>>> 
>>>>>>> I can only assume this happens on a local machine, even though I have 
>>>>>>> direct connect turned OFF and I'm definitely running everything through 
>>>>>>> Apache.
>>>>>>> 
>>>>>>> Ken
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> On Jun 26, 2013, at 11:57 AM, prob...@macti.ca wrote:
>>>>>>> 
>>>>>>>> Or how to do it with WO, which I wrote from one of your emails :-)
>>>>>>>> 
>>>>>>>> http://wiki.wocommunity.org/display/WOCOM/Emails
>>>>>>>> 
>>>>>>>> Problem:
>>>>>>>> Your HTML email have images that you want to display inline.
>>>>>>>> 
>>>>>>>> Solution:
>>>>>>>> If you have a WebObjects Component and you want to s

Re: Background image in css for email from component

2013-06-26 Thread Johnny Miller
As always - thank you Johann!

On Jun 26, 2013, at 10:36 AM, Johann Werner  wrote:

> _completeURLForResource

 ___
Do not 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: Background image in css for email from component

2013-06-26 Thread Johnny Miller
I would have a property like:

myhost=http://127.0.0.1/

and then in my properties.deployment I would have

myhost=http://www.mydomain.com/

And then prepend that to my url.

HTH,

Johnny


On Jun 26, 2013, at 10:04 AM, Ken Anderson  wrote:

> Thanks Johnny…  but until I can find resources I'm still stuck…
> 
> But I will certainly try a different approach.
> 
> Ken
> 
> 
> On Jun 26, 2013, at 3:55 PM, Johnny Miller  wrote:
> 
>> Also: http://www.campaignmonitor.com/css/
>> 
>> What a surprise?  Outlook doesn't support background images!  IDK if that 
>> influences your design though.
>> 
>> But if it were me I would try using an absolutely positioned image and put 
>> your content in a z-index above it.
>> 
>> On Jun 26, 2013, at 9:35 AM, Ken Anderson  wrote:
>> 
>>> Well, Apple Mail does, and so do the other clients I've tested.
>>> 
>>> Any idea why my resources are so screwy?
>>> 
>>> 
>>> On Jun 26, 2013, at 3:34 PM, Johnny Miller  wrote:
>>> 
>>>> Hi Ken,
>>>> 
>>>> I believe most mail clients don't support CSS background images.
>>>> 
>>>> 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 Jun 26, 2013, at 9:32 AM, Ken Anderson  wrote:
>>>> 
>>>>> OK - still driving me crazy.
>>>>> 
>>>>> If I ask WOResourceManager for the url, I get this:
>>>>> 
>>>>> /WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>>>> 
>>>>> but that path doesn't work.  If I put the machine in front:
>>>>> 
>>>>> http://127.0.0.1/WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>>>> 
>>>>> still wrong.  I need to add Contents after the woa:
>>>>> 
>>>>> http://127.0.0.1/WebObjects/FitnotixService.woa/Contents/WebServerResources/emailBackground.png
>>>>> 
>>>>> THAT URL works.
>>>>> 
>>>>> So, do I have something configured wrong somewhere?  
>>>>> 
>>>>> If I put the image in a WOImage, I get this ing src:
>>>>> 
>>>>>   >>>> src="/fit/-/wr/wodata=/Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png"
>>>>>  width="800" height="600" />
>>>>> 
>>>>> I can only assume this happens on a local machine, even though I have 
>>>>> direct connect turned OFF and I'm definitely running everything through 
>>>>> Apache.
>>>>> 
>>>>> Ken
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Jun 26, 2013, at 11:57 AM, prob...@macti.ca wrote:
>>>>> 
>>>>>> Or how to do it with WO, which I wrote from one of your emails :-)
>>>>>> 
>>>>>> http://wiki.wocommunity.org/display/WOCOM/Emails
>>>>>> 
>>>>>> Problem:
>>>>>> Your HTML email have images that you want to display inline.
>>>>>> 
>>>>>> Solution:
>>>>>> If you have a WebObjects Component and you want to send inline images 
>>>>>> with the component, you have to make use of a trick, that was mentioned 
>>>>>> in Fabian Peters mail on the Wonder Discussion mailinglist on 6 june 
>>>>>> 2009.
>>>>>> 
>>>>>> First of all, in the Component HTML one includes something like this:
>>>>>> 
>>>>>> 
>>>>>> The code that accompanies this cid:image0 is:
>>>>>> URL logoURL = 
>>>>>> myApp().resourceManager().pathURLForResourceNamed("logo.png", null, 
>>>>>> null);
>>>>>> File logo = new File(logoURL.toURI());
>>>>>> ERMailAttachment imageLogo = new 
>>>>>> ERMailFileAttachment("logo.png","",logo);
>>>>>> 
>>>>>> Note that the file "logo.png" has to be included in the Resources folder 
>>>>>> of you WebObjects project.
>>>>>> The "ci

Re: Background image in css for email from component

2013-06-26 Thread Johnny Miller
Also: http://www.campaignmonitor.com/css/

What a surprise?  Outlook doesn't support background images!  IDK if that 
influences your design though.

But if it were me I would try using an absolutely positioned image and put your 
content in a z-index above it.

On Jun 26, 2013, at 9:35 AM, Ken Anderson  wrote:

> Well, Apple Mail does, and so do the other clients I've tested.
> 
> Any idea why my resources are so screwy?
> 
> 
> On Jun 26, 2013, at 3:34 PM, Johnny Miller  wrote:
> 
>> Hi Ken,
>> 
>> I believe most mail clients don't support CSS background images.
>> 
>> 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 Jun 26, 2013, at 9:32 AM, Ken Anderson  wrote:
>> 
>>> OK - still driving me crazy.
>>> 
>>> If I ask WOResourceManager for the url, I get this:
>>> 
>>> /WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>> 
>>> but that path doesn't work.  If I put the machine in front:
>>> 
>>> http://127.0.0.1/WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>> 
>>> still wrong.  I need to add Contents after the woa:
>>> 
>>> http://127.0.0.1/WebObjects/FitnotixService.woa/Contents/WebServerResources/emailBackground.png
>>> 
>>> THAT URL works.
>>> 
>>> So, do I have something configured wrong somewhere?  
>>> 
>>> If I put the image in a WOImage, I get this ing src:
>>> 
>>> >> src="/fit/-/wr/wodata=/Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png"
>>>  width="800" height="600" />
>>> 
>>> I can only assume this happens on a local machine, even though I have 
>>> direct connect turned OFF and I'm definitely running everything through 
>>> Apache.
>>> 
>>> Ken
>>> 
>>> 
>>> 
>>> 
>>> On Jun 26, 2013, at 11:57 AM, prob...@macti.ca wrote:
>>> 
>>>> Or how to do it with WO, which I wrote from one of your emails :-)
>>>> 
>>>> http://wiki.wocommunity.org/display/WOCOM/Emails
>>>> 
>>>> Problem:
>>>> Your HTML email have images that you want to display inline.
>>>> 
>>>> Solution:
>>>> If you have a WebObjects Component and you want to send inline images with 
>>>> the component, you have to make use of a trick, that was mentioned in 
>>>> Fabian Peters mail on the Wonder Discussion mailinglist on 6 june 2009.
>>>> 
>>>> First of all, in the Component HTML one includes something like this:
>>>> 
>>>> 
>>>> The code that accompanies this cid:image0 is:
>>>> URL logoURL = 
>>>> myApp().resourceManager().pathURLForResourceNamed("logo.png", null, null);
>>>> File logo = new File(logoURL.toURI());
>>>> ERMailAttachment imageLogo = new 
>>>> ERMailFileAttachment("logo.png","",logo);
>>>> 
>>>> Note that the file "logo.png" has to be included in the Resources folder 
>>>> of you WebObjects project.
>>>> The "cid:image0" is linked to the  in the ImageAttachment.
>>>> 
>>>>> Or if you want to include the image in the mail, you'll have to reference 
>>>>> it by CID: 
>>>>> See 
>>>>> <http://stackoverflow.com/questions/4312687/how-to-embed-images-in-email>
>>>>> I've never used this for CSS background images though.
>>>>> Fabian
>>>>> Am 26.06.2013 um 17:32 schrieb James Cicenia:
>>>>>> The image has to be public. So you could just store a url to the public 
>>>>>> image.
>>>>>> Otherwise:
>>>>>>> /Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png
>>>>>> does look correct. It is the actual path to the image which the server 
>>>>>> needs to server it up.
>>>>>> On Jun 26, 2013, at 10:06 AM, Ken Anderson  
>>>>>> wrote:
>>>>>>> Gang,
>>>>>>> This is driving me nuts so hopefully someone has an easy answer.
>>>>>>> In a component I'm using with ER

Re: Background image in css for email from component

2013-06-26 Thread Johnny Miller
You're using this method?

http://www.webobjects.me/API/wo542/com/webobjects/appserver/WOResourceManager.html#urlForResourceNamed(java.lang.String,%20java.lang.String,%20com.webobjects.foundation.NSArray,%20com.webobjects.appserver.WORequest)

On Jun 26, 2013, at 9:40 AM, Ken Anderson  wrote:

> Johnny,
> 
> The problem isn't rendering the email - that works fine.  The problem is I 
> can't generically find the png image that I want to include.  It's either 
> missing "Contents", or it's a file: URL.
> 
> Ken
> 
> On Jun 26, 2013, at 3:39 PM, Johnny Miller  wrote:
> 
>> Are you using a stylesheet or inlining the style?
>> 
>> 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 Jun 26, 2013, at 9:35 AM, Ken Anderson  wrote:
>> 
>>> Well, Apple Mail does, and so do the other clients I've tested.
>>> 
>>> Any idea why my resources are so screwy?
>>> 
>>> 
>>> On Jun 26, 2013, at 3:34 PM, Johnny Miller  wrote:
>>> 
>>>> Hi Ken,
>>>> 
>>>> I believe most mail clients don't support CSS background images.
>>>> 
>>>> 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 Jun 26, 2013, at 9:32 AM, Ken Anderson  wrote:
>>>> 
>>>>> OK - still driving me crazy.
>>>>> 
>>>>> If I ask WOResourceManager for the url, I get this:
>>>>> 
>>>>> /WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>>>> 
>>>>> but that path doesn't work.  If I put the machine in front:
>>>>> 
>>>>> http://127.0.0.1/WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
>>>>> 
>>>>> still wrong.  I need to add Contents after the woa:
>>>>> 
>>>>> http://127.0.0.1/WebObjects/FitnotixService.woa/Contents/WebServerResources/emailBackground.png
>>>>> 
>>>>> THAT URL works.
>>>>> 
>>>>> So, do I have something configured wrong somewhere?  
>>>>> 
>>>>> If I put the image in a WOImage, I get this ing src:
>>>>> 
>>>>>   >>>> src="/fit/-/wr/wodata=/Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png"
>>>>>  width="800" height="600" />
>>>>> 
>>>>> I can only assume this happens on a local machine, even though I have 
>>>>> direct connect turned OFF and I'm definitely running everything through 
>>>>> Apache.
>>>>> 
>>>>> Ken
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Jun 26, 2013, at 11:57 AM, prob...@macti.ca wrote:
>>>>> 
>>>>>> Or how to do it with WO, which I wrote from one of your emails :-)
>>>>>> 
>>>>>> http://wiki.wocommunity.org/display/WOCOM/Emails
>>>>>> 
>>>>>> Problem:
>>>>>> Your HTML email have images that you want to display inline.
>>>>>> 
>>>>>> Solution:
>>>>>> If you have a WebObjects Component and you want to send inline images 
>>>>>> with the component, you have to make use of a trick, that was mentioned 
>>>>>> in Fabian Peters mail on the Wonder Discussion mailinglist on 6 june 
>>>>>> 2009.
>>>>>> 
>>>>>> First of all, in the Component HTML one includes something like this:
>>>>>> 
>>>>>> 
>>>>>> The code that accompanies this cid:image0 is:
>>>>>> URL logoURL = 
>>>>>> myApp().resourceManager().pathURLForResourceNamed("logo.png", null, 
>>>>>> null);
>>>>>> File logo = new File(logoURL.toURI());
>>>>>> ERMailAttachment imageLogo = new 
>>>>>> ERMailFileAttachment("logo.png","",logo);
>>>>>> 
>>>>>> Note that the file "logo.png" has to be included i

Re: Background image in css for email from component

2013-06-26 Thread Johnny Miller
Hi Ken,

I believe most mail clients don't support CSS background images.

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 Jun 26, 2013, at 9:32 AM, Ken Anderson  wrote:

> OK - still driving me crazy.
> 
> If I ask WOResourceManager for the url, I get this:
> 
> /WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
> 
> but that path doesn't work.  If I put the machine in front:
> 
> http://127.0.0.1/WebObjects/FitnotixService.woa/WebServerResources/emailBackground.png
> 
> still wrong.  I need to add Contents after the woa:
> 
> http://127.0.0.1/WebObjects/FitnotixService.woa/Contents/WebServerResources/emailBackground.png
> 
> THAT URL works.
> 
> So, do I have something configured wrong somewhere?  
> 
> If I put the image in a WOImage, I get this ing src:
> 
>src="/fit/-/wr/wodata=/Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png"
>  width="800" height="600" />
> 
> I can only assume this happens on a local machine, even though I have direct 
> connect turned OFF and I'm definitely running everything through Apache.
> 
> Ken
> 
> 
> 
> 
> On Jun 26, 2013, at 11:57 AM, prob...@macti.ca wrote:
> 
>> Or how to do it with WO, which I wrote from one of your emails :-)
>> 
>> http://wiki.wocommunity.org/display/WOCOM/Emails
>> 
>> Problem:
>> Your HTML email have images that you want to display inline.
>> 
>> Solution:
>> If you have a WebObjects Component and you want to send inline images with 
>> the component, you have to make use of a trick, that was mentioned in Fabian 
>> Peters mail on the Wonder Discussion mailinglist on 6 june 2009.
>> 
>> First of all, in the Component HTML one includes something like this:
>> 
>> 
>> The code that accompanies this cid:image0 is:
>> URL logoURL = myApp().resourceManager().pathURLForResourceNamed("logo.png", 
>> null, null);
>> File logo = new File(logoURL.toURI());
>> ERMailAttachment imageLogo = new 
>> ERMailFileAttachment("logo.png","",logo);
>> 
>> Note that the file "logo.png" has to be included in the Resources folder of 
>> you WebObjects project.
>> The "cid:image0" is linked to the  in the ImageAttachment.
>> 
>>> Or if you want to include the image in the mail, you'll have to reference 
>>> it by CID: 
>>> See 
>>> <http://stackoverflow.com/questions/4312687/how-to-embed-images-in-email>
>>> I've never used this for CSS background images though.
>>> Fabian
>>> Am 26.06.2013 um 17:32 schrieb James Cicenia:
>>>> The image has to be public. So you could just store a url to the public 
>>>> image.
>>>> Otherwise:
>>>>> /Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png
>>>> does look correct. It is the actual path to the image which the server 
>>>> needs to server it up.
>>>> On Jun 26, 2013, at 10:06 AM, Ken Anderson  wrote:
>>>>> Gang,
>>>>> This is driving me nuts so hopefully someone has an easy answer.
>>>>> In a component I'm using with ERMailDeliveryHTML I want to grab a 
>>>>> background image for the email:
>>>>> body
>>>>> {
>>>>> background-image:url();
>>>>> background-color:#ff;
>>>>> }
>>>>> BackgroundURL : WOString {
>>>>>   value = backgroundURL;
>>>>> }
>>>>>public String backgroundURL() {
>>>>>   return 
>>>>> WOApplication.application().resourceManager().urlForResourceNamed("emailBackground.png",
>>>>>  null, null, null);
>>>>>}
>>>>> I've tried everything including using a method to build the URL by asking 
>>>>> WOResourceManager for the URL for the resource.
>>>>> If I put the image in a WOImage to try and steal the URL, this is what I 
>>>>> get:
>>>>>   >>>> src="/fit/-/wr/wodata=/Users/kanderson/MBM/repository/trunk/source/WebObjects/FitnotixService/WebServerResources/emailBackground.png"
>>>>>  width="800" height="600" />
>>>>> even though I'm not using direct connect, which is confusi

Re: WOWODC 2013 presentations

2013-06-24 Thread Johnny Miller
Do we have a lot of converts?  I was looking through the slides and it looked 
like a great presentation.

best,

Johnny

On Jun 24, 2013, at 9:20 AM, Andrus Adamchik  wrote:

> I should also mention that the Cayenne version in the POM (3.2M1.r1486473) is 
> just a fake version of what is essentially a nightly build of trunk. We'll be 
> releasing 3.2M1 shortly, so I'll update GitHub with a real publicly available 
> version.
> 
> Andrus
> 
> On Jun 24, 2013, at 3:10 PM, Andrus Adamchik  wrote:
> 
>> And I just uploaded the Cayenne/Tapestry code that was shown during the demo 
>> sessions to GitHub:
>> 
>> https://github.com/andrus/wowodc13
>> 
>> These are fully working (albeit simple) apps. This should get you started on 
>> your next Cayenne[Tapestry] app ;)
>> 
>> Andrus
>> 
>> On Jun 24, 2013, at 9:36 AM, Pascal Robert  wrote:
>> 
>>> Hi everyone,
>>> 
>>> We are uploading the slides from WOWODC 2013 on Slideshare:
>>> 
>>> http://www.slideshare.net/wocommunity/
>>> 
>>> The recordings for paid members and WOWODC attendees will be available in 
>>> the next two weeks.
>>> ___
>>> Do not 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/andrus%40objectstyle.org
>>> 
>>> This email sent to and...@objectstyle.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:
> 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: CSS framework

2013-06-19 Thread Johnny Miller
Hi Ramsey,

You just cd into your webserver resources with a terminal during development 
and launch a daemon i.e.

# compass watch

Then it sits there and listens for changes and compiles the scss to css.  I 
tend to create my html, css, javascript in one folder (~/Sites/ProjectName) and 
then once it's done import it the files into my webobjects project where I wire 
it up to the components.

It's one of those things once you've tried it you don't go back.  Unless your a 
masochist who really like writing out css rules?  I guess it's kind of like D2W 
in that way ;)

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 Jun 19, 2013, at 10:55 AM, Ramsey Gurley  wrote:

> How do you edit that in eclipse? How do you generate the real css for 
> deployment? For development? SASS sounds nice to me, but actually using it 
> sounds complicated to the point that I just use css. 
> 
> On Jun 19, 2013, at 1:28 PM, Johnny Miller wrote:
> 
>> Way simpler right?
> 

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

2013-06-19 Thread Johnny Miller
Hi Ken,

A lot of things!  The biggest thing is that it gives you SASS (Syntactically 
aware stylesheets).  So before you would have to code your CSS with something 
like this:

#SomeID {
...rules
}

#SomeID > div {
...rules
}

#SomeID  > div .btn {
...rules
}

With SASS you have a .scss file that gets compiled to CSS and with SCSS you can 
nest your rules i.e.

#SomeID {

... rules 
> div {
... rules
.btn {
... rules
}
}

}

And then you run this little background thread that senses changes to your 
.scss file and it compiles it down to css taking your nested rules and writing 
them out for you.

But wait there is more!

Variables so:

$green: #somergbvalue;

Then you could have:

#SomeID {
>div {
.btn {
color: $green   
}
}
}

So if you ever have to change the font color you now just update the variable 
and all it's references in the css file get updated.  You can use variables for 
font sizes, widths, heights etc...

Now suppose you are using CSS3 like drop shadows, text shadows, rounded corners 
etc...  Each browser might have it's own implementation i.e.

-webkit-* 
-moz-*
-ms-*

Who wants to remember all that?  So with compass you have these things called 
mixins which are basically functions that can accept variables.  So if you want 
to create a drop shadow you do something like:

@include drop-shadow(rba(black, 0.6) 1px 1px 2px);

And then it will handle compiling it into all the different versions for each 
browser so that you have the most browser coverage.  Compass has a whole bunch 
of helper functions like that and you can use them in combination with SASS 
functions i.e. suppose you want a linear gradient background you would use a 
rule like:

@include background-image(linear-gradient(#5c7c60, #465848));

And then it will create all the browser versions plus a fallback for browsers 
that don't support linear gradients.  It also has all the mixins for CSS3 
animations which makes doing CSS3 animations super easy.

There is more but that's some of the things I like the best about it.  And if 
you use it in combination with the WebStorm IDE you get code sense for all of 
this.  It will pick up on the mixins, variables etc...  You can even create 
your file watcher inside WebStorm but I've been using the compass one.

Here is a web page I made yesterday with Compass: 
http://www.kahalawai.com/BuzzsCateringv2/

I've only tried in on a Mac so I might have a little regression testing to do 
on IE but you can see how it lends itself to really clean HTML markup.  Here is 
the link to the .scss file:

http://www.kahalawai.com/BuzzsCateringv2/sass/screen.scss

Way simpler right?

Best,

Johnny


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 Jun 19, 2013, at 10:09 AM, Ken Anderson  wrote:

> Johnny,
> 
> I'm facing the "Designers love Photoshop" problem myself.  What's good about 
> compass-style?
> 
> Ken
> 
> On Jun 19, 2013, at 2:39 PM, Johnny Miller  wrote:
> 
>> If you need to code your site from a design (photoshop) I like this 
>> framework: http://compass-style.org/
>> 
>> If you are looking for something pre-baked Bootstap is probably the best and 
>> you can find sites that offer themes for it.
>> 
>> On Jun 19, 2013, at 3:03 AM, Samuel Pelletier  wrote:
>> 
>>> Hi,
>>> 
>>> Is there some Wonder developers that use CSS frameworks in their projects 
>>> like Bootstraps and other. I tried Blueprint in the past and it was an 
>>> horror with sub components, it assume absolute positioning and change the 
>>> default table behaviour big time.
>>> 
>>> Any pro/cons on these from your experiences? How do you build and manage 
>>> your css?
>>> 
>>> Samuel
>>> 
>>> 
>>> 
>>> ___
>>> Do not 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/kenlists%40anderhome.com
>> 
>> This

Re: CSS framework

2013-06-19 Thread Johnny Miller
If you need to code your site from a design (photoshop) I like this framework: 
http://compass-style.org/

If you are looking for something pre-baked Bootstap is probably the best and 
you can find sites that offer themes for it.

On Jun 19, 2013, at 3:03 AM, Samuel Pelletier  wrote:

> Hi,
> 
> Is there some Wonder developers that use CSS frameworks in their projects 
> like Bootstraps and other. I tried Blueprint in the past and it was an horror 
> with sub components, it assume absolute positioning and change the default 
> table behaviour big time.
> 
> Any pro/cons on these from your experiences? How do you build and manage your 
> css?
> 
> Samuel
> 
> 
> 
> ___
> Do not 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: Webobjects-dev Digest, Vol 10, Issue 389

2013-06-17 Thread Johnny Miller
Hi John

> 
> 
> On Monday, June 17, 2013, Johnny Miller wrote:
> Hi John,
> 
> I definitely agree it's not the most efficient (or even an efficient) way to 
> do it.  But the problem I'm trying to solve is how do you get one of the 
> JavaScript frameworks to play nice with component actions?
> 
> It seems like the dilemma is if you want an "app like" UI you need to 
> completely buy into a solution that has a JavaScript client with a REST 
> backend. 
> 
> Yes, I suppose that's right.  But don't over-estimate the difficulty of this 
> task.  It's really not that difficult to get something simple working.  If 
> you want to go lightweight, on the server you just need a direct action and a 
> json library, like Gson for instance.  On the client JQuery makes it pretty 
> easy to make requests and transform page elements.  But prototype.js (which 
> the Ajax framework uses already) is fairly easy too.

I'm sorry.  What I meant is I don't think you can get one of the full fledged 
web application development environments like Sproutcore, EmberJS, Cappuccino, 
Angular, MontageJS etc... to work with WebObjects except through REST.  Unless 
I'm missing something it's a one or the other proposition.


>  I'm just wondering if there is some kind of middle ground where you can 
> enhance the existing Ajax framework which lets you use component actions and 
> D2W to give it a little more app quality to it.  It'll never be as good as 
> these other frameworks but it's an incremental improvement of what we have 
> now.
> 
> 
> best,
> 
> To me this is a dead end.  The separation of client and server becomes more 
> the norm every day with native clients on iOS and Android taking over.  
> Having a REST backend and a JavaScript frontend is really preferable in that 
> case because it makes everything consistent.

I agree but I think the dead end is still a little way off.  For people like 
Apple who have really deep pockets and a lot of smart people Sproutcore makes a 
lot of sense because it's a great experience.  But for small guys like me whose 
clients tend to be budget restricted WebObjects is still a faster/more 
economical way to develop.  The other two frameworks that I'm tracking closely 
(Ember and Montage) still don't seem to have completed their data layers.  So 
I'm kind of thinking that in a couple of years they will have been out and will 
be well tested.

> To address the specific implementation question - to use a component action 
> in Javascript all you need is a component action URL, which you can get by 
> calling context.componentActionURL (if memory serves) or by adding a hidden 
> wo:link or a WOGenericContainer.  Then you replace the /wo/ request handler 
> with the Ajax request handler (/ja/ or /ajax/) and fire off your HTTP 
> request.  Now you have Ajax component actions.

I've started working on an Ajax framework that's like the Project Wonder one 
but uses JQuery.  I'm at the point where I want to experiment with the idea 
that I originally put out: using custom events to loosely couple web object 
components on the same page.  

i.e.

Object A subscribes to Object B
Object B subscribes to Object A

Object A updates via an async ajax request and then sends out a broadcast to 
the page that it's value has changed.  Object B goes OK I'm going to see if my 
value has changed and polls the server.  And vice-versa.  An example could be a 
slider and a textfield that are bound to the same value.

> 
> Johnny
> 
> On Jun 17, 2013, at 11:59 AM, John Huss  wrote:
> 
>> Making a server round-trip to update your UI in real time in response to a 
>> mouse event is, at best, inefficient.  This sort of thing should be done 
>> client-side (read: in javascript) unless you have a special security concern 
>> or an algorithm that can only realistically be performed on the server.
>> 
>> 
>> On Mon, Jun 17, 2013 at 2:51 PM, Johnny Miller  
>> wrote:
>> Thank you Samuel, that's very interesting.  On something like editing a 
>> pages document or a spreadsheet - do you think the browser sends every 
>> change to the server where the document's "state" is maintained?  Or do you 
>> think it builds the document locally and periodically sends the changes to 
>> the server?  I haven't tried it yet - do you know if you can work with the 
>> iCloud versions of iWork offline?
>> 
>> As a side note (OK complete tangent) I've been thinking a lot about Project 
>> Wonder's Ajax framework and your comment kind of reminds me about an idea I 
>> had for creating an ajax element component.  The ajax element would work 
>> like the 

Re: Webobjects-dev Digest, Vol 10, Issue 389

2013-06-17 Thread Johnny Miller
Hi John,

I definitely agree it's not the most efficient (or even an efficient) way to do 
it.  But the problem I'm trying to solve is how do you get one of the 
JavaScript frameworks to play nice with component actions?

It seems like the dilemma is if you want an "app like" UI you need to 
completely buy into a solution that has a JavaScript client with a REST 
backend.  I'm just wondering if there is some kind of middle ground where you 
can enhance the existing Ajax framework which lets you use component actions 
and D2W to give it a little more app quality to it.  It'll never be as good as 
these other frameworks but it's an incremental improvement of what we have now.

best,

Johnny

On Jun 17, 2013, at 11:59 AM, John Huss  wrote:

> Making a server round-trip to update your UI in real time in response to a 
> mouse event is, at best, inefficient.  This sort of thing should be done 
> client-side (read: in javascript) unless you have a special security concern 
> or an algorithm that can only realistically be performed on the server.
> 
> 
> On Mon, Jun 17, 2013 at 2:51 PM, Johnny Miller  wrote:
> Thank you Samuel, that's very interesting.  On something like editing a pages 
> document or a spreadsheet - do you think the browser sends every change to 
> the server where the document's "state" is maintained?  Or do you think it 
> builds the document locally and periodically sends the changes to the server? 
>  I haven't tried it yet - do you know if you can work with the iCloud 
> versions of iWork offline?
> 
> As a side note (OK complete tangent) I've been thinking a lot about Project 
> Wonder's Ajax framework and your comment kind of reminds me about an idea I 
> had for creating an ajax element component.  The ajax element would work like 
> the ajax slider where every change (even keystroke) sends a async request to 
> the server to update the bound object with the new value.  Then the ajax 
> element could broadcast a custom event to the other objects in the browser 
> that it's value has changed.  Other ajax elements like ajax update containers 
> could subscribe for that event and when they receive it initiate their own 
> request to the server to see if their value has changed.  This way Wonder 
> could imitate the bidirectional communication that you see in other 
> frameworks i.e. http://montagejs.org/docs/data-binding.html
> 
> Sorry to go off on a tangent like that but it's been what I've been thinking 
> about this weekend and I haven't had anybody to discuss it with ;)
> 
> Best,
> 
> Johnny
> 
> 
> On Jun 17, 2013, at 4:34 AM, Samuel Pelletier  wrote:
> 
> > The are many javascript libraries in the source, the credits part list 
> > Jison, Sizzle, BinaryAjax, Javascript EXIF Reader, Prototype, jQuery, 
> > Sproutcore and yui.
> >
> > For the server part, the Ajax url are not like WO urls. For such a large 
> > scale and very specialized deployment they probably have something very 
> > optimized for fast response with async server side processing of the 
> > validation and save to persistent storage. This way, you can batch many 
> > small transactions into a single IO intensive process. Almost every 
> > keystrokes create a request like google apps.
> >
> > Samuel
> >
> > Le 2013-06-16 à 15:25, Johnny Miller  a écrit :
> >
> >> Sproutcore?
> >>
> >>
> >>
> >> On Jun 16, 2013, at 6:29 AM, Ramsey Gurley  wrote:
> >>
> >>> I'm gonna go out on a limb and say, something closed source that they 
> >>> have no plan to ever share with us :-)
> >>>
> >>> On Jun 16, 2013, at 9:04 AM, Stavros Panidis wrote:
> >>>
> >>>> Well, what is the technology Apple uses for iWork for iCloud?
> >>>>
> >>>> Stavros Panidis
> >>>>
> >>>>> --
> >>>>>
> >>>>> Message: 7
> >>>>> Date: Sat, 15 Jun 2013 08:54:28 -0700
> >>>>> From: Chuck Hill 
> >>>>> To: Baiss Eric Magnusson 
> >>>>> Cc: WebObjectsDev 
> >>>>> Subject: Re: Can WOWODC folks make this happen some day
> >>>>> Message-ID: <1b9c50e3-f156-4538-baf2-e70a736a4...@global-village.net>
> >>>>> Content-Type: text/plain; charset=windows-1252
> >>>>>
> >>>>> I, for one, see no value in Obj-C WebObjects.  Server side, Java is 
> >>>>> where its at.
> >>>>>
> >>>>> Chuck
> >>>>>
>

Re: Webobjects-dev Digest, Vol 10, Issue 389

2013-06-17 Thread Johnny Miller
Thank you Samuel, that's very interesting.  On something like editing a pages 
document or a spreadsheet - do you think the browser sends every change to the 
server where the document's "state" is maintained?  Or do you think it builds 
the document locally and periodically sends the changes to the server?  I 
haven't tried it yet - do you know if you can work with the iCloud versions of 
iWork offline?

As a side note (OK complete tangent) I've been thinking a lot about Project 
Wonder's Ajax framework and your comment kind of reminds me about an idea I had 
for creating an ajax element component.  The ajax element would work like the 
ajax slider where every change (even keystroke) sends a async request to the 
server to update the bound object with the new value.  Then the ajax element 
could broadcast a custom event to the other objects in the browser that it's 
value has changed.  Other ajax elements like ajax update containers could 
subscribe for that event and when they receive it initiate their own request to 
the server to see if their value has changed.  This way Wonder could imitate 
the bidirectional communication that you see in other frameworks i.e. 
http://montagejs.org/docs/data-binding.html

Sorry to go off on a tangent like that but it's been what I've been thinking 
about this weekend and I haven't had anybody to discuss it with ;)

Best,

Johnny


On Jun 17, 2013, at 4:34 AM, Samuel Pelletier  wrote:

> The are many javascript libraries in the source, the credits part list Jison, 
> Sizzle, BinaryAjax, Javascript EXIF Reader, Prototype, jQuery, Sproutcore and 
> yui.
> 
> For the server part, the Ajax url are not like WO urls. For such a large 
> scale and very specialized deployment they probably have something very 
> optimized for fast response with async server side processing of the 
> validation and save to persistent storage. This way, you can batch many small 
> transactions into a single IO intensive process. Almost every keystrokes 
> create a request like google apps.
> 
> Samuel
> 
> Le 2013-06-16 à 15:25, Johnny Miller  a écrit :
> 
>> Sproutcore?
>> 
>> 
>> 
>> On Jun 16, 2013, at 6:29 AM, Ramsey Gurley  wrote:
>> 
>>> I'm gonna go out on a limb and say, something closed source that they have 
>>> no plan to ever share with us :-)
>>> 
>>> On Jun 16, 2013, at 9:04 AM, Stavros Panidis wrote:
>>> 
>>>> Well, what is the technology Apple uses for iWork for iCloud?
>>>> 
>>>> Stavros Panidis
>>>> 
>>>>> --
>>>>> 
>>>>> Message: 7
>>>>> Date: Sat, 15 Jun 2013 08:54:28 -0700
>>>>> From: Chuck Hill 
>>>>> To: Baiss Eric Magnusson 
>>>>> Cc: WebObjectsDev 
>>>>> Subject: Re: Can WOWODC folks make this happen some day
>>>>> Message-ID: <1b9c50e3-f156-4538-baf2-e70a736a4...@global-village.net>
>>>>> Content-Type: text/plain; charset=windows-1252
>>>>> 
>>>>> I, for one, see no value in Obj-C WebObjects.  Server side, Java is where 
>>>>> its at.
>>>>> 
>>>>> Chuck
>>>>> 
>>>>> 
>>>>> On 2013-06-15, at 8:09 AM, Baiss Eric Magnusson wrote:
>>>>> 
>>>>>> Interesting discussion,
>>>>>> 
>>>>>>  <http://kevinlawler.com/objective-c>
>>>>>> 
>>>>>> I would like it if WO went back to Objective-C. Eclipse is not happening.
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Baiss Eric Magnusson
>>>>>> Cascade Web Design
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> ___
>>>>>> Do not 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 sol

Re: Webobjects-dev Digest, Vol 10, Issue 389

2013-06-16 Thread Johnny Miller
Sproutcore?



On Jun 16, 2013, at 6:29 AM, Ramsey Gurley  wrote:

> I'm gonna go out on a limb and say, something closed source that they have no 
> plan to ever share with us :-)
> 
> On Jun 16, 2013, at 9:04 AM, Stavros Panidis wrote:
> 
>> Well, what is the technology Apple uses for iWork for iCloud?
>> 
>> Stavros Panidis
>> 
>>> --
>>> 
>>> Message: 7
>>> Date: Sat, 15 Jun 2013 08:54:28 -0700
>>> From: Chuck Hill 
>>> To: Baiss Eric Magnusson 
>>> Cc: WebObjectsDev 
>>> Subject: Re: Can WOWODC folks make this happen some day
>>> Message-ID: <1b9c50e3-f156-4538-baf2-e70a736a4...@global-village.net>
>>> Content-Type: text/plain; charset=windows-1252
>>> 
>>> I, for one, see no value in Obj-C WebObjects.  Server side, Java is where 
>>> its at.
>>> 
>>> Chuck
>>> 
>>> 
>>> On 2013-06-15, at 8:09 AM, Baiss Eric Magnusson wrote:
>>> 
 Interesting discussion,
 

 
 I would like it if WO went back to Objective-C. Eclipse is not happening.
 
 
 
 Baiss Eric Magnusson
 Cascade Web Design
 
 
 
 ___
 Do not 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/ramseygurley%40gmail.com
>> 
>> This email sent to ramseygur...@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/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: looking for component?

2013-06-15 Thread Johnny Miller
AjaxExpansion?

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 Jun 13, 2013, at 1:33 AM, Theodore Petrosky  wrote:

> I want to add a disclosure triangle type of display item to my D2W listpage.
> 
> I am looking at all the available components and don't see one, so I guess I 
> have to try to cobble one together.
> 
> Does anyone know of one that I can abscond with? I am looking at the Ajax 
> Examples 2 and the ToggleDetails for inspiration.
> 
> The end result is that I want a ListPage with a disclosure triangle such that 
> if you click it, it discloses the to_many relationship appropriate 
> attribute(s).
> 
> 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/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: malformed bundle version number in deployment with Java 1.6

2013-06-07 Thread Johnny Miller
Cool.  Glad I remembered having that problem but I can't remember who the kind 
soul was that told me how to fix it.

Have a nice weekend,

Johnny

On Jun 7, 2013, at 6:24 AM, David Holt  wrote:

> That did it!
> 
> With a restart to the server the version for wotaskd is now 1.6 as well.
> 
> Thanks very much,
> David
> 
> 
> On 2013-06-06, at 4:46 PM, Johnny Miller  wrote:
> 
>> Hi David, 
>> 
>> See my other email.  I forgot to mention that you will need to restart the 
>> server after making the change to /etc/launchd.conf
>> 
>> 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 Jun 6, 2013, at 1:42 PM, David Holt  wrote:
>> 
>>> MacOSX 10.5.7
>>> 
>>> 
>>> On 2013-06-06, at 4:21 PM, Johnny Miller  wrote:
>>> 
>>>> What's the OS?
>>>> 
>>>> Sent from my iPad
>>>> 
>>>> On Jun 6, 2013, at 1:11 PM, David Holt  wrote:
>>>> 
>>>>> Yup that's it.
>>>>> 
>>>>> wotaskd is running under root.
>>>>> 
>>>>> The other is under _appserver
>>>>> 
>>>>> 
>>>>> On 2013-06-06, at 3:49 PM, Chuck Hill  wrote:
>>>>> 
>>>>>> Different users?
>>>>>> 
>>>>>> Check the top of the classpath file in the wotaskd.woa bundle (it is 
>>>>>> wotaskd that actually starts it). 
>>>>>> 
>>>>>> 
>>>>>> On 2013-06-06, at 3:37 PM, David Holt wrote:
>>>>>> 
>>>>>>> Hi Johann
>>>>>>> 
>>>>>>> Thanks for that. It turns out that it IS related to the java class.
>>>>>>> 
>>>>>>> JavaMonitor is starting the app in Java 1.5.
>>>>>>> 
>>>>>>> The command line is using Java 1.6
>>>>>>> 
>>>>>>> Does anyone know why there might be a discrepancy here?
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> On 2013-06-06, at 12:28 PM, Johann Werner  wrote:
>>>>>>> 
>>>>>>>> Hi David,
>>>>>>>> 
>>>>>>>> I vaguely remember that that warning does not necessarily mean the 
>>>>>>>> Java version number of your jars is wrong but the cfBundleVersion of 
>>>>>>>> the framework is not parseable (I think its in the Info.plist file of 
>>>>>>>> the framework).
>>>>>>>> 
>>>>>>>> jw
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Am 06.06.2013 um 21:04 schrieb David Holt :
>>>>>>>> 
>>>>>>>>> Hi all,
>>>>>>>>> 
>>>>>>>>> Just when I thought I'd seen everything deployment could throw at me….
>>>>>>>>> 
>>>>>>>>> I had an app giving me malformed version number errors for the App 
>>>>>>>>> and Model framework. I discovered that there are some jars in Wonder 
>>>>>>>>> that are version 50 so I thought I'd switch java versions on the 
>>>>>>>>> server rather than try and fight Wonder.
>>>>>>>>> 
>>>>>>>>> I switched the server Java version to Java 1.6
>>>>>>>>> 
>>>>>>>>> I rebuilt the App and Model framework in eclipse with compiler 
>>>>>>>>> settings set to 1.6. There are no errors on my development box when I 
>>>>>>>>> run in eclipse.
>>>>>>>>> 
>>>>>>>>> Now when I try to deploy the app with fully embedded frameworks I can 
>>>>>>>>> start it on the command line (it still complains about malformed 
>>>>>>>>> version numbers).
>>>>>>>>> 
>>>>>>>>> I don't know why the app won't start in JavaMonitor and produces no 
>>>>>>>>> log
>>>>>>>>> 
>>>>>>>>> I have deleted the app and model frame

Re: malformed bundle version number in deployment with Java 1.6

2013-06-06 Thread Johnny Miller
Hi David, 

See my other email.  I forgot to mention that you will need to restart the 
server after making the change to /etc/launchd.conf

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 Jun 6, 2013, at 1:42 PM, David Holt  wrote:

> MacOSX 10.5.7
> 
> 
> On 2013-06-06, at 4:21 PM, Johnny Miller  wrote:
> 
>> What's the OS?
>> 
>> Sent from my iPad
>> 
>> On Jun 6, 2013, at 1:11 PM, David Holt  wrote:
>> 
>>> Yup that's it.
>>> 
>>> wotaskd is running under root.
>>> 
>>> The other is under _appserver
>>> 
>>> 
>>> On 2013-06-06, at 3:49 PM, Chuck Hill  wrote:
>>> 
>>>> Different users?
>>>> 
>>>> Check the top of the classpath file in the wotaskd.woa bundle (it is 
>>>> wotaskd that actually starts it). 
>>>> 
>>>> 
>>>> On 2013-06-06, at 3:37 PM, David Holt wrote:
>>>> 
>>>>> Hi Johann
>>>>> 
>>>>> Thanks for that. It turns out that it IS related to the java class.
>>>>> 
>>>>> JavaMonitor is starting the app in Java 1.5.
>>>>> 
>>>>> The command line is using Java 1.6
>>>>> 
>>>>> Does anyone know why there might be a discrepancy here?
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On 2013-06-06, at 12:28 PM, Johann Werner  wrote:
>>>>> 
>>>>>> Hi David,
>>>>>> 
>>>>>> I vaguely remember that that warning does not necessarily mean the Java 
>>>>>> version number of your jars is wrong but the cfBundleVersion of the 
>>>>>> framework is not parseable (I think its in the Info.plist file of the 
>>>>>> framework).
>>>>>> 
>>>>>> jw
>>>>>> 
>>>>>> 
>>>>>> Am 06.06.2013 um 21:04 schrieb David Holt :
>>>>>> 
>>>>>>> Hi all,
>>>>>>> 
>>>>>>> Just when I thought I'd seen everything deployment could throw at me….
>>>>>>> 
>>>>>>> I had an app giving me malformed version number errors for the App and 
>>>>>>> Model framework. I discovered that there are some jars in Wonder that 
>>>>>>> are version 50 so I thought I'd switch java versions on the server 
>>>>>>> rather than try and fight Wonder.
>>>>>>> 
>>>>>>> I switched the server Java version to Java 1.6
>>>>>>> 
>>>>>>> I rebuilt the App and Model framework in eclipse with compiler settings 
>>>>>>> set to 1.6. There are no errors on my development box when I run in 
>>>>>>> eclipse.
>>>>>>> 
>>>>>>> Now when I try to deploy the app with fully embedded frameworks I can 
>>>>>>> start it on the command line (it still complains about malformed 
>>>>>>> version numbers).
>>>>>>> 
>>>>>>> I don't know why the app won't start in JavaMonitor and produces no log
>>>>>>> 
>>>>>>> I have deleted the app and model framework and rebuilt everything.
>>>>>>> 
>>>>>>> Have I missed something?
>>>>>>> 
>>>>>>> thanks,
>>>>>>> David
>>>>> 
>>>>> 
>>>>> ___
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> 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: malformed bundle version number in deployment with Java 1.6

2013-06-06 Thread Johnny Miller
I've had this problem on OS X 10.5 Server you need to put this in 
/etc/launchd.conf 

setenv JAVA_VERSION 1.6
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

But... if you use the CoreImage JNI with ERAttachment you are going to have to 
use a different image conversion library like ImageMagick.  OS X 10.5 is a 32 
bit OS and there is only a 64 bit JavaVM for Java 6.  I spent a lot of time on 
that one >:(

Best,

Johnny

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 Jun 6, 2013, at 12:37 PM, David Holt  wrote:

> Hi Johann
> 
> Thanks for that. It turns out that it IS related to the java class.
> 
> JavaMonitor is starting the app in Java 1.5.
> 
> The command line is using Java 1.6
> 
> Does anyone know why there might be a discrepancy here?
> 
> 
> 
> 
> 
> On 2013-06-06, at 12:28 PM, Johann Werner  wrote:
> 
>> Hi David,
>> 
>> I vaguely remember that that warning does not necessarily mean the Java 
>> version number of your jars is wrong but the cfBundleVersion of the 
>> framework is not parseable (I think its in the Info.plist file of the 
>> framework).
>> 
>> jw
>> 
>> 
>> Am 06.06.2013 um 21:04 schrieb David Holt :
>> 
>>> Hi all,
>>> 
>>> Just when I thought I'd seen everything deployment could throw at me….
>>> 
>>> I had an app giving me malformed version number errors for the App and 
>>> Model framework. I discovered that there are some jars in Wonder that are 
>>> version 50 so I thought I'd switch java versions on the server rather than 
>>> try and fight Wonder.
>>> 
>>> I switched the server Java version to Java 1.6
>>> 
>>> I rebuilt the App and Model framework in eclipse with compiler settings set 
>>> to 1.6. There are no errors on my development box when I run in eclipse.
>>> 
>>> Now when I try to deploy the app with fully embedded frameworks I can start 
>>> it on the command line (it still complains about malformed version numbers).
>>> 
>>> I don't know why the app won't start in JavaMonitor and produces no log
>>> 
>>> I have deleted the app and model framework and rebuilt everything.
>>> 
>>> Have I missed something?
>>> 
>>> thanks,
>>> David
>> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> 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: malformed bundle version number in deployment with Java 1.6

2013-06-06 Thread Johnny Miller
What's the OS?

Sent from my iPad

On Jun 6, 2013, at 1:11 PM, David Holt  wrote:

> Yup that's it.
> 
> wotaskd is running under root.
> 
> The other is under _appserver
> 
> 
> On 2013-06-06, at 3:49 PM, Chuck Hill  wrote:
> 
>> Different users?
>> 
>> Check the top of the classpath file in the wotaskd.woa bundle (it is wotaskd 
>> that actually starts it). 
>> 
>> 
>> On 2013-06-06, at 3:37 PM, David Holt wrote:
>> 
>>> Hi Johann
>>> 
>>> Thanks for that. It turns out that it IS related to the java class.
>>> 
>>> JavaMonitor is starting the app in Java 1.5.
>>> 
>>> The command line is using Java 1.6
>>> 
>>> Does anyone know why there might be a discrepancy here?
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On 2013-06-06, at 12:28 PM, Johann Werner  wrote:
>>> 
 Hi David,
 
 I vaguely remember that that warning does not necessarily mean the Java 
 version number of your jars is wrong but the cfBundleVersion of the 
 framework is not parseable (I think its in the Info.plist file of the 
 framework).
 
 jw
 
 
 Am 06.06.2013 um 21:04 schrieb David Holt :
 
> Hi all,
> 
> Just when I thought I'd seen everything deployment could throw at me….
> 
> I had an app giving me malformed version number errors for the App and 
> Model framework. I discovered that there are some jars in Wonder that are 
> version 50 so I thought I'd switch java versions on the server rather 
> than try and fight Wonder.
> 
> I switched the server Java version to Java 1.6
> 
> I rebuilt the App and Model framework in eclipse with compiler settings 
> set to 1.6. There are no errors on my development box when I run in 
> eclipse.
> 
> Now when I try to deploy the app with fully embedded frameworks I can 
> start it on the command line (it still complains about malformed version 
> numbers).
> 
> I don't know why the app won't start in JavaMonitor and produces no log
> 
> I have deleted the app and model framework and rebuilt everything.
> 
> Have I missed something?
> 
> thanks,
> David
>>> 
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> 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: [Wonder-disc] ERJQuery

2013-05-10 Thread Johnny Miller
Hi David,

Question about $caller - do you mean the xhr?

And the same for target do you mean the element that is being updated?

Thanks

On May 10, 2013, at 12:18 PM, David LeBer  wrote:

> Some suggestions:
> 
> Use something like:
> 
> $j = JQuery.noConflict(); 
> 
> So there is absolutely no problem with mixing JQ and other libs.
> 
> You can also replace $(window).load(function(){... etc with $j(function(){...
> 
> I'd suggest namespacing your stuff:
> 
> var WOjax = WOjax || {};
> WOjax.AUC = {...
> 
> Don't use eval (it's eval), use: WOjax[type].initialize(element); instead.
> 
> Instead of appending inline js to initialize after an update, consider using 
> the success handler on the jQuery ajax update. 
> 
> Ultimately you could do something like (sorry this is not complete, do not 
> try to copy and paste it won't work, for example purposes only, yada yada 
> yada):
> 
>   WOjax.AUC.delegates = {}
> 
>$j.ajax({
>url: url,
>//type: type,
>async: isAsync,
>//data: data,
>//beforeSend: function (jqXHR, settings){}, //TODO
>success: function(responseData, textStatus, jqXH) {
>if (isUpdate) {
>$target.html(responseData);
>} else {
>$target.replaceWith(responseData);
>}
>if (WOjax.AUC.delegates [options.delegate] !== 
> WOjax.AUC.delegates  && Delegates[options.delegate].success !== undefined) {
>WOjax.AUC.delegates [options.delegate].success($caller, 
> $target, self.handleFinish);
>} else {
>self.handleFinish($caller, $target);
>}
>},
>error: function(jqXHR, textStatus, errorThrown) {
>options.errorThrown = errorThrown;
>options.textStatus = textStatus;
>if (WOjax.AUC.delegates[options.delegate] !== undefined && 
> WOjax.AUC.delegates[options.delegate].error !== undefined) {
>WOjax.AUC.delegates[options.delegate].error($caller, 
> $target, self.handleFinish);
>} else {
>self.handleFinish($caller, $target);
>}
>}
>});
>},
>handleFinish: function(caller, target) {
>var self = WOjax.AUC;
>$caller = $j(caller),
>$target = $j(target),
>options = $caller.data('wo');
> 
>if (WOjax.AUC.delegates[options.delegate] !== undefined && 
> WOjax.AUC.delegates[options.delegate].finished !== undefined) {
>WOjax.AUC.delegates[options.delegate].finished($caller, $target, 
> self.handleCompletion);
>} else {
>self.handleCompletion($caller, $target);
>}
>},
>handleCompletion: function(_item, _uc) {
>console.log("WOjax update complete");
>   // handle container init here?
>}
> 
> So when something updates, users can specify the name of a delegate in their 
> options, and then create the delegate in WOjax.AUC.delegates that implements 
> 'success' or 'finished' or 'before'.
> 
> The delegate gets called with the caller, the target element and a call back 
> to finish the process.
> 
> // Demo Delegate
> WOjax.AUC.delegates.testDelegate = {
>before: function (caller, container, callback) {
>container.slideUp('slow', function () { callback(caller, container) });
>},
>   success: function (caller, container, callback) {
>container.slideDown('slow', function () {
>container.effect("highlight", {}, 1000);
>callback(caller, container);
>});
>   },
>   finish: function (caller, container, callback) {
>   callback(caller, container);
>   }
> };
> 
> Sorry if this is sloppy or makes little sense. Typed into email. It's been a 
> while since I looked at it. It's great someone is looking at implementing 
> this, I'm just hoping this feedback helps so the foundation is solid and 
> primed for growth ;)
> 
> D
> 
> --
> David LeBer
> Codeferous Software
> 
> On 2013-05-10, at 4:47 PM, Johnny Miller  wrote:
> 
>> Cool.  Thanks Ken.
>> 
>> I tried out some stuff last night.
>> 
>> Basically I formatted the HTML for the AjaxUpdateContainer to be something 
>> like this:
>> 
>> ...
>> 
>> Then I create an on load statement:
>> 
>> $(window).load(function() {

Re: [Wonder-disc] ERJQuery

2013-05-10 Thread Johnny Miller
Hi David,

Thanks a lot that is really good input.  I really like the idea of using 
delegation and definitely creating the no conflict variable and the self 
invoked function for the on load event is a must.

It would be cool to create a set of prefabricated delegates (like your example) 
- that has all the effects from the original ajax framework.

My guess is some delegates could be abstract enough to work on different 
objects and then we could have the delegate objects extend a master delegate.

Have a nice weekend,

Johnny

On May 10, 2013, at 12:18 PM, David LeBer  wrote:

> Some suggestions:
> 
> Use something like:
> 
> $j = JQuery.noConflict(); 
> 
> So there is absolutely no problem with mixing JQ and other libs.
> 
> You can also replace $(window).load(function(){... etc with $j(function(){...
> 
> I'd suggest namespacing your stuff:
> 
> var WOjax = WOjax || {};
> WOjax.AUC = {...
> 
> Don't use eval (it's eval), use: WOjax[type].initialize(element); instead.
> 
> Instead of appending inline js to initialize after an update, consider using 
> the success handler on the jQuery ajax update. 
> 
> Ultimately you could do something like (sorry this is not complete, do not 
> try to copy and paste it won't work, for example purposes only, yada yada 
> yada):
> 
>   WOjax.AUC.delegates = {}
> 
>$j.ajax({
>url: url,
>//type: type,
>async: isAsync,
>//data: data,
>//beforeSend: function (jqXHR, settings){}, //TODO
>success: function(responseData, textStatus, jqXH) {
>if (isUpdate) {
>$target.html(responseData);
>} else {
>$target.replaceWith(responseData);
>}
>if (WOjax.AUC.delegates [options.delegate] !== 
> WOjax.AUC.delegates  && Delegates[options.delegate].success !== undefined) {
>WOjax.AUC.delegates [options.delegate].success($caller, 
> $target, self.handleFinish);
>} else {
>self.handleFinish($caller, $target);
>}
>},
>error: function(jqXHR, textStatus, errorThrown) {
>options.errorThrown = errorThrown;
>options.textStatus = textStatus;
>if (WOjax.AUC.delegates[options.delegate] !== undefined && 
> WOjax.AUC.delegates[options.delegate].error !== undefined) {
>WOjax.AUC.delegates[options.delegate].error($caller, 
> $target, self.handleFinish);
>} else {
>self.handleFinish($caller, $target);
>}
>}
>});
>},
>handleFinish: function(caller, target) {
>var self = WOjax.AUC;
>$caller = $j(caller),
>$target = $j(target),
>options = $caller.data('wo');
> 
>if (WOjax.AUC.delegates[options.delegate] !== undefined && 
> WOjax.AUC.delegates[options.delegate].finished !== undefined) {
>WOjax.AUC.delegates[options.delegate].finished($caller, $target, 
> self.handleCompletion);
>} else {
>self.handleCompletion($caller, $target);
>}
>},
>handleCompletion: function(_item, _uc) {
>console.log("WOjax update complete");
>   // handle container init here?
>}
> 
> So when something updates, users can specify the name of a delegate in their 
> options, and then create the delegate in WOjax.AUC.delegates that implements 
> 'success' or 'finished' or 'before'.
> 
> The delegate gets called with the caller, the target element and a call back 
> to finish the process.
> 
> // Demo Delegate
> WOjax.AUC.delegates.testDelegate = {
>before: function (caller, container, callback) {
>container.slideUp('slow', function () { callback(caller, container) });
>},
>   success: function (caller, container, callback) {
>container.slideDown('slow', function () {
>container.effect("highlight", {}, 1000);
>callback(caller, container);
>});
>   },
>   finish: function (caller, container, callback) {
>   callback(caller, container);
>   }
> };
> 
> Sorry if this is sloppy or makes little sense. Typed into email. It's been a 
> while since I looked at it. It's great someone is looking at implementing 
> this, I'm just hoping this feedback helps so the foundation is solid and 
> primed for growth ;)
> 
> D
> 
> --
> David LeBer
> Codeferous Software
> 
&

Re: [Wonder-disc] ERJQuery

2013-05-10 Thread Johnny Miller
Cool.  Thanks Ken.

I tried out some stuff last night.

Basically I formatted the HTML for the AjaxUpdateContainer to be something like 
this:

...

Then I create an on load statement:

$(window).load(function() {

$('[data-wonder-id]').each(function(index, element) {

element = $(element);
var type = element.attr('data-wonder-id');
eval(type).initialize(element);

});

});

Then in the AjaxUpdateContainer javascript object I added a method called 
initialize:

initialize: function(element) {
var options = jQuery.parseJSON(element.attr('data-wonder-options'));
if(options.hasOwnProperty('minTimeout')) {
AUC.registerPeriodic(
element,
options.hasOwnProperty('canStop') ? options.canStop : null,
options.hasOwnProperty('stopped') ? options.stopped : null,
options
);
} else {
AUC.register(element.attr('id'), options);
}
},

In the event that the AUC is created as part of an Ajax Request I add a little 
javascript during appendToResponse:

AUC.initialize($("#e_0_15_3_3_1"));

So my thinking is that all the components that need to be initialized when the 
page gets loaded just need to implement initialize.  I guess I should create 
two options objects one for initialization options and one for ajax options?

Anyway for anyone is interested, I updated my example here: 
http://www.kahalawai.com/JQuery

best,

Johnny



On May 9, 2013, at 4:36 PM, Ken Anderson  wrote:

> I think this is awesome!  I'm definitely planning on using JQuery within the 
> next few months, and will happily contribute once I get to that point.
> 
> Ken
> 
> On May 9, 2013, at 6:19 PM, Johnny Miller  wrote:
> 
>> Hi Pascal,
>> 
>> I started working on a JQuery framework and I'm up to one component!
>> 
>> You can see it here: http://www.kahalawai.com/JQuery
>> 
>> I'm pretty busy but I think I could make one component a day.  I was 
>> wondering what people thought about a couple of questions I have:
>> 
>> 1. Should I use data attributes?  One thing I would like to do is not 
>> pollute the HTML with JavaScript code.  Now with my first example (the 
>> periodical updater) I'm not sure if that's possible i.e. When the page loads 
>> I can find the ajax update containers but what about an ajax update 
>> container that is returned from an ajax request?  But for a lot of the other 
>> components like ajax update link I could just register a trigger using the 
>> data attributes.
>> 
>> 2. Should I tie the framework to a look like JQueryUI or Bootstrap?  Some of 
>> the components like date pickers and modal containers need a default 
>> styling.  
>> 
>> Do you think I should keep on keeping on or has somebody already developed a 
>> framework they are about to release or is there a new better idea?
>> 
>> 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 Apr 6, 2013, at 1:41 PM, Larry Mills-Gahl  wrote:
>> 
>>> There was some talk about directing some new development effort toward 
>>> jQuery in Wonder.
>>> I've been working on some bits in this framework and am coming to realize 
>>> that there are some organizational issues that could go a couple of 
>>> different directions and I was wondering if there are any forks out there 
>>> that are working on this that I might pull from and contribute to.
>>> 
>>> Among the questions that might benefit from some planning are about 
>>> multiple frameworks and dependencies. Specifically, the ERJQueryMobile 
>>> framework has jQuery javascript resources and so does the ERJQuery 
>>> framework (and potentially ERJQueryUI if we decide to separate jQuery from 
>>> jQuery-UI … which is probably a good idea. Since mobile and UI both depend 
>>> on jQuery, would it make sense to load those from ERJQuery and update the 
>>> version handling so that one could load whatever version of jQuery you 
>>> need. 
>>> Essentially, making some loader classes in ERJQuery able to load the right 
>>> version from local resources or a CDN depending on the need. 
>>> 
>>> Anyway… there are a few design decisions that will affect how the 
>>> framework(s) interact and I wanted to know who else out there had done work 
>>> on this that I might contribute to.
>>> 
>>> Thanks.
>&

Re: [Wonder-disc] ERJQuery

2013-05-09 Thread Johnny Miller
Hi David,

On May 9, 2013, at 1:45 PM, David LeBer  wrote:

> Yes definitely use the data attributes.

OK.

> Basically what I've been experimenting with is to have an init() method that 
> is called on page load. It scans the dom looking for elements of "AjaxJQ" 
> class, reads the component type from one data attribute and inits it with 
> params from another data attribute.

That's a cool idea.  You have a factory method that initializes the object.  
Have you thought about using a selector like: [data*] then you could avoid 
adding the AjaxJQ css class.  Maybe create a namespace like [data-wjq*] in case 
there are other libraries loaded on the page.

> If the init is called with no parameters it scans ("inits") the entire dom. 
> If it is called with an id it restricts it self to scanning that id. So when 
> you are finished updating a specific area, you call init("theAreaID") to init 
> any bits that have changed. This is built in to each component that modifies 
> the dom.

Got it.  I guess you could determine in the appendToResponse phase if it's an 
ajax request and if so include a message to register the object?  Otherwise if 
it's in the original response it gets initialized after the page loads?

> There are libraries that will look for changes in the dom and allow you to 
> respond accordingly, but they all have performance issues when the dom gets 
> big. Handling it manually and targeting the areas that you know have changed 
> is a little more fragile (i.e: you could forget to scan something after a 
> change) but less likely to degrade as your dom gets more complicated, and 
> easier to understand (i.e: less magic).

With MooTools they have behavior and delegators objects.  Delegator work like 
the 'on' function in jQuery.  I'll look closer into how the behaviors work.

> I've also begun playing with a standard set of delegate methods that are 
> called at specific points (before update, after update, etc) so you can 
> expand the behaviour as you need to.
> 
> This means that all of your js can live in the head, and all of the params 
> are supplied in the data attributes, and you have no js cluttering your html.

Sounds great.  Thanks for the advice.

> D
> 
> --
> David LeBer
> Codeferous Software
> 
> On 2013-05-09, at 6:19 PM, Johnny Miller  wrote:
> 
>> Hi Pascal,
>> 
>> I started working on a JQuery framework and I'm up to one component!
>> 
>> You can see it here: http://www.kahalawai.com/JQuery
>> 
>> I'm pretty busy but I think I could make one component a day.  I was 
>> wondering what people thought about a couple of questions I have:
>> 
>> 1. Should I use data attributes?  One thing I would like to do is not 
>> pollute the HTML with JavaScript code.  Now with my first example (the 
>> periodical updater) I'm not sure if that's possible i.e. When the page loads 
>> I can find the ajax update containers but what about an ajax update 
>> container that is returned from an ajax request?  But for a lot of the other 
>> components like ajax update link I could just register a trigger using the 
>> data attributes.
>> 
>> 2. Should I tie the framework to a look like JQueryUI or Bootstrap?  Some of 
>> the components like date pickers and modal containers need a default 
>> styling.  
>> 
>> Do you think I should keep on keeping on or has somebody already developed a 
>> framework they are about to release or is there a new better idea?
>> 
>> 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 Apr 6, 2013, at 1:41 PM, Larry Mills-Gahl  wrote:
>> 
>>> There was some talk about directing some new development effort toward 
>>> jQuery in Wonder.
>>> I've been working on some bits in this framework and am coming to realize 
>>> that there are some organizational issues that could go a couple of 
>>> different directions and I was wondering if there are any forks out there 
>>> that are working on this that I might pull from and contribute to.
>>> 
>>> Among the questions that might benefit from some planning are about 
>>> multiple frameworks and dependencies. Specifically, the ERJQueryMobile 
>>> framework has jQuery javascript resources and so does the ERJQuery 
>>> framework (and potentially ERJQueryUI if we decide to separate jQuery from 
>>> jQuery-UI … which is probably a good idea. Since mobile and UI both depend 
>>> on jQuery, wou

Re: [Wonder-disc] ERJQuery

2013-05-09 Thread Johnny Miller
Hi Pascal,

I started working on a JQuery framework and I'm up to one component!

You can see it here: http://www.kahalawai.com/JQuery

I'm pretty busy but I think I could make one component a day.  I was wondering 
what people thought about a couple of questions I have:

1. Should I use data attributes?  One thing I would like to do is not pollute 
the HTML with JavaScript code.  Now with my first example (the periodical 
updater) I'm not sure if that's possible i.e. When the page loads I can find 
the ajax update containers but what about an ajax update container that is 
returned from an ajax request?  But for a lot of the other components like ajax 
update link I could just register a trigger using the data attributes.

2. Should I tie the framework to a look like JQueryUI or Bootstrap?  Some of 
the components like date pickers and modal containers need a default styling.  

Do you think I should keep on keeping on or has somebody already developed a 
framework they are about to release or is there a new better idea?

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 Apr 6, 2013, at 1:41 PM, Larry Mills-Gahl  wrote:

> There was some talk about directing some new development effort toward jQuery 
> in Wonder.
> I've been working on some bits in this framework and am coming to realize 
> that there are some organizational issues that could go a couple of different 
> directions and I was wondering if there are any forks out there that are 
> working on this that I might pull from and contribute to.
> 
> Among the questions that might benefit from some planning are about multiple 
> frameworks and dependencies. Specifically, the ERJQueryMobile framework has 
> jQuery javascript resources and so does the ERJQuery framework (and 
> potentially ERJQueryUI if we decide to separate jQuery from jQuery-UI … which 
> is probably a good idea. Since mobile and UI both depend on jQuery, would it 
> make sense to load those from ERJQuery and update the version handling so 
> that one could load whatever version of jQuery you need. 
> Essentially, making some loader classes in ERJQuery able to load the right 
> version from local resources or a CDN depending on the need. 
> 
> Anyway… there are a few design decisions that will affect how the 
> framework(s) interact and I wanted to know who else out there had done work 
> on this that I might contribute to.
> 
> Thanks.
> 
> 
> Larry Mills-Gahl
> elem...@gmail.com
> 
> 
> 
> 
> 
> 
> --
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire 
> the most talented Cisco Certified professionals. Visit the 
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html___
> Wonder-disc mailing list
> wonder-d...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wonder-disc

 ___
Do not 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-Submit in IE9

2013-05-06 Thread Johnny Miller
Hi Michael,

Oops.  Thanks for pointing that out.  

Pascal, I made a pull request for integration but I think it pulled some other 
nonsense into my request.  Can you check it out?  I did a reset before I made 
the commit and I think it's trying to add some artifacts from that.

Thanks,

Johnny

On May 6, 2013, at 1:21 AM, Michael Schmiedgen  wrote:

> Hi Johnny,
> 
> I just saw an IE9 from a client not working, because of
> line 288 in MTWonder.js: console.log(finalUrl);
> The browser complaints about not knowing 'console'.
> I played with the Internet Options (Script/Security)
> but it did not help. I removed the line locally and now it
> works. It is strange, because it works in all other IE9.
> 
> Perhaps you can do a commit and remove the line in the
> Framework?
> 
> Cheers
>  Michael
> 
> -- 
> ___
> 
> Michael Schmiedgen, BSc
> Senior Software Engineer
> 
> Takwa GmbH
> Friedrich-List-Str. 36
> 99096 Erfurt GERMANY
> 
> Tel  +49 361 6534096
> Fax  +49 361 6534097
> Mail schmied...@takwa.de
> Web  http://www.takwa.de/
> ___
> 
> 
> Amtsgericht Jena HRB 112964
> Geschäftsführung: Ingo Buchholz


 ___
Do not 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: D2W restrictingFetchSpecification Question

2013-05-04 Thread Johnny Miller
Hi,

So I cleaned it up a little bit...

I created as assignment that has methods like this:

protected NSDictionary resolveBindings(D2WContext context, 
NSDictionary bindings) {
NSMutableDictionary resolvedBindings = new 
NSMutableDictionary();
for(Object key : bindings.allKeys()) {
String aKey = (String) key;
Object value = context.valueForKeyPath((String) 
bindings.objectForKey(aKey));
if(value != null) {
resolvedBindings.takeValueForKey(value, aKey);
}
}
return resolvedBindings;
}

@Override
public Object fireNow(D2WContext c) {
Object result = null;
Object value = value();
if(value != null && value instanceof NSDictionary) {
result = resolveBindings(c, (NSDictionary) value);
}
return result;
}

And then I updated my restritedChoiceList method to look like this: 

EOEditingContext ec = ERXEC.newEditingContext();
EOEntity entity = d2wContext().entity();
EORelationship relationship = entity.relationshipNamed((String) 
d2wContext().valueForKey("propertyKey"));
NSDictionary bindings = 
(NSDictionary)d2wContext().valueForKey("restrictingFetchSpecificationBindings");

ec.lock();
try {
return EOUtilities.objectsWithFetchSpecificationAndBindings(ec,
relationship.destinationEntity().name(), fetchSpecName, 
bindings);
} finally {
ec.unlock();
}

And it works...

Any comments/advice would be appreciated!

Thanks,

Johnny

On May 4, 2013, at 1:20 PM, Johnny Miller  wrote:

> Hi Bastian,
> 
> I was thinking the same thing but ERDDelayedKeyValueAssignment with the 
> qualifier format just blew up.  It returned an error that didn't make much 
> sense like couldn't resolve componentName or something to that effect.
> 
> So I did something that is pretty lame.  I created two keys - one for the 
> left side one for the right (this is my subclass of 
> ERD2WQueryToOneRelationship) i.e. 
> 
> String key = 
> (String)d2wContext().valueForKey("restrictingFetchSpecificationKey");
> Object value = 
> d2wContext().valueForKey("restrictingFetchSpecificationValue");
> NSDictionary bindings = null;
> 
> if(key != null && value != null) {
>   bindings = new NSDictionary(
>   new NSArray(new Object[] {value}), 
>   new NSArray(new String[] {key}));
> }
> 
> ec.lock();
> try {
> return 
> EOUtilities.objectsWithFetchSpecificationAndBindings(ec,
> relationship.destinationEntity().name(), 
> fetchSpecName, bindings);
> } finally {
> ec.unlock();
> }
> 
> And that works but it's pretty ugly.  I guess I could create a custom 
> assignment that creates a NSDictionary?  I guess I will look at 
> ERDDelayedExtraQualifierAssignment for a start.
> 
> Thank you!
> 
> Johnny
> 
> On May 4, 2013, at 9:19 AM, Bastian Triller  wrote:
> 
>> Maybe an ERDDelayedKeyValueAssignment for restrictingfetchspecification with 
>> extraRestrictingQualifier as value?
>> 
>> On Sat, May 04, 2013 at 08:22:10AM -1000, Johnny Miller wrote:
>>> Yeah, I'm wondering if there is a way to do a restrictingfetchspecification 
>>> where I pass in an object at runtime i.e. a session object.   I'm going to 
>>> try to subclass erd2wlistpage and use 
>>> eoutilities.objectswithfetchspecificationandbindings and create a key in 
>>> the d2wcontext that I can use for the bindings.
>>> 
>>> Do you know how to create a nsdictionary from a rule?
>>> 
>>> Thanks,
>>> 
>>> Johnny
>>> 
>>> Sent from my iPad
>>> 
>>> On May 4, 2013, at 12:32 AM, Theodore Petrosky  wrote:
>>> 
>>>> Johnny,
>>>> 
>>>> So in my Entity Modeler I have a fetchSpecifiction called 'activeUsers' on 
>>>> my Users entity, then in my rules I have:
>>>> 
>>>> 110 : (pageConfiguration like '*Embedded*' and propertyKey = 'user') => 
>>>> restrictingFetchSpecification = "activeUsers" 
>>>> [com.webobjects.directtoweb.Assignment]
>>>> 
>>>> my popup contains only the list from the fethchSpecification.
>>>

Re: D2W restrictingFetchSpecification Question

2013-05-04 Thread Johnny Miller
Hi Bastian,

I was thinking the same thing but ERDDelayedKeyValueAssignment with the 
qualifier format just blew up.  It returned an error that didn't make much 
sense like couldn't resolve componentName or something to that effect.

So I did something that is pretty lame.  I created two keys - one for the left 
side one for the right (this is my subclass of ERD2WQueryToOneRelationship) 
i.e. 

String key = 
(String)d2wContext().valueForKey("restrictingFetchSpecificationKey");
Object value = 
d2wContext().valueForKey("restrictingFetchSpecificationValue");
NSDictionary bindings = null;

if(key != null && value != null) {
bindings = new NSDictionary(
new NSArray(new Object[] {value}), 
new NSArray(new String[] {key}));
}

ec.lock();
try {
return EOUtilities.objectsWithFetchSpecificationAndBindings(ec,
relationship.destinationEntity().name(), fetchSpecName, 
bindings);
} finally {
ec.unlock();
}

And that works but it's pretty ugly.  I guess I could create a custom 
assignment that creates a NSDictionary?  I guess I will look at 
ERDDelayedExtraQualifierAssignment for a start.

Thank you!

Johnny

On May 4, 2013, at 9:19 AM, Bastian Triller  wrote:

> Maybe an ERDDelayedKeyValueAssignment for restrictingfetchspecification with 
> extraRestrictingQualifier as value?
> 
> On Sat, May 04, 2013 at 08:22:10AM -1000, Johnny Miller wrote:
>> Yeah, I'm wondering if there is a way to do a restrictingfetchspecification 
>> where I pass in an object at runtime i.e. a session object.   I'm going to 
>> try to subclass erd2wlistpage and use 
>> eoutilities.objectswithfetchspecificationandbindings and create a key in the 
>> d2wcontext that I can use for the bindings.
>> 
>> Do you know how to create a nsdictionary from a rule?
>> 
>> Thanks,
>> 
>> Johnny
>> 
>> Sent from my iPad
>> 
>> On May 4, 2013, at 12:32 AM, Theodore Petrosky  wrote:
>> 
>>> Johnny,
>>> 
>>> So in my Entity Modeler I have a fetchSpecifiction called 'activeUsers' on 
>>> my Users entity, then in my rules I have:
>>> 
>>> 110 : (pageConfiguration like '*Embedded*' and propertyKey = 'user') => 
>>> restrictingFetchSpecification = "activeUsers" 
>>> [com.webobjects.directtoweb.Assignment]
>>> 
>>> my popup contains only the list from the fethchSpecification.
>>> 
>>> does that help?
>>> 
>>> Ted
>>> 
>>> 
>>> --- On Fri, 5/3/13, Tim Worman  wrote:
>>> 
>>>> From: Tim Worman 
>>>> Subject: Re: D2W restrictingFetchSpecification Question
>>>> To: "Johnny Miller" 
>>>> Cc: "WebObjects-Dev Apple" 
>>>> Date: Friday, May 3, 2013, 11:19 PM
>>>> Hi Johnny:
>>>> 
>>>> I haven't used the restrictingFetchSpecification before. But
>>>> I have used a query data source delegate that implements
>>>> ERDQueryDataSourceDelegateInterface. There's an example on
>>>> the wiki on the wiki in the D2W flow control article. You
>>>> may already know about that option - but throwing it out
>>>> just in case.
>>>> 
>>>> http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control
>>>> 
>>>> Tim
>>>> 
>>>> On May 3, 2013, at 8:12 PM, Johnny Miller 
>>>> wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> I want to add an automatic qualifier binding to a
>>>> number of my list pages.
>>>>> 
>>>>> And I'm just not quite getting how to use the
>>>> restrictingFetchSpecification key.  
>>>>> 
>>>>> If I want my qualifier to be based upon an object in my
>>>> session how do I create the qualifier?  I see that I
>>>> can put a variable in the qualifier that gets created in the
>>>> EOModel but how do I tell D2W to substitute the variable
>>>> with my session object at runtime?
>>>>> 
>>>>> Thanks in advance,
>>>>> 
>>>>> Aloha,
>>>>> Mr. Johnny Miller
>>>>> Web Development Manager
>>>>> Kahalawai Media Company
>>>>> Lahaina, HI 96761
>>>>> tel: (808) 661-7962 | mobile: (808)

Re: D2W restrictingFetchSpecification Question

2013-05-04 Thread Johnny Miller
Yeah, I'm wondering if there is a way to do a restrictingfetchspecification 
where I pass in an object at runtime i.e. a session object.   I'm going to try 
to subclass erd2wlistpage and use 
eoutilities.objectswithfetchspecificationandbindings and create a key in the 
d2wcontext that I can use for the bindings.

Do you know how to create a nsdictionary from a rule?

Thanks,

Johnny

Sent from my iPad

On May 4, 2013, at 12:32 AM, Theodore Petrosky  wrote:

> Johnny,
> 
> So in my Entity Modeler I have a fetchSpecifiction called 'activeUsers' on my 
> Users entity, then in my rules I have:
> 
> 110 : (pageConfiguration like '*Embedded*' and propertyKey = 'user') => 
> restrictingFetchSpecification = "activeUsers" 
> [com.webobjects.directtoweb.Assignment]
> 
> my popup contains only the list from the fethchSpecification.
> 
> does that help?
> 
> Ted
> 
> 
> --- On Fri, 5/3/13, Tim Worman  wrote:
> 
>> From: Tim Worman 
>> Subject: Re: D2W restrictingFetchSpecification Question
>> To: "Johnny Miller" 
>> Cc: "WebObjects-Dev Apple" 
>> Date: Friday, May 3, 2013, 11:19 PM
>> Hi Johnny:
>> 
>> I haven't used the restrictingFetchSpecification before. But
>> I have used a query data source delegate that implements
>> ERDQueryDataSourceDelegateInterface. There's an example on
>> the wiki on the wiki in the D2W flow control article. You
>> may already know about that option - but throwing it out
>> just in case.
>> 
>> http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control
>> 
>> Tim
>> 
>> On May 3, 2013, at 8:12 PM, Johnny Miller 
>> wrote:
>> 
>>> Hi,
>>> 
>>> I want to add an automatic qualifier binding to a
>> number of my list pages.
>>> 
>>> And I'm just not quite getting how to use the
>> restrictingFetchSpecification key.  
>>> 
>>> If I want my qualifier to be based upon an object in my
>> session how do I create the qualifier?  I see that I
>> can put a variable in the qualifier that gets created in the
>> EOModel but how do I tell D2W to substitute the variable
>> with my session object at runtime?
>>> 
>>> 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 | e-mail
>>> 
>>> ___
>>> Do not 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/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: D2W restrictingFetchSpecification Question

2013-05-03 Thread Johnny Miller
Hi Tim,

Do you think it's possible to use the query source delegate with a list page?
 
I don't see how you can use a delegate with the list page - do you know how?  

I'm thinking I might have to override the setupPhase method in my subclass of 
ERD2WListPage and create something similar to the extraRestrictingQualifier key.

Thanks,

Johnny



On May 3, 2013, at 5:19 PM, Tim Worman  wrote:

> Hi Johnny:
> 
> I haven't used the restrictingFetchSpecification before. But I have used a 
> query data source delegate that implements 
> ERDQueryDataSourceDelegateInterface. There's an example on the wiki on the 
> wiki in the D2W flow control article. You may already know about that option 
> - but throwing it out just in case.
> 
> http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control
> 
> Tim
> 
> On May 3, 2013, at 8:12 PM, Johnny Miller  wrote:
> 
>> Hi,
>> 
>> I want to add an automatic qualifier binding to a number of my list pages.
>> 
>> And I'm just not quite getting how to use the restrictingFetchSpecification 
>> key.  
>> 
>> If I want my qualifier to be based upon an object in my session how do I 
>> create the qualifier?  I see that I can put a variable in the qualifier that 
>> gets created in the EOModel but how do I tell D2W to substitute the variable 
>> with my session object at runtime?
>> 
>> 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 | e-mail 
>> 
>> ___
>> Do not 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/archive%40mail-archive.com

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


D2W restrictingFetchSpecification Question

2013-05-03 Thread Johnny Miller
Hi,

I want to add an automatic qualifier binding to a number of my list pages.

And I'm just not quite getting how to use the restrictingFetchSpecification 
key.  

If I want my qualifier to be based upon an object in my session how do I create 
the qualifier?  I see that I can put a variable in the qualifier that gets 
created in the EOModel but how do I tell D2W to substitute the variable with my 
session object at runtime?

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

 ___
Do not 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: D2W Design Question

2013-05-03 Thread Johnny Miller
Hi David,

I got a little closer...

It dawned on me that ERDAttributeRepetition is not a stateless component.  So 
in the component I just created an object called selectedObject and a component 
action that sets selectedObject to the item in the repetition.

So now I have it that if selectedObject is null display the list of objects 
otherwise display a ERXD2WInspect and pass in the selectedObject.  Then in my 
rule system for that entity I have the templateNameForInspectPage resolve to a 
subclass of ERD2WCompactInspectPageTemplate.  And I wrap the compact inspect 
page template in a form and handle the save.

But...

Now I'm stuck on how to reset the selected object variable.  If I do it in the 
sleep phase the form will not work because the selected object is no longer 
around.  If I do not reset the variable once I set it in the component it is 
stuck with it.

So what I ended up doing is putting the selected object variable in the top 
level component that embeds the d2w inspect, list and query components.  And 
then I just pass it up and down.  Which is kind of messy because the 
intermediate inspect page has a couple of getter setter methods that just 
passes the object up and down.

Does anybody know of a smarter way to handle this kind of situation?

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 May 2, 2013, at 4:10 PM, Johnny Miller  wrote:

> I have the power to confuse anyone when it comes to this WO/D2W!
> 
> OK.  I created a screenshot with comments and I've posted it here: 
> http://www.kahalawai.com/ToManyLink.jpg
> 
> So yes... I'm using embedded d2w components.  Each of the thumbnails is a 
> link.  When the user clicks on the thumbnail it should keep the first two 
> columns the same and in the third column keep the action bar but replace the 
> list of thumbs with a form to edit the thumbnail (or create a new one).
> 
> The model is:
> 
> Product ->> Product Images -> ERAttachment
> 
> The selected object in the display group is a "Product" the list of the 
> thumbs are Product Image eos.
> 
> I'm just trying to figure out how to put that component action in there... so 
> I keep the current selected object but I have a secondary selected object 
> somehow.
> 
> Does that help?  Or make any sense?  
> 
> Thanks,
> 
> Johnny
> 
> 
> On May 2, 2013, at 3:39 PM, David Holt  wrote:
> 
>> Hi Johnny,
>> 
>> Ok, I admit to now being confused.
>> 
>> Your master list is D2W? Or is it just loading embedded D2W components below 
>> it?
>> 
>> When you said "new page" I interpreted that as "new window". Not sure what 
>> this looks like. Screen shots would help.
>> 
>> Is the link in question from a to-many relationship on your inspect page? Or 
>> is it from the original list? I was assuming that you would be able to get 
>> the object in the list, then pass that in your link to your new page. What 
>> object is it that you don't want to lose reference to?
>> 
>> In case it helps, here is how I usually create a  simple link for a 
>> situation like yours. It could be in any page, really, but I usually put 
>> such a thing in a list page:
>> 
>> .wo
>> 
>> 
>> 
>> .java
>> 
>> public class SelectDocumentForView extends ERXStatelessComponent {
>>  public SelectDocumentForView(WOContext context) {
>>  super(context);
>>  }
>> 
>>  public EOEnterpriseObject object() {
>>  return (EOEnterpriseObject) valueForBinding("object");
>>  }
>> 
>>  public String key() {
>>  return (String) valueForBinding("key");
>>  }
>> 
>>  public String displayValue() {
>>  return (String) object().valueForKey(key());
>>  }
>>  
>>  public WOComponent view() {
>>  Document selectedDocument = (Document) object();
>>  return (WOComponent) 
>> ((Session)session()).navController().inspectDocument(selectedDocument);
>>  }
>>  
>> }
>> 
>> rules:
>> 
>> 100 : (pageConfiguration = 'ListMyWGDocuments' and propertyKey = 'title') => 
>> componentName = "D2WCustomComponent" [com.webobjects.directtoweb.Assignment]
>> 100 : (pageConfiguration = 'ListMyWGDocuments' and propertyKey = 'title') => 
>> customComponentName = "SelectDocumentForView" 
>> [com.webobjects.directtoweb.Assignment]
>> 
>> 
>> To se

Re: D2W Design Question

2013-05-02 Thread Johnny Miller
I have the power to confuse anyone when it comes to this WO/D2W!

OK.  I created a screenshot with comments and I've posted it here: 
http://www.kahalawai.com/ToManyLink.jpg

So yes... I'm using embedded d2w components.  Each of the thumbnails is a link. 
 When the user clicks on the thumbnail it should keep the first two columns the 
same and in the third column keep the action bar but replace the list of thumbs 
with a form to edit the thumbnail (or create a new one).

The model is:

Product ->> Product Images -> ERAttachment

The selected object in the display group is a "Product" the list of the thumbs 
are Product Image eos.

I'm just trying to figure out how to put that component action in there... so I 
keep the current selected object but I have a secondary selected object somehow.

Does that help?  Or make any sense?  

Thanks,

Johnny


On May 2, 2013, at 3:39 PM, David Holt  wrote:

> Hi Johnny,
> 
> Ok, I admit to now being confused.
> 
> Your master list is D2W? Or is it just loading embedded D2W components below 
> it?
> 
> When you said "new page" I interpreted that as "new window". Not sure what 
> this looks like. Screen shots would help.
> 
> Is the link in question from a to-many relationship on your inspect page? Or 
> is it from the original list? I was assuming that you would be able to get 
> the object in the list, then pass that in your link to your new page. What 
> object is it that you don't want to lose reference to?
> 
> In case it helps, here is how I usually create a  simple link for a situation 
> like yours. It could be in any page, really, but I usually put such a thing 
> in a list page:
> 
> .wo
> 
> 
> 
> .java
> 
> public class SelectDocumentForView extends ERXStatelessComponent {
>   public SelectDocumentForView(WOContext context) {
>   super(context);
>   }
> 
>   public EOEnterpriseObject object() {
>   return (EOEnterpriseObject) valueForBinding("object");
>   }
> 
>   public String key() {
>   return (String) valueForBinding("key");
>   }
> 
>   public String displayValue() {
>   return (String) object().valueForKey(key());
>   }
>   
>   public WOComponent view() {
>   Document selectedDocument = (Document) object();
>   return (WOComponent) 
> ((Session)session()).navController().inspectDocument(selectedDocument);
>   }
>   
> }
> 
> rules:
> 
> 100 : (pageConfiguration = 'ListMyWGDocuments' and propertyKey = 'title') => 
> componentName = "D2WCustomComponent" [com.webobjects.directtoweb.Assignment]
> 100 : (pageConfiguration = 'ListMyWGDocuments' and propertyKey = 'title') => 
> customComponentName = "SelectDocumentForView" 
> [com.webobjects.directtoweb.Assignment]
> 
> 
> To set up a dummy propertyKey you just declare it in your displayPropertyKeys 
> for that pageConfiguration. So if 'title' wasn't actually a property, it 
> would still show up because I've declared a component for it. You'd change 
> the html above to display a static string instead of the value of the 
> propertyKey.
> 
> Hope that helps,
> David
> 
> 
> 
> On 2013-05-02, at 6:17 PM, Johnny Miller  wrote:
> 
>> Thanks David,
>> 
>> I'll take you up on that :)
>> 
>> So maybe what I'm doing is the wrong approach but this is my method:
>> 
>> The ERDActionBar's delegate assigns a pageConfiguration.
>> 
>> In my rules I say for that page configuration use an inspect page template 
>> that subclasses ERD2WInspectPage.  On that template it has some presentation 
>> code and a component that subclasses ERDInspectPageRepetition.  I'm using 
>> the subclass of ERDInspectPageRepetition to fetch the eos and print them to 
>> the screen.  So...
>> 
>> Is there an example of a custom link component in Wonder?  Can I just create 
>> a componentAction that sets the propertyKey to the dummy key? 
>> 
>> I don't understand why I would use target = "_blank"?  I don't want to 
>> change the browser window?  Or is that a special D2W thing?
>> 
>> Thanks a lot!
>> 
>> Johnny
>> 
>> On May 2, 2013, at 2:22 PM, David Holt  wrote:
>> 
>>> Hi Johnny,
>>> 
>>> You can make a custom link component with target = "_blank" for the 
>>> embedded list. You need to declare a dummy property key for that entity, 
>>> and call your customComponent for that property key. If you

Re: D2W Design Question

2013-05-02 Thread Johnny Miller
Thanks David,

I'll take you up on that :)

So maybe what I'm doing is the wrong approach but this is my method:

The ERDActionBar's delegate assigns a pageConfiguration.

In my rules I say for that page configuration use an inspect page template that 
subclasses ERD2WInspectPage.  On that template it has some presentation code 
and a component that subclasses ERDInspectPageRepetition.  I'm using the 
subclass of ERDInspectPageRepetition to fetch the eos and print them to the 
screen.  So...

Is there an example of a custom link component in Wonder?  Can I just create a 
componentAction that sets the propertyKey to the dummy key? 

I don't understand why I would use target = "_blank"?  I don't want to change 
the browser window?  Or is that a special D2W thing?

Thanks a lot!

Johnny

On May 2, 2013, at 2:22 PM, David Holt  wrote:

> Hi Johnny,
> 
> You can make a custom link component with target = "_blank" for the embedded 
> list. You need to declare a dummy property key for that entity, and call your 
> customComponent for that property key. If you need a hand with the actual 
> component, let me know.
> 
> David
> 
> 
> 
> On 2013-05-02, at 5:13 PM, Johnny Miller  wrote:
> 
>> Hi,
>> 
>> I'm trying to figure out something and I'm lost again.  And I figure there 
>> is an easy answer so here goes:
>> 
>> I'm using embedded components and I have a "master list" style page.  On my 
>> inspect component I have an ERDActionBar that lets the user go between 
>> different screens such as inspect page, an edit page and different pages for 
>> special attribute handling and relationships.
>> 
>> So here is my question: if I'm showing a list of objects from a to many 
>> relationship - how do I open a new page to edit one of the objects in the 
>> relationship without changing what the current object is and without using a 
>> modal window?
>> 
>> 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 | e-mail 
>> 
>> ___
>> Do not 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/programmingosx%40mac.com
>> 
>> This email sent to programming...@mac.com
> 

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

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


D2W Design Question

2013-05-02 Thread Johnny Miller
Hi,

I'm trying to figure out something and I'm lost again.  And I figure there is 
an easy answer so here goes:

I'm using embedded components and I have a "master list" style page.  On my 
inspect component I have an ERDActionBar that lets the user go between 
different screens such as inspect page, an edit page and different pages for 
special attribute handling and relationships.

So here is my question: if I'm showing a list of objects from a to many 
relationship - how do I open a new page to edit one of the objects in the 
relationship without changing what the current object is and without using a 
modal window?

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

 ___
Do not 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: Rule Modeler & Spinning Beach Ball

2013-04-27 Thread Johnny Miller
Thanks David.  That seemed to work. I put my working set to window working set 
and then started rule modeler.  I've been able to switch the working set 
without RuleModeler going loco.

Thanks a lot,

Johnny

On Apr 26, 2013, at 3:46 PM, David LeBer  wrote:

> I've seen this when switching between workspaces.
> 
> Try quitting RuleModeler, and Eclipse, then launch Eclipse, open the 
> workspace, and then launch RuleModeler.
> 
> D
> 
> --
> David LeBer
> Codeferous Software
> 
> On 2013-04-26, at 8:55 PM, Johnny Miller  wrote:
> 
>> Hi,
>> 
>> Is there any trick to getting Rule Modeler to not take forever to make a 
>> save?  I've retried restarting eclipse and rule modeler.  I'm on OS X 10.8.3 
>> using Eclipse 3.8.1 Java 1.7
>> 
>> TIA, 
>> 
>> Aloha,
>> Mr. Johnny Miller
>> Web Development Manager
>> Kahalawai Media Company
>> Lahaina, HI 96761
>> tel: (808) 661-7962 | mobile: (808) 283-0791
>> website | e-mail 
>> 
>> ___
>> Do not 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/archive%40mail-archive.com

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


Rule Modeler & Spinning Beach Ball

2013-04-26 Thread Johnny Miller
Hi,

Is there any trick to getting Rule Modeler to not take forever to make a save?  
I've retried restarting eclipse and rule modeler.  I'm on OS X 10.8.3 using 
Eclipse 3.8.1 Java 1.7

TIA, 

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

 ___
Do not 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: MooTools Observer: fullSubmit not working

2013-04-19 Thread Johnny Miller
Hi Michael,

OK.  I discovered the error.

In MTWonder.js the method observeField in the object MTAjaxSubmitButton

Some code like this:

} else if (updateContainerID != null) {
submitFunction = function(element, value) {
if(!options.onBeforeSubmit || 
options.onBeforeSubmit(formFieldID)) {
MTASB.update(updateContainerID, 
$(formFieldID).form, null, options);
}
}
}

You need to add that .form to $(formFieldID)

When I get to the office I, the world's dumbest user of Git, will submit a 
patch (hopefully).  

Best,

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 Apr 19, 2013, at 2:03 AM, Michael Schmiedgen  wrote:

> Hi Johnny,
> 
>> In the method generateActionUrl
>> 
>> If you put console.log(form.action) at the top of the method what does it 
>> output?
> 
> 'undefined'
> 
>> Are your inputs nested inside a form?
> 
> I just built a test case. It is a new, vanilla, Wonder Application
> generated with WOLips. The only thing altered is the 'Main' component,
> as shown below.
> 
> - If I click the popup button nothing happens. Error console
>  displays: 'TypeError: actionUrl is undefined'. actionObserver()
>  is not called.
> 
> - If I comment out MTAjaxObserveField's 'updateContainerID':
>  actionObserver() gets called, error console is emtpy, but obviously
>  the container gets no update.
> 
> - If I comment out 'fullSubmit' everything works fine. actionObserver()
>  gets called, error console is empty and the container gets updated,
>  the WOString prints my selection in the browser.
> 
> Thanks,
>  Michael
> 
> --
> public class Main extends ERXComponent {
>   private static final NSArray popupList =
>   new NSArray<>("Eins", "Zwei", "Drei");
>   public String selection;
> 
>   public Main(WOContext context) {
>   super(context);
>   }
>   public NSArray popupList() {
>   return popupList;
>   }
>   public WOActionResults actionObserver() {
>   System.out.println("observer: " + selection);
>   return null;
>   }
> }
> --
> 
>  
>
>  
>
>  
>
>
>  
>
>  
> 
> --
> Form : WOForm {
> }
> UpdateContainer : MTAjaxUpdateContainer {
>   id = "ta_panel";
>   elementName = "div";
> }
> Observer : MTAjaxObserveField {
>   action = actionObserver;
>   updateContainerID = "ta_panel";
>   fullSubmit = true;
> }
> Popup : WOPopUpButton {
>   list = popupList;
>   selection = selection;
> }
> Selection : WOString {
>   value = selection;
> }
> --
> 
> -- 
> ___
> 
> Michael Schmiedgen, BSc
> Senior Software Engineer
> 
> Takwa GmbH
> Friedrich-List-Str. 36
> 99096 Erfurt GERMANY
> 
> Tel  +49 361 6534096
> Fax  +49 361 6534097
> Mail schmied...@takwa.de
> Web  http://www.takwa.de/
> ___
> 
> 
> Amtsgericht Jena HRB 112964
> Geschäftsführung: Ingo Buchholz

 ___
Do not 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: MooTools Observer: fullSubmit not working

2013-04-18 Thread Johnny Miller
What does the JavaScript code that creates the observer look like on the web 
page?  Is it passing in the component URL?


Sent from my iPad

On Apr 18, 2013, at 5:23 AM, Michael Schmiedgen  wrote:

> Hi Johnny,
> 
>> Do you see an error in the JavaScript console?
> 
> Yes, I get:
> 
> Timestamp: 18.04.2013 17:09:57
> Error: TypeError: actionUrl is undefined
> Source File: MTWonder.js
> Line: 210
> 
> This is line 210:
> actionUrl = actionUrl.replace('/wo/', '/ajax/');
> 
>> Do you specify the update container ID?
> 
> Yes, I have an
> 
> UpdateContainer : MTAjaxUpdateContainer {
>id = "ta_panel";
>elementName = "div";
> }
> 
> and specify the container in the observer with:
> 
> Observer : MTAjaxObserveField {
>action = actionObserver;
>updateContainerID = "ta_panel";
>elementName = "span";
>fullSubmit = true;
> }
> 
> Do you have any idea?
> 
> Thanks,
>  Michael
> 
> -- 
> ___
> 
> Michael Schmiedgen, BSc
> Senior Software Engineer
> 
> Takwa GmbH
> Friedrich-List-Str. 36
> 99096 Erfurt GERMANY
> 
> Tel  +49 361 6534096
> Fax  +49 361 6534097
> Mail schmied...@takwa.de
> Web  http://www.takwa.de/
> ___
> 
> 
> Amtsgericht Jena HRB 112964
> Geschäftsführung: Ingo Buchholz

 ___
Do not 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: MooTools Observer: fullSubmit not working

2013-04-17 Thread Johnny Miller
Hi Michael,

Do you see an error in the JavaScript console?

Do you specify the update container ID?

Thanks,

Johnny



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 Apr 17, 2013, at 4:44 AM, Michael Schmiedgen  wrote:

> Hi list,
> 
> anyone noticed that MTAjaxObserveFields 'fullSubmit' is not
> working? If I set 'fullSubmit' to 'true' nothing gets submitted.
> 
> Am I doing something wrong here or what is the problem?
> 
> Thanks,
>  Michael
> 
> -- 
> ___
> 
> Michael Schmiedgen, BSc
> Senior Software Engineer
> 
> Takwa GmbH
> Friedrich-List-Str. 36
> 99096 Erfurt GERMANY
> 
> Tel  +49 361 6534096
> Fax  +49 361 6534097
> Mail schmied...@takwa.de
> Web  http://www.takwa.de/
> ___
> 
> 
> Amtsgericht Jena HRB 112964
> Geschäftsführung: Ingo Buchholz
> ___
> Do not 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: Small note about the Association, WOWODC and myself

2013-04-08 Thread Johnny Miller
If you don't have better offers I wouldn't mind managing the email 
marketing/newsletter.



On Apr 8, 2013, at 12:57 PM, Chuck Hill  wrote:

> 
> On 2013-04-01, at 12:06 PM, Pascal Robert wrote:
> 
>> Hi everyone,
>> 
>> I got a couple of you who asked me what will happen with the community and 
>> the membership if I'm going away from the community.
>> 
>> First, just to be clear, I'm moving away because I'm back to being an 
>> employee starting tomorrow (and back to being a Linux and OS X sys admin), 
>> so I just can't give an average of 10 hours/week to the community (yes, by 
>> including my WOWODC 2012 presentations, I really gave an average of 10 
>> hours/week to the community in the last 12 months).
> 
> Wow.  That is, uh, a lot!  Your family will be happy to see you again.
> 
> 
>> But the whole thing behind the Association registration and membership is 
>> that it can survive the departure of people. In the past, we lost resources 
>> like WOCode who went away because it was not owned by a group of different 
>> people or an separate organization. I didn't want this to happen anymore, 
>> that's why we registered the Association and that the server is paid (in 
>> fact, it's rented) by the Association.
>> 
>> So, in short, do not panic! Everything will be fine.
> 
> As long as some of the rest of us step forward and take over Pascal's tasks.  
> If we all wait for someone else to do it for us... then it might not be so 
> fine.
> 
> 
>> And I'm still one of the directors of the Association, along with Chuck Hill 
>> and Stephen Smith, so even if I die next week, the Association will still 
>> exist (unless North Korea send atomic bombs on Toronto, Vancouver and 
>> Montreal, likely won't happen). 
> 
> Well, we missed that one.
> 
> 
>> As for WOWODC 2013, again no worry. We have an event manager that works on 
>> it, and I will be at the conference too. And you asked that we have an event 
>> manager so that the event go more smoothly, we have it. You also asked that 
>> we find a hotel with a better WiFi network, we found one (the WiFi network 
>> at the Hilton can support 500 devices easily, and we have a minimum of 10 
>> Mbps guarantee just for the event). Yes, it cost more, but it was the cost 
>> to pay to have a better conference.
>> 
>> So if you hesitate to buy your WOWODC tickets or to get membership because I 
>> said I was going out, do not hesitate, and I'm sure other leaders will take 
>> over some of the tasks I was doing.
> 
> So, who is up for an hour or two a week?
> 
> 
> Chuck
> 
> -- 
> 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/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: ImageIO Native Java 1.6 / Small Progress

2013-04-02 Thread Johnny Miller
So... 

I kind of assumed that since Java 1.6 64 bit was installed that my system was 
64 bit.  But after running uname -m I see that it is i386.  Which is probably 
why xcode can't compile the binary to x86_64.

Anybody know why Apple updated Java to 64 bit on a 32 bit machine?  And/or how 
to get 32 bit Java 1.6 onto my i386 server?

Thanks,

Johnny

On Apr 2, 2013, at 10:39 AM, Johnny Miller  wrote:

> Hi Tim,
> 
> Yeah, I'm getting stumped.  I've tried setting x86_64 in the build setting 
> for all targets and I've even tried compiling with xcodebuild ARCHS="x86_64" 
> from the command line but no matter what if I run 
> 
> file libImageIOImageProcessor.jnilib
> 
> I get 
> 
> libImageIOImageProcessor.jnilib: Mach-O dynamically linked shared library i386
> 
> It just refuses to take the x86_64 setting.
> 
> Johnny
> 
> 
> On Apr 2, 2013, at 10:14 AM, Tim Worman  wrote:
> 
>> I've had this issue before. There used to be a WO based app for changing 
>> your Open Directory password. It was set up with a JNI library for 
>> interfacing with Apple's directory services frameworks. It no longer ran on 
>> 64-bit Intel.
>> 
>> I never tried to dive into XCode and recompile it - so not sure about that 
>> part.
>> 
>> Tim
>> 
>> On Apr 2, 2013, at 12:55 PM, Johnny Miller  wrote:
>> 
>>> OK.  So I added this argument to the application's additional arguments in 
>>> WOMonitor:
>>> 
>>> -Djava.library.path=/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
>>> 
>>> And it is now finding the JNI.  But now I'm on to a new problem!
>>> 
>>> java.lang.UnsatisfiedLinkError: 
>>> /Library/Java/Extensions/libImageIOImageProcessor.jnilib: no suitable image 
>>> found. Did find: /Library/Java/Extensions/libImageIOImageProcessor.jnilib: 
>>> mach-o, but wrong architecture
>>> 
>>> So the Google seems to think this is because the JNI is compiled for 32 bit 
>>> but I'm using 64 bit java.  That would make sense.  I've tried recompiling 
>>> the JNI and I've changed the ARCHS variable in the build properties to 
>>> x86_64 but I'm still getting the error.  Does anyone who is wise in the 
>>> ways of MacOSX programming know where I've gone wrong?  I'm using 10.5 and 
>>> XCode 3.1
>>> 
>>> Thanks,
>>> 
>>> Johnny
>>> 
>>> On Apr 2, 2013, at 9:25 AM, Johnny Miller  wrote:
>>> 
>>>> Thanks for the advice guys.  Although, I'd really like to get the native 
>>>> going...
>>>> 
>>>> The error I'm seeing is a com.webobjects.foundation.NSForwardException 
>>>> [java.lang.NoClassDefFoundError] Could not initialize class 
>>>> er.attachment.thumbnail.ImageIOImageProcessor:java.lang.NoClassDefFoundError:
>>>>  
>>>> 
>>>> I made a simple class that prints out the java class path from the command 
>>>> line and I see that /Library/Java/Extensions is in there.  But... getting 
>>>> WebObjects to use Java 1.6 was kind of a hack to begin with.  I had to 
>>>> create the file /etc/launchd.conf which contains these two lines:
>>>> 
>>>> setenv JAVA_VERSION 1.6
>>>> setenv JAVA_HOME 
>>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
>>>> 
>>>> Philippe Rabier pointed me to this solution a few months back -> 
>>>> http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x
>>>> 
>>>> Do you think I also need to add a Java class path variable to this file?  
>>>> If so does anyone know what the variable would be?
>>>> 
>>>> Thanks,
>>>> 
>>>> Johnny
>>>> 
>>>> On Apr 2, 2013, at 8:52 AM, Ramsey Gurley  wrote:
>>>> 
>>>>> Frankly, my most recent experience with all three sucked. I tried 
>>>>> installing octave. fink, macports, and homebrew all failed. I finally 
>>>>> found a compiled package installer for Mac OS X which sorta works. I 
>>>>> can't see myself getting to excited about any of them.
>>>>> 
>>>>> Ramsey
>>>>> 
>>>>> On Apr 2, 2013, at 10:46 AM, Tim Worman wrote:
>>>>> 
>>>>>> That could be so I suppose. And, it may be due to the particular 
>>>>>> packages I use, but I have never had anything break with the software 
>&

Re: ImageIO Native Java 1.6 / Small Progress

2013-04-02 Thread Johnny Miller
Hi Tim,

Yeah, I'm getting stumped.  I've tried setting x86_64 in the build setting for 
all targets and I've even tried compiling with xcodebuild ARCHS="x86_64" from 
the command line but no matter what if I run 

file libImageIOImageProcessor.jnilib

I get 

libImageIOImageProcessor.jnilib: Mach-O dynamically linked shared library i386

It just refuses to take the x86_64 setting.

Johnny


On Apr 2, 2013, at 10:14 AM, Tim Worman  wrote:

> I've had this issue before. There used to be a WO based app for changing your 
> Open Directory password. It was set up with a JNI library for interfacing 
> with Apple's directory services frameworks. It no longer ran on 64-bit Intel.
> 
> I never tried to dive into XCode and recompile it - so not sure about that 
> part.
> 
> Tim
> 
> On Apr 2, 2013, at 12:55 PM, Johnny Miller  wrote:
> 
>> OK.  So I added this argument to the application's additional arguments in 
>> WOMonitor:
>> 
>> -Djava.library.path=/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
>> 
>> And it is now finding the JNI.  But now I'm on to a new problem!
>> 
>> java.lang.UnsatisfiedLinkError: 
>> /Library/Java/Extensions/libImageIOImageProcessor.jnilib: no suitable image 
>> found. Did find: /Library/Java/Extensions/libImageIOImageProcessor.jnilib: 
>> mach-o, but wrong architecture
>> 
>> So the Google seems to think this is because the JNI is compiled for 32 bit 
>> but I'm using 64 bit java.  That would make sense.  I've tried recompiling 
>> the JNI and I've changed the ARCHS variable in the build properties to 
>> x86_64 but I'm still getting the error.  Does anyone who is wise in the ways 
>> of MacOSX programming know where I've gone wrong?  I'm using 10.5 and XCode 
>> 3.1
>> 
>> Thanks,
>> 
>> Johnny
>> 
>> On Apr 2, 2013, at 9:25 AM, Johnny Miller  wrote:
>> 
>>> Thanks for the advice guys.  Although, I'd really like to get the native 
>>> going...
>>> 
>>> The error I'm seeing is a com.webobjects.foundation.NSForwardException 
>>> [java.lang.NoClassDefFoundError] Could not initialize class 
>>> er.attachment.thumbnail.ImageIOImageProcessor:java.lang.NoClassDefFoundError:
>>>  
>>> 
>>> I made a simple class that prints out the java class path from the command 
>>> line and I see that /Library/Java/Extensions is in there.  But... getting 
>>> WebObjects to use Java 1.6 was kind of a hack to begin with.  I had to 
>>> create the file /etc/launchd.conf which contains these two lines:
>>> 
>>> setenv JAVA_VERSION 1.6
>>> setenv JAVA_HOME 
>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
>>> 
>>> Philippe Rabier pointed me to this solution a few months back -> 
>>> http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x
>>> 
>>> Do you think I also need to add a Java class path variable to this file?  
>>> If so does anyone know what the variable would be?
>>> 
>>> Thanks,
>>> 
>>> Johnny
>>> 
>>> On Apr 2, 2013, at 8:52 AM, Ramsey Gurley  wrote:
>>> 
>>>> Frankly, my most recent experience with all three sucked. I tried 
>>>> installing octave. fink, macports, and homebrew all failed. I finally 
>>>> found a compiled package installer for Mac OS X which sorta works. I can't 
>>>> see myself getting to excited about any of them.
>>>> 
>>>> Ramsey
>>>> 
>>>> On Apr 2, 2013, at 10:46 AM, Tim Worman wrote:
>>>> 
>>>>> That could be so I suppose. And, it may be due to the particular packages 
>>>>> I use, but I have never had anything break with the software packages I 
>>>>> install. My experiences with homebrew have been good.
>>>>> 
>>>>> Tim
>>>>> 
>>>>> On Apr 2, 2013, at 9:58 AM, Ramsey Gurley  wrote:
>>>>> 
>>>>>> If my understanding is correct, Homebrew uses the installed system 
>>>>>> libraries whenever possible. That's the reason to use, and to avoid, 
>>>>>> Homebrew. Install an app with Homebrew, then update the system from Lion 
>>>>>> to Mountain Lion and pray things still work.
>>>>>> 
>>>>>> With macports, you install a full set of your dependencies in a separate 
>>>>>> /opt/ directory. Update your system all you want. It doesn't 

Re: ImageIO Native Java 1.6 / Small Progress

2013-04-02 Thread Johnny Miller
OK.  So I added this argument to the application's additional arguments in 
WOMonitor:

-Djava.library.path=/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java

And it is now finding the JNI.  But now I'm on to a new problem!

java.lang.UnsatisfiedLinkError: 
/Library/Java/Extensions/libImageIOImageProcessor.jnilib: no suitable image 
found. Did find: /Library/Java/Extensions/libImageIOImageProcessor.jnilib: 
mach-o, but wrong architecture

So the Google seems to think this is because the JNI is compiled for 32 bit but 
I'm using 64 bit java.  That would make sense.  I've tried recompiling the JNI 
and I've changed the ARCHS variable in the build properties to x86_64 but I'm 
still getting the error.  Does anyone who is wise in the ways of MacOSX 
programming know where I've gone wrong?  I'm using 10.5 and XCode 3.1

Thanks,

Johnny

On Apr 2, 2013, at 9:25 AM, Johnny Miller  wrote:

> Thanks for the advice guys.  Although, I'd really like to get the native 
> going...
> 
> The error I'm seeing is a com.webobjects.foundation.NSForwardException 
> [java.lang.NoClassDefFoundError] Could not initialize class 
> er.attachment.thumbnail.ImageIOImageProcessor:java.lang.NoClassDefFoundError: 
> 
> I made a simple class that prints out the java class path from the command 
> line and I see that /Library/Java/Extensions is in there.  But... getting 
> WebObjects to use Java 1.6 was kind of a hack to begin with.  I had to create 
> the file /etc/launchd.conf which contains these two lines:
> 
> setenv JAVA_VERSION 1.6
> setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
> 
> Philippe Rabier pointed me to this solution a few months back -> 
> http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x
> 
> Do you think I also need to add a Java class path variable to this file?  If 
> so does anyone know what the variable would be?
> 
> Thanks,
> 
> Johnny
> 
> On Apr 2, 2013, at 8:52 AM, Ramsey Gurley  wrote:
> 
>> Frankly, my most recent experience with all three sucked. I tried installing 
>> octave. fink, macports, and homebrew all failed. I finally found a compiled 
>> package installer for Mac OS X which sorta works. I can't see myself getting 
>> to excited about any of them.
>> 
>> Ramsey
>> 
>> On Apr 2, 2013, at 10:46 AM, Tim Worman wrote:
>> 
>>> That could be so I suppose. And, it may be due to the particular packages I 
>>> use, but I have never had anything break with the software packages I 
>>> install. My experiences with homebrew have been good.
>>> 
>>> Tim
>>> 
>>> On Apr 2, 2013, at 9:58 AM, Ramsey Gurley  wrote:
>>> 
>>>> If my understanding is correct, Homebrew uses the installed system 
>>>> libraries whenever possible. That's the reason to use, and to avoid, 
>>>> Homebrew. Install an app with Homebrew, then update the system from Lion 
>>>> to Mountain Lion and pray things still work.
>>>> 
>>>> With macports, you install a full set of your dependencies in a separate 
>>>> /opt/ directory. Update your system all you want. It doesn't matter 
>>>> because system updates won't touch /opt/.
>>>> 
>>>> So Homebrew is a bit like dumping a lot of jars in $JAVA_HOME/ext/, where 
>>>> macports is like a fully embedded build. You get more bloat, but fewer 
>>>> headaches. Given a choice, I know which one I'd choose.
>>>> 
>>>> That's what I remember reading about them at least. :-)
>>>> 
>>>> Ramsey
>>>> 
>>>> On Apr 2, 2013, at 9:43 AM, Tim Worman wrote:
>>>> 
>>>>> I'm not quite as passionate about it, but that's why I use homebrew. :-)
>>>>> 
>>>>> Tim
>>>>> UCLA GSE&IS
>>>>> 
>>>>> On Apr 2, 2013, at 7:55 AM, Þór Sigurðsson  wrote:
>>>>> 
>>>>>> 
>>>>>> Actually no - since macports and fink install dependant libraries that 
>>>>>> the system already has installed, it's hardly an enhancement since now 
>>>>>> you have _two_ or more sets of the same libraries which each needs its 
>>>>>> own method of updating.
>>>>>> 
>>>>>> The net result of overusing fink/macports is a machine that requires 
>>>>>> more time to manage than to use - hardly a productive result (unless you 
>>>>>> don't care about security, updates or management, in 

Re: ImageIO Native Java 1.6

2013-04-02 Thread Johnny Miller
Thanks for the advice guys.  Although, I'd really like to get the native 
going...

The error I'm seeing is a com.webobjects.foundation.NSForwardException 
[java.lang.NoClassDefFoundError] Could not initialize class 
er.attachment.thumbnail.ImageIOImageProcessor:java.lang.NoClassDefFoundError: 

I made a simple class that prints out the java class path from the command line 
and I see that /Library/Java/Extensions is in there.  But... getting WebObjects 
to use Java 1.6 was kind of a hack to begin with.  I had to create the file 
/etc/launchd.conf which contains these two lines:

setenv JAVA_VERSION 1.6
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

Philippe Rabier pointed me to this solution a few months back -> 
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x

Do you think I also need to add a Java class path variable to this file?  If so 
does anyone know what the variable would be?

Thanks,

Johnny

On Apr 2, 2013, at 8:52 AM, Ramsey Gurley  wrote:

> Frankly, my most recent experience with all three sucked. I tried installing 
> octave. fink, macports, and homebrew all failed. I finally found a compiled 
> package installer for Mac OS X which sorta works. I can't see myself getting 
> to excited about any of them.
> 
> Ramsey
> 
> On Apr 2, 2013, at 10:46 AM, Tim Worman wrote:
> 
>> That could be so I suppose. And, it may be due to the particular packages I 
>> use, but I have never had anything break with the software packages I 
>> install. My experiences with homebrew have been good.
>> 
>> Tim
>> 
>> On Apr 2, 2013, at 9:58 AM, Ramsey Gurley  wrote:
>> 
>>> If my understanding is correct, Homebrew uses the installed system 
>>> libraries whenever possible. That's the reason to use, and to avoid, 
>>> Homebrew. Install an app with Homebrew, then update the system from Lion to 
>>> Mountain Lion and pray things still work.
>>> 
>>> With macports, you install a full set of your dependencies in a separate 
>>> /opt/ directory. Update your system all you want. It doesn't matter because 
>>> system updates won't touch /opt/.
>>> 
>>> So Homebrew is a bit like dumping a lot of jars in $JAVA_HOME/ext/, where 
>>> macports is like a fully embedded build. You get more bloat, but fewer 
>>> headaches. Given a choice, I know which one I'd choose.
>>> 
>>> That's what I remember reading about them at least. :-)
>>> 
>>> Ramsey
>>> 
>>> On Apr 2, 2013, at 9:43 AM, Tim Worman wrote:
>>> 
 I'm not quite as passionate about it, but that's why I use homebrew. :-)
 
 Tim
 UCLA GSE&IS
 
 On Apr 2, 2013, at 7:55 AM, Þór Sigurðsson  wrote:
 
> 
> Actually no - since macports and fink install dependant libraries that 
> the system already has installed, it's hardly an enhancement since now 
> you have _two_ or more sets of the same libraries which each needs its 
> own method of updating.
> 
> The net result of overusing fink/macports is a machine that requires more 
> time to manage than to use - hardly a productive result (unless you don't 
> care about security, updates or management, in which case it's perfectly 
> fine).
> 
> One should strive to keep the management footprint at a minimum.
> 
> /Þór
> 
> On 2.4.2013, at 14:34, Kieran Kelleher wrote:
> 
>> There .. fixed it for you ;)
>> 
>> On Apr 2, 2013, at 9:32 AM, Þór Sigurðsson  wrote:
>> 
>>> If you don't want to "enhance" your system with macports/fink, then you 
>>> can use the cactuslabs build: http://cactuslab.com/imagemagick/
>>> 
>>> /Þór
>> 
> 
> 
> 
> 
> Fyrirvari á tölvupósti / e-mail disclaimer
> http://us.is/fyrirvari
> 
> ___
> Do not 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/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/lists%40thetimmy.com
>>> 
>>> This email sent to li...@thetimmy.com
>> 
> 
> 
> ___

ImageIO Native Java 1.6

2013-04-01 Thread Johnny Miller
Hi,

I have a system running OS X 10.5 and after I upgraded to Java 1.6 I noticed 
that ERAttachment is no longer using the native image processor.

Did anyone else have a similar problem?  I tried recompiling the project but it 
did not help.

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

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


  1   2   3   4   5   >