Re: New WebObjects book ?

2017-11-25 Thread David Holt
Haha. 2165 results for Gerard. All published Nov 21. Very prolific.

Thanks,
David

> On Nov 25, 2017, at 9:17 AM, David Holt  wrote:
> 
> Looks like a scam to me. The details on the cover have nothing to do with 
> WebObjects.
> 
> Thanks,
> David
> 
>> On Nov 25, 2017, at 8:59 AM, Francois BIENTZ  wrote:
>> 
>> WebObjects: Practical Integration from Gerard Blokdyk ISBN : 1979934954
>> 
>> ___
>> Do not post admin requests to the list. They will 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/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


Re: New WebObjects book ?

2017-11-25 Thread David Holt
Looks like a scam to me. The details on the cover have nothing to do with 
WebObjects.

Thanks,
David

> On Nov 25, 2017, at 8:59 AM, Francois BIENTZ  wrote:
> 
> WebObjects: Practical Integration from Gerard Blokdyk ISBN : 1979934954
> 
> ___
> Do not post admin requests to the list. They will 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


Re: Any formal notice

2017-10-26 Thread David Holt
Hmmm. It seems like some of these list emails are being recycled from the 
distant past :)

> On Oct 26, 2017, at 4:10 PM, Chuck Hill  wrote:
> 
> But don’t ask him about Icelandic Sheep!  Or Hakarl for that matter.
> 
> 
> On 2017-10-26, 4:08 PM, "Webobjects-dev on behalf of Hugi Thordarson" 
>  h...@karlmenn.is> wrote:
> 
>All I can say is that since the WOCommunity Association took out that gag 
> order I'm not allowed to talk to the media about WO anymore.
> 
> 
> 
>> On 26 Oct 2017, at 22:52, Alan Ward  wrote:
>> 
>> I heard that Goat Herding is the new WO.
>> 
>> Alan
>> 
>>> On Oct 26, 2017, at 1:24 PM, Ken Anderson  wrote:
>>> 
>>> At least the WO union is in better shape than the united states… :(
>>> 
 On Oct 26, 2017, at 10:21 AM, Gino Pacitti  wrote:
 
 I do not think I am the first to notice the lack of activity on this list 
 but I was just interested to know what was the State of the Union?
 
 Gino
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/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/award%40apple.com
>>> 
>>> This email sent to aw...@apple.com
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
>> 
>> This email sent to h...@karlmenn.is
> 
> ___
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>Help/Unsubscribe/Update your Subscription:
>
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com
> 
>This email sent to ch...@gevityinc.com
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/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


Re: Qualifier to match on content of two to-many relationships

2016-05-12 Thread David Holt
Bah. Never too many.

> On May 12, 2016, at 5:52 PM, Chuck Hill  wrote:
> 
> I thought he meant Avendasora not Aspinall.  We still have too many Davids!
> 
>> On 2016-05-12, 5:48 PM, "David Aspinall"  wrote:
>> 
>> Nope, no aliens, and definitely not Drumpf!
>> 
>> I’m not sure what you are optimizing for here.  Is this a slow running 
>> query?  I can’t imagine you have more that a handful of roles in the db 
>> total.  Would it be easier to just do something like
>> 
>>NSArray notices = user.roles().valueForKey(“notices”);
>> 
>> you might have to remove duplicates but that’s easy.
>> 
>> Maybe I misunderstood the problem.
>> David
>> 
>> 
>>> On May 12, 2016, at 5:33 PM, Chuck Hill  wrote:
>>> 
>>> Best guess is that Dave A has been abducted by aliens for a comprehensive 
>>> battery of probes.  Or he is running Trump’s election strategy.
>>> 
>>> Have you looked at Pierre Bernard’s qualifiers?  There might be something 
>>> in there:
>>> https://github.com/gloubibou/houdah-webobjects-frameworks/tree/master/HoudahEOControl/src/com/houdah/eocontrol/qualifiers
>>> 
>>> Chuck
>>> 
>>> 
>>> 
>>> 
>>> From:  on 
>>> behalf of Paul Hoadley 
>>> Date: Thursday, May 12, 2016 at 4:29 PM
>>> To: WebObjects-Dev 
>>> Subject: Re: Qualifier to match on content of two to-many relationships
>>> 
>>> On 11 May 2016, at 7:52 am, Paul Hoadley  wrote:
>>> 
>>> While this works, it seems awkward. Is there a way to create this qualifier 
>>> (which is essentially looking for any match between User.roles and 
>>> Notice.roles) in one step?
>>> 
>>> Obviously there’s a lot going on right now, but can anyone wade in on this? 
>>> I’m looking at you Dave A. (Actually, no I’m not—where are you?) Aaron?
>>> 
>>> 
>>> -- 
>>> 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/daspinall%40global-village.net
>>> 
>>> This email sent to daspin...@global-village.net
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/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

Re: WebObjects officially declared dead by Apple

2016-05-05 Thread David Holt
Yes I meant put behind in a permanent way.

> On May 5, 2016, at 5:29 PM, Chuck Hill  wrote:
> 
> Didn’t you turn green and start going into shock the last time you tried that?
> 
> 
> 
> 
>> On 2016-05-05, 5:26 PM, "David Holt"  wrote:
>> 
>> There is nothing a meal of fois gras everything can't help you put behind.
>> 
>> 
>> 
>>> On May 5, 2016, at 4:46 PM, Pascal Robert  wrote:
>>> 
>>> 
>>>> Le 5 mai 2016 à 19:32, Chuck Hill  a écrit :
>>>> 
>>>> A after a night with Hugi on St. Denis a hospital ER might be a better 
>>>> choice than Au Pied.  :-P  My wife has already lectured me to behave.
>>> 
>>> If the alcohol can make me forget the horrible year that I have, I’m in!
>>> 
>>>> 
>>>> 
>>>> 
>>>>> On 2016-05-05, 4:21 PM, "Pascal Robert"  wrote:
>>>>> 
>>>>> Hugi. St-Denis Street. Perfect matchup!
>>>>> 
>>>>> How, I guess it’s time to make a reservation at the Pied de cochon.
>>>>> 
>>>>>> Just don’t go out drinking whisky with him.  Trust me on that one...
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>> On 2016-05-05, 7:11 AM, 
>>>>>>> "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf 
>>>>>>> of Flavio Donadio" 
>>>>>>> >>>>>> of fla...@donadio.com.br> wrote:
>>>>>>> 
>>>>>>> It seems I’ll have to buy me a ticket to the next WOWODC. I sure have 
>>>>>>> to shake hands with the most famous nagger in WO’s history! :-)
>>>>>>> 
>>>>>>> 
>>>>>>> Cheers,
>>>>>>> Flavio
>>>>>>> 
>>>>>>>> On 04/05/2016, at 22:08, Ramsey Gurley  wrote:
>>>>>>>> 
>>>>>>>> Now he’s on CNN
>>>>>>>> 
>>>>>>>> http://money.cnn.com/2016/05/04/technology/steve-jobs-apple-webobjects/index.html
>>>>>>>> 
>>>>>>>> This is more news about WO than before WO was kill :D
>>>>>>> 
>>>>>>> 
>>>>>>> ___
>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com
>>>>>>> 
>>>>>>> This email sent to ch...@gevityinc.com
>>>>>> 
>>>>>> ___
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>>>>>> 
>>>>>> This email sent to prob...@macti.ca
>>> 
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/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

Re: WebObjects officially declared dead by Apple

2016-05-05 Thread David Holt
There is nothing a meal of fois gras everything can't help you put behind.



> On May 5, 2016, at 4:46 PM, Pascal Robert  wrote:
> 
> 
>> Le 5 mai 2016 à 19:32, Chuck Hill  a écrit :
>> 
>> A after a night with Hugi on St. Denis a hospital ER might be a better 
>> choice than Au Pied.  :-P  My wife has already lectured me to behave.
> 
> If the alcohol can make me forget the horrible year that I have, I’m in!
> 
>> 
>> 
>> 
>>> On 2016-05-05, 4:21 PM, "Pascal Robert"  wrote:
>>> 
>>> Hugi. St-Denis Street. Perfect matchup!
>>> 
>>> How, I guess it’s time to make a reservation at the Pied de cochon.
>>> 
 Just don’t go out drinking whisky with him.  Trust me on that one...
 
 
 
 
> On 2016-05-05, 7:11 AM, 
> "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of 
> Flavio Donadio" 
>  fla...@donadio.com.br> wrote:
> 
> It seems I’ll have to buy me a ticket to the next WOWODC. I sure have to 
> shake hands with the most famous nagger in WO’s history! :-)
> 
> 
> Cheers,
> Flavio
> 
>> On 04/05/2016, at 22:08, Ramsey Gurley  wrote:
>> 
>> Now he’s on CNN
>> 
>> http://money.cnn.com/2016/05/04/technology/steve-jobs-apple-webobjects/index.html
>> 
>> This is more news about WO than before WO was kill :D
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com
> 
> This email sent to ch...@gevityinc.com
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/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

Re: ERMD2WEditToOneTypeAhead?

2016-01-14 Thread David Holt
It was used in the ModernMovie demo

> On Jan 14, 2016, at 9:29 AM, Theodore Petrosky  wrote:
> 
> does anyone have an example of this component in use. I will keep hacking in 
> the meantime.  :(
> ___
> Do not post admin requests to the list. They will 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

nice video about historical context of WebObjects

2015-05-13 Thread David Holt
In case you’re not on the FB group:

https://vimeo.com/124391695 

James Dempsey talks about WO influence in Apple, both the technology and the 
people that used it heavily…

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

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

Re: ERJGroupsSynchronizer.framework on EC2

2015-04-30 Thread David Holt
Of course!

Sent from my iPad

> On Apr 30, 2015, at 8:14 PM, Paul Hoadley  wrote:
> 
> Hello,
> 
> With the help of Ken Anderson, I recently got a proof-of-concept running on 
> AWS EC2 (in a VPC) using ERJGroupsSynchronizer.framework with some minor 
> modifications.  Node discovery and remote synchronisation works as designed.  
> (The short version of the problem that requires solving is that EC2 doesn’t 
> allow multicast communication.)
> 
> Is anyone interested in hearing more about this?  I haven’t written anything 
> up yet, but knowing someone was interested might help me overcome the inertia.
> 
> 
> -- 
> 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/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

Re: Creating the perfect error page

2015-04-26 Thread David Holt
I agree, looks great!

Sent from my iPad

> On Apr 26, 2015, at 7:34 PM, Paul Hoadley  wrote:
> 
>> On 27 Apr 2015, at 7:09 am, Hugi Thordarson  wrote:
>> 
> 
>> The standard WO exception page is starting to show its age and I think it’s 
>> high time we improve it. I started a new error page today and added the 
>> capability to show the code that’s throwing the error (a feature of some of 
>> the younger web frameworks that I like) but I’d love to hear ideas about how 
>> it can be made better. What does the perfect error page look like?
>> 
>> Current work:
>> 
>> http://hugi.karlmenn.is/d/error.png
> 
> I think that looks fantastic.  Out of curiosity, how do you get the source 
> code snippet in there?
> 
> 
> -- 
> 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/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

Re: WO Components

2015-04-23 Thread David Holt
Looks like you are doing it right. What WOComponent are you trying to use?

Sent from my iPad

> On Apr 23, 2015, at 11:44 AM, HOUNKPONOU Ronald  
> wrote:
> 
> Hi,
> 
> I have an issue with wocomponents.
> How can i call from my app a WOComponent that is located in a framework?
> I try by adding the framework as a dependencie and call the concerned 
> WOComponent but i got a blank page instead of the components.
> 
> Thanks
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/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

Re: Help on webobjects

2015-04-20 Thread David Holt
Works here.

http://learningthewonders.com/downl.html

David



> On Apr 20, 2015, at 1:38 PM, Patrick Robinson  wrote:
> 
> Hi Markus,
> 
> I was going to suggest to someone that they look at your sample chapters (re: 
> installation), but the domain name "learningthewonders.com" doesn't seem to 
> be registered.  Even worse, the authoritative name servers for the domain 
> (ns1.schumi.ch and ns2.rucotec.ch) don't seem to exist, either!  Is there 
> maybe another location for your online chapters?
> 
> - Patrick
> 
> 
>> On Apr 5, 2015, at 9:41 AM, Markus Ruggiero  
>> wrote:
>> 
>> The first chapters of the book are available online for free. They cover the 
>> complete installation of the develop environment on Mac OS X and MS Windows. 
>> Download as PDF available from http://learningthewonders.com
>> 
>> Have fun with Wonder/WebObjects
>> 
>> ---markus---
>> 
>> PS: Full disclouse: I am the author of said book
>> 
>>> On 03.04.2015, at 21:28, HOUNKPONOU Ronald  
>>> wrote:
>>> 
>>> Thanks for your help Theodore.
>>> I in West Africa, precisely in Benin.
>>> 
>>> 2015-04-03 20:19 GMT+01:00 Theodore Petrosky :
>>> Here is another recent book. I didn’t see it listed in Ramsey’s reply.
>>> 
>>> http://www.amazon.com/Learning-The-Wonders-introduction-applications/dp/3952423300
>>> 
>>> This book gives a wonderful (forgive the pun) example of installation of 
>>> the frameworks.
>>> 
>>> BTW, where are you? What part of the world?
>>> 
>>> Ted
>>> 
>>> 
>>> 
 On Apr 3, 2015, at 3:05 PM, Ramsey Gurley  wrote:
 
 I’m afraid there’s no substitute for lots of reading :)
 
 If I were you, I’d start with David LeBer’s screen casts WebObjects, 
 WOLips and Wonder tutorial, part 1 and 2 found here
 
 https://wiki.wocommunity.org/display/WEB/Screencasts
 
 That will give you a gentle introduction to WebObjects. There’s quite a 
 lot of documentation to read
 
 https://wiki.wocommunity.org/display/WEB/JavaDoc+and+other+documentation
 
 Unlike other Java solutions, WebObjects is a full stack solution. Whereas 
 something like Apache Tapestry only tries to solve html generation issues 
 or Apache Cayenne only tries to handle database issues or Jetty is just a 
 deployment container, WebObjects is all of that and then some.
 
 Everyone goes through this. It’s called “The learning cliff” because it’s 
 much steeper than a typical learning curve. If you don’t familiarize 
 yourself with what is available, then you’ll no doubt end up trying to 
 reinvent something that already exists in WebObjects. That you even got my 
 application template running with no other knowledge of WebObjects is 
 pretty amazing to me. When I started, it took me nearly a month just to 
 get Eclipse/WOLips/WebObjects/Wonder all installed and working properly.
 
 I’ll copy the list on this reply. I know several people who follow it who 
 will probably have other good advice/recommended reading for someone just 
 getting started.
 
 
> On Apr 3, 2015, at 11:30 AM, HOUNKPONOU Ronald 
>  wrote:
> 
> Hi Ramsey,
> I hope y're fine.
> I'am writing to you to request your help for learning webobjects.
> 
> I have a good background in java programming but it's the first time i'am 
> dealing with webobjetcs.
> 
> So i would like you to help me by indexing the good practice and good 
> docs i should start with.
> 
> I'am a little bit confused because now wonder is the reference but i 
> could not find good quickstart about it.
> 
> I saw the good job you did on the community but for the beginner that i 
> am it is not so easy.
> 
> I am now trying to custumize a framework with my requirement and its is 
> so difficult for me because there is a lot of concept i dont understand 
> properly.
> 
> I bougth the book practical webobject but a lot of class are now 
> different with wonder and i confuse.
> 
> The apps that i wopuld like to start with is a user managenment system, 
> that i will be able to use in all my future projects. That's why i 
> discorver your great work on ponder that i would like to use for the 
> begining before having a deep knowledge.
> 
> 
> Thank for all your contributions.
 
 
 ___
 Do not post admin requests to the list. They will 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 Subscript

Re: Unknown key

2015-02-10 Thread David Holt
It looks to me like SHIP may be the problem especially if you have other 
entities with that word contained in it. It is also contained in the word 
relationSHIP, so I'm wondering if you're running into something obscure here. 

Sent from my iPad

> On Feb 10, 2015, at 7:20 AM, Lize Anthonin (@JCOMMOPS)  
> wrote:
> 
> Yes I agree on that, must be tied to a D2W rule problem. Yes I have entities 
> with similar names, but they are not the ones involved in this issue (at 
> least the entites "Ship" and "ShipLoc" are causing any trouble).
> Another example, quite paradoxical, when I open a page for creating a new 
> record of the Ship Entity, this problem happens for some fields (e.g. Ship is 
> bound to the Entity Doc via a M-to-N relationship, but it appears in the Docs 
> section  "No matching Ship records found").
> 
> I have not added so many rules. Here is my rule configuration :
> 
> 
> You see I have added nothing more than the defaults ones, except for the top 
> five ones. I haven't dived into rule system yet, just enough to handle tabs 
> in ERModernLook. 
> 
> Is it possible that it is caused by WOLips dev server ? Like it would mix up 
> rules ?
> I use WOLips 4.4 under eclipse 4.4, working on ubuntu. WebObjects 5.4.3, 
> Wonder 6.1.3-SNAPSHOT.
> 
> Thanks,
> 
> Anthonin
> 
> 
>> On Tue, 2015-02-10 at 06:32 -0800, David Holt wrote:
>> This looks like a D2W rule problem to me. Do you have two entities with 
>> similar names? Are you using 'like' to qualify on the LHS?
>> 
>> Sent from my iPad
>> 
>> On Feb 9, 2015, at 1:11 AM, Lize Anthonin (@JCOMMOPS)  
>> wrote:
>>> Hi all,
>>> 
>>> I ran into the following - quite classic - error, and I don't know what is 
>>> causing this :
>>>  valueForKey(): lookup 
>>> of unknown key: 'autonomy'. This class does not have an instance variable 
>>> of the name autonomy or _autonomy, nor a method of the name autonomy, 
>>> _autonomy, getAutonomy, or _getAutonomy
>>> 
>>> Just to present the situation, in my design, a Platform (PTF) is bound to a 
>>> Ship (SHIP).
>>> It's a D2W app and it appears when I want to edit a PTF, but not when I 
>>> want to edit a SHIP (so probably tied to a not nullable constraint or 
>>> something like that).
>>> 
>>> Here is what I have checked so far :
>>> - Given the attached stack trace, I checked the Ship entity and the 
>>> "autonomy" field is indeed present in my table.
>>> - The Ship_id field in PTF is indeed nullable. 
>>> - If I delete from my eomodel the 'autonomy' field (which is the first in 
>>> alphabetical order), the next one fires the same exception.
>>> - If you look at the stacktrace, you can see that the rule 
>>> 'pageConfiguration' is set to EditEmbeddedRelationshipObs :
>>> "D2W-PageConfiguration" = "EditRelationshipEmbeddedObs";
>>> Obs is another table (a PTF is bound to * Obs). But Obs is not bound to 
>>> Ship in the model. It is like it is looking for Ship fields when listing 
>>> the Obs and obviously it does not find the ship fields inside the obs 
>>> entity.
>>> 
>>> It seems to be a quite obvious problem to resolve, but I can't see it 
>>> apparently.
>>> If someone has an idea, it would be very helpful!
>>> 
>>> I keep digging.
>>> Thanks
> 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Unknown key

2015-02-10 Thread David Holt
This looks like a D2W rule problem to me. Do you have two entities with similar 
names? Are you using 'like' to qualify on the LHS?


Sent from my iPad

> On Feb 9, 2015, at 1:11 AM, Lize Anthonin (@JCOMMOPS)  
> wrote:
> 
> Hi all,
> 
> I ran into the following - quite classic - error, and I don't know what is 
> causing this :
>  valueForKey(): lookup 
> of unknown key: 'autonomy'. This class does not have an instance variable of 
> the name autonomy or _autonomy, nor a method of the name autonomy, _autonomy, 
> getAutonomy, or _getAutonomy
> 
> Just to present the situation, in my design, a Platform (PTF) is bound to a 
> Ship (SHIP).
> It's a D2W app and it appears when I want to edit a PTF, but not when I want 
> to edit a SHIP (so probably tied to a not nullable constraint or something 
> like that).
> 
> Here is what I have checked so far :
> - Given the attached stack trace, I checked the Ship entity and the 
> "autonomy" field is indeed present in my table.
> - The Ship_id field in PTF is indeed nullable. 
> - If I delete from my eomodel the 'autonomy' field (which is the first in 
> alphabetical order), the next one fires the same exception.
> - If you look at the stacktrace, you can see that the rule 
> 'pageConfiguration' is set to EditEmbeddedRelationshipObs :
> "D2W-PageConfiguration" = "EditRelationshipEmbeddedObs";
> Obs is another table (a PTF is bound to * Obs). But Obs is not bound to 
> Ship in the model. It is like it is looking for Ship fields when listing the 
> Obs and obviously it does not find the ship fields inside the obs entity.
> 
> It seems to be a quite obvious problem to resolve, but I can't see it 
> apparently.
> If someone has an idea, it would be very helpful!
> 
> I keep digging.
> Thanks
> -- 
> Anthonin Lizé
> 
> ___
> Do not post admin requests to the list. They will 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

Re: need a popup button with categories

2015-01-21 Thread David Holt
Hi Ted,

I used ERXOptGroupPopupButton



On Jan 21, 2015, at 12:22 PM, Theodore Petrosky  wrote:

> before I start going to town, is there a popupbutton that already exists that 
> allows for categories or levels.
> 
> I want a popup to show:
> 
> showName1
>book1
>book2
> showName2
>book3
>book4
>book5
> showName3
>book7
> 
> 
> where I have a EO show with a toMany relationship to books. I see some 
> examples using jQuery, but I thought I would ask.
> 
> 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/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

Re: getting the display group of the list page for a custom component?

2014-12-04 Thread David Holt
This is pretty vague.


On Dec 4, 2014, at 2:34 PM, James Cicenia  wrote:

> I have a d2w vlisting page.
> I have put a custom component to be displayed on the top with 
> “aboveDisplayPropertyKeys”
> 
> How do I get the list page’s  display group? 
> 
> Thanks
> James
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/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

Re: audit trails display

2014-11-14 Thread David Holt
Don't think there's anything in Wonder. It has been on my todo list for years.

Sent from my iPad

> On Nov 14, 2014, at 6:31 PM, Theodore Petrosky  wrote:
> 
> I have just started implementing ERCoreBusinessLogic’s AuditTrails. This is 
> really good stuff. However, I had to ‘fix’ a boolean.
> 
> In the migration of ERCoreBusinessLogic I see:
> 
>ERXMigrationTable eRCAuditTrailTable = 
> database.newTableNamed("ERCAuditTrail");
>eRCAuditTrailTable.newStringColumn("GID", 255, ALLOWS_NULL);
>eRCAuditTrailTable.newIntegerColumn("ID", NOT_NULL);
>eRCAuditTrailTable.newIntBooleanColumn("IS_DELETED", NOT_NULL);
>eRCAuditTrailTable.create();
>eRCAuditTrailTable.setPrimaryKey("ID”);
> 
> In my postgresql backend, is_deleted is added as an integer column. So I had 
> to run a migration of my own:
> 
>ERXMigrationTable auditTrailTable = 
> database.existingTableNamed("ercaudittrail");
>
>auditTrailTable.existingColumnNamed("is_deleted").delete();
>auditTrailTable.newFlagBooleanColumn("is_deleted", false);
> 
> Is there a setting I can use to make the ERCoreBusinessLogic’s migration 
> create a boolean column?
> 
> Are there any Wonder components for displaying ercaudittrailentry data? I see 
> when I insert a new entiry:
> 
> { 
> "releaseDate" = "2014-11-14 05:00:00 Etc/GMT"; 
> "width" = "728";
> "height" = "90";
> "current" = "true";
> "description" = "sfgsdfgsd";
> "company" = "Company.3";
> "theInsertion" = "ERFileAttachment.4";
> "jobNumber" = "1222";
> }
> 
> Do I need to process this to display it? I see that toOne relations are 
> listed Person.1. I was looking for components to display this. I don’t mind 
> processing, but maybe there are components that could help.
> 
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will 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

Re: D2W Problem in new application

2014-10-29 Thread David Holt
what is in your user.d2wmodel file?


On Oct 29, 2014, at 12:46 PM, Flavio Donadio  wrote:

> Hello, all!
> 
> 
> I am getting this error when I run the app for the first time:
> 
> [2014-10-29 17:37:34 BRST]  
> : Exception in performActionNamed() on 
> the action "login" with the message: 
> com.webobjects.directtoweb.D2WModelException: Error - could not find any rule 
> that returns a pageName using the current context  entity=Product, propertyKey=null, pageConfiguration=null>
> - Error with action login:com.webobjects.directtoweb.D2WModelException: Error 
> - could not find any rule that returns a pageName using the current context 
>  pageConfiguration=null>, formValues:{username = (""); password = (""); wosid 
> = ("WnGhLWoSK3H0Bvw752rq0g"); WOSubmitAction = ("login"); }
> com.webobjects.directtoweb.D2WModelException: Error - could not find any rule 
> that returns a pageName using the current context  entity=Product, propertyKey=null, pageConfiguration=null>
>   at com.webobjects.directtoweb.D2WContext.pageName(D2WContext.java:734)
>   at 
> com.webobjects.directtoweb.D2W._pageWithContextTaskEntity(D2W.java:874)
>   at 
> com.webobjects.directtoweb.D2W._pageWithContextTaskEntity(D2W.java:859)
>   at 
> com.webobjects.directtoweb.D2W.pageForTaskAndEntityNamed(D2W.java:896)
>   at com.webobjects.directtoweb.D2W.listPageForEntityNamed(D2W.java:1034)
>   at 
> br.com.codeprint.website.MainNavigationController.listPageForEntityName(MainNavigationController.java:32)
>   at 
> br.com.codeprint.website.MainNavigationController.homeAction(MainNavigationController.java:26)
>   at 
> br.com.codeprint.website.DirectAction.loginAction(DirectAction.java:72)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:601)
>   at 
> com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.java:144)
>   at 
> er.extensions.appserver.ERXDirectAction.performActionNamed(ERXDirectAction.java:418)
>   at 
> er.directtoweb.ERD2WDirectAction.performActionNamed(ERD2WDirectAction.java:456)
>   at 
> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:259)
>   at 
> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
>   at 
> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
>   at 
> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
>   at 
> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
>   at java.lang.Thread.run(Thread.java:722)
> 
> It's a new application and I triple-checked the boilerpate code that should 
> go into MainNavigationController.java. NavigationMenu.plist also seems to be 
> good.
> 
> d2w.d2wmodel is empty, which seems strange. I had never looked into that file 
> before, I think.
> 
> I still did not implement authentication, but changed the code according to 
> the tutorial at 
> http://wiki.wocommunity.org/display/WEB/Your+First+D2W+Project .
> 
> Eclipse 4.4 (Luna) and WOLips 4.4 compiled by myself.
> 
> 
> Cheers,
> Flavio
> ___
> Do not post admin requests to the list. They will 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

Re: it's not too early is it?

2014-10-29 Thread David Holt
Who is doing the organization?

David


On Oct 29, 2014, at 9:47 AM, Musall Maik  wrote:

> Hi everyone,
> 
> I'd like to pull this to the front. My calendar around April 2015 is quickly 
> filling up with stuff, and I'm sure I'm not the only one. So, is there at 
> least a fixed date in sight now?
> 
> Maik
> 
> 
> Am 23.09.2014 um 17:52 schrieb Theodore Petrosky :
> 
>> I am referring to WOWODC15. 
>> 
>> If it is definite that Montreal is out (maybe we can bribe Pascal’s kids to 
>> demand it), are there any serious possibilities? April is 7 months away, and 
>> only Pascal has the experience, expertise, stamina, fortitude, and 
>> personality to pull it off so well in a short time.
> 
> 
> ___
> Do not post admin requests to the list. They will 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

Fwd: Dependent popup in D2W

2014-10-21 Thread David Holt
Here you go, Markus.

David

Sent from my iPad

Begin forwarded message:

> From: Ramsey Gurley 
> Date: March 7, 2011 at 7:10:11 AM PST
> To: WebObjects Development 
> Cc: Daniel Mejia 
> Subject: Re: Dependent popup in D2W
> 
> Hi Daniel,
> 
> Here's some additional explanation from another list email...
> 
>> Re Usage:
>> 
>> The AjaxNotifcationCenter must come before any of the observed fields. In 
>> the example, I use the aboveDisplayPropertyKeys repetition to enforce that, 
>> but it could just as easily exist in displayPropertyKeys, as long as it is 
>> first.  The observers register their generated id with the notification 
>> center, so it has to exist on the page first.  
>> 
>> Notification objects are the d2wContext, so each nested page has its own 
>> ANC. The observers are just an Ajaxed D2WCustomComponent.  So each dependent 
>> field needs a couple of rules like:
>> 
>> int: qual => componentName = AjaxObservingSwitch
>> int: qual => customComponentName = OriginalComponentName
>> 
>> When properties change, they fire a notification and refresh the ANC.  The 
>> ANC receives the notification and passes the current D2WContext to the 
>> propertyChangedDelegate object from the rule system.  That tells the 
>> delegate which property changed (propertyKey) and the delegate then passes 
>> back an NSArray of propertyKeys that require a refresh.
> 
> Ramsey
> 
>> On Mar 6, 2011, at 12:06 PM, David Holt wrote:
>> 
>> There is a a component that does exactly that in AjaxLook in Wonder.
>> 
>> "Hi David,
>> 
>> I have an example of dependent popups here:
>> 
>> https://r2d2w.svn.sourceforge.net/svnroot/r2d2w/trunk/ERR2d2w/Support/AjaxLook.zip
>> 
>> I think the same approach should be applicable to what you are describing. 
>> The components to do this are now in wonder in the AjaxLook framework.
>> 
>> Ramsey"
>> 
>> 
>>> On 2011-03-06, at 8:17 AM, Daniel Mejia wrote:
>>> 
>>> Hi all,
>>> 
>>> I  need some help with D2W.
>>> 
>>> I have a D2W edit page with two to one relationships attributes and I need 
>>> to display in the second attribute just the values related to the selected 
>>> value in the first attribute, something similar to the country ->state 
>>> dependency, how can I do that in D2W?
>>> 
>>> Saludos,
>>> 
>>> Daniel.
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>>> 
>>> This email sent to programming...@mac.com
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/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:
> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> 
> This email sent to programming...@mac.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: State of the art in browser capability detection

2014-10-14 Thread David Holt
Hi Paul,

We're beginning to tackle just this problem. One helpful site is 
http://www.whatismybrowser.com and has an API available, but I'm not sure that 
it does anything different than you could do in WO. We use it in a support 
context to tell people whether they are running a browser considered out of 
date and gives instructions for how to update, turn on JavaScript etc. I've 
realized since, though that it is quite laptop/desktop centric since a quick 
download will not be the solution to upgrade a browser on mobile devices. 

Another problem we're encountering is the huge variety in connection speed 
differences between "modern" devices. Also, since people are now using USB cel 
sticks or their mobile devices as hotspots for laptops, the variety is 
unpredictable and vast. We can no longer make the assumptions about connection 
speed that we could have even a couple of years ago.

Sorry for no solution, but maybe our experience can add fuel to the fire :)

David

Sent from my iPad

> On Oct 14, 2014, at 5:27 PM, Paul Hoadley  wrote:
> 
> Hello,
> 
> I am interested to know what people are doing in practice to detect browser 
> capabilities and serve up different page-level components, specifically for 
> mobile devices.
> 
> I have a particular project for which the mobile front end is a small subset 
> of the views available on the desktop.  It's not suitable for the kind of 
> "responsive design" where we would let the UI degrade gracefully on the 
> client side.  Take it as read that we can't do that at the moment, and I need 
> to serve specific page-level components for "mobile devices" (which I'll 
> deliberately leave poorly defined).  Ideally I'd like to do this from first 
> page load—the user should get a mobile-specific login page—so any solution 
> that included client-side capability detection would need to take that into 
> account.
> 
> I'm happy to use the kind of UA string sniffing technique employed by 
> ERXBasicBrowser (and have employed exactly this in other projects), thought 
> that class doesn't seem to have seen much love lately, and I suspect it's a 
> bit out of date.  I'm keen to know if the state of the art has moved on.
> 
> Can anyone take 5 minutes to describe, even just broadly, any techniques 
> they're using to solve this kind of problem in the real world?
> 
> 
> -- 
> 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/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

Re: Eclipse 4.4 support for WOLips

2014-09-23 Thread David Holt
Thanks Flavio!

We’ll need to get it into the wiki once we know it is working.

David


On Sep 23, 2014, at 2:29 PM, Flavio Donadio  wrote:

> Hello, all!
> 
> 
> I managed to successfully build WOLips.
> 
> Since this information has not been published anywhere, I'll post it here for 
> you guys to comment.
> 
> These instructions assume you're starting from scratch (new and clean 
> development machine, not upgrading an existing installation):
> 
> 1. Download and install Eclipse 4.4 (in my case, I copied the "eclipse" 
> folder into /Applications);
> 
> 2. Start Eclipse and add m2e, as below:
> 
>   a. In the "Help" menu, select "Install New Software...";
> 
>   b. Click the "Add" button, fill the "Add Repository" as below and click 
> OK:
> 
>   Name: M2Eclipse
>   Location: http://download.eclipse.org/technology/m2e/releases/
> 
>   d. Click the checkbox to the left of "Maven Integration for Eclipse", 
> click the "Next >" button and follow the instructions.
> 
> 3. Download and install latest Apache Ant (version 1.9.4, as of today) from 
> the official website and follow the installation instructions. In my case, I 
> installed in /usr/local/apache-ant, but you may want to use a different path 
> or install through homebrew, fink, pkgsrc or whatever... Just DON'T FORGET to 
> set the $PATH environment variable accordingly;
> 
> 4. Clone the git repository:
> 
>   cd ~
>   git clone git://github.com/wolips/wolips.git woproject
> 
> 5. Edit ~/woproject/wolips/build.xml and comment out the JProfiler and JRebel 
> targets. In total, you'll be commenting 4 lines;
> 
> 6. Try to build, but it will fail (won't find Eclipse);
> 
>   cd ~/woproject
>   ant -Dbuild.version=4.4.0
> 
> 7. Edit ~/Library/wobuild.properties and add the line below:
> 
>   eclipse.home=/Applications/eclipse
> 
> 8. Try to build again, and you'll be all right:
> 
>   ant -Dbuild.version=4.4.0
> 
> 9. Add WOLips to Eclipse:
> 
>   a. In the "Help" menu, select "Install New Software...";
> 
>   b. Click the "Add" button;
> 
>   c. Click the "Local..." button;
> 
>   d. Navigate to ~/woproject/temp/dist and click the "Open" button;
> 
>   e. Click OK and you will be back at the "Install" window;
> 
>   f. Check both "WOLips" and "WOLips (Optional)", click the "Next >" 
> button and follow the instructions;
> 
> 10. Follow all the instructions starting from "2. Install the WebObjects 
> Framework", on the link below:
> 
>   http://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation
> 
> 11. Profit (or just be a hobbyist, like me).
> 
> 
> Please, let me know if these instructions are bad! They are working OK for 
> me, at least for now.
> 
> 
> Cheers,
> Flavio
> 
> 
> On 23/09/2014, at 11:27, Flavio Donadio  wrote:
> 
>> Hello, JR!
>> 
>> 
>> I didn't have the time to look into this until today.
>> 
>> I'm having a hard time trying to build WOLips myself.
>> 
>> Could you, please, detail the steps you followed to build it correctly?
>> 
>> 
>> Cheers,
>> Flavio
>> 
>> On 05/09/2014, at 14:20, Ruggentaler, JR  wrote:
>> 
>>> I installed the latest version of Ant and was able to build the WOLips 
>>> plugin.
>>> Were there any new features added to the plugin?
>>> 
>>> Thanks for all the help and suggestions!
>>> 
>>> JR
>>> From: , JR Ruggentaler 
>>> Date: Wednesday, September 3, 2014 at 10:23 AM
>>> To: Theodore Petrosky 
>>> Cc: Farrukh Ijaz , Pascal Robert 
>>> , WebObjects-Dev 
>>> Subject: Re: Eclipse 4.4 support for WOLips
>>> 
>>> git branch
>>> * master
>>> 
>>> 
>>> From: Theodore Petrosky 
>>> Date: Tuesday, September 2, 2014 at 6:49 PM
>>> To: JR Ruggentaler 
>>> Cc: Farrukh Ijaz , Pascal Robert 
>>> , WebObjects-Dev 
>>> Subject: Re: Eclipse 4.4 support for WOLips
>>> 
>>> what do you get when you:
>>> 
>>> cd ~/Repository/wolips-4_4
>>> git branch
>>> 
>>> 
>>> 
>>> 
>>> On Sep 2, 2014, at 4:14 PM, Ruggentaler, JR  
>>> wrote:
>>> 
 I followed the steps below but getting the same errors.
 
 Notes on Building for Eclipse 4.4
 
 1. Install Eclipse 4.4 (add JRebel and JProfiler)
 2. Update the ~/Library/wobuild.properties file and add: 
 eclipse.home=/Path/To/The/Folder/Where/Eclipse44 lives
 3. cd ~/Repository
 4. git clone https://github.com/wocommunity/wolips.git wolips-4_4
 5. cd wolips-4_4
  Edited wolips/build.xml commented out JRebel and Jprofiler targets.
 6. ant -Dbuild.version=4.4.0
 
 ant -Dbuild.version=4.4.0
 Buildfile: /Users/a07278a/Repository/wolips-4_4/build.xml
 
 definestableupdatesite:
 
 print.environment:
[echo] 
[echo] 
[echo] * java.home = 
 /Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre
[echo] * build.compiler = javac1.5
[echo] * ant.home = /Users/a07278a/bin/ant
[echo] * user.home 

Re: D2W attachment location and delete

2014-08-15 Thread David Holt
ERAttachment doesn’t delete file objects. You’ll need to implement that 
yourself if orphans distress you :-)

David


On Aug 15, 2014, at 10:01 AM, Theodore Petrosky  wrote:

> Ok, I finally figured out how to add an attachment to a relation in D2W. 
> However, is it expected behavior that when you delete an asset, it only 
> deletes the ‘link’ to the asset, but not the asset itself.
> 
> Meaning I upload a pdf. later I delete it from the relation. the asset shows 
> one less item in its list, however the pdf is still in the file/database. 
> 
> It is effectively orphaned. 
> 
> Also, when I click to edit the attachment, there is a ‘remove’ button 
> associated with the file. If I click it, the app crashes with: 
> 
> Error:java.lang.IllegalArgumentException: This form is missing a 
> 'enctype=multipart/form-data' attribute. It is required for WOFileUpload to 
> work.
> Reason:   This form is missing a 'enctype=multipart/form-data' attribute. 
> It is required for WOFileUpload to work.
> 
> 
> 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/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

Re: Eclipse 4 and JRebel

2014-08-08 Thread David Holt
Hi all,

You should see a JRebel configuration screen now with more recent versions. You 
can get to it from the bottom of the Eclipse help menu. Checking the box for a 
project updates the .project file. The VM arguments are not added automatically 
and I didn’t realize they were still necessary either. Testing now!

thanks Ted,

David








On Aug 8, 2014, at 3:55 AM, Theodore Petrosky  wrote:

> That’s it
> 
> it seems that when you use the JRebel tab, and check the enable logging, the 
> plugin adds the -Drebel.log=true ${jrebel_args} line to the VM Arguments of 
> the launch parameters, and probably the stuff to the .project file.
> 
> Are you using the newest versions? Do you have the JRebel tab as indicated in 
> the wiki?
> 
> Thank you. Do you think this should be added to the wiki? I realize that this 
> is a real hack, but I don’t know any other way to get JRebel working.
> 
> Ted
> 
> 
> 
> On Aug 8, 2014, at 3:56 AM, Dev WO  wrote:
> 
>> Hi Ted,
>> 
>> I have this in my VM arguments:  -Drebel.log=true ${jrebel_args}
>> And also the JRebel framework referenced in my classpath
>> and finally in my .project file:
>>  
>>  org.zeroturnaround.eclipse.rebelXmlBuilder
>>  
>>  
>>  
>>  
>> 
>>  org.zeroturnaround.eclipse.jrebelNature
>>  
>> 
>> Xavier
>> 
>> On 8 août 2014, at 02:24, Theodore Petrosky  wrote:
>> 
>>> so yes, I paid for the license. It is installed however, and from the wiki:
>>> 
>>> http://wiki.wocommunity.org/display/documentation/Using+JRebel+%28previously+called+JavaRebel%29+with+WOLips
>>> 
>>> there used to be a tab on the run configuration where you would “turn on” 
>>> the agent and logging. this went away a long time ago, but I found that if 
>>> I added a launch parameter in the VM arguments, I could get JRebel working.
>>> 
>>> My problem is that my computer died and I replaced it. I am trying to 
>>> upgrade to Eclipse 4 but the run configurations do not come across to the 
>>> new version. I was hoping to find the run configurations in the old 
>>> workspace and do a little hacking to get JRebel to work.
>>> 
>>> I am still hoping to find someone that is using JRebel that can help.
>>> 
>>> oye!!!??
>>> 
>>> thanks anyway.
>>> 
>>> Ted
>>> 
>>> 
>>> On Aug 7, 2014, at 8:01 PM, Raymond NANEON  wrote:
>>> 
>>>> I didn’t configure JRebel. To use it, You must to activate it.
>>>> WOLips 4.4 needs JRebel for his build, so I Installed it but I don’t use 
>>>> it because I haven’t the license.
>>>> 
>>>>> Le 8 août 2014 à 00:37, Theodore Petrosky  a écrit :
>>>>> 
>>>>> I have that version. How are you configuring it?
>>>>> 
>>>>> 
>>>>> 
>>>>> On Aug 7, 2014, at 6:32 PM, Raymond NANEON  wrote:
>>>>> 
>>>>>> JRebel and Jprofiler is 4.4.0 too after the built.
>>>>>> But if you want to use JRebel of Eclipse market, the version is 5.6.1.
>>>>>> 
>>>>>> Ray
>>>>>> 
>>>>>>> Le 7 août 2014 à 23:36, David Holt  a écrit :
>>>>>>> 
>>>>>>> What version of JRebel are you using?
>>>>>>> 
>>>>>>> David
>>>>>>> 
>>>>>>> 
>>>>>>> On Aug 7, 2014, at 2:14 PM, Theodore Petrosky  wrote:
>>>>>>> 
>>>>>>>> anyone have any experience with JRebel.
>>>>>>>> 
>>>>>>>> I was using it in the old version 3.X. however I always had to 
>>>>>>>> manually add a line to my launch configuration because the jrebel 
>>>>>>>> stuff wasn’t working. Basically, I was manually adding the JRebel 
>>>>>>>> agent logging.
>>>>>>>> 
>>>>>>>> First, does anyone know the correct way to add JRebel to a wonder 
>>>>>>>> launch configuration, or B, is anyone else using this? and know how to 
>>>>>>>> turn it on?
>>>>>>>> 
>>>>>>>> Maybe I could dig through some old files. Where are the run 
>>>>>>>> configuration stored? Maybe I can hack through that.
>>>>>>>> 

Re: Eclipse 4 and JRebel

2014-08-07 Thread David Holt
What version of JRebel are you using?

David


On Aug 7, 2014, at 2:14 PM, Theodore Petrosky  wrote:

> anyone have any experience with JRebel.
> 
> I was using it in the old version 3.X. however I always had to manually add a 
> line to my launch configuration because the jrebel stuff wasn’t working. 
> Basically, I was manually adding the JRebel agent logging.
> 
> First, does anyone know the correct way to add JRebel to a wonder launch 
> configuration, or B, is anyone else using this? and know how to turn it on?
> 
> Maybe I could dig through some old files. Where are the run configuration 
> stored? Maybe I can hack through that.
> 
> 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/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

Re: The Good Path to D2W localization

2014-07-10 Thread David Holt
No rules unless you need to change specific pages. PropertyKey.blah should do 
it in the strings file.

Sent from my iPad

> On Jul 10, 2014, at 6:35 AM, Pascal Robert  wrote:
> 
> Hi,
> 
> What is the proper way to do D2W localization? In the wiki, it says that you 
> should add rules like this:
> 
>  100 : (pageConfiguration like '*Computer*' and propertyKey = 'model') => 
> displayNameForProperty = "Computer.PropertyKey.model" [ERDLocalizedAssignment]
> 
> And having the correspondant 
> 
>  "Computer.PropertyKey.model" = "Modèle";
> 
> in the Localizable.strings. It works, but that means I will have to add a lot 
> of rules. Is there a better way to do localization without the rules? This is 
> with ERModernLook.
> 
> ___
> Do not post admin requests to the list. They will 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

Re: D2W Rule Question

2014-06-14 Thread David Holt
"true"?

Sent from my iPad

> On Jun 14, 2014, at 6:46 PM, Timothy Worman  wrote:
> 
> All:
> 
> I’ve got a rule that looks like this:
> 
> 110 : ((entity.name = 'PTAMembership') or (entity.name = 'PTAMember')) => 
> isEntityEditable = true [com.webobjects.directtoweb.BooleanAssignment ]
> 
> Is anyone able to tell me what I'm doing wrong with this rule? At application 
> launch this is causing an error like:
> 
> IllegalArgumentException: ** DirectToWeb exception - a rule cannot be 
> instantiated if its right hand side is null. LHS=((entity.name = 
> 'PTAMembership') or (entity.name = 'PTAMember'))  RHS=null
>  at com.webobjects.directtoweb.Rule.(Rule.java:211)
>  at er.directtoweb.ERD2WRule.(ERD2WRule.java:48)
>  at er.directtoweb.ERD2WRule.decodeWithKeyValueUnarchiver(ERD2WRule.java:57)
> ... skipped 3 stack elements
>  at 
> com.webobjects.eocontrol.EOKeyValueUnarchiver._objectForPropertyList(EOKeyValueUnarchiver.java:192)
>  at 
> com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256)
>  at 
> com.webobjects.eocontrol.EOKeyValueUnarchiver._arrayForPropertyList(EOKeyValueUnarchiver.java:215)
>  at 
> com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:250)
>  at 
> com.webobjects.eocontrol.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:275)
>  at er.directtoweb.ERD2WModel.mergePathURL(ERD2WModel.java:648)
>  at com.webobjects.directtoweb.D2WModel.loadRules(D2WModel.java:982)
>  at com.webobjects.directtoweb.D2WModel.checkRules(D2WModel.java:907)
>  at er.directtoweb.ERDirectToWeb.finishInitialization(ERDirectToWeb.java:99)
>  at 
> er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:94)
> ... skipped 7 stack elements
>  at er.extensions.appserver.ERXApplication.(ERXApplication.java:1147)
>  at com.donbenitopta.admin.app.Application.(Application.java:11)
> 
> I could swear I’ve had this rule in there for a long time and it just 
> recently started to throw exceptions - but I’ve been known to be very wrong. 
> :-)
> 
> Tim
> UCLA GSE&IS
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/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

Re: Global ID problem with flattened relationship

2014-05-20 Thread David Holt
To get this to work with D2W it sounds like you may want to focus on the 
ContactMechanism entity and create your relationships from there.

Sent from my iPad

> On May 20, 2014, at 9:59 PM, Ângelo Andrade Cirino  wrote:
> 
> Hi Dave,
> 
> Thank you for your help. I was led to think that a one to many relationship 
> could be flattened like a many to many can. Proved is I was wrong assuming it.
> 
> Regarding the model I am trying to implement, I am modeling my application 
> after Len Silvertston's book, "The Data Model Resource Book". I regard his 
> models and suggestions very valuable.
> 
> This specific model, Party ->> ContactMechanism -> Email or -> Phone or -> 
> PostalAddress suits my needs very well. The different uses of addresses or 
> phones will be modeled with another entity, ContactMechanismPurpose, which 
> the user can change as needed. So when a user wants to change a billing 
> address it will be a trivial change in the relationship ContactMechanism -> 
> ContactMechanismPurpose. Currently, I have not yet implemented the contact 
> mechanism purpose entity, but I have implemented ContactMechanismType, where 
> the type can be phone, FAX, business email, home email and so on.
> 
> My problem with this approach is that I want to rely on Modern D2W to build 
> my application without writing custom components if possible. In the case of 
> the to many and optional to one relationships Party ->> ContactMechanism -> 
> Email I am very frustrated for not being able to find a way to use one of the 
> most wonderful components in Wonder, ERMODEditRelationshipPage.
> 
> I accept suggestions on how to instruct ERMODEditRelationshipPage to create 
> the whole entities path to solve models like Party ->> ContactMechanism -> 
> Email.
> 
> As a matter of fact, I've been thinking of writing a custom component to edit 
> relationships to entities like phones and emails like the UI in the iPad 
> "Address Book". The way it uses the small + and - buttons and the popup for 
> the type is very inspiring.
> 
> Angelo
> 
> 
> 2014-05-20 17:24 GMT-03:00 David Avendasora :
>> Hi Angelo,
>> 
>> You can’t flatten relationships that way. Flattening relationships only 
>> works with Many-to-Many joins where the join table *must have* compound PK 
>> made up of the PKs of the two sides of the many-to-many relationship (hence 
>> the propagate primary key settings).
>> 
>> You can keep the structure you have and just write cover methods yourself 
>> that give you the equivalent functionality of flattening, 
>> 
>> 
>> 
>> Or you might want to rethink the design. I’ve found things like Email 
>> addresses, Phone numbers and Addresses should not be associated with more 
>> than one other object anyway. You will eventually run into the situation 
>> where someone wants to change just their billing address and not have that 
>> change also impact their shipping or home, or work address. I’ve usually end 
>> up having to write a bunch of extra UI code to manage changing just one, or 
>> just two of the three, etc.
>> 
>> Sometimes proper data normalization is not the right thing to do. Sometimes. 
>> I’m not saying that this is always true, but think seriously about what your 
>> user’s expectations are around contact management.
>> 
>> 
>> 
>> 
>> Dave
>> 
>> compound PK
>>> On May 20, 2014, at 10:36 AM, Ângelo Andrade Cirino  
>>> wrote:
>>> 
>>> Hi,
>>> 
>>> I modeled the following relationships
>>> 
>>> Party ->> ContactMechanism -> Email
>>> Party ->> ContactMechanism -> Phone
>>> Party ->> ContactMechanism -> PostalAddress
>>> 
>>> And flattened the relationships into Party. My D2W rules are setup so that 
>>> this to many relationships are edited with a ERMODEditRelationshipPage 
>>> component. The to one relationships from ContactMechanism to the other 
>>> entities are optional, since a ContactMechanism can be either an Email, a 
>>> Phone or a PostalAddress, but not two of them at the same time.
>>> 
>>> I am able to edit the flattened entities but when the Party entity is saved 
>>> the following exception is raised:
>>> 
>>> IllegalStateException: A valid global ID could not be obtained for entity 
>>> named ContactMechanism, relationship named contactMechanisms_phone, primary 
>>> key dictionary {partyID = 2; phoneID = 7; }.
>>>   at 
>>> com.webobjects.eoaccess.EODatabaseContext.databaseOperationForIntermediateRowFromSourceObject(EODatabaseContext.java:4871)
>>> 
>>> I've searched the list and there are other similar cases where the solution 
>>> was to change the model with the appropriate "owns destination" or 
>>> "propagates primary key" properties for the intermediate relationship. From 
>>> what I've read, even the delete rule can affect how EO will deal with the 
>>> flattened relationships.
>>> 
>>> I didn't find a way to set up my model so that EO will handle the flattened 
>>> relationships as I want. Or perhaps I am simply trying to do something the 
>>> wrong way. Anyway, I need some help.
>>> 

Re: calendar component?

2014-05-13 Thread David Holt
This one kind of works:

ERMODCalendarPage


On 2014-05-13, at 1:58 PM, Theodore Petrosky  wrote:

> Is there a 'calendar' component that I can add to my D2W app? I see an 
> example of creating a calendar in the AjaxExample2 but nothing in the D2W 
> components. 
> 
> I need to display a calendar (like the ajax example) and put events into the 
> calendar. It would be very nice if I could find an example.
> 
> 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/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

Re: ERPDFGeneration problem

2014-05-08 Thread David Holt
I am seeing the same issue that you are with ERPDFGeneration. Disabling click 
to open has no impact on the problem.

David


On 2014-05-08, at 12:29 PM, Timothy Worman  wrote:

> I was suspecting the _componentName attribute yesterday and I was looking for 
> properties to turn it off. After a quick search I didn’t find anything. It 
> does appear that clickToOpen could be involved and I have the property set 
> true in my props. I haven’t used it so I don’t know why I have it enabled. 
> And I seem to remember reading it caused issues with excel generation. This 
> could be it. I’ll respond with more after some investigation.
> 
> Tim
> UCLA GSE&IS
> 
> On May 8, 2014, at 9:41 AM, Fabian Peters  wrote:
> 
>> I somehow assumed this problem occurred in deployment. Still, if Bastian is 
>> on the right track, then this should help:
>> 
>>  public boolean clickToOpenEnabled(WOResponse response, WOContext 
>> context) {
>>  return false;
>>  }
>> 
>> 
>> Am 08.05.2014 um 18:15 schrieb Bastian Triller :
>> 
>>> I think the _componentName attribute is the problem. There's a switch to 
>>> turn that off.
>>> 
>>> On Wed, 2014-05-07 at 19:33 -0700, Timothy Worman wrote:
 All:
 
 
 I have a problem that recently popped up with PDF generation. I have a 
 custom component that utilizes the simple FlyingSaucerImpl in 
 ERPDFGeneration. My component was failing with:
 
 
 "[org.xml.sax.SAXParseException] The markup in the document preceding the 
 root element must be well-formed."
 
 
 So, I simplified things and basically made a test component content sth 
 like SimplePDFGeneration1 from the ERPDFExamples. Same issue - 
 SAXParseException. I overrode appendToResponse to generate some 
 diagnostics on the content I’m trying pdf-ify (is that allowed?). Below is 
 what it sayeth. So, what the heck is in line 0, column 2 in the document?
 
 
 May 07 19:20:21 eTimesheet[5] WARN  NSLog  - 
 'edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent' caused 
 a SAXParseException
 Message: 'The markup in the document preceding the root element must be 
 well-formed.'
 Line   : 0
 Column : 2
 --- content begin ---
 1 
 2 >>> "edu.ucla.gseis.employee.components.TimesheetCalendarPDFComponent" lang = 
 "en">
 3   
 4 
 5 ERPDFGeneration Examples
 6 
 7 >>> href="/cgi-bin/WebObjects/eTimesheet.woa/_wr_/wodata=/Users/worman/Source/etswo/eTimesheet/WebServerResources/print.css"
  media="print"/>
 8 
 9   
 10   
 11   
 12   
 13 
 --- content end —
 
 
 Tim
 UCLA GSE&IS
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (
 Webobjects-dev@lists.apple.com
 )
 Help/Unsubscribe/Update your Subscription:
 
 https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com
 
 
 This email sent to 
 bastian.tril...@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/lists.fabian%40e-lumo.com
>>> 
>>> This email sent to lists.fab...@e-lumo.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/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

Re: D2WKeys link in JavaDoc is missing

2014-03-19 Thread David Holt
Thanks Ray,

Much appreciated.

David

On 2014-03-19, at 3:14 PM, Ray Kiddy  wrote:

> On Wed, 19 Mar 2014 15:40:10 -0500 (CDT)
> Pascal Robert  wrote:
> 
>> The new server have Java 1.7 instead of 1.6, that could explain?
>> 
>> Envoyé de mon iPhone
>> 
> 
> I will see if this needs to be updated to work with 1.7. Should not
> take too long.
> 
> - ray
> 
>>> Le 2014-03-19 à 16:38, Chuck Hill  a
>>> écrit :
>>> 
>>> Do dockets still work with modern Java?  I thought there was some
>>> push to modernize the API that left them broken and then abandoned.
>>> 
>>> 
>>> On 2014-03-19, 1:30 PM, "David Holt" wrote:
>>> 
>>> Hi All,
>>> 
>>> From Ray Kiddy Oct 2013:
>>> 
>>> See
>>> http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/javadoc/?
>>> 
>>> "There is a custom doclet that we use that produces some extra
>>> pages on that. For example, you can go to the "D2WKeys" link at the
>>> top of the page and see a humongous list of D2W components and
>>> there is, for many of them, structured doc on their keys."
>>> 
>>> Did someone remove this link from the JavaDoc? If so was it
>>> deliberately or a mistake? 
>>> 
>>> 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/probert%40macti.ca
>>> 
>>> This email sent to prob...@macti.ca
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/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

D2WKeys link in JavaDoc is missing

2014-03-19 Thread David Holt
Hi All,

>From Ray Kiddy Oct 2013:

See http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/javadoc/?

"There is a custom doclet that we use that produces some extra pages on that. 
For example, you can go to the "D2WKeys" link at the top of the page and see a 
humongous list of D2W components and there is, for many of them, structured doc 
on their keys."

Did someone remove this link from the JavaDoc? If so was it deliberately or a 
mistake? 

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

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

Re: My last WOWODC

2014-03-06 Thread David Holt
Needless to say, I agree with David, being a David.

You have done an amazing job Pascal. I suppose none of us quite imagined how 
quickly the community would dwindle, but I am still happy that you were able to 
hold a few of us together over the years and host us in your fine city.

Look forward to seeing you all in April.

David


On 2014-03-06, at 2:33 PM, David LeBer  wrote:

> I agree wholeheartedly with Chuck.
> 
> Thank you Pascal for your perseverance, hard work, and dedication to the 
> WOCommunity.
> 
> Regardless of the future of WO and its users, your tireless work has been 
> instrumental in it persisting as long as it has.
> 
> Perhaps it is just age speaking, but I am no longer looking for technical 
> battles to fight. I am comfortable doing what I am doing now, but when that 
> ends, I will be happy to use whatever appears to be the most friction free 
> solution to the next problem. That may be WO, but there are lots of 
> alternatives out there, it may not be either.
> 
> Don’t get me wrong, WO is still a wonderful and powerful solution to certain 
> problems, and I still love EOF and especially D2W. But in a world of iOS 
> connectivity, rich client side JS frontend driven design, targeted UI, big 
> data, and NoSQL caching layers, I’m not sure if I can honestly present the 
> entire WO stack as much of a slam dunk solution as I have in the past.
> 
> Anyway that is a discussion to be had over beers in April.
> 
> So, thank you Pascal. I for one, truly appreciate all your effort, and want 
> to wish you the greatest success in whatever you choose to do with your (now) 
> copious free time ;) Your WOWODC drinks and dinners are all on me this year.
> 
> D
> 
> On Mar 6, 2014, at 1:51 PM, Chuck Hill  wrote:
> 
>> Hi Pascal,
>> 
>> On 2014-03-05, 6:14 PM, "Pascal Robert" wrote:
>> 
>> Well, it's really the last WOWODC that I organize. I need time to fix some 
>> minor health issues, and with my 40 hours+ job and the kids, I just don't 
>> have the time (not excluding that I have spent more than 20 hours of 
>> accounting, and have to write the annual report before March 20th).
>> 
>> While I am sad to see it go, I think this is the right decision at this 
>> time.  I hope this makes your life a little better.  Have you given any 
>> thought on what to do with the WO Community site and resources?  Will you 
>> still be involved in that?
>> 
>> 
>> Two guys from Germany contacted me to say that they can organize something 
>> in Germany next year, which makes sense since this is the only area where 
>> the number of WO developers doesn't drop every year.
>> 
>> To the people who are coming to WOWODC 2014, I will be glad to see you one 
>> last time (except virtually). To the others, I hope to see you somewhere in 
>> future.
>> 
>> We will be happy to see you again, too.  Thank you for all of your tireless 
>> work over the years that made WOWODC actually happen.  Without you there 
>> would not have been a WOWODC!
>> 
>> 
>> Chuck
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> 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/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

Re: Linking iOS and WebObjects

2014-02-18 Thread David Holt
Hi Ken,

Surely you don't need to ask!

Please share, if you don't mind :-)

David


On 2014-02-18, at 2:56 PM, Ken Anderson  wrote:

> Mark,
> 
> I built a library on both iOS and WO that syncs a data model between the 2.  
> It has some pretty decent features, like you can define an ownership key path 
> on the server side, and only those EO’s owned by the person syncing are sent 
> over.
> 
> It’s not really documented yet or anything, but I could probably put 
> something together to share.
> 
> The big difference between mine and other sync mechanisms is I don’t keep a 
> log of everything to send to everybody (my data model is big, so it would get 
> painful).  Also, it’s reasonably smart about doing things offline (like 
> maintaining relationships even when a number of transactions have happened on 
> the device without an internet connection).
> 
> Let me know if this interests you enough for me to spruce it up.
> 
> Ken
> 
> On Feb 18, 2014, at 3:51 PM, Mark Wardle  wrote:
> 
>> Hi. Glad it is a common use-case. Not sure if you have misunderstood my 
>> intentions but I was asking for advice rather than planning a super-duper 
>> automatic EOF to obj-c/core data magic converter - although I had hoped 
>> someone else had already invented such a wonder (no pun intended).
>> 
>> Am experimenting with the iOS library RestKit which I think can make a core 
>> data model from what it receives from a REST service automagically… I think…
>> 
>> Mark
>> On 14 Feb 2014, at 14:41, Jesse Tayler  wrote:
>> 
>>> 
>>> FANTASTIC!
>>> 
>>> yes, ERSync is not going to work for the main question which is how to 
>>> store a local object graph that loads as the user sees things, and keep it 
>>> updated while still being able to rationally send data back to the server 
>>> in a way that can handle offline or poor network conditions etc.
>>> 
>>> ERRest is SUPER-FAB for being the server of an iPhone client and there’s 
>>> quite a few tricks we can and should compile together.
>>> 
>>> So, definitely call upon me to have something to say about all this and 
>>> I’ve been at it a few years now, so I have gone through all this at least 
>>> once or twice.
>>> 
>>> greatly looking forward!
>>> 
>>> jess
>>> 
>>> 
>>> 
>>> 
>>> On Feb 14, 2014, at 9:37 AM, Mark Wardle  wrote:
>>> 
 Hi all,
 
 I am starting to work on a new presentation layer for our web application 
 using the iOS SDK. We plan on writing custom small iOS apps that integrate 
 with the larger more complex backend web-application built in WebObjects. 
 
 I can see ERSync but note it is not in Wonder yet. Is this still in 
 development or is it ready for deployment? It certainly looks an easy way 
 to get started.
 
 However, we might want more finely grained control anyway. We’ve been 
 adding REST interfaces to the backend. Does anyone have any 
 recommendations for an iOS client library to make this work trivial? I 
 would think that we could create some stub object-graph in objective c 
 that then gets sent to the server semi-automatically? Is there something 
 that would take an EOModel and create a core data equivalent or skeleton 
 classes? 
 
 I can see various references on the mailing list but nothing on the wiki. 
 
 Any pointers (*) much appreciated!
 
 Mark
 (*) you can tell I’m back to coding in C and not just using java (!)
 -- 
 Dr. Mark Wardle
 Consultant Neurologist, University Hospital Wales, Cardiff, UK
 Email: mark.war...@wales.nhs.uk or m...@wardle.org  Twitter: @mwardle
 Telephone: 02920745274 (secretary) or facsimile: 02920744166
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will 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
>>> 
>> 
>> -- 
>> Dr. Mark Wardle
>> Consultant Neurologist, University Hospital Wales, Cardiff, UK
>> Email: mark.war...@wales.nhs.uk or m...@wardle.org  Twitter: @mwardle
>> Telephone: 02920745274 (secretary) or facsimile: 02920744166
>> 
>> 
>> 
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will 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/programmi

Re: A new article about Guava on wocommunity

2014-02-17 Thread David Holt
Cool! Thanks,

David


On 2014-02-17, at 10:19 AM, Philippe Rabier  wrote:

> Hi the community,
> 
> A brief email to let you know there is a new article about 
> ERXEnterpriseObjectCache and Guava Cache.
> 
> http://wiki.wocommunity.org/pages/viewpage.action?pageId=12943886
> 
> Enjoy.
> 
> Philippe Rabier
> ---
> Web : http://www.youandpush.com
> Twitter : http://twitter.com/YouAndPush
> Facebook :https://www.facebook.com/youandpush
> 
> 
> 
> ___
> Do not post admin requests to the list. They will 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

Re: Wonder 6.1.1 is out

2014-02-12 Thread David Holt
Thanks!

David


On 2014-02-10, at 7:24 AM, Johann Werner  wrote:

> Hi list,
> 
> it has been a long time but finally Wonder 6.1.1 is officially out. Point 
> your browser to the release page on github 
> https://github.com/wocommunity/wonder/releases to get everything you need: a 
> changelog and all artifacts you would get from the wocommunity jenkins server.
> 
> Beginning with this version of the frameworks Wonder applications will log 
> out that version number on startup. This is amongst others to make it easier 
> for getting help from the mailing list as to provide more information on your 
> WO setup. The version number reported on the Wonder Javadoc documentation 
> will reflect that version number too so you can be sure looking at the 
> documentation matching your version.
> 
> Thanks for all those who contributed!
> 
> 
> For those using their own jenkins servers:
> Building the documentation put the Javadocs into a directory 
> "dist/wonder-6.0/Documentation". That path changed to 
> "dist/wonder/Documentation" without the "-6.0" part. You should check the 
> settings of the Javadoc publisher plugin if that path is still matched or 
> update it accordingly.
> ___
> Do not post admin requests to the list. They will 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

Re: WOWODC 14 presentations and tickets

2014-02-12 Thread David Holt
Hi Samuel,

You are very generous! The SMC and OLAP topics sound great. I've already bought 
my ticket though :)

David

Sent from my iPad

> On Feb 12, 2014, at 8:02 AM, Samuel Pelletier  wrote:
> 
> Hi Everyone,
> 
> Today is the last day for discounted WOWODC registration. If you are still 
> not decided, I would like to know the presentation subject that would 
> encourage you to buy a ticket.
> 
> Personally, I can present many things, I can easily switch my planned one and 
> add a second one. You may answer to the list or send a private email with 
> your suggestions. If you do not really know, I propose you write about your 
> challenges or question about future development. It is not easy to figure out 
> the best subjects.
> 
> 
> Some subject I can talk about because I spend a lot time on these subjects in 
> the last years:
> 
> - Compare different type of applications, pros/cons, main challenges of each 
> style. I would talk about Web (HTML), Web 2 (HTML+Ajax), Native browser 
> (Javascript app like GWT, Sproutcore, etc), tethered mobile (require a active 
> link to server like Facebook) and untethered mobile (works offline and sync 
> like the Notes and Contacts apps on iPhone).
> 
> - How to build a synchronization protocol for untethered mobile application 
> and between remote system. I spend the last decade building those, the first 
> full mobile order taking app was running on a Palm Tungsten W with GPRS radio 
> and we transmitted orders to a SAP system for next day delivery back in 2003.
> 
> - Intregation of SMC, a Java state machine library, with an EOF entity to 
> extends an EO with a state machine.
> 
> - KAccessControl, my base framework for user authentification and access 
> control. I use it for all my component based apps.
> 
> - A PDF generation server that create pdf from HTML using WebKit and the 
> MacOS pdf printing API. This server embed custom fonts and svg vector 
> graphics and support all the Safari CSS for advanced typography control. I 
> added support for header/footer, variable subsitution for page number and 
> total number of pages and add a way better page break management supporting 
> the CSS page-break-inside: avoid and page-break-after: always attributes. I 
> have a WO class to handle all the works, you pass a component to get a PDF. 
> This server can be use with anything, it implements a basic HTTP server that 
> receive a URL for the HTML to convert.
> 
> - A library of base class for a in memory OLAP engine I wrote. This is very 
> technical and require writing Java classes for each cube but the speed is 
> awesome. I use it to load 4.5 millions invoice lines for interactive 
> reporting. You can have any result for query like "sum of sales (qty and 
> amount) grouped by salesman for a specific period" in few ms and use only 
> about 600MB of ram. Data loading from a Frontbase table including the index 
> build time for the Java cube was about 40 seconds.
> 
> - Setting up a high availability scalable hosting environment using a service 
> based setup like Red Hat Cluster. Each component of the environment is 
> isolated inside a service with it's software requirement, replication or sync 
> tools, startup scripts, etc. By using this structure, a simple single server 
> setup can grow easily by running some services on a new machine. If 
> replication is implemented, a standby server can be setup always with up to 
> date code and data allowing a very small downtime server switch.
> 
> 
> Hope to see you in WOWODC
> 
> 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/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

Re: structure opinions

2013-11-15 Thread David Holt
This may be the funniest email in a long long line of historic emails to this 
list.

Well done, David. Well done.

Sent from my iPad

> On Nov 15, 2013, at 6:55 AM, David Avendasora  
> wrote:
> 
> 
>> On Nov 14, 2013, at 11:42 PM, Chuck Hill  wrote:
>> 
>> If I did not know better, I would swear you are getting smarter!  :-P
> 
> Please keep replies on the list.
> 
> 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/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

Re: REST and Excel data

2013-11-05 Thread David Holt
https://bitbucket.org/hugi/excelpublisher

Direct from Hugi.

David


On 2013-11-04, at 11:59 AM, Gino Pacitti  wrote:

> yea that would help… how do I get a demo??
> 
> 
> On 4 Nov 2013, at 19:58, David Holt  wrote:
> 
>> I know Hugi has an example app of Excel working as a WO back end. Maybe that 
>> would help you?
>> 
>> David
>> 
>> 
>> On 2013-11-04, at 11:48 AM, Gino Pacitti  wrote:
>> 
>>> Hi ..
>>> I have a job coming up and wanted to know if anyone had any experience with 
>>> interacting with Excel data spread-sheets over the net?
>>> 
>>> The client has an internal spread-sheet that is edited and contains 
>>> formulas for the creation of an order for items that are to be purchased.
>>> 
>>> So I am building an iPhone app that will interact with a WO App, which I am 
>>> building too, and then somehow with the excel sheet.
>>> 
>>> Anyone have any knowledge of the best way to interact with the excel sheet.
>>> 
>>> The Excel sheet needs to :
>>> 
>>> 1. Be editable for the client in their office
>>> 2. Be accessible by the iPhone app through whatever means, XML, REST or 
>>> HTTP etc.. and update the spread-sheet when an order is placed…
>>> 
>>> Obviously concurrency  an issue.
>>> 
>>> I had thought about interacting with SQL server but I don’t think that is 
>>> excel file fronted.
>>> 
>>> Any thoughts or direction to something else appreciated.
>>> 
>>> Gino
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/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/ginokris%40me.com
>> 
>> This email sent to ginok...@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/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

Re: REST and Excel data

2013-11-04 Thread David Holt
I know Hugi has an example app of Excel working as a WO back end. Maybe that 
would help you?

David


On 2013-11-04, at 11:48 AM, Gino Pacitti  wrote:

> Hi ..
> I have a job coming up and wanted to know if anyone had any experience with 
> interacting with Excel data spread-sheets over the net?
> 
> The client has an internal spread-sheet that is edited and contains formulas 
> for the creation of an order for items that are to be purchased.
> 
> So I am building an iPhone app that will interact with a WO App, which I am 
> building too, and then somehow with the excel sheet.
> 
> Anyone have any knowledge of the best way to interact with the excel sheet.
> 
> The Excel sheet needs to :
> 
> 1. Be editable for the client in their office
> 2. Be accessible by the iPhone app through whatever means, XML, REST or HTTP 
> etc.. and update the spread-sheet when an order is placed…
> 
> Obviously concurrency  an issue.
> 
> I had thought about interacting with SQL server but I don’t think that is 
> excel file fronted.
> 
> Any thoughts or direction to something else appreciated.
> 
> Gino
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/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

Re: attachments podcast

2013-10-29 Thread David Holt
http://wiki.wocommunity.org/display/documentation/ERAttachment+Framework


On Oct 29, 2013, at 6:46 PM, Theodore Petrosky  wrote:

> what happened to the short tutorial podcast that described using 
> ERAttachment? 
> 
> it was really good, short and right to the point. but it seems to be MIA. Or 
> I am blind.
> 
> 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/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

Re: issue with Golips

2013-10-17 Thread David Holt
Thanks Tim!

Sent from my iPad

> On Oct 17, 2013, at 11:55 AM, Timothy Worman  wrote:
> 
> My fork of the Golipse project was updated with a stable download URL and the 
> p2 plugin installer embedded. A pull request was created on github for the 
> changes.
> 
> In the meantime, until there is a build on WOCommunity with these changes you 
> can get my fork here:
> 
> https://github.com/timsquared/Golipse
> 
> OR, use the raw script which is updated on my gist here:
> 
> https://gist.github.com/timsquared/5454092
> 
> That gist includes both the go_wolips script and the p2 script. They should 
> live in the same directory. You call go_wolips like:
> 
> ./go_wolips 
> 
> Thanks,
> 
> Tim
> UCLA GSE&IS
> 
>> On Oct 14, 2013, at 3:48 PM, Pascal Robert  wrote:
>> 
>> Yes, by having someone to include the p2 script into the Xcode project and 
>> call the script from the main bash script to execute it. That someone is not 
>> me.
>> 
>>> Hi,
>>> 
>>> Is there a way to solve the problem with p2?
>>> 
>>> Greetings,
>>> Frank Stock
 Op 24 sep. 2013, om 15:25 heeft webobjects-dev-requ...@lists.apple.com het 
 volgende geschreven:
 
 Van: David LeBer 
 Onderwerp: Antw.: issue with Golips
 Datum: 24 september 2013 15:25:26 CEST
 Aan: prob...@macti.ca
 Kopie: webobjects-dev 
 
 
 I won't be able to get to that for a day or two.
 
 If someone else needs it sooner and wants to take a crack at it, be my 
 guest.
 
 D
 
 --
 David LeBer
 Codeferous Software
 
> On 2013-09-24, at 9:11 AM, prob...@macti.ca wrote:
> 
> Fixed the problem for WOLips. If someone could submit a patch for Golipse 
> so that P2 is bundled in it, it would be really nice.
> 
>> Oh, and another problem. Looks like that without warning, the master 
>> branch of WOLips do not compile for Eclipse 3.7 anymore.
>>> Looks like another part of the tool went away…
>>> https://raw.github.com/gist/609891/p2
>>> In summary, we are fucked up.
 Come to think of it, when I ran Golipse after your fix,  it did 
 download eclipse, but it did not download the wolips perspective. When 
 I went to Window > Open Perspective > Other the wolips perspective was 
 not listed, so I installed it manually with eclipse. This was fairly 
 late at night after a couple of margaritas, so I could be wrong, and 
 maybe it was there the first time but I missed it. On Sep 22, 2013, at 
 10:36 PM, Kevin Spake wrote:
> Thanks. That did the trick. On Sep 22, 2013, at 3:34 AM, Pascal 
> Robert wrote:
>> Fixed. If you download Golipse again, it should download Eclipse.
>>> Looks like that mirror don't have a copy of Eclipse 3.8.2:
>>> $ curl -v -X HEAD 
>>> http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.8.2-201301310800/eclipse-SDK-3.8.2-macosx-cocoa-x86_64.tar.gz
>>> < HTTP/1.1 404 Not Found
 I downloaded the Learning the Wonders preview pdf book. I'm going 
 through the automatic install instructions. After Golipse was 
 downloaded I unzipped it and ran the Golipse app.  Per the book I 
 have a directory call "Development" with a subfolder named 
 "Tools". I told Golipse to install eclipse into the "Tools" 
 directory, but it fails. Here are the results:
 Setting ECLIPSE_URL to 
 http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.8.2-201301310800/eclipse-SDK-3.8.2-macosx-cocoa-x86_64.tar.gz
 Downloading Eclipse ...
 % Total% Received % Xferd  Average Speed   TimeTime 
 Time Current
 Dload  Upload   Total   SpentLeft Speed
 0 00 00 0  0  0 --:--:-- --:--:-- 
 --:--:-- 0
 100   363  100   3630 0   1719  0 --:--:-- --:--:-- 
 --:--:--  3989
 Unarchiving Eclipse ...
 tar: Unrecognized archive format
 tar: Error exit delayed from previous errors.
 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  221k0 00 0  0  0 --:--:--  0:00:01 
 --:--:-- 0
 100  221k  100  221k0 0   163k  0  0:00:01  0:00:01 
 --:--:--  231k
 Downloading and Installing the recommended Eclipse plugins ...
 /tmp/p2_1379824948: line 1: syntax error near unexpected token 
 `newline'
 /tmp/p2_1379824948: line 1: `'
 Cleaning

Re: WOWODC 2014: more details

2013-10-11 Thread David Holt
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?
>>>>>>>>>> _

Re: d2w query question

2013-09-30 Thread David Holt
Also you need to work at it.

Don't look for some key. Practice, practice, practice. 

Search for keys in component and rule models.

Change them.

Use the debugging techniques.

Hell make your own look.

Then you'll understand. 

David


On 2013-09-28, at 10:21 AM, David LeBer  wrote:

> The first rule of D2W: There is NO magic.
> 
> If you can't figure out why something works a certain way, that's just 
> because you haven't found where the logic is yet.
> 
> The d2wContext is just a state machine / key-value store. It performs little 
> logic on its own.
> 
> All the 'smarts' are in one of three places:
> 
> 1. The page templates (from the 'Look')
> 2. The property level components
> 3. The assignment objects
> 
> Number 3 is the one most overlooked by novice D2W devs, and provides most of 
> the 'hidden' functionality. It is well worth your effort to scan the 
> available rule files looking for Assignment objects you've never used before. 
> It's ALWAYS and eye opening experience. ;)
> 
> Rules are actually pretty simple. The left hand side is a qualifier, when it 
> matches, it sets the key specified on the right hand side with the value 
> derived through the Assignment object. Documenting 'the rules' does little 
> good, because the moment you enhance or change one of the items above, the 
> range of possible rules change.
> 
> Learn your templates, the available property level components, and the 
> assignment objects. Once you understand those, parsing the rules becomes much 
> easier, and creating your own rules to leverage the potential becomes clearer.
> 
> And as you learn, enhancements to the documentation is always welcome ;)
> 
> D
> 
> --
> David LeBer
> Codeferous Software
> 
> On 2013-09-28, at 11:52 AM, Theodore Petrosky  wrote:
> 
>> what did I learn in my d2w sojourn?
>> 
>> make sure you use the full package name when adding a 
>> queryDataSourceDelegate (that one bit me until I read the email about 16 
>> times).
>> 
>> you can create a Query page and specify in the rules what the entity is.
>> 
>> there are so many possible rules with settings that I feel there is no way 
>> to learn them all. so there must be a logic to their organization that when 
>> you learn it, it is all clear.
>> 
>> I am reminded of a story told by Gurdjieff.
>> 
>> He was studying at a Tibetan Monastery. One of the 'rules' was that to be 
>> considered 'enlightened' one had to perform a very intricate dance. It took 
>> on the average 3 years of study to master all the movements and pass the 
>> test. But if you studied hard (ate your wheaties) and listened to your 
>> master, you would eventually learn this complete dance.
>> 
>> One day he was eating his lunch watching two new supplicants begin the 
>> process of learning the dance. Whilst eating and in the midst of a reverie, 
>> he looked up and noticed that in the room, there was a bas-relief that 
>> depicted all the steps of the dance. Unfortunately, when doing the dance, 
>> you can not just look up as, depending on your angle you can or can not make 
>> out the images. And that's when the images became clear to him.
>> 
>> In each step of the dance, the dancer is forming a character of the alphabet 
>> (picture Village People YMCA), and the supplicant is spelling out the names 
>> of the 20 men that founded the Monastery. Once you learned this fact, it was 
>> easy.
>> 
>> Where is the D2W key? It's there somewhere!!!
>> 
>> 
>> 
>> On Sep 26, 2013, at 5:52 PM, David Holt  wrote:
>> 
>>> Your method calling this query page should actually be:
>>> 
>>>  public WOComponent queryBillboarAction() {
>>>return D2W.factory().pageForConfigurationNamed("QueryBillboard", 
>>> session());
>>>  }
>>> 
>>> pageConfiguration = "QueryBillboard" => entity = "Grid" 
>>> [com.webobjects.directtoweb.EntityAssignment], 
>>> 
>>> task is in the configurationName
>>> 
>>> On 2013-09-26, at 2:45 PM, David Holt  wrote:
>>> 
>>>> Yes! You're coming to the crux of D2W power. Congratulations :-)
>>>> 
>>>> All you need to do is set some rules for task and entity of the custom 
>>>> configuration you need. Typed into Mail:
>>>> 
>>>> pageConfiguration = "RowsAndRowsOfMyAwesomeBillboards" => task = 'list' 
>>>> [com.webobjects.directtoweb.Assig

Re: WOWODC 2014: more details

2013-09-26 Thread David Holt
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/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

Re: d2w query question

2013-09-26 Thread David Holt
Your method calling this query page should actually be:

  public WOComponent queryBillboarAction() {
return D2W.factory().pageForConfigurationNamed("QueryBillboard", session());
  }

pageConfiguration = "QueryBillboard" => entity = "Grid" 
[com.webobjects.directtoweb.EntityAssignment], 

task is in the configurationName

On 2013-09-26, at 2:45 PM, David Holt  wrote:

> Yes! You're coming to the crux of D2W power. Congratulations :-)
> 
> All you need to do is set some rules for task and entity of the custom 
> configuration you need. Typed into Mail:
> 
> pageConfiguration = "RowsAndRowsOfMyAwesomeBillboards" => task = 'list' 
> [com.webobjects.directtoweb.Assignment]
> pageConfiguration = "RowsAndRowsOfMyAwesomeBillboards" => entity  "Grid" 
> [com.webobjects.directtoweb.EntityAssignment], 
> 
> 
>   public WOComponent queryBillboardAction() {
> QueryPageInterface qpi = (QueryPageInterface) 
> D2W.factory().queryPageForEntityNamed("Grid", session());
> return (WOComponent) qpi; 
>   }
> 
> pageConfiguration = 'QueryBillboard' => navigationState = 'Tab2' 
> [com.webobjects.directtoweb.Assignment]
> pageConfiguration = "RowsAndRowsOfMyAwesomeBillboards" => navigationState = 
> 'Tab2' [com.webobjects.directtoweb.Assignment]
> 
> rule to return the custom page configuration:
> 
> pageConfiguration = "QueryBillboard" => listConfigurationName =   
> "RowsAndRowsOfMyAwesomeBillboards" [com.webobjects.directtoweb.Assignment], 
> 
> you can return the list in the same page like so:
> 
> pageConfiguration = "QueryBillboard" => showListInSamePage = "true" 
> [com.webobjects.directtoweb.BooleanAssignment]
> 
> and don't forget the rule to set your query delegate to the QueryBillboard 
> page.
> 
> Of course you could be more reasonable and call your custom page 
> configuration something like "ListBillboardGrid" and your task and entity 
> should be picked up by the default assignment rules (since both "list" and 
> "grid" are contained in the pageConfiguration name) but I exaggerated for 
> effect.
> 
> 
> On 2013-09-26, at 2:24 PM, Theodore Petrosky  wrote:
> 
>> 
>> On Sep 26, 2013, at 5:07 PM, David Holt  wrote:
>> 
>>> Hi Ted,
>>> 
>>> well Grid is the entity, but you only want to display those grids that are 
>>> billboards?
>>> 
>>> "Pages.ListGrid" = "List Billboards"
>>> "Nav.ListGrid" = "List Billboards"
>>> 
>>>>>>>> ((D2WComponent) qpi).d2wContext().takeValueForKey("ListBillboard", 
>>>>>>>> "navigationState");
>>>>>>>> ((D2WComponent) qpi).d2wContext().takeValueForKey("QueryBillboard", 
>>>>>>>> "pageConfiguration");
>>> 
>>> I'm not sure these two rules make any sense (at least this is not how I do 
>>> it). You probably should be setting navigation state in the rules. And if 
>>> you want to use a custom pageConfiguration for your list page then you need 
>>> to set it in your query page rules (either inline or as your 
>>> listConfigurationName).
>>> 
>>> If you actually NEED a ListGrid page as well as Billboard, you'll have to 
>>> create a custom pageConfiguration for Billboards and assign the usual task 
>>> and entity to it.
>> 
>> and this is my issue. I NEED both the ListGrid and ListBillboard where the 
>> underlying entity is Grid. (Tab1 is the ListGrid tab, Tab2 is the 
>> ListBillboard tab) Are you suggesting here that I can do this with a custom 
>> pageConfiguration? Is there some example of this that I can examine? Keep in 
>> mind I have no problem when I enter the ListBillboard tab. My problem is 
>> when I click the query button on a Query Billboard. the resultant page is a 
>> ListGrid page that I want to call a List Billboard page.
>> 
>> Ted
>> 
>>> On 2013-09-26, at 12:21 PM, Theodore Petrosky  wrote:
>>> 
>>>> yes, I use the Localizable.strings. I don't see how this would help?  I 
>>>> thought I wanted to change the context pageConfiguration.
>>>> 
>>>> What did I miss?
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On Sep 26, 2013, at 12:12 PM, David Holt  wrote:
>>>> 
>>>>> Are you using Localizable.strings?
>>>>> 
>>>>> 
>&

Re: d2w query question

2013-09-26 Thread David Holt
Yes! You're coming to the crux of D2W power. Congratulations :-)

All you need to do is set some rules for task and entity of the custom 
configuration you need. Typed into Mail:

pageConfiguration = "RowsAndRowsOfMyAwesomeBillboards" => task = 'list' 
[com.webobjects.directtoweb.Assignment]
pageConfiguration = "RowsAndRowsOfMyAwesomeBillboards" => entity  "Grid" 
[com.webobjects.directtoweb.EntityAssignment], 


  public WOComponent queryBillboardAction() {
QueryPageInterface qpi = (QueryPageInterface) 
D2W.factory().queryPageForEntityNamed("Grid", session());
return (WOComponent) qpi; 
  }

pageConfiguration = 'QueryBillboard' => navigationState = 'Tab2' 
[com.webobjects.directtoweb.Assignment]
pageConfiguration = "RowsAndRowsOfMyAwesomeBillboards" => navigationState = 
'Tab2' [com.webobjects.directtoweb.Assignment]

rule to return the custom page configuration:

pageConfiguration = "QueryBillboard" => listConfigurationName =   
"RowsAndRowsOfMyAwesomeBillboards" [com.webobjects.directtoweb.Assignment], 

you can return the list in the same page like so:

pageConfiguration = "QueryBillboard" => showListInSamePage = "true" 
[com.webobjects.directtoweb.BooleanAssignment]

and don't forget the rule to set your query delegate to the QueryBillboard page.

Of course you could be more reasonable and call your custom page configuration 
something like "ListBillboardGrid" and your task and entity should be picked up 
by the default assignment rules (since both "list" and "grid" are contained in 
the pageConfiguration name) but I exaggerated for effect.


On 2013-09-26, at 2:24 PM, Theodore Petrosky  wrote:

> 
> On Sep 26, 2013, at 5:07 PM, David Holt  wrote:
> 
>> Hi Ted,
>> 
>> well Grid is the entity, but you only want to display those grids that are 
>> billboards?
>> 
>> "Pages.ListGrid" = "List Billboards"
>> "Nav.ListGrid" = "List Billboards"
>> 
>>>>>>> ((D2WComponent) qpi).d2wContext().takeValueForKey("ListBillboard", 
>>>>>>> "navigationState");
>>>>>>> ((D2WComponent) qpi).d2wContext().takeValueForKey("QueryBillboard", 
>>>>>>> "pageConfiguration");
>> 
>> I'm not sure these two rules make any sense (at least this is not how I do 
>> it). You probably should be setting navigation state in the rules. And if 
>> you want to use a custom pageConfiguration for your list page then you need 
>> to set it in your query page rules (either inline or as your 
>> listConfigurationName).
>> 
>> If you actually NEED a ListGrid page as well as Billboard, you'll have to 
>> create a custom pageConfiguration for Billboards and assign the usual task 
>> and entity to it.
> 
> and this is my issue. I NEED both the ListGrid and ListBillboard where the 
> underlying entity is Grid. (Tab1 is the ListGrid tab, Tab2 is the 
> ListBillboard tab) Are you suggesting here that I can do this with a custom 
> pageConfiguration? Is there some example of this that I can examine? Keep in 
> mind I have no problem when I enter the ListBillboard tab. My problem is when 
> I click the query button on a Query Billboard. the resultant page is a 
> ListGrid page that I want to call a List Billboard page.
> 
> Ted
> 
>> On 2013-09-26, at 12:21 PM, Theodore Petrosky  wrote:
>> 
>>> yes, I use the Localizable.strings. I don't see how this would help?  I 
>>> thought I wanted to change the context pageConfiguration.
>>> 
>>> What did I miss?
>>> 
>>> 
>>> 
>>> 
>>> On Sep 26, 2013, at 12:12 PM, David Holt  wrote:
>>> 
>>>> Are you using Localizable.strings?
>>>> 
>>>> 
>>>> On 2013-09-26, at 7:24 AM, Theodore Petrosky  wrote:
>>>> 
>>>>> 
>>>>> On Sep 26, 2013, at 4:41 AM, Fabian Peters  
>>>>> wrote:
>>>>> 
>>>>>> Hi Ted,
>>>>>> 
>>>>>> Am 26.09.2013 um 01:51 schrieb Theodore Petrosky:
>>>>>> 
>>>>>>> yea sometimes the original answer to a post was over my head and I 
>>>>>>> didn't understand something, so I gave up.
>>>>>>> 
>>>>>>> I have your solution working beautifully. I hope this helps me to 
>>>>>>> understand the delegates more.
>>>>>>> 
>>>>>>> but here is an issue.
>>

Re: d2w query question

2013-09-26 Thread David Holt
Hi Ted,

well Grid is the entity, but you only want to display those grids that are 
billboards?

"Pages.ListGrid" = "List Billboards"
"Nav.ListGrid" = "List Billboards"

>>>>> ((D2WComponent) qpi).d2wContext().takeValueForKey("ListBillboard", 
>>>>> "navigationState");
>>>>> ((D2WComponent) qpi).d2wContext().takeValueForKey("QueryBillboard", 
>>>>> "pageConfiguration");

I'm not sure these two rules make any sense (at least this is not how I do it). 
You probably should be setting navigation state in the rules. And if you want 
to use a custom pageConfiguration for your list page then you need to set it in 
your query page rules (either inline or as your listConfigurationName).

If you actually NEED a ListGrid page as well as Billboard, you'll have to 
create a custom pageConfiguration for Billboards and assign the usual task and 
entity to it.


On 2013-09-26, at 12:21 PM, Theodore Petrosky  wrote:

> yes, I use the Localizable.strings. I don't see how this would help?  I 
> thought I wanted to change the context pageConfiguration.
> 
> What did I miss?
> 
> 
> 
> 
> On Sep 26, 2013, at 12:12 PM, David Holt  wrote:
> 
>> Are you using Localizable.strings?
>> 
>> 
>> On 2013-09-26, at 7:24 AM, Theodore Petrosky  wrote:
>> 
>>> 
>>> On Sep 26, 2013, at 4:41 AM, Fabian Peters  wrote:
>>> 
>>>> Hi Ted,
>>>> 
>>>> Am 26.09.2013 um 01:51 schrieb Theodore Petrosky:
>>>> 
>>>>> yea sometimes the original answer to a post was over my head and I didn't 
>>>>> understand something, so I gave up.
>>>>> 
>>>>> I have your solution working beautifully. I hope this helps me to 
>>>>> understand the delegates more.
>>>>> 
>>>>> but here is an issue.
>>>>> 
>>>>> here is the method that returns the QueryPage:
>>>>> 
>>>>> public WOComponent queryBillboardAction() {
>>>>> QueryPageInterface qpi = (QueryPageInterface) 
>>>>> D2W.factory().queryPageForEntityNamed("Grid", session());
>>>>> 
>>>>> ((D2WComponent) qpi).d2wContext().takeValueForKey("ListBillboard", 
>>>>> "navigationState");
>>>>> ((D2WComponent) qpi).d2wContext().takeValueForKey("QueryBillboard", 
>>>>> "pageConfiguration");
>>>>> 
>>>>> return (WOComponent) qpi;
>>>>> 
>>>>> }
>>>>> 
>>>>> of course this is a 'subselect' of the entity 'Grid'. so the page that 
>>>>> returns is a ListGrid page.
>>>>> 
>>>>> How can I control this? It needs to be a ListBillboard page.
>>>> 
>>>> If your query page should return a list of billboards, then I guess the 
>>>> query page should be one for billboards. If a billboard has some relation 
>>>> to grid, you can still query for grid attributes by specifying key-paths 
>>>> from billboard. Something like "billboard.grids.id".
>>> 
>>> it's the other way around. I have an entity 'Grid'. this entity has a 
>>> boolean attribute isBillboard. I have created a tab that gives a listing of 
>>> a subset of Grid where isBillboard is true.
>>> In the action method that returns the ListGrid page, I set the 
>>> navigationState:
>>> 
>>>>>>>> ((D2WComponent) lpi).d2wContext().takeValueForKey("ListBillboard", 
>>>>>>>> "navigationState");
>>> 
>>> I have a search button that I set the delegate to return Grid entities 
>>> where isBillboard is true.
>>> 
>>> Unfortunately, when you do a query, the returning page is a 'ListGrid' page 
>>> (As the entity is Grid). I am looking for a way such that when this 
>>> ListGrid page is returned, I can set the navigationState to 'ListBillboard'.
>>> 
>>> I could make this easy on myself and create a view on the backend called 
>>> Billboard. (CREATE VIEW billboard AS SELECT * FROM t_grid WHERE isbillboard 
>>> = true). I could even set up some rules and triggers on the backend that 
>>> would make it updatable. Then I could just treat it as a separate entity 
>>> and be done.
>>> 
>>> But I thought I would just stay on the WO side of things.
>>> 
>>> 
>&g

Re: d2w query question

2013-09-26 Thread David Holt
Are you using Localizable.strings?


On 2013-09-26, at 7:24 AM, Theodore Petrosky  wrote:

> 
> On Sep 26, 2013, at 4:41 AM, Fabian Peters  wrote:
> 
>> Hi Ted,
>> 
>> Am 26.09.2013 um 01:51 schrieb Theodore Petrosky:
>> 
>>> yea sometimes the original answer to a post was over my head and I didn't 
>>> understand something, so I gave up.
>>> 
>>> I have your solution working beautifully. I hope this helps me to 
>>> understand the delegates more.
>>> 
>>> but here is an issue.
>>> 
>>> here is the method that returns the QueryPage:
>>> 
>>> public WOComponent queryBillboardAction() {
>>>  QueryPageInterface qpi = (QueryPageInterface) 
>>> D2W.factory().queryPageForEntityNamed("Grid", session());
>>> 
>>>  ((D2WComponent) qpi).d2wContext().takeValueForKey("ListBillboard", 
>>> "navigationState");
>>>  ((D2WComponent) qpi).d2wContext().takeValueForKey("QueryBillboard", 
>>> "pageConfiguration");
>>> 
>>>  return (WOComponent) qpi;
>>> 
>>> }
>>> 
>>> of course this is a 'subselect' of the entity 'Grid'. so the page that 
>>> returns is a ListGrid page.
>>> 
>>> How can I control this? It needs to be a ListBillboard page.
>> 
>> If your query page should return a list of billboards, then I guess the 
>> query page should be one for billboards. If a billboard has some relation to 
>> grid, you can still query for grid attributes by specifying key-paths from 
>> billboard. Something like "billboard.grids.id".
> 
> it's the other way around. I have an entity 'Grid'. this entity has a boolean 
> attribute isBillboard. I have created a tab that gives a listing of a subset 
> of Grid where isBillboard is true.
> In the action method that returns the ListGrid page, I set the 
> navigationState:
> 
>>>>>> ((D2WComponent) lpi).d2wContext().takeValueForKey("ListBillboard", 
>>>>>> "navigationState");
> 
> I have a search button that I set the delegate to return Grid entities where 
> isBillboard is true.
> 
> Unfortunately, when you do a query, the returning page is a 'ListGrid' page 
> (As the entity is Grid). I am looking for a way such that when this ListGrid 
> page is returned, I can set the navigationState to 'ListBillboard'.
> 
> I could make this easy on myself and create a view on the backend called 
> Billboard. (CREATE VIEW billboard AS SELECT * FROM t_grid WHERE isbillboard = 
> true). I could even set up some rules and triggers on the backend that would 
> make it updatable. Then I could just treat it as a separate entity and be 
> done.
> 
> But I thought I would just stay on the WO side of things.
> 
> 
>> 
>> Fabian
>> 
>>> Thank you for your patience.  When I first read your solution over a year 
>>> ago I felt it was too complex as I didn't have the knowledge to understand 
>>> it. Funny what another year looking at this stuff can do.
>>> 
>>> Ted
>>> 
>>> 
>>> On Sep 25, 2013, at 4:26 PM, David Holt  wrote:
>>> 
>>>> Nothing like a little deja vu, including the original poster.
>>>> 
>>>> :-)
>>>> 
>>>> 
>>>> On 2013-09-25, at 12:40 PM, Johnny Miller  wrote:
>>>> 
>>>>> 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);
>>>>>> 
&g

Re: d2w query question

2013-09-25 Thread David Holt
Nothing like a little deja vu, including the original poster.

:-)


On 2013-09-25, at 12:40 PM, Johnny Miller  wrote:

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

Re: d2w query question

2013-09-25 Thread David Holt
public class LibraryDocumentsQueryDataSourceDelegate implements 
ERDQueryDataSourceDelegateInterface {
  public EODataSource queryDataSource(ERD2WQueryPage sender) {
EODataSource ds = sender.dataSource();
if (ds == null || !(ds instanceof EODatabaseDataSource)) {
  ds = new EODatabaseDataSource(sender.session().defaultEditingContext(), 
sender.entity().name());
  sender.setDataSource(ds);
}

EOFetchSpecification fs = ((EODatabaseDataSource) ds).fetchSpecification();
fs.setQualifier(qualifierFromSender(sender));
fs.setIsDeep(sender.isDeep());
fs.setUsesDistinct(sender.usesDistinct());
fs.setRefreshesRefetchedObjects(sender.refreshRefetchedObjects());

int limit = sender.fetchLimit();
if (limit != 0) {
  fs.setFetchLimit(limit);
}
NSArray prefetchingRelationshipKeyPaths = 
sender.prefetchingRelationshipKeyPaths();
if (prefetchingRelationshipKeyPaths != null && 
prefetchingRelationshipKeyPaths.count() > 0) {
  fs.setPrefetchingRelationshipKeyPaths(prefetchingRelationshipKeyPaths);
}
return ds;
  }

  private EOQualifier qualifierFromSender(ERD2WQueryPage sender) {
WorkingGroup wg = WorkingGroup.wg();
EOQualifier q = 
(Document.INCLUDE_IN_PRIVATE_LIBRARY.isNot(true)).and(Document.INCLUDE_IN_LIBRARY.eq(true)).and(sender.qualifier());
return q;
  }

}


100 : pageConfiguration = 'QueryLibraryDocument' => queryDataSourceDelegate = 
"ca.cscw.delegates.LibraryDocumentsQueryDataSourceDelegate" 
[er.directtoweb.ERDDelayedObjectCreationAssignment]


On 2013-09-25, at 12:23 PM, 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/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

Re: FileMaker

2013-09-25 Thread David Holt
Hi Dino!

Nice to see you again.

I did a FM project last year. I think it's usefulness depends on the size of 
the project. The reason we went with it was cross platform compatible desktop 
apps (runtime applications) that the clients could deploy without a copy of FM 
on every PC. Also no online data was a requirement.

I hated the tools because to do anything you need to click buttons. The UI 
manipulation is quite clunky too. There's no "text mode" where you can just 
edit things. You can't make custom UI widgets if you need them. 

Personally I will never take on a FM project again. Compared to a D2W project 
it just feels like a tremendous waste of time to accomplish the same things (or 
less). 

David

Sent from my iPad

> On Sep 25, 2013, at 7:59 AM, Dino Strausz  wrote:
> 
> Hola viejos amigos, greetings from Mexico!!
> 
> Long time not writing to this list... but I keep receiving your discussions; 
> it's nice to see this community still around ;-)
> 
> Abusing of your kindness and experience, could you please let me know you 
> opinion on FileMaker database and tools?
> I may be facing a project with those soon, but do not know if it worth to 
> learn it...
> 
> In advance, thanks for your comments.
> 
> Yours, always
> 
> Dino
> --
> di...@mac.com
> Business Applied X Objects
> http://strausz.blogspot.com
> (+52-1) 55-5437-8205
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will 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

Re: JRebel 5.3.2

2013-09-14 Thread David Holt
I am seeing the same. 

Sent from my iPad

On 2013-09-14, at 6:08 AM, Samuel Pelletier  wrote:

> Hi,
> 
> After updating to JRebel 5.3.2 I no longer have the jRebel pane in launch 
> config in my WO projects. It is still there for regular java projects.
> 
> I run Eclipse 3.8.2 with the current WOLips 3.7 version.
> 
> Anyone have success or problem with a similar config?
> 
> If you run JRebel 5.3.1, copy your eclipse folder before updating just in 
> case…
> 
> 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/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

Re: Status Update - Learning The Wonders Book

2013-09-11 Thread David Holt
Thanks Markus!

David

On 2013-09-11, at 2:42 AM, Markus Ruggiero  wrote:

> As you all know things sometimes rush and sometimes don't. It took a lot more 
> effort than anticipated to finalize formatting and preparing a print ready 
> PDF (hey, I am a programmer, not a pre-print document juggler), but now 
> everything is finally ready. 
> 
> In the mean time you can download the first 50 pages of the book including 
> cover art, full table of contents, and chapters 1 to 3 covering the complete 
> set-up of the development environment on Mac OS X and Microsoft Windows from 
> http://learningthewonders.com (I replaced the former getting started document 
> by the real thing)
> 
> Have fun
> ---markus---
> 
> 
> 
> Markus Ruggiero
> mailingli...@kataputt.com
> Check out the new book about Project Wonder and WebObjects on 
> http://learningthewonders.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/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

Re: ERAttachment and custom filesystemPath

2013-09-10 Thread David Holt
Hi Jürgen,

I would look at the {pk} path template and see if you can easily customize it 
to display a different attribute.

${pk}
Replaced by the primary key of the ERAttachment object.

David


On 2013-09-09, at 12:44 PM, Jürgen Tabert  wrote:

> Hi,
> 
> Is it possible to use a custom filesystemPath instead of the default path 
> templates?
> For instance an attribute of an entity.
> 
> thanks,
> 
> Jürgen
> 
> ___
> Do not post admin requests to the list. They will 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

Re: Anyone using Kepler?

2013-09-06 Thread David Holt
3.8 is fine too.

David


On 2013-09-06, at 9:58 AM, Ken Anderson  wrote:

> Hugi,
> 
> Personally, I'd stick with 3.7.  While I volunteered to look deeper into 
> WOLips and 4.3 at WOWODC, I have not had the time.  Hopefully I'll be able to 
> dig deeper soon!
> 
> Ken
> 
> On Sep 6, 2013, at 12:40 PM, 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
>> 
>> // Hugi Þórðarson
>> // Góður kóði
>> // 895-6688 / 561-0896
>> 
>> 
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will 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/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

recreated bin folders are empty

2013-09-06 Thread David Holt
Hi all,

I needed to trash my bin folder from a project this week and when Eclipse 
recreated the folder, it was empty.

Does anyone know where I start looking to fix this?

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

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

Re: JavaMonitor stop not working

2013-09-06 Thread David Holt
I have seen this for several apps using the non-wonder JavaMonitor.

I was hoping moving to Wonder JavaMonitor would solve the problem.


On 2013-09-06, at 1:54 PM, Ramsey Gurley  wrote:

> 
> On Sep 6, 2013, at 1:44 PM, Ramsey Gurley wrote:
> 
>> Is anyone else experiencing this? I can't get apps to stop through 
>> JavaMonitor. The only way to stop them is to kill them from the command 
>> line. I've tried stopping through the interface and using
>> 
>> /cgi-bin/WebObjects/JavaMonitor.woa/admin/stop?type=all&pw=password
>> 
>> The second gives me an OK response, but nothing stops.
>> 
>> Ramsey
> 
> And if I bounce an app, the new instance starts, but the old instance never 
> stops.
> 
> 
> 
> ___
> Do not post admin requests to the list. They will 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

Re: recreated bin folders are empty

2013-09-06 Thread David Holt
New workspace fixed it.

yay

David

On 2013-09-06, at 9:47 AM, David Holt  wrote:

> Hi all,
> 
> I needed to trash my bin folder from a project this week and when Eclipse 
> recreated the folder, it was empty.
> 
> Does anyone know where I start looking to fix this?
> 
> 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/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

Re: D2W Question

2013-09-05 Thread David Holt
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 David Holt
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-04 Thread David Holt
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

Re: @Override of EO?

2013-08-02 Thread David Holt
I always model the ERAttachment as an entity, then have the relationship to 
ERAttachment from there.

Document -> ERAttachment

This gives you an opportunity to add additional metadata about the uploaded 
file if you wish.

Oh yes and add some nice BL :-)


On 2013-08-02, at 11:48 AM, Jesse Tayler  wrote:

> Thanks
> 
> For some reason, the poster is just an ERAttachment, but I suppose I should 
> just generate a class for it, in whatever case — 
> 
> 
> 
> 
> On Aug 2, 2013, at 2:43 PM, John Huss  wrote:
> 
>> You can override didInsert in your Poster EO class.
>> 
>> 
>> On Fri, Aug 2, 2013 at 1:39 PM, Jesse Tayler  wrote:
>> 
>> it likely should be another way entirely, but I don’t think the primary key 
>> would be already set at that time unless I saved changes during the 
>> relationship setter which might be both dangerous and obtuse.
>> 
>> 
>> 
>> On Aug 2, 2013, at 2:25 PM, Theodore Petrosky  wrote:
>> 
>> > the awake method may be better, but shouldn't this be
>> >
>> > but you would have to override the original signature.
>> >
>> > public void setPoster(com.something.Poster value) {
>> > NSLog.out.appendln("  com.something.Poster this is the override " + 
>> > value);
>> > takeStoredValueForKey(value, _Poster.POSTER_KEY);
>> > }
>> >
>> > I just played with this and it works. But I'm willing to bet there is a 
>> > good reason (that I don't know) not to do it.
>> >
>> > Ted
>> >
>> > On Aug 2, 2013, at 1:21 PM, Jesse Tayler  wrote:
>> >
>> >>
>> >> I have an override of a normal EO setter, but for some reason, it isn’t 
>> >> called but the value does get updated
>> >>
>> >> I really just want to fire off a unix process once a new posterId has 
>> >> been set, so maybe there’s a smarter way but I thought this would be 
>> >> reliably called once and only after there’s a known primary key id for 
>> >> that poster (ERAttachment)
>> >>
>> >> Any thoughts on that?
>> >>
>> >>
>> >>@Override
>> >>public void setPosterId(Integer value) {
>> >>
>> >>
>> >>
>> >>
>> >> ___
>> >> Do not post admin requests to the list. They will 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/johnthuss%40gmail.com
>> 
>> This email sent to johnth...@gmail.com
>> 
>> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> 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

Re: remove display titles from ermodernlook?

2013-07-26 Thread David Holt
Sure.

propertyKey = 'blah" => displayNameForProperty = ""

or in your localizable strings put 

"PropertyKey.blah" = ""


On 2013-07-26, at 9:13 AM, Jesse Tayler  wrote:

> 
> is there a handy d2w rule to remove the Property Display Title so there’s 
> just the property value?
> 
> 
> 
> ___
> Do not post admin requests to the list. They will 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

Re: mysql access exception after a long time

2013-07-19 Thread David Holt

On 2013-07-19, at 2:16 PM, Ramsey Gurley  wrote:

> 
> On Jul 19, 2013, at 7:00 AM, Minh Thao Hoang wrote:
> 
>> This is a well known bug in MySQL driver. It happens after 8 hours of being 
>> idle.  Try not to use the driver 's default connection pool,
> 
> I should add this to my "Do you really want to use MySQL?" list.
> 
>> use some altetnatives such as C3po.
> 
> Oh, now imagine that paired with R2D2W

You're going to make my son want to learn WO thinking it's something else 
entirely.

David


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

Re: create new to-many objects in d2w

2013-07-18 Thread David Holt
Hi Ted,

This is how I handled it. It isn't pretty and it was early days in my 
experience with D2W, so there may be a better way…

David

Rule

101 : ((pageConfiguration = 'EditRelationshipEmbeddedAnswer' and 
parentPageConfiguration = 'EditTestItem') => branchChoices = 
("_scoreOptionInline") [com.webobjects.directtoweb.Assignment]

BranchDelegate  

/**
   * Score the option
   * 
   * @return
   */
  public WOComponent _scoreOptionInline(WOComponent sender) {
WOComponent nextPage;
// Get the objects we need
PossibleAnswer possibleAnswer = (PossibleAnswer) object(sender);

// Create a new editing context and setup validation
EOEditingContext newEc = 
ERXEC.newEditingContext(possibleAnswer.editingContext());
newEc.revert();
Person currentPerson = Person.currentUser(newEc);
// Choose the option to be scored
PossibleAnswer newAnswer = possibleAnswer.localInstanceIn(newEc);

// Create  scoring object
System.out.println("What is the value of the score? " + newAnswer.score() + 
" for " + newAnswer.answerDescription());
EOQualifier qual = 
Score.PERSON.eq(currentPerson).and(Score.ANSWER.eq(newAnswer));
if (newAnswer.aScore() != null) {
  System.out.println("We're populating an existing object " + 
newAnswer.score());
  nextPage = 
session(sender).navController().createScore(Score.fetchScore(newEc, qual)); 
 See method in NavController below
} else {
  Score newScore = Score.createScore(newEc, currentPerson, newAnswer);
  if (newAnswer instanceof ERXGenericRecord) {
((ERXGenericRecord) newAnswer).setValidatedWhenNested(false);
  }
  System.out.println("We're creating a new object " + newAnswer.score());
  nextPage = session(sender).navController().createaScoreScore(newScore);
}

return nextPage;
  }


NavigationController

  public WOComponent createScore(Score aScore) {
EditPageInterface newEditPage = 
D2W.factory().editPageForEntityNamed(Score.ENTITY_NAME, session());
newEditPage.setObject(aScore);
newEditPage.setNextPageDelegate(new SaveBeforeReturning (
// return to current page after saving new score
session().context().page()));
WOComponent nextPage = (WOComponent) newEditPage;
return nextPage;
  }

  public class SaveBeforeReturning implements NextPageDelegate {

public SaveBeforeReturning(WOComponent afterSaving) {
  // remember where to go after the save
  theRealNextPage = afterSaving;
}

private WOComponent theRealNextPage;

// when the person hits save on the page
// this method will be called

public WOComponent nextPage(WOComponent sender) {
  // set up for branching based on whether the cancel button, or the save
  // button was pressed
  D2WPage page = (D2WPage) theRealNextPage;
  EOEnterpriseObject eo = page.object();
  // a null editing context means that the cancel button was pressed
  if (eo.editingContext() == null) {
return theRealNextPage;
  }
  // otherwise, the save button was pressed
  else {
eo.editingContext().saveChanges();
return theRealNextPage;
  }
}
  }


On 2013-07-18, at 8:29 AM, Theodore Petrosky  wrote:

> David,
> 
> How did you do this? I have been mucking around, but have not found a 
> solution.
> 
> playing with some Logs in the submitAction() method makes me realize that the 
> object need to be entered into the EC. I will keep playing.
> 
> Ted
> 
> 
> On Jul 12, 2013, at 12:27 PM, David Holt  wrote:
> 
>> The trade-off is that if you save the parent EC form the related EC, you may 
>> save an edit on the parent that the user is not expecting. In most cases I 
>> agree with you and I have implemented a true save on the related component 
>> to reduce the user confusion about the "double save".
>> 
>> 
>> On 2013-07-12, at 8:33 AM, Theodore Petrosky  wrote:
>> 
>>> when I create a new to-many object there is a button with a  label 'Save'. 
>>> I understood that this new object was inserted into the EC and I had to 
>>> click the save button at the bottom of my parent EO to actually save the 
>>> related object.
>>> 
>>> but of course there is a problem. If I add an object and immediately click 
>>> its delete button, my app throws a hissy-fit because the object can not be 
>>> deleted as it is not saved in the first place.
>>> 
>>> So the question is. when I create a new object, and click save, shouldn't 
>>> d2w do just that? saveChanges() on the EC?
>>> 
>>> this is the saveButton's action (from ERMODWizardCreationPage).
>>> /**
>>>  * Performs submit action. Overridden to reset the nested

Re: create new to-many objects in d2w

2013-07-12 Thread David Holt
The trade-off is that if you save the parent EC form the related EC, you may 
save an edit on the parent that the user is not expecting. In most cases I 
agree with you and I have implemented a true save on the related component to 
reduce the user confusion about the "double save".


On 2013-07-12, at 8:33 AM, Theodore Petrosky  wrote:

> when I create a new to-many object there is a button with a  label 'Save'. I 
> understood that this new object was inserted into the EC and I had to click 
> the save button at the bottom of my parent EO to actually save the related 
> object.
> 
> but of course there is a problem. If I add an object and immediately click 
> its delete button, my app throws a hissy-fit because the object can not be 
> deleted as it is not saved in the first place.
> 
> So the question is. when I create a new object, and click save, shouldn't d2w 
> do just that? saveChanges() on the EC?
> 
> this is the saveButton's action (from ERMODWizardCreationPage).
> /**
>  * Performs submit action. Overridden to reset the nested validation setting 
> on the
>  * object.
>  */
>  // FIXME - Is this needed here? davidleber
>  @Override
>  public WOComponent submitAction() throws Throwable {
>   WOComponent result = super.submitAction();
>   if (object() instanceof ERXGenericRecord) {
>  ((ERXGenericRecord)object()).setValidatedWhenNested(true);
>   }
>  return result;
> }
> 
> I keep following back the super.submitAction() to see what it does but there 
> is no implied saveChanges() anywhere that I can find.
> 
> 
> ___
> Do not post admin requests to the list. They will 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

Re: WOWODC 2014

2013-07-10 Thread David Holt
Any of those dates should work for me. I think I prefer April too.

David

On 2013-07-10, at 6:14 AM, prob...@macti.ca wrote:

> Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, etc. 
> But we were only 60 guys, 15 less than in 2012 and 2011... I known that some 
> regulars couldn't make it because of the chosen dates so looks like we should 
> return to the first week-end of July or late August like we did in the past.
> 
> We are also looking at doing in April since it might be cheaper for flights 
> and the sleeping rooms (no worry, weather is not that bad in April). So 
> tentative dates are:
> 
> - April 5/6/7 (Easter is two weeks after, so it's not a problem)
> - June 28/29/30
> - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools in 
> Quebec usually starts on August 25 or 26, so I can't do it on August 25)
> 
> Before we make a decision, I would like to known if those dates are a problem 
> for many of you, like spring break or if it's a period where a lot of people 
> in your country goes on vacation.
> ___
> Do not post admin requests to the list. They will 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

Re: to-many display ?? in d2w

2013-07-08 Thread David Holt
The built in components don't allow you to sort as far as I know.

You may want to list your project steps instead and group by your project.


On 2013-07-08, at 1:50 PM, Theodore Petrosky  wrote:

> I am not explaining this well so let's see,
> 
> I don't want to create a compound property.  I want to display the 
> propertyKeys of the relationship inline. there may be 3 or 50 of these 'rows'.
> 
> so project1 has 25 steps, each step has a description, status, and dueDate.
> 
> I want to see:
> 
> header row step desc   step status  
> step due dateproject team
> project1Title   p1step1Descriptionp1step1Status p1Step1dueDate
>   project1teamName
>  p1step2Descriptionp1step2Status 
> p1Step2dueDate
>  p1step3Descriptionp1step3Status 
> p1Step3dueDate
>  p1step4Descriptionp1step4Status 
> p1Step4dueDate
> 
> project2Title   p2step1Descriptionp2step1Status p2Step1dueDate
>   project2teamName
>  p2step2Descriptionp2step2Status
> p2Step2dueDate
>  p2step3Descriptionp2step3Status 
> p2Step3dueDate
>  p2step4Descriptionp2step4Status 
> p2Step4dueDate
> 
> 
> so there is an overall table and an inner table with the steps.
> 
> 161 : pageConfiguration like 'List*Project' => displayPropertyKeys = 
> ("projectDescription", "projectSteps", "projectStatus") 
> [com.webobjects.directtoweb.Assignment]
> 
> notice the middle key is projectSteps there is my problem that array of steps.
> 
> at one point I created a method  (a compound property)  that manufactured the 
> HTML of a table with at data in the Project EO. This worked however there is 
> no way to add the column headers in the outside table. Hence my work at 
> making this work with rules and binding.
> 
> 161 : pageConfiguration like 'List*Project' => displayPropertyKeys = 
> ("projectDescription", "projectSteps.stepDescription", 
> "projectSteps.stepStatus", "projectSteps.stepDueDate", "projectStatus") 
> [com.webobjects.directtoweb.Assignment]
> 
> but what happens when it sorts?
> 
> 
> 
> On Jul 8, 2013, at 4:12 PM, David Holt  wrote:
> 
>> Hi Ted,
>> 
>> Just create the compound property in your business logic.
>> 
>>  public String fullName() {
>>  return this.firstName() + " " + this.lastName();
>>  }
>> 
>> 
>> Then your rules will be something like:
>> 
>> 100 : smartRelationship.destinationEntity.name = 'Person' => 
>> keyWhenRelationship = "fullName" [com.webobjects.directtoweb.Assignment]
>> 100 : (pageConfiguration like '*List*Team*' and propertyKey = 'people') => 
>> componentName = "ERD2WDisplayToManyTable" 
>> [com.webobjects.directtoweb.Assignment]
>> 100 : (pageConfiguration like '*List* Team*' and propertyKey = 'people') => 
>> numCols = "1" [com.webobjects.directtoweb.Assignment]
>> 
>> David
>> 
>> On 2013-07-08, at 12:10 PM, Theodore Petrosky  wrote:
>> 
>>> So now I understand that ERD2WDisplayList is the wrong choice. I am a 
>>> little slow.
>>> 
>>> So I tried this:
>>> 
>>> 150 : pageConfiguration like 'List*Project' => displayPropertyKeys = 
>>> ("projectDescription", "projectSteps", "timing") 
>>> [com.webobjects.directtoweb.Assignment]
>>> 150 : (pageConfiguration like 'List*Project' and propertyKey = 
>>> 'projectSteps') => componentName = "ERD2WDisplayToManyUnorderedList" 
>>> [com.webobjects.directtoweb.Assignment]
>>> 150 : (pageConfiguration like 'List*Project' and propertyKey = 
>>> 'projectSteps') => keyWhenRelationship = "stepDescription" 
>>> [com.webobjects.directtoweb.Assignment]
>>> 
>>> I can get an unordered list as my to-many but,  this give me only one 
>>> propertyKey from the relationship.
>>> 
>>> so now I am into this one:
>>> 
>>> ERD2WDisplayToManyCustom
>>> 
>>> I need to pass in the to-many projectSteps and present the appropriate keys.
>>> 
>>> I guess I am hoping someone will see where I am stepping on myself.
>>> 
>&

Re: to-many display ?? in d2w

2013-07-08 Thread David Holt
Hi Ted,

Just create the compound property in your business logic.

public String fullName() {
return this.firstName() + " " + this.lastName();
}


Then your rules will be something like:

100 : smartRelationship.destinationEntity.name = 'Person' => 
keyWhenRelationship = "fullName" [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration like '*List*Team*' and propertyKey = 'people') => 
componentName = "ERD2WDisplayToManyTable" 
[com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration like '*List* Team*' and propertyKey = 'people') => 
numCols = "1" [com.webobjects.directtoweb.Assignment]

David

On 2013-07-08, at 12:10 PM, Theodore Petrosky  wrote:

> So now I understand that ERD2WDisplayList is the wrong choice. I am a little 
> slow.
> 
> So I tried this:
> 
> 150 : pageConfiguration like 'List*Project' => displayPropertyKeys = 
> ("projectDescription", "projectSteps", "timing") 
> [com.webobjects.directtoweb.Assignment]
> 150 : (pageConfiguration like 'List*Project' and propertyKey = 
> 'projectSteps') => componentName = "ERD2WDisplayToManyUnorderedList" 
> [com.webobjects.directtoweb.Assignment]
> 150 : (pageConfiguration like 'List*Project' and propertyKey = 
> 'projectSteps') => keyWhenRelationship = "stepDescription" 
> [com.webobjects.directtoweb.Assignment]
> 
> I can get an unordered list as my to-many but,  this give me only one 
> propertyKey from the relationship.
> 
> so now I am into this one:
> 
> ERD2WDisplayToManyCustom
> 
> I need to pass in the to-many projectSteps and present the appropriate keys.
> 
> I guess I am hoping someone will see where I am stepping on myself.
> 
> Ted
> 
> 
> On Jul 8, 2013, at 1:42 PM, Theodore Petrosky  wrote:
> 
>> so in my d2w app, I have an entity  'project' <=>> projectSteps
>> projectStep has stepDescription, stepStatus, stepDueDate
>> 
>> I want to display the ListProject with:
>> 
>> projectDescription , projectSteps.stepDescription, projectSteps.stepStatus
>> 
>> I want to see:
>> 
>> my project Description  step1 status1
>> step2 status2
>> step3 status3
>> 
>> 
>> of course projectSteps.stepDescription is an array of strings as is 
>> projectSteps.stepStatus
>> 
>> so I thought that I would read the wonder docs and find a component that 
>> should fit. I found:
>> 
>> ERD2WDisplayList
>> 
>> "Used to display a an NSArray of the form "A, B and C", useful for toMany 
>> relationships or propertyKeys that return arrays."
>> 
>> well my propertyKey  "projectSteps.stepDescription" returns an array of 
>> strings. 
>> 
>> but I guess I don't get how to wire this thing in. could someone point me in 
>> the right direction.
>> 
>> 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/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/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

Re: WebObjects Community Needs YOUR Help

2013-06-11 Thread David Holt
The direct link to sign up is here:

http://store.wocommunity.org/collections/membership

David


On 2013-06-10, at 10:37 PM, Chuck Hill  wrote:

> Hi Everyone,
> 
> Sadly, we have 15 less people coming to WOWODC this year.   That is a sad 
> situation as we (read Pascal) have tried to fix all of the issues that people 
> have reported over the years.  The end result is that WOWODC 2013 is going to 
> lose money.  The only bright spot is that the event manager was able to 
> negotiate with the hotel to change the contract which saved us from a more 
> serious loss.
> 
> If you are yet a paid member of the WOCommunity Association, please consider 
> becoming one. To pay all expenses (WOWODC, server hosting, etc.) up to the 
> end of the year, we need another 15 paid members. EVERYONE benefits from the 
> WOWODC content and the wiki so please help us to help you.
> 
> For your information, the wiki has an average of 2,756 visits per month, and 
> we get more than 1,100 downloads of the podcasts/recordings every month!
> 
> For all of you who have told me "I owe you a beer" over the years, here is 
> your chance to do something that really matters and benefits us all (and is 
> better for my liver too).
> 
> Thank you for considering it,
> 
> 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 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/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

Re: build directory issue -

2013-06-09 Thread David Holt
It might be related to Bundleless builds...

Sent from my iPad

On 2013-06-09, at 5:30 PM, Jesse Tayler  wrote:

> 
> I'm having a spot of unexpected trouble some kind soul might help me with --
> 
> I have noticed that I cannot readily update my d2w model --  a change in 
> displaypropertykeys or whatever didn't show up while testing the app and I've 
> traced that problem back a bit -
> 
> I've noticed the build/ directory has the files which the app seems to be 
> using while I launch from Eclipse, and I do NOT notice the changes I save to 
> the user.d2wmodel to be propagated there?
> 
> Am I confused or did I somehow remove the user.d2wmodel from a path or 
> something? It's there in my Resources as it has been.
> 
> Anyone have suggestions how to track this problem back to some root cause, or 
> otherwise figure what's going on?
> 
> It's like changes just don't take --
> 
> 
> 
> ___
> Do not post admin requests to the list. They will 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


Re: malformed bundle version number in deployment with Java 1.6

2013-06-07 Thread David Holt
A quick search on the list reveals:

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

So thanks, Philippe too :-)


On 2013-06-07, at 12:03 PM, Johnny Miller  wrote:

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

Re: malformed bundle version number in deployment with Java 1.6

2013-06-07 Thread David Holt
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 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 David Holt
Wow, that certainly looks right. I won't be able to test until tomorrow. Thanks 
for your help.

Sent from my iPad

On 2013-06-06, at 4:43 PM, Johnny Miller  wrote:

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

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

malformed bundle version number in deployment with Java 1.6

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

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

Re: ERXPartialEntity doesn't return correct values for classPropertyNames method

2013-05-24 Thread David Holt
Class properties are determined by the diamonds.

Sent from my iPad

On 2013-05-24, at 6:13 PM, Jesse Tayler  wrote:

> 
> you wanted Person.class).classPropertyNames() or Partial_ExployeePerson ?
> 
> also, the little "o" there next to the lock? that says "I'm a class 
> property", no? so, I'd expect to see departmentId visible on that screen I 
> think, just not sure if you are asking the right class for the right thing or 
> if I misunderstand completely.
> 
> 
> 
> On May 24, 2013, at 7:29 PM, David Holt  wrote:
> 
>> Just a quick follow-up:
>> 
>> As an example the output for the ERXPartialsExampleApp in Wonder is included 
>> below:
>> 
>> log.info("Class properties for ERXPartialEntity " + 
>> EOUtilities.entityForClass(ERXEC.newEditingContext(), 
>> Person.class).classPropertyNames());
>> 
>> May 24 16:24:50 ERXPartialsExampleApp[53778] INFO  
>> er.extensions.appserver.ERXApplication  - Class properties for 
>> ERXPartialEntity ("firstName", "genderType", "lastName", "lastLoginDate", 
>> "password", "username", "departmentID", "employeeNumber", "employeeTypeID", 
>> "salary", "department", "employeeType") !
>> 
>> 
>> Clearly the departmentID and employeeTypeID should not be in this list of 
>> classPropertyNames:
>> 
>> 
>> 
>> 
>> 
>> On 2013-05-24, at 4:20 PM, David Holt  wrote:
>> 
>>> Hi all (and especially David Aspinall or Paul Hoadly),
>>> 
>>> I've just discovered that when you call classPropertyNames() on an Entity 
>>> that has a partial associated with it, the base classPropertyNames are 
>>> returned correctly, but ALL of the properties are returned for the partial 
>>> class. This applies to both attributes and relationships. Does anyone know 
>>> why that might be?
>>> 
>>> Here is what I used to test it in my Application:
>>> 
>>> log.info("Class properties for ERXPartialEntity " + 
>>> EOUtilities.entityForClass(ERXEC.newEditingContext(), 
>>> Person.class).classPropertyNames());
>>> 
>>> 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/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


ERXPartialEntity doesn't return correct values for classPropertyNames method

2013-05-24 Thread David Holt
Hi all (and especially David Aspinall or Paul Hoadly),

I've just discovered that when you call classPropertyNames() on an Entity that 
has a partial associated with it, the base classPropertyNames are returned 
correctly, but ALL of the properties are returned for the partial class. This 
applies to both attributes and relationships. Does anyone know why that might 
be?

Here is what I used to test it in my Application:

log.info("Class properties for ERXPartialEntity " + 
EOUtilities.entityForClass(ERXEC.newEditingContext(), 
Person.class).classPropertyNames());

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

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


Re: Still Undecided about coming to WOWODC 2013?

2013-05-22 Thread David Holt

On 2013-05-21, at 5:16 PM, Dan Beatty  wrote:

> Hi Chuck,
> There may be stupidity preventing me from coming, but it may not be my own 
> stupidity.   Unfortunately, stupidity is like rain in the fact it pours on 
> the deserving and not typically with prejudice.  None the less, I could enjoy 
> seeing Chuck drink the alcohol from the fire hose, or what ever they have


tuyau d'incendie



> .
> 
> V/R,
> 
> Daniel Beatty, Ph.D.
> Computer Scientist, Detonation Sciences Branch
> Code 474300D
> 1 Administration Circle M/S 1109
> China Lake, CA 93555
> daniel.bea...@navy.mil
> (LandLine) (760)939-7097 
> (iPhone) (806)438-6620
> 
> 
> 
> On 5/21/13 5:10 PM, "Pascal Robert"  wrote:
> 
> > Bah, he will be just like the other dudes in St-Denis or Crescent Street 
> > :-) Envoyé de mon iPhone Le 2013-05-21 à 20:09, "Jesse Tayler" 
> >  a écrit : > > the only reason I'm going is because, to 
> > my calculations, Chuck has to drink 114 beers and over 80 shots of bourbon 
> > which should be most excellent to watch live and in person. > > > On May 
> > 21, 
> > 2013, at 7:30 PM, Chuck Hill  wrote: > >> No 
> > Montreal for you! >> >> >> On 2013-05-21, at 4:04 PM, Lon Varscsak wrote: 
> > >> 
> > >>> Now you're banning us from Montreal in the future too?! ;) >>> >>> >>> 
> > On Tue, May 21, 2013 at 3:48 PM, Pascal Robert  wrote: 
> > >>> 
> > And last time to enjoy Montreal since I won't organize it next year (mainly 
> > because of my new job). >>>  Reasons to Come to WOWODC:   1. 
> > Buy 
> > Chuck that beer that you owe him   2. Hang out with people that 
> > actually understand what you are talking about   3. Buy Chuck that 
> > Bourbon that you owe him   4. Learn useful things that you will 
> > learn 
> > in the year ahead   5. Experience the coolest city in North 
> > America   6. Much better WiFi: WOWODC will be held at a venue where 
> > they guarantee 10 Mbps and can easily support more than 200 devices!  
> >  7. Better Management: This year we have a professional Event Manager 
> > managing everything (and keeping Pascal sane).   8. Learn about 
> > Cayenne as an Open Source alternative   9. If you don't come to 
> > WOWODC 2013 you are stupid!   10. 
> > http://www.restaurantaupieddecochon.ca/ and many, many more    
> > Book.  Your.  Trip.    See you there!  Chuck   
> >   On 2013-05-21, at 5:08 AM, Pascal Robert wrote:  > 
> > Hi, > > If you are coming to WOWODC 2013, don't forget that the 
> > cutoff date for the room block at the Hilton ends tomorrow (May 22th), so 
> > make 
> > sure you do your reservation today or tomorrow! > > Thanks. > 
> > ___ > Do not post admin 
> > requests to the list. They will be ignored. > Webobjects-dev mailing 
> > list  
> > (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your 
> > Subscription: > 
> > https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.
> > net > > This email sent to ch...@global-village.net   
> > --  Chuck Hill  Executive Managing Partner, VP Development and 
> > Technical Services   Practical WebObjects - for developers who want 
> > to increase their overall knowledge of WebObjects or who are trying to 
> > solve 
> > specific problems.  
> > http://www.global-village.net/gvc/practical_webobjects   Global 
> > Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> > Companies in B.C!  Global Village Consulting ranks 76th in 24th annual 
> > PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT 
> > Magazine!            
> >   ___  Do not post 
> > admin requests to the list. They will be ignored.  Webobjects-dev 
> > mailing 
> > list  (Webobjects-dev@lists.apple.com)  Help/Unsubscribe/Update 
> > your 
> > Subscription:  
> > https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca 
> >  
> >  This email sent to prob...@macti.ca >>> >>> >>> 
> > ___ >>> Do not post admin 
> > requests 
> > to the list. They will be ignored. >>> Webobjects-dev mailing list  
> > (Webobjects-dev@lists.apple.com) >>> Help/Unsubscribe/Update your 
> > Subscription: >>> 
> > https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.co
> > m >>> >>> This email sent to lon.varsc...@gmail.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 >

Re: D2W Design Question

2013-05-02 Thread David Holt
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 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
>>> 
>>> ___

Re: D2W Design Question

2013-05-02 Thread David Holt
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


Re: Ponder changes

2013-04-12 Thread David Holt
Brilliant!

:-)

On 2013-04-12, at 12:02 PM, Ramsey Gurley  wrote:

> Since I know my presentation at WOWODC 2013 is hotly anticipated by all, I 
> thought I would summarize recent changes to ponder for everyone
> 
> http://starlogs.net/#nullterminated/ponder
> 
> May the force be with you :D (Slow list day? Slow list day.)
> 
> Ramsey
> 
> 
> ___
> Do not post admin requests to the list. They will 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


Re: Jasper Report question

2013-04-11 Thread David Holt
Or conditionally display the report button based on a non-null result set.

David


On 2013-04-11, at 11:28 AM, Kieran Kelleher  wrote:

> Hi Theodore
> 
> I have not needed to use Jasper in a long time. Maybe there is some boolean 
> expression you can create in the report to show some "No Records Found" 
> content or something like that.
> 
> Sorry I don't have an answer OTOH for you.
> 
> Kieran
> 
> On Apr 11, 2013, at 2:18 PM, Theodore Petrosky  wrote:
> 
>> Kieran,
>> 
>> I am using the ERJasperReports framework in a project an I am running into a 
>> little problem. If the fetchSpec returns an empty set, the report fails to 
>> print anything. Or rather it prints an empty page. not even the label text 
>> prints.
>> 
>> I am trying to come up with a solution that isn't too convoluted. Have you 
>> seen this? It surprised me that the resultant page was totally blank even 
>> missing the static text.
>> 
>> I will keep plugging and see if there is a simple solution. (If you know of 
>> one, please pass it on!)
>> 
>> 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/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


Re: radio buttons d2w

2013-04-10 Thread David Holt
I think you can do it by making the relationship mandatory. 

Sent from my iPad

On 2013-04-10, at 7:33 AM, Ramsey Gurley  wrote:

> There isn't a way to do that with the existing component. It was specifically 
> set up that way because automatically selecting a field leads to users using 
> that selection accidentally. By forcing them to select the field, there are 
> fewer mistakes. If they leave "No Selection" then they get a validation error 
> drawing their attention to the field they overlooked.
> 
> You could subclass the ERD2WEditToOneRelationship and change the bindings if 
> you like, but you'll probably run into the same issue in form usability.
> 
> Ramsey
> 
> On Apr 10, 2013, at 7:10 AM, Gabor wrote:
> 
>> Hi guys, 
>> 
>> I got a little problem with D2W. I have a selection for the gender(Male, 
>> Female) when I create a new user.
>> I want this selection displayed with radio buttons. And D2W displays always 
>> three possible selections.
>> "No Selection" , "Male" and "Female". Is there a way to remove "No 
>> Selection" ? I only want "Male" and "Female".
>> 
>> Gabor Raz
>> ___
>> Do not post admin requests to the list. They will 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/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


Re: Is it safe to use NSDictionary as the objects in a (WO/ERX)DisplayGroup?

2013-04-09 Thread David Holt
No code. What's confusing about that?

Sent from my iPad

On 2013-04-09, at 5:50 PM, Chuck Hill  wrote:

> 
> On 2013-04-09, at 5:48 PM, Ramsey Gurley wrote:
> 
>> displayGroup.setObjectArray()?
>> 
>> Also, NSDictionaries? Gross. It sounds like your gut is telling you 
>> something. Listen to it. Java has Objects and Interfaces. Use them.
>> 
>> I despise looking at Java code when all I see is an array of dictionaries 
>> which holds more arrays which have yet more dictionaries full of arrays and 
>> so on. Dictionaries are opaque. You don't know what's in them. Magic keys, 
>> magic values, and zero javadoc to explain any of it. In the end, it results 
>> in the least maintainable and most confusing code imaginable.
> 
> aka Direct To Web  :-P
> 
> 
> 
>> 
>> Ramsey
>> 
>> On Apr 9, 2013, at 5:10 PM, Paul Hoadley wrote:
>> 
>>> Hello,
>>> 
>>> I needed to display the content of an array of NSDictionary objects, and 
>>> without thinking I just loaded them into an ERXDisplayGroup via an 
>>> EOArrayDataSource:
>>> 
>>> EODataSource ds = new EOArrayDataSource(EOClassDescription
>>>.classDescriptionForClass(NSDictionary.class), editingContext());
>>> 
>>> Two observations followed:
>>> 
>>> 1.  This works.  I guess that pretty much answers my question, but are 
>>> there any undesirable side-effects?  (I probably shouldn't be specifying 
>>> the component's EOEditingContext up there.  I should change that to 
>>> ERXEC.newEditingContext().)
>>> 
>>> 2.  Not surprisingly the code throws an exception at runtime:
>>> 
>>> ERROR ERXEntityClassDescription  - Unable to register descriptions for 
>>> class: com.webobjects.foundation.NSDictionary
>>> java.lang.RuntimeException: Dummy
>>> 
>>> Can I safely catch and/or ignore that?
>>> 
>>> In short, I'd like to use all the nice ERXDisplayGroup machinery, but the 
>>> objects are NSDictionaries.  Am I likely to regret this in the future?
>>> 
>>> 
>>> -- 
>>> 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/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/chill%40global-village.net
>> 
>> This email sent to ch...@global-village.net
> 
> -- 
> Chuck Hill 
> Executive Managing Partner, VP Development and Technical Services
> 
> Practical WebObjects - for developers who want to increase their overall 
> knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/gvc/practical_webobjects
> 
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> Companies in B.C! 
> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
> Canada’s Fastest-Growing Companies by PROFIT Magazine!
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/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

Re: Weird problem with D2W rules

2013-03-29 Thread David Holt
Are you using the delayed assignment?

Sent from my iPad

On 2013-03-29, at 12:40 PM, Freddie Tilley  
wrote:

> Hi, 
> 
> I'm having a strange issue with a D2w rule.
> 
> the left hand side is as follows:
> 
> (task = 'edit' and entity.name = 'AMEvent' and object.eventType = '1') with a 
> right hand side key of displayPropertyKeys
> 
> The thing is is that the object.eventType will get called on objects that 
> aren't even AMEvent objects, which will then call the
> handleQueryWithUnboundKey of the enterprise object. Even when deleting an 
> object in a list view it throws a java.lang.NullPointerException in 
> EOUtilities.java when handleQueryWithUnboundKey is called on the deleted 
> object.
> 
> When debugging the d2w rule it shows the object.eventType as a dependancy 
> even on totally unrelated pages.
> 
> DEBUG er.directtoweb.rules.displayPropertyKeys.cache (ListAMGroup) - CACHE: 
> displayPropertyKeys for propertyKey: null depends on: ("pageConfiguration", 
> "task", "entity", "object.eventType", "propertyKey")
> 
> Even disabling the rule in RuleModeler will still still call object.eventType 
> on the displayPropertyKeys rhs key
> 
> CACHE: displayPropertyKeys for propertyKey: null depends on: 
> ("pageConfiguration", "task", "entity", "RuleIsDisabled", "object.eventType", 
> "propertyKey")
> 
> Only deleting the rule will prevent the action from being called.
> 
> The idea of the rule is to show certain properties for a certain event type. 
> Any idea how to solve this?
> 
> -- 
> Freddie Tilley
> ___
> Do not post admin requests to the list. They will 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


Re: D2W / repetitionComponentName Question

2013-03-14 Thread David Holt
) - ** 
> fire :  0 : (smartAttribute.width > (java.math.BigDecimal)'0') => 
> maxLength = smartAttribute.width 
> [er.directtoweb.assignments.ERDKeyValueAssignment] (1)
> Mar 14 13:13:03 KMIWebCMSApp_1[5570] DEBUG NSLog (EditKMIPrincipal) - ** 
> fire :100 : ((task = 'edit') and (entity.name = 'KMIPrincipal') and 
> (propertyKey = 'userName')) => readOnly = 1 
> [com.webobjects.directtoweb.BooleanAssignment] (13)
> Mar 14 13:13:03 KMIWebCMSApp_1[5570] DEBUG NSLog (EditKMIPrincipal) - ** 
> fire : 20 : (look = 'KMINativeLook') => elementNameForBottomActionBlock = 
> div (20001)
> Mar 14 13:13:03 KMIWebCMSApp_1[5570] DEBUG NSLog (EditKMIPrincipal) - ** 
> fire : 20 : (look = 'KMINativeLook') => classForBottomActionBlock = 
> form-actions (20001)
> Mar 14 13:13:03 KMIWebCMSApp_1[5570] DEBUG NSLog (EditKMIPrincipal) - ** 
> fire : 10 : *true* => saveButtonLabel = ERD2W.saveButtonLabel 
> [er.directtoweb.assignments.delayed.ERDDelayedLocalizedAssignment] (1)
> Mar 14 13:13:03 KMIWebCMSApp_1[5570] DEBUG NSLog (EditKMIPrincipal) - ** 
> fire : 10 : *true* => cancelButtonLabel = ERD2W.cancelButtonLabel 
> [er.directtoweb.assignments.delayed.ERDDelayedLocalizedAssignment] (1)
> 
> On Mar 14, 2013, at 12:00 PM, David Holt  wrote:
> 
>> 
>> On 2013-03-13, at 7:29 PM, Johnny Miller  wrote:
>> 
>>> Hi Ramsey,
>>> 
>>> Yeah, I have a rule like this:
>>> 
>>> 30 : look = 'KMINativeLook' => propertyNameComponentName = 
>>> "KMID2WPropertyName" [com.webobjects.directtoweb.Assignment],
>>> 
>>> KMID2WPropertyName subclasses ERD2WPropertyName and it's basically the same 
>>> thing except I removed the HTML I didn't need.
>>> 
>>> Is there a way to debug the rules if you are using embedded components?  
>> 
>> Does the flag "ERD2WTraceRuleFiringEnabled = true" not work?
>> 
>> http://wiki.wocommunity.org/display/documentation/The+D2W+Rule+System
>> 
>> 
>>> 
>>> Thanks again,
>>> 
>>> Johnny
>>> 
>>> 
>>> On Mar 13, 2013, at 4:01 PM, Ramsey Gurley  wrote:
>>> 
>>>> How are you setting propertyComponentName? I assume through rules, but if 
>>>> you are pushing the context, you're probably permacaching the value for 
>>>> your key. If not, debug your rule firings and see why it's choosing the 
>>>> cached value for your RHS.
>>>> 
>>>> Ramsey
>>>> 
>>>> On Mar 13, 2013, at 5:14 PM, Johnny Miller wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> I'm trying to do the following:
>>>>> 
>>>>> I have an inspect page and inside of that I have an inspect page 
>>>>> repetition.  That all works fine and it looks like the ERD2W equivalents.
>>>>> 
>>>>> In the inspect page repetition I want to have a switch component that 
>>>>> uses a rule to determine what kind of component to display i.e. if it is 
>>>>> a string put one kind of component, if it's an ERAttachment put another.
>>>>> 
>>>>> Now here is where the strange things start occurring.  I've defined my 
>>>>> own key "propertyComponentName".  For some odd reason whatever rule 
>>>>> resolves to in the first property is what it displays for every property?
>>>>> 
>>>>> And what is equally strange is that suppose they all resolve to the same 
>>>>> type of component so it doesn't matter... it will display the right 
>>>>> property value but the property value for key always resolves to whatever 
>>>>> the answer would be for the first property.
>>>>> 
>>>>> It's hard to describe so I created a couple of screenshots:
>>>>> 
>>>>> http://www.kahalawai.com/displaying-same-component.png // It always shows 
>>>>> the component for viewing an ERAttachment
>>>>> http://www.kahalawai.com/displaying-same-property-name.png // Gets the 
>>>>> property key right but the display name for property value wrong
>>>>> 
>>>>> One of my questions is can you just arbitrarily create keys or do you 
>>>>> need to register them somewhere?
>>>>> 
>>>>> Another Is localcontext and d2wcontext completely synonymous?
>>>>> 
>>>>> 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/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/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


Re: D2W / repetitionComponentName Question

2013-03-14 Thread David Holt

On 2013-03-13, at 7:29 PM, Johnny Miller  wrote:

> Hi Ramsey,
> 
> Yeah, I have a rule like this:
> 
> 30 : look = 'KMINativeLook' => propertyNameComponentName = 
> "KMID2WPropertyName" [com.webobjects.directtoweb.Assignment],
> 
> KMID2WPropertyName subclasses ERD2WPropertyName and it's basically the same 
> thing except I removed the HTML I didn't need.
> 
> Is there a way to debug the rules if you are using embedded components?  

Does the flag "ERD2WTraceRuleFiringEnabled = true" not work?

http://wiki.wocommunity.org/display/documentation/The+D2W+Rule+System


> 
> Thanks again,
> 
> Johnny
> 
> 
> On Mar 13, 2013, at 4:01 PM, Ramsey Gurley  wrote:
> 
>> How are you setting propertyComponentName? I assume through rules, but if 
>> you are pushing the context, you're probably permacaching the value for your 
>> key. If not, debug your rule firings and see why it's choosing the cached 
>> value for your RHS.
>> 
>> Ramsey
>> 
>> On Mar 13, 2013, at 5:14 PM, Johnny Miller wrote:
>> 
>>> Hi,
>>> 
>>> I'm trying to do the following:
>>> 
>>> I have an inspect page and inside of that I have an inspect page 
>>> repetition.  That all works fine and it looks like the ERD2W equivalents.
>>> 
>>> In the inspect page repetition I want to have a switch component that uses 
>>> a rule to determine what kind of component to display i.e. if it is a 
>>> string put one kind of component, if it's an ERAttachment put another.
>>> 
>>> Now here is where the strange things start occurring.  I've defined my own 
>>> key "propertyComponentName".  For some odd reason whatever rule resolves to 
>>> in the first property is what it displays for every property?
>>> 
>>> And what is equally strange is that suppose they all resolve to the same 
>>> type of component so it doesn't matter... it will display the right 
>>> property value but the property value for key always resolves to whatever 
>>> the answer would be for the first property.
>>> 
>>> It's hard to describe so I created a couple of screenshots:
>>> 
>>> http://www.kahalawai.com/displaying-same-component.png // It always shows 
>>> the component for viewing an ERAttachment
>>> http://www.kahalawai.com/displaying-same-property-name.png // Gets the 
>>> property key right but the display name for property value wrong
>>> 
>>> One of my questions is can you just arbitrarily create keys or do you need 
>>> to register them somewhere?
>>> 
>>> Another Is localcontext and d2wcontext completely synonymous?
>>> 
>>> 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/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/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


Re: D2W / repetitionComponentName Question

2013-03-13 Thread David Holt

On 2013-03-13, at 6:25 PM, Johnny Miller  wrote:

> Hi David,
> 
> Please see below.
> 
> On Mar 13, 2013, at 3:16 PM, David Holt  wrote:
> 
>> Hi Johnny,
>> 
>> On 2013-03-13, at 5:14 PM, Johnny Miller  wrote:
>> 
>>> Hi,
>>> 
>>> I'm trying to do the following:
>>> 
>>> I have an inspect page and inside of that I have an inspect page 
>>> repetition.  That all works fine and it looks like the ERD2W equivalents.
>>> 
>>> In the inspect page repetition I want to have a switch component that uses 
>>> a rule to determine what kind of component to display i.e. if it is a 
>>> string put one kind of component, if it's an ERAttachment put another.
>> 
>> aren't you just describing the behaviour of D2W?
> 
> I thought so and it all seemed good.  But all of a sudden it's all blown up 
> on me and it's left me really scratching my head.  Just seems like certain 
> rules are getting cached and it stops trying to resolve things like 
> displayNameForProperty.  If you look at the second screen shot it gets the 
> right property but the displayNameForProperty matches the first property.  I 
> thought maybe i had a rule that always shows "name" for 
> displayNameForProperty but on different forms it does the same thing with a 
> different display name.

Did you copy an existing ListPageRepetition? If so, are you sure you got the 
rules for calling your custom repetition right? Are you sure that the page 
logic has been recreated correctly?

> 
> Thanks,
> 
> Johnny
> 
> 
>> 
>>> 
>>> Now here is where the strange things start occurring.  I've defined my own 
>>> key "propertyComponentName".  For some odd reason whatever rule resolves to 
>>> in the first property is what it displays for every property?
>>> 
>>> And what is equally strange is that suppose they all resolve to the same 
>>> type of component so it doesn't matter... it will display the right 
>>> property value but the property value for key always resolves to whatever 
>>> the answer would be for the first property.
>>> 
>>> It's hard to describe so I created a couple of screenshots:
>>> 
>>> http://www.kahalawai.com/displaying-same-component.png // It always shows 
>>> the component for viewing an ERAttachment
>>> http://www.kahalawai.com/displaying-same-property-name.png // Gets the 
>>> property key right but the display name for property value wrong
>>> 
>>> One of my questions is can you just arbitrarily create keys or do you need 
>>> to register them somewhere?
>> 
>> If you mean arbitrarily create keys in the rule model, then yes.
>> 
>>> 
>>> Another Is localcontext and d2wcontext completely synonymous?
>> 
>> localContext is a page's d2wContext. 
>> 
>>> 
>>> 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


Re: D2W / repetitionComponentName Question

2013-03-13 Thread David Holt
Hi Johnny,

On 2013-03-13, at 5:14 PM, Johnny Miller  wrote:

> Hi,
> 
> I'm trying to do the following:
> 
> I have an inspect page and inside of that I have an inspect page repetition.  
> That all works fine and it looks like the ERD2W equivalents.
> 
> In the inspect page repetition I want to have a switch component that uses a 
> rule to determine what kind of component to display i.e. if it is a string 
> put one kind of component, if it's an ERAttachment put another.

aren't you just describing the behaviour of D2W?

> 
> Now here is where the strange things start occurring.  I've defined my own 
> key "propertyComponentName".  For some odd reason whatever rule resolves to 
> in the first property is what it displays for every property?
> 
> And what is equally strange is that suppose they all resolve to the same type 
> of component so it doesn't matter... it will display the right property value 
> but the property value for key always resolves to whatever the answer would 
> be for the first property.
> 
> It's hard to describe so I created a couple of screenshots:
> 
> http://www.kahalawai.com/displaying-same-component.png // It always shows the 
> component for viewing an ERAttachment
> http://www.kahalawai.com/displaying-same-property-name.png // Gets the 
> property key right but the display name for property value wrong
> 
> One of my questions is can you just arbitrarily create keys or do you need to 
> register them somewhere?

If you mean arbitrarily create keys in the rule model, then yes.

> 
> Another Is localcontext and d2wcontext completely synonymous?

localContext is a page's d2wContext. 

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


Re: need rule help

2013-03-13 Thread David Holt
Sounds like a rules issue to me.

headerComponent is a key that is recognized by the templates.

If you want to change the header, why don't you just use the key that exists? 

If you need the new key "headerInstructionComponentName", make sure you have a 
fall back rule somewhere that resolves to true (i.e. if you are using this key 
in the templates, the template has to find a value for it, even it is a blank 
component or something - this is why I suggest using the default key).

Take a look at the rules for headerComponent to see how the pros do it.

d

On 2013-03-13, at 11:33 AM, Theodore Petrosky  wrote:

> the issue was. when I clicked the tab (takes you to the list page) the 
> headerInstructionComponentName componentName was set in the method that fires 
> when you click the tab.
> 
> However if you were on the Query page and clicked the submit button, the key 
> was not set so I got the error.
> 
> Finally, I took the assignment out of the list method and created a rule:
> 
> 100 : pageConfiguration like '*ProjectWorkOrder' => 
> headerInstructionComponentName = "ProjectWorkOrderInstructions" [Assignment]
> 
> and this is working in all cases.
> 
> Is there something betterer?
> 
> 
> 
> --- On Wed, 3/13/13, David Holt  wrote:
> 
>> From: David Holt 
>> Subject: Re: need rule help
>> To: "Theodore Petrosky" 
>> Cc: "WebObjects Development" 
>> Date: Wednesday, March 13, 2013, 2:05 PM
>> If you expect the submit button to
>> take you to a list page, why are you setting the header on
>> the query page?
>> 
>> 
>> On 2013-03-13, at 10:50 AM, Theodore Petrosky 
>> wrote:
>> 
>>> I think I am finally understanding the issue. in my d2w
>> app, when I click the tab for a 'ListAgenda' page, I fire a
>> method that ultimately does:
>>> 
>>> ((D2WPage)
>> lpi).d2wContext().takeValueForKey("AgendaInstructions",
>> "headerInstructionComponentName");
>>> 
>>> but when I click the submit button on the query page,
>> there is no assignment of this key. So, I get this error:
>>> 
>>> (ListAgenda) -
>> :
>> Exception occurred while handling request:
>>> java.lang.IllegalStateException:
>> 
>> : componentName not specified or componentName association
>> evaluated to null.
>>> 
>>> If I understand the problem, when I enter the
>> QueryAgenda page, there is no assignment of the key
>> 'headerInstructionComponentName' to 'AgendaInstructions'.
>> this is why WO is throwing the error.
>>> 
>>> I have tried a few iterations of rules:
>>> 
>>> 100 : (task = 'query' and entity.name = 'Agenda') =>
>> headerInstructionComponentName = "AgendaInstructions"
>> [ERDKeyValueAssignment]
>>> 
>>> 100 : (task = 'query' and entity.name = 'Agenda') =>
>> headerInstructionComponentName = "AgendaInstructions"
>> [ERDDelayedKeyValueAssignment]
>>> 
>>> but no Joy!!
>>> 
>>> Am I barking up the wrong tree? Could Joy help? Does
>> anyone know Joy?
>>> 
>>> 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/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


Re: need rule help

2013-03-13 Thread David Holt
If you expect the submit button to take you to a list page, why are you setting 
the header on the query page?


On 2013-03-13, at 10:50 AM, Theodore Petrosky  wrote:

> I think I am finally understanding the issue. in my d2w app, when I click the 
> tab for a 'ListAgenda' page, I fire a method that ultimately does:
> 
> ((D2WPage) lpi).d2wContext().takeValueForKey("AgendaInstructions", 
> "headerInstructionComponentName");
> 
> but when I click the submit button on the query page, there is no assignment 
> of this key. So, I get this error:
> 
> (ListAgenda) - : 
> Exception occurred while handling request:
> java.lang.IllegalStateException: 
>  : componentName not 
> specified or componentName association evaluated to null.
> 
> If I understand the problem, when I enter the QueryAgenda page, there is no 
> assignment of the key 'headerInstructionComponentName' to 
> 'AgendaInstructions'. this is why WO is throwing the error.
> 
> I have tried a few iterations of rules:
> 
> 100 : (task = 'query' and entity.name = 'Agenda') => 
> headerInstructionComponentName = "AgendaInstructions" [ERDKeyValueAssignment]
> 
> 100 : (task = 'query' and entity.name = 'Agenda') => 
> headerInstructionComponentName = "AgendaInstructions" 
> [ERDDelayedKeyValueAssignment]
> 
> but no Joy!!
> 
> Am I barking up the wrong tree? Could Joy help? Does anyone know Joy?
> 
> 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/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


Re: timezone, ok I'm done

2013-03-12 Thread David Holt
Are you using a recent version of Wonder?

I just fixed this. PST is a hard coded string.

David


On 2013-03-12, at 11:14 AM, Theodore Petrosky  wrote:

> beautiful (almost). so I stuck this in my application constructor:
>   TimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern"));
> NSTimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern"));
> 
> and on my development box I see EDT for the timezone.
> on the deployment box (centos 6) at the prompt I see:
> 
> bash-4.1$ date
> Tue Mar 12 14:01:02 EDT 2013
> 
> but my app says, "PST" except the times shown on the screen are what is in 
> the postgresql database. i was expecting to see the offset.
> 
> I don't get this voodoo
> 
> 
> --- On Tue, 3/12/13, David Holt  wrote:
> 
>> From: David Holt 
>> Subject: Re: timezone, ok I'm done
>> To: "Theodore Petrosky" 
>> Cc: "WebObjects Development" 
>> Date: Tuesday, March 12, 2013, 12:19 PM
>> Application
>> constructor is one way:
>>
>> // Default time zone   
>> // System.out.println("TimeZone
>> IDs"+Arrays.toString(TimeZone.getAvailableIDs())); 
>>  
>> TimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern")); 
>>  
>> NSTimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern"));
>> 
>> On 2013-03-12, at 9:17 AM, Theodore Petrosky
>> 
>> wrote:
>> How do I select the timezone to use the
>> ERDEditDatePopup? I have been googling for so long my
>> fingers hurt.
>> 
>> can someone help me with a d2w rule to set my
>> ERDEditDatePopup.
>> 
>> thank you
>> ___
>> Do not post admin requests to the list. They will 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


Re: timezone, ok I'm done

2013-03-12 Thread David Holt
Application constructor is one way:

// Default time zone
// System.out.println("TimeZone 
IDs"+Arrays.toString(TimeZone.getAvailableIDs()));
TimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern"));
NSTimeZone.setDefault(TimeZone.getTimeZone("Canada/Eastern"));


On 2013-03-12, at 9:17 AM, Theodore Petrosky  wrote:

> How do I select the timezone to use the ERDEditDatePopup? I have been 
> googling for so long my fingers hurt.
> 
> can someone help me with a d2w rule to set my ERDEditDatePopup.
> 
> thank you
> ___
> Do not post admin requests to the list. They will 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


Re: D2W edit embedded buttons?

2013-03-07 Thread David Holt
LOGIC is your friend in D2W :-)


On 2013-03-07, at 9:46 AM, Jesse Tayler  wrote:

> 
> ok, but you're scaring me!
> 
> rules are tricky, so just make sure the scientific method is behind your 
> assumptions or you might get mislead--
> 
> I mean, I can't figure what apache ownership might have to do with a rule 
> cache, so I'd take a second look after you've had some sleep is all.
> 
> good luck!
> 
> On Mar 7, 2013, at 12:30 PM, Theodore Petrosky  wrote:
> 
>> thanks, I am having a problem with rules updating correctly. I finally fixed 
>> my issue of running through apache. I had to make sure that apache was 
>> running as the same user that I am working in or apache will not use the 
>> link from the document root to the build folder.
>> 
>> but now  it sometimes doesn't like it when I make a rule change. even after 
>> I clear the rule cache they don't seem to be used. I actually have to stop 
>> and start my app.
>> 
>> I'll see later. I am just glad to start to understand some of this.
>> 
>> Ted
>> 
>> 
>> --- On Thu, 3/7/13, Jesse Tayler  wrote:
>> 
>>> From: Jesse Tayler 
>>> Subject: Re: D2W edit embedded buttons?
>>> To: "Theodore Petrosky" 
>>> Cc: "WebObjects Development" 
>>> Date: Thursday, March 7, 2013, 11:52 AM
>>> 
>>> are you certain your rule is in fact firing above any
>>> other?
>>> 
>>> On Mar 7, 2013, at 11:43 AM, Theodore Petrosky 
>>> wrote:
>>> 
 I have a to-many on my D2W edit page. if I read this
>>> correctly it is rendered with a ERMODEditRelationshipPage.
 
 I see on this page, some conditionals:
 
  
 >> "QueryButton" />
  
 
 ShowFind: WOConditional {
condition =
>>> d2wContext.shouldShowQueryRelatedButton;
 }
 
 I can't seem to write a rule that turns off this
>>> button. shouldn't this work:
 
 100 : pageConfiguration =
>>> 'EditRelationshipEmbeddedPWOMileStone' =>
>>> shouldShowQueryRelatedButton = "false"
>>> [com.webobjects.directtoweb.Assignment]
 
 basically I want to remove the "Search" button on the
>>> to-many section of an edit page.
 
 
 ___
 Do not post admin requests to the list. They will 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/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


Re: deleteAction not showing "Delete"

2013-03-05 Thread David Holt
no entry in the localization strings for that button?


On 2013-03-05, at 2:19 PM, Theodore Petrosky  wrote:

> No, it only shows a light frame. and the center is blank. there is also no 
> errors in the console.
> 
> 
> 
> 
> --- On Tue, 3/5/13, David Holt  wrote:
> 
>> From: David Holt 
>> Subject: Re: deleteAction not showing "Delete"
>> To: "Theodore Petrosky" 
>> Cc: "WebObjects Development" 
>> Date: Tuesday, March 5, 2013, 4:23 PM
>> Isn't it a red
>> circle with a white X?
>> 
>> On 2013-03-05, at 12:44 PM, Theodore Petrosky
>> 
>> wrote:
>> I have this rule:
>> 
>> 100 : pageConfiguration =
>> 'EditRelationshipEmbeddedPWOMileStone' => actions
>> = {"right" = ("editAction",
>> "deleteAction"); }
>> [com.webobjects.directtoweb.Assignment]
>> 
>> But the word "Delete" will not show up in the
>> button. The frame for the button shows, I can color it in my
>> css but the word will not show.
>> 
>> Any ideas? Here is the generated code:
>> 
>> > _componentname="er.modern.directtoweb.components.buttons.ERMDDeleteButton"
>> class="Button ObjButton DeleteObjButton"
>> title="Confirm DeletePWO Mile Stone"
>> href="/cgi-bin/WebObjects/ASBriefsD2W.woa/-52164/wo/LbSGnsHIWwASLSyyoGqNyg/44.0.3.5.1.2.3.0.1.0.0.3.3.3.0.1.0.1.3.13.1.3.1.5.0.0.0.0.1.2.3.1.0.3.3.1.1.1.5.0.0.3.0.1.5.1.1.1.1.0.1.1">Delete
>> 
>> ___
>> Do not post admin requests to the list. They will 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


Re: deleteAction not showing "Delete"

2013-03-05 Thread David Holt
Isn't it a red circle with a white X?On 2013-03-05, at 12:44 PM, Theodore Petrosky  wrote:I have this rule:100 : pageConfiguration = 'EditRelationshipEmbeddedPWOMileStone' => actions = {"right" = ("editAction", "deleteAction"); } [com.webobjects.directtoweb.Assignment]But the word "Delete" will not show up in the button. The frame for the button shows, I can color it in my css but the word will not show.Any ideas? Here is the generated code:Delete  ___Do not post admin requests to the list. They will 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.comThis 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


  1   2   3   4   5   6   7   8   9   10   >