Re: New WO WebSite online

2010-10-11 Thread ISHIMOTO Ken
Nice Site and nice Design.

Looks so Italian.


On 2010/10/11, at 20:10, Amedeo Mantica wrote:

> http://www.apell.it
> 
> leave feedback ;-)
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com
> 
> This email sent to k...@ksroom.com



Thank you


K's ROOM  (ISHIMOTO Ken)

[E-Mail]  
[iChat:]   
[HP]  http://www.ksroom.com/
_
This e-mail has not been scanned for viruses because it was written on an Mac,
and there are NO Viruses on an Apple Computer.
For further information visit http://www.apple.com




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

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


Why doesn't this rule work?

2010-10-11 Thread Richard Palmer
I have two entities, 
 Activity <<> Customer

Why doesn't this rule set a Customer in Activity?

200 : (task = 'edit' and entity.name = 'Activity' and tabKey = 'Customer') 
=> object.toCustomer = session.customerFocus 
[com.webobjects.directtoweb.EntityAssignment],


session.customerFocus() is a method returning a customer stored in session.  
This is in a ERMODWizardCreationPage whose first Tab Section is 'Customer'.

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

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


Re: Textarea with character countdown

2010-10-11 Thread Paul Hoadley
Thanks Simon and Frédéric.  I will check those out.


-- 
Paul.

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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Auto-inspect result sets of 1

2010-10-11 Thread Mark Ritchie
On 11/Oct/2010, at 2:13 PM, David Avendasora wrote:
> D2W is awesome!

Yes, until you get the incantations (read rules.) wrong and then there's just 
havoc...  Fun havoc but havoc none the less! ;-)
M.

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

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


Re: Auto-inspect result sets of 1

2010-10-11 Thread Ramsey Gurley


On Oct 11, 2010, at 5:13 PM, David Avendasora wrote:



On Oct 11, 2010, at 4:58 PM, David Avendasora wrote:



On Oct 11, 2010, at 4:48 PM, Ramsey Gurley wrote:



On Oct 11, 2010, at 4:28 PM, David Avendasora wrote:


Hey Ramsey,

I'm using the branch delegate in other places where the user is  
given a choice of what the next page should be, but I thought  
that since I'm figuring it out on-the-fly during the request that  
nextPageDelegate was the way to go. I've revised my NPD and  
here's what it looks like now:


public WOComponent nextPage(WOComponent sender) {
WOComponent nextPage;
if (((ERD2WQueryPage) sender).queryDataSource()
  .fetchObjects()
  .count() == 1) {
InspectPageInterface ipi =  
D2W.factory().inspectPageForEntityNamed(Student.ENTITY_NAME,  
sender.session());
((ERD2WInspectPage) ipi).setObject((Student)  
((ERD2WQueryPage)  
sender).queryDataSource().fetchObjects().lastObject());


You may want to consider getting your object first, then using  
object.entityName() in your factory method to make this more  
generally reusable.


See, now that's just genius. This can be a delegate that works for  
any EO, not just Student. Brilliant!


One rule:

100 : pageConfiguration like 'Query*' => nextPageDelegate =  
com.my.application.delegates.QueryToListOrInspectNextPageDelegate  
[er.directtoweb.ERDDelayedObjectCreationAssignment]


Applies this logic to all searches, for any Entity.

D2W is awesome!

Dave


Totally! (^_^)







nextPage = (WOComponent) ipi;
} else {
nextPage = ((ERD2WQueryPage) sender).nextPage();


Does that last line work?  I would have thought the logic in your  
original would be required.


Yep! Works great. :-) When I wrote it I was worried that it would  
end up in an endless loop with sender.nextPage() simply calling  
this delegate, but it works perfectly. Maybe I'm just lucky.


I think you're just lucky (^_^)  Have a look at the source for  
ERD2WQueryPage around line 268.  You haven't set nextPage, so you're  
returning null.  Since you return null, the page continues on with its  
default logic.  If you set nextPage in the future, you won't get your  
list.  You'll get nextpage.  You should probably return null  
explicitly or do what you were doing before.


Ramsey



Dave



Ramsey


}
return nextPage;
}


Dave

On Oct 11, 2010, at 9:55 AM, Ramsey Gurley wrote:

Looks good to me Dave. I think any "better" way than something  
that works will be a matter of opinion (^_^)  Personally I like  
branch delegates, but in this case, the next page delegate is  
only called by the queryAction. So you know the call to next  
page comes from the find button.


Ramsey

On Oct 11, 2010, at 6:57 AM, David Avendasora wrote:

Okay, after a nights sleep, I got it working, but how I did it  
seems hackish (shocking, I know). Is the nextPage() method  
below from my delegate the best way to do this?


public WOComponent nextPage(WOComponent sender) {
  WOComponent nextPage;
  if (((ERD2WQueryPage) sender).queryDataSource()
.fetchObjects()
.count() == 1) {
  InspectPageInterface ipi = D2W.factory()
.inspectPageForEntityNamed 
(Student.ENTITY_NAME,

sender.session());
  ((ERD2WInspectPage) ipi).setObject((EOEnterpriseObject)  
((ERD2WQueryPage) sender).queryDataSource()
   .fetchObjects 
()
   .lastObject 
());

  nextPage = (WOComponent) ipi;
  } else {
  ListPageInterface lpi = D2W.factory()
 .listPageForEntityNamed 
(Student.ENTITY_NAME,
  
sender.session());
  ((ERD2WListPage) lpi).setDataSource(((ERD2WQueryPage)  
sender).queryDataSource());

  nextPage = (WOComponent) lpi;

  }
  return nextPage;
}

On Oct 10, 2010, at 8:39 PM, David Avendasora wrote:


Hi All,

When a user performs a query, if the results contain exactly  
one object I want to return an Inspect page for that object  
instead of a List page.


I assume I'm going to want to implement a NextPageDelegate,  
but I'm not sure how to do that. I've looked around but I  
can't seem to find a good example. Does anyone have an example  
NextPageDelegate that I can use as a starting point?


I promise to create a Wiki page documenting how to do this for  
future mes.


Thanks!

Dave ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects- 
d...@lists.apple.com)

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

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




___

Re: Auto-inspect result sets of 1

2010-10-11 Thread David Avendasora

On Oct 11, 2010, at 4:58 PM, David Avendasora wrote:

> 
> On Oct 11, 2010, at 4:48 PM, Ramsey Gurley wrote:
> 
>> 
>> On Oct 11, 2010, at 4:28 PM, David Avendasora wrote:
>> 
>>> Hey Ramsey,
>>> 
>>> I'm using the branch delegate in other places where the user is given a 
>>> choice of what the next page should be, but I thought that since I'm 
>>> figuring it out on-the-fly during the request that nextPageDelegate was the 
>>> way to go. I've revised my NPD and here's what it looks like now:
>>> 
>>>  public WOComponent nextPage(WOComponent sender) {
>>>  WOComponent nextPage;
>>>  if (((ERD2WQueryPage) sender).queryDataSource()
>>>.fetchObjects()
>>>.count() == 1) {
>>>  InspectPageInterface ipi = 
>>> D2W.factory().inspectPageForEntityNamed(Student.ENTITY_NAME, 
>>> sender.session());
>>>  ((ERD2WInspectPage) ipi).setObject((Student) ((ERD2WQueryPage) 
>>> sender).queryDataSource().fetchObjects().lastObject());
>> 
>> You may want to consider getting your object first, then using 
>> object.entityName() in your factory method to make this more generally 
>> reusable.
> 
> See, now that's just genius. This can be a delegate that works for any EO, 
> not just Student. Brilliant!

One rule:

100 : pageConfiguration like 'Query*' => nextPageDelegate = 
com.my.application.delegates.QueryToListOrInspectNextPageDelegate 
[er.directtoweb.ERDDelayedObjectCreationAssignment]

Applies this logic to all searches, for any Entity.

D2W is awesome!

Dave


> 
>>>  nextPage = (WOComponent) ipi;
>>>  } else {
>>>  nextPage = ((ERD2WQueryPage) sender).nextPage();
>> 
>> Does that last line work?  I would have thought the logic in your original 
>> would be required.
> 
> Yep! Works great. :-) When I wrote it I was worried that it would end up in 
> an endless loop with sender.nextPage() simply calling this delegate, but it 
> works perfectly. Maybe I'm just lucky.
> 
> Dave
> 
>> 
>> Ramsey
>> 
>>>  }
>>>  return nextPage;
>>>  }
>>> 
>>> 
>>> Dave
>>> 
>>> On Oct 11, 2010, at 9:55 AM, Ramsey Gurley wrote:
>>> 
 Looks good to me Dave. I think any "better" way than something that works 
 will be a matter of opinion (^_^)  Personally I like branch delegates, but 
 in this case, the next page delegate is only called by the queryAction. So 
 you know the call to next page comes from the find button.
 
 Ramsey
 
 On Oct 11, 2010, at 6:57 AM, David Avendasora wrote:
 
> Okay, after a nights sleep, I got it working, but how I did it seems 
> hackish (shocking, I know). Is the nextPage() method below from my 
> delegate the best way to do this?
> 
> public WOComponent nextPage(WOComponent sender) {
>WOComponent nextPage;
>if (((ERD2WQueryPage) sender).queryDataSource()
>  .fetchObjects()
>  .count() == 1) {
>InspectPageInterface ipi = D2W.factory()
>  
> .inspectPageForEntityNamed(Student.ENTITY_NAME,
> 
> sender.session());
>((ERD2WInspectPage) ipi).setObject((EOEnterpriseObject) 
> ((ERD2WQueryPage) sender).queryDataSource()
>   
>   .fetchObjects()
>   
>   .lastObject());
>nextPage = (WOComponent) ipi;
>} else {
>ListPageInterface lpi = D2W.factory()
>   
> .listPageForEntityNamed(Student.ENTITY_NAME,
>   
> sender.session());
>((ERD2WListPage) lpi).setDataSource(((ERD2WQueryPage) 
> sender).queryDataSource());
>nextPage = (WOComponent) lpi;
> 
>}
>return nextPage;
> }
> 
> On Oct 10, 2010, at 8:39 PM, David Avendasora wrote:
> 
>> Hi All,
>> 
>> When a user performs a query, if the results contain exactly one object 
>> I want to return an Inspect page for that object instead of a List page.
>> 
>> I assume I'm going to want to implement a NextPageDelegate, but I'm not 
>> sure how to do that. I've looked around but I can't seem to find a good 
>> example. Does anyone have an example NextPageDelegate that I can use as 
>> a starting point?
>> 
>> I promise to create a Wiki page documenting how to do this for future 
>> mes.
>> 
>> Thanks!
>> 
>> Dave ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%

Re: [Wonder-disc] RuleModeler with lhs type ahead search

2010-10-11 Thread David Avendasora
Same result. I know I'm getting the one I downloaded from your site as I get 
the security pop-up asking if I'm sure I want to launch it since it's the first 
time. Are you sure you uploaded the right version? :-)

Dave

On Oct 11, 2010, at 4:57 PM, James Cicenia wrote:

> try downloading it again...  I am using an older build
> 
> Thanks
> 
> On Oct 11, 2010, at 3:40 PM, David Avendasora wrote:
> 
>> Nope. Here's a screenshot of what I see. I included the About Rule Modeler 
>> pane as well.
>> 
>> 
>> 
>> Dave
>> 
>> On Oct 11, 2010, at 4:33 PM, James Cicenia wrote:
>> 
>>> Hmmm,
>>> 
>>> Shows up for me as already a pane in the lower half of the rule editor.
>>> Is there a small dot at the bottom?
>>> 
>>> j
>>> 
>>> On Oct 11, 2010, at 3:26 PM, David Avendasora wrote:
>>> 
 Hi James,
 
 I'm not seeing the search result pane anywhere. How do I make it show up?
 
 Dave
 
 On Oct 11, 2010, at 4:20 PM, James Cicenia wrote:
 
> Best way to tell if this is what you need or is helpful you can download 
> it here.
> 
> https://public.me.com/jcicenia
> 
> James Cicenia
> 
> 
> 
> 
> 
> 
> 
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> ___
> Wonder-disc mailing list
> wonder-d...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wonder-disc
> 
> 
 
>>> 
>>> 
>>> 
>> 
> 
> 
> 

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

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


Re: Auto-inspect result sets of 1

2010-10-11 Thread David Avendasora

On Oct 11, 2010, at 4:48 PM, Ramsey Gurley wrote:

> 
> On Oct 11, 2010, at 4:28 PM, David Avendasora wrote:
> 
>> Hey Ramsey,
>> 
>> I'm using the branch delegate in other places where the user is given a 
>> choice of what the next page should be, but I thought that since I'm 
>> figuring it out on-the-fly during the request that nextPageDelegate was the 
>> way to go. I've revised my NPD and here's what it looks like now:
>> 
>>   public WOComponent nextPage(WOComponent sender) {
>>   WOComponent nextPage;
>>   if (((ERD2WQueryPage) sender).queryDataSource()
>> .fetchObjects()
>> .count() == 1) {
>>   InspectPageInterface ipi = 
>> D2W.factory().inspectPageForEntityNamed(Student.ENTITY_NAME, 
>> sender.session());
>>   ((ERD2WInspectPage) ipi).setObject((Student) ((ERD2WQueryPage) 
>> sender).queryDataSource().fetchObjects().lastObject());
> 
> You may want to consider getting your object first, then using 
> object.entityName() in your factory method to make this more generally 
> reusable.

See, now that's just genius. This can be a delegate that works for any EO, not 
just Student. Brilliant!

>>   nextPage = (WOComponent) ipi;
>>   } else {
>>   nextPage = ((ERD2WQueryPage) sender).nextPage();
> 
> Does that last line work?  I would have thought the logic in your original 
> would be required.

Yep! Works great. :-) When I wrote it I was worried that it would end up in an 
endless loop with sender.nextPage() simply calling this delegate, but it works 
perfectly. Maybe I'm just lucky.

Dave

> 
> Ramsey
> 
>>   }
>>   return nextPage;
>>   }
>> 
>> 
>> Dave
>> 
>> On Oct 11, 2010, at 9:55 AM, Ramsey Gurley wrote:
>> 
>>> Looks good to me Dave. I think any "better" way than something that works 
>>> will be a matter of opinion (^_^)  Personally I like branch delegates, but 
>>> in this case, the next page delegate is only called by the queryAction. So 
>>> you know the call to next page comes from the find button.
>>> 
>>> Ramsey
>>> 
>>> On Oct 11, 2010, at 6:57 AM, David Avendasora wrote:
>>> 
 Okay, after a nights sleep, I got it working, but how I did it seems 
 hackish (shocking, I know). Is the nextPage() method below from my 
 delegate the best way to do this?
 
 public WOComponent nextPage(WOComponent sender) {
 WOComponent nextPage;
 if (((ERD2WQueryPage) sender).queryDataSource()
   .fetchObjects()
   .count() == 1) {
 InspectPageInterface ipi = D2W.factory()
   
 .inspectPageForEntityNamed(Student.ENTITY_NAME,
  
 sender.session());
 ((ERD2WInspectPage) ipi).setObject((EOEnterpriseObject) 
 ((ERD2WQueryPage) sender).queryDataSource()

   .fetchObjects()

   .lastObject());
 nextPage = (WOComponent) ipi;
 } else {
 ListPageInterface lpi = D2W.factory()

 .listPageForEntityNamed(Student.ENTITY_NAME,

 sender.session());
 ((ERD2WListPage) lpi).setDataSource(((ERD2WQueryPage) 
 sender).queryDataSource());
 nextPage = (WOComponent) lpi;
 
 }
 return nextPage;
 }
 
 On Oct 10, 2010, at 8:39 PM, David Avendasora wrote:
 
> Hi All,
> 
> When a user performs a query, if the results contain exactly one object I 
> want to return an Inspect page for that object instead of a List page.
> 
> I assume I'm going to want to implement a NextPageDelegate, but I'm not 
> sure how to do that. I've looked around but I can't seem to find a good 
> example. Does anyone have an example NextPageDelegate that I can use as a 
> starting point?
> 
> I promise to create a Wiki page documenting how to do this for future mes.
> 
> Thanks!
> 
> Dave ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
> 
> This email sent to webobje...@avendasora.com
> 
> 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com
 
 This email 

Re: [Wonder-disc] RuleModeler with lhs type ahead search

2010-10-11 Thread James Cicenia
try downloading it again...  I am using an older build

Thanks

On Oct 11, 2010, at 3:40 PM, David Avendasora wrote:

> Nope. Here's a screenshot of what I see. I included the About Rule Modeler 
> pane as well.
> 
> 
> 
> Dave
> 
> On Oct 11, 2010, at 4:33 PM, James Cicenia wrote:
> 
>> Hmmm,
>> 
>> Shows up for me as already a pane in the lower half of the rule editor.
>> Is there a small dot at the bottom?
>> 
>> j
>> 
>> On Oct 11, 2010, at 3:26 PM, David Avendasora wrote:
>> 
>>> Hi James,
>>> 
>>> I'm not seeing the search result pane anywhere. How do I make it show up?
>>> 
>>> Dave
>>> 
>>> On Oct 11, 2010, at 4:20 PM, James Cicenia wrote:
>>> 
 Best way to tell if this is what you need or is helpful you can download 
 it here.
 
 https://public.me.com/jcicenia
 
 James Cicenia
 
 
 
 
 
 
 
 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb
 ___
 Wonder-disc mailing list
 wonder-d...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wonder-disc
 
 
>>> 
>> 
>> 
>> 
> 

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

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


Re: Auto-inspect result sets of 1

2010-10-11 Thread Ramsey Gurley


On Oct 11, 2010, at 4:28 PM, David Avendasora wrote:


Hey Ramsey,

I'm using the branch delegate in other places where the user is  
given a choice of what the next page should be, but I thought that  
since I'm figuring it out on-the-fly during the request that  
nextPageDelegate was the way to go. I've revised my NPD and here's  
what it looks like now:


   public WOComponent nextPage(WOComponent sender) {
   WOComponent nextPage;
   if (((ERD2WQueryPage) sender).queryDataSource()
 .fetchObjects()
 .count() == 1) {
   InspectPageInterface ipi =  
D2W.factory().inspectPageForEntityNamed(Student.ENTITY_NAME,  
sender.session());
   ((ERD2WInspectPage) ipi).setObject((Student)  
((ERD2WQueryPage)  
sender).queryDataSource().fetchObjects().lastObject());


You may want to consider getting your object first, then using  
object.entityName() in your factory method to make this more generally  
reusable.



   nextPage = (WOComponent) ipi;
   } else {
   nextPage = ((ERD2WQueryPage) sender).nextPage();


Does that last line work?  I would have thought the logic in your  
original would be required.


Ramsey


   }
   return nextPage;
   }


Dave

On Oct 11, 2010, at 9:55 AM, Ramsey Gurley wrote:

Looks good to me Dave. I think any "better" way than something that  
works will be a matter of opinion (^_^)  Personally I like branch  
delegates, but in this case, the next page delegate is only called  
by the queryAction. So you know the call to next page comes from  
the find button.


Ramsey

On Oct 11, 2010, at 6:57 AM, David Avendasora wrote:

Okay, after a nights sleep, I got it working, but how I did it  
seems hackish (shocking, I know). Is the nextPage() method below  
from my delegate the best way to do this?


 public WOComponent nextPage(WOComponent sender) {
 WOComponent nextPage;
 if (((ERD2WQueryPage) sender).queryDataSource()
   .fetchObjects()
   .count() == 1) {
 InspectPageInterface ipi = D2W.factory()
   .inspectPageForEntityNamed 
(Student.ENTITY_NAME,
   
sender.session());
 ((ERD2WInspectPage) ipi).setObject((EOEnterpriseObject)  
((ERD2WQueryPage) sender).queryDataSource()
  .fetchObjects 
()
  .lastObject 
());

 nextPage = (WOComponent) ipi;
 } else {
 ListPageInterface lpi = D2W.factory()
.listPageForEntityNamed 
(Student.ENTITY_NAME,
 
sender.session());
 ((ERD2WListPage) lpi).setDataSource(((ERD2WQueryPage)  
sender).queryDataSource());

 nextPage = (WOComponent) lpi;

 }
 return nextPage;
 }

On Oct 10, 2010, at 8:39 PM, David Avendasora wrote:


Hi All,

When a user performs a query, if the results contain exactly one  
object I want to return an Inspect page for that object instead  
of a List page.


I assume I'm going to want to implement a NextPageDelegate, but  
I'm not sure how to do that. I've looked around but I can't seem  
to find a good example. Does anyone have an example  
NextPageDelegate that I can use as a starting point?


I promise to create a Wiki page documenting how to do this for  
future mes.


Thanks!

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

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




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

This email sent to ram...@xeotech.com










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

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


Re: [Wonder-disc] RuleModeler with lhs type ahead search

2010-10-11 Thread James Cicenia
Hmmm,

Shows up for me as already a pane in the lower half of the rule editor.
Is there a small dot at the bottom?

j

On Oct 11, 2010, at 3:26 PM, David Avendasora wrote:

> Hi James,
> 
> I'm not seeing the search result pane anywhere. How do I make it show up?
> 
> Dave
> 
> On Oct 11, 2010, at 4:20 PM, James Cicenia wrote:
> 
>> Best way to tell if this is what you need or is helpful you can download it 
>> here.
>> 
>> https://public.me.com/jcicenia
>> 
>> James Cicenia
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> ___
>> Wonder-disc mailing list
>> wonder-d...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>> 
>> 
> 

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

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


Re: Auto-inspect result sets of 1

2010-10-11 Thread David Avendasora
Hey Ramsey,

I'm using the branch delegate in other places where the user is given a choice 
of what the next page should be, but I thought that since I'm figuring it out 
on-the-fly during the request that nextPageDelegate was the way to go. I've 
revised my NPD and here's what it looks like now:

public WOComponent nextPage(WOComponent sender) {
WOComponent nextPage;
if (((ERD2WQueryPage) sender).queryDataSource()
  .fetchObjects()
  .count() == 1) {
InspectPageInterface ipi = 
D2W.factory().inspectPageForEntityNamed(Student.ENTITY_NAME, sender.session());
((ERD2WInspectPage) ipi).setObject((Student) ((ERD2WQueryPage) 
sender).queryDataSource().fetchObjects().lastObject());
nextPage = (WOComponent) ipi;
} else {
nextPage = ((ERD2WQueryPage) sender).nextPage();
}
return nextPage;
}


Dave

On Oct 11, 2010, at 9:55 AM, Ramsey Gurley wrote:

> Looks good to me Dave. I think any "better" way than something that works 
> will be a matter of opinion (^_^)  Personally I like branch delegates, but in 
> this case, the next page delegate is only called by the queryAction. So you 
> know the call to next page comes from the find button.
> 
> Ramsey
> 
> On Oct 11, 2010, at 6:57 AM, David Avendasora wrote:
> 
>> Okay, after a nights sleep, I got it working, but how I did it seems hackish 
>> (shocking, I know). Is the nextPage() method below from my delegate the best 
>> way to do this?
>> 
>>   public WOComponent nextPage(WOComponent sender) {
>>   WOComponent nextPage;
>>   if (((ERD2WQueryPage) sender).queryDataSource()
>> .fetchObjects()
>> .count() == 1) {
>>   InspectPageInterface ipi = D2W.factory()
>> 
>> .inspectPageForEntityNamed(Student.ENTITY_NAME,
>>
>> sender.session());
>>   ((ERD2WInspectPage) ipi).setObject((EOEnterpriseObject) 
>> ((ERD2WQueryPage) sender).queryDataSource()
>>  
>>   .fetchObjects()
>>  
>>   .lastObject());
>>   nextPage = (WOComponent) ipi;
>>   } else {
>>   ListPageInterface lpi = D2W.factory()
>>  
>> .listPageForEntityNamed(Student.ENTITY_NAME,
>>  
>> sender.session());
>>   ((ERD2WListPage) lpi).setDataSource(((ERD2WQueryPage) 
>> sender).queryDataSource());
>>   nextPage = (WOComponent) lpi;
>> 
>>   }
>>   return nextPage;
>>   }
>> 
>> On Oct 10, 2010, at 8:39 PM, David Avendasora wrote:
>> 
>>> Hi All,
>>> 
>>> When a user performs a query, if the results contain exactly one object I 
>>> want to return an Inspect page for that object instead of a List page.
>>> 
>>> I assume I'm going to want to implement a NextPageDelegate, but I'm not 
>>> sure how to do that. I've looked around but I can't seem to find a good 
>>> example. Does anyone have an example NextPageDelegate that I can use as a 
>>> starting point?
>>> 
>>> I promise to create a Wiki page documenting how to do this for future mes.
>>> 
>>> Thanks!
>>> 
>>> Dave ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
>>> 
>>> This email sent to webobje...@avendasora.com
>>> 
>>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com
>> 
>> This email sent to ram...@xeotech.com
>> 
> 
> 
> 

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

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


Re: [Wonder-disc] RuleModeler with lhs type ahead search

2010-10-11 Thread David Avendasora
Hi James,

I'm not seeing the search result pane anywhere. How do I make it show up?

Dave

On Oct 11, 2010, at 4:20 PM, James Cicenia wrote:

> Best way to tell if this is what you need or is helpful you can download it 
> here.
> 
> https://public.me.com/jcicenia
> 
> James Cicenia
> 
> 
> 
> 
> 
> 
> 
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> ___
> Wonder-disc mailing list
> wonder-d...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wonder-disc
> 
> 

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

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


RuleModeler with lhs type ahead search

2010-10-11 Thread James Cicenia
Best way to tell if this is what you need or is helpful you can download it 
here.

https://public.me.com/jcicenia

James Cicenia






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

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


New WO WebSite online

2010-10-11 Thread Amedeo Mantica
http://www.apell.it

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

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


Golipse on github

2010-10-11 Thread David LeBer
For anyone who cares:



;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:http://www.linkedin.com/in/davidleber
twitter:http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org


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

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


[SOLVED] Re: ERXLocalizer and Explorer JavaScript Error

2010-10-11 Thread Amedeo Mantica
Please don't take care about this post

On 11/ott/2010, at 18.18, Amedeo Mantica wrote:

> Hello,
> 
> this website has been just landed:
> 
> http://www.apell.it
> 
> Was running fine in development until I have done localization implementation
> 
> I used just a few ERXLocalizedString, but since that on Explorer the website 
> doesn't work well in these pages
> 
> 1) Company section: try to switch Mission, Phiosophy, Materials
> 2) Colections section, stucks after you choose Sink type
> 
> 
> Any suggestion or a good debugger for IE7 ?
> 
> Regards
> Amedeo ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/amedeomailing%40insigno.it
> 
> This email sent to amedeomail...@insigno.it
> 

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

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


ERXLocalizer and Explorer JavaScript Error

2010-10-11 Thread Amedeo Mantica
Hello,

this website has been just landed:

http://www.apell.it

Was running fine in development until I have done localization implementation

I used just a few ERXLocalizedString, but since that on Explorer the website 
doesn't work well in these pages

1) Company section: try to switch Mission, Phiosophy, Materials
2) Colections section, stucks after you choose Sink type


Any suggestion or a good debugger for IE7 ?

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

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


[MEET] Toronto Cocoaheads / tacow - October 12

2010-10-11 Thread David LeBer
Happy Thanksgiving Day for all of my fellow Canadians who are enjoying their 
annual preemptive strike on the festivities.

The next meeting of tacow/Toronto CocoaHeads will be held tomorrow, Tuesday, 
October 12 at 6:30 PM (sorry for the short notice).

The meeting will take places at Metro Hall in room 310. 

Jim Dovey will be reprising his FITC talk: "Optimized Networking and Data 
Handling in iOS 4" followed by general discussions, brouhaha, and mayhem. 

Additional details can be found here:


All are welcome, and we look forward to seeing you there.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:http://www.linkedin.com/in/davidleber
twitter:http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org

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

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


Re: Auto-inspect result sets of 1

2010-10-11 Thread Ramsey Gurley
Looks good to me Dave. I think any "better" way than something that  
works will be a matter of opinion (^_^)  Personally I like branch  
delegates, but in this case, the next page delegate is only called by  
the queryAction. So you know the call to next page comes from the find  
button.


Ramsey

On Oct 11, 2010, at 6:57 AM, David Avendasora wrote:

Okay, after a nights sleep, I got it working, but how I did it seems  
hackish (shocking, I know). Is the nextPage() method below from my  
delegate the best way to do this?


   public WOComponent nextPage(WOComponent sender) {
   WOComponent nextPage;
   if (((ERD2WQueryPage) sender).queryDataSource()
 .fetchObjects()
 .count() == 1) {
   InspectPageInterface ipi = D2W.factory()
 .inspectPageForEntityNamed 
(Student.ENTITY_NAME,
 
sender.session());
   ((ERD2WInspectPage) ipi).setObject((EOEnterpriseObject)  
((ERD2WQueryPage) sender).queryDataSource()
.fetchObjects 
()
.lastObject 
());

   nextPage = (WOComponent) ipi;
   } else {
   ListPageInterface lpi = D2W.factory()
  .listPageForEntityNamed 
(Student.ENTITY_NAME,
   
sender.session());
   ((ERD2WListPage) lpi).setDataSource(((ERD2WQueryPage)  
sender).queryDataSource());

   nextPage = (WOComponent) lpi;

   }
   return nextPage;
   }

On Oct 10, 2010, at 8:39 PM, David Avendasora wrote:


Hi All,

When a user performs a query, if the results contain exactly one  
object I want to return an Inspect page for that object instead of  
a List page.


I assume I'm going to want to implement a NextPageDelegate, but I'm  
not sure how to do that. I've looked around but I can't seem to  
find a good example. Does anyone have an example NextPageDelegate  
that I can use as a starting point?


I promise to create a Wiki page documenting how to do this for  
future mes.


Thanks!

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

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




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

This email sent to ram...@xeotech.com



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

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


Re: Textarea with character countdown

2010-10-11 Thread Frédéric JECKER
Hi,

I wrote some time ago a Javascript object to handle this case (requires 
prototype.js).
You could maybe improve it in order to get twitter's negative char count.

  document.observe('dom:loaded', function(event){
  new LiveTextArea('fieldID', 'countPanelID', 1000, 
{templateString:"#{count}/1000 chars",prohibitSubmit:true, 
onSubmitCancelled:function(context){
  alert('Size limit exceeded ('+context.charCount+'/100)');
  }
  });
  });



Code below

 /**
 * Counts the number of characters within a text input and displays the 
charcount in the 
 * given html element (div, span)
 * field : ID of the field to monitor
 * infopane : ID of the html element which will be updated with the charcount 
(span, div)
 * limit :  maximum allowed char number
 * options :
 *   - templateString : the string that will be displayed when the maximum 
char number is reached.

this string can contain the #{count} parameter
 *   - prohibitSubmit : if true prevents the form to be submitted if the 
maximum char count is reached
 *   - onLimitExceeded : function callback called when the maximum char count 
is reached
 *   - onSubmitCancelled : function callback called before cancelling the form 
submission
 */
var LiveTextArea=Class.create({
initialize: function(field, infopane, limit, options){
this.field=$(field);
this.infopane=$(infopane);
this.limit=limit;
this.options=options;
if(options && options.templateString){
this.templateString=new 
Template(options.templateString);
}else{
this.templateString=new 
Template("#{count}/"+this.limit);
}

if(options && options.prohibitSubmit){
$A(this.field.ancestors()).each(function(item, index){
if(item instanceof HTMLFormElement){
Event.observe(item, 'submit', 
this.handleSubmit.bind(this));
return;
}
}.bind(this));
}

Event.observe(this.field, 'change', 
this.updateInfoPane.bind(this));
Event.observe(this.field, 'keyup', 
this.updateInfoPane.bind(this));
Event.observe(this.field, 'keydown', 
this.updateInfoPane.bind(this));

this.updateInfoPane();
},

updateInfoPane: function(event){
var chars=this.charCount();
if(chars>=this.limit && this.options && 
this.options.onLimitExceeded){
this.options.onLimitExceeded({charCount:chars});
}

this.infopane.update(this.templateString.evaluate({count:chars}));
},

charCount: function(){
var tmp=$F(this.field);
var lf=tmp.split('\n').length-1;
return tmp.length+lf;
},

handleSubmit: function(event){
if(this.charCount()>this.limit){
if(this.options && this.options.onSubmitCancelled){

this.options.onSubmitCancelled({charCount:this.charCount()});
}
event.stop();
return false;
}
},


Le 11 oct. 2010 à 13:50, Paul Hoadley a écrit :

> Hello,
> 
> I have a use case for a textarea with a Twitter-style character countdown 
> from some specifiable limit.  Specifically:
> 
> 1.  Text area with a character limit count somewhere nearby.
> 2.  Count decreases by one for each character typed.
> 3.  Count decreases by the total length of anything pasted in.
> 4.  Excess content is not prevented, but the count goes negative.
> 
> Basically, I'm describing exactly (New)Twitter's widget.  (I want to use it 
> for SMS message content.)
> 
> So, here's me as an optimist: does anyone have or know of a WOComponent that 
> does exactly this that I can just drop right in?  :-)  Failing that, I'm not 
> up to speed on Twitter's API or, in particular, exactly what parts of their 
> UI are re-usable—does anyone know if this widget is freely usable in any 
> form?  Failing that, can anyone recommend a good Javascript implementation of 
> something like this, preferably _not_ using JQuery (as I want to just drop it 
> into pages already using Ajax.framework)?
> 
> Failing all of those, I'll write one myself.
> 
> 
> -- 
> Paul.
> 
> 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:
> http://lists.apple.com/mailman/options/webobjects-d

Re: Textarea with character countdown

2010-10-11 Thread Simon
no component, but here is how we do it:

Message
  
  You have

characters left.


function count(a,b,c){
var dif = b-a.value.length;
while (dif < 0) {
a.value=a.value.replace(/.$/,'')
dif = b-a.value.length;
}
document.getElementById(c).firstChild.data=dif;
}


Simon




On 11 October 2010 12:50, Paul Hoadley  wrote:
> Hello,
>
> I have a use case for a textarea with a Twitter-style character countdown 
> from some specifiable limit.  Specifically:
>
> 1.  Text area with a character limit count somewhere nearby.
> 2.  Count decreases by one for each character typed.
> 3.  Count decreases by the total length of anything pasted in.
> 4.  Excess content is not prevented, but the count goes negative.
>
> Basically, I'm describing exactly (New)Twitter's widget.  (I want to use it 
> for SMS message content.)
>
> So, here's me as an optimist: does anyone have or know of a WOComponent that 
> does exactly this that I can just drop right in?  :-)  Failing that, I'm not 
> up to speed on Twitter's API or, in particular, exactly what parts of their 
> UI are re-usable—does anyone know if this widget is freely usable in any 
> form?  Failing that, can anyone recommend a good Javascript implementation of 
> something like this, preferably _not_ using JQuery (as I want to just drop it 
> into pages already using Ajax.framework)?
>
> Failing all of those, I'll write one myself.
>
>
> --
> Paul.
>
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk
>
> This email sent to si...@potwells.co.uk
>
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Textarea with character countdown

2010-10-11 Thread Paul Hoadley
Hello,

I have a use case for a textarea with a Twitter-style character countdown from 
some specifiable limit.  Specifically:

1.  Text area with a character limit count somewhere nearby.
2.  Count decreases by one for each character typed.
3.  Count decreases by the total length of anything pasted in.
4.  Excess content is not prevented, but the count goes negative.

Basically, I'm describing exactly (New)Twitter's widget.  (I want to use it for 
SMS message content.)

So, here's me as an optimist: does anyone have or know of a WOComponent that 
does exactly this that I can just drop right in?  :-)  Failing that, I'm not up 
to speed on Twitter's API or, in particular, exactly what parts of their UI are 
re-usable—does anyone know if this widget is freely usable in any form?  
Failing that, can anyone recommend a good Javascript implementation of 
something like this, preferably _not_ using JQuery (as I want to just drop it 
into pages already using Ajax.framework)?

Failing all of those, I'll write one myself.


-- 
Paul.

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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Auto-inspect result sets of 1

2010-10-11 Thread David Avendasora
Okay, after a nights sleep, I got it working, but how I did it seems hackish 
(shocking, I know). Is the nextPage() method below from my delegate the best 
way to do this?

public WOComponent nextPage(WOComponent sender) {
WOComponent nextPage;
if (((ERD2WQueryPage) sender).queryDataSource()
  .fetchObjects()
  .count() == 1) {
InspectPageInterface ipi = D2W.factory()
  
.inspectPageForEntityNamed(Student.ENTITY_NAME,
 
sender.session());
((ERD2WInspectPage) ipi).setObject((EOEnterpriseObject) 
((ERD2WQueryPage) sender).queryDataSource()

 .fetchObjects()

 .lastObject());
nextPage = (WOComponent) ipi;
} else {
ListPageInterface lpi = D2W.factory()
   
.listPageForEntityNamed(Student.ENTITY_NAME,
   
sender.session());
((ERD2WListPage) lpi).setDataSource(((ERD2WQueryPage) 
sender).queryDataSource());
nextPage = (WOComponent) lpi;

}
return nextPage;
}

On Oct 10, 2010, at 8:39 PM, David Avendasora wrote:

> Hi All,
> 
> When a user performs a query, if the results contain exactly one object I 
> want to return an Inspect page for that object instead of a List page.
> 
> I assume I'm going to want to implement a NextPageDelegate, but I'm not sure 
> how to do that. I've looked around but I can't seem to find a good example. 
> Does anyone have an example NextPageDelegate that I can use as a starting 
> point?
> 
> I promise to create a Wiki page documenting how to do this for future mes.
> 
> Thanks!
> 
> Dave ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
> 
> This email sent to webobje...@avendasora.com
> 
> 

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

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


Re: Deployment setup on a OS X box

2010-10-11 Thread Simon
> Are you deliberately compiling the adaptor from scratch?  If nothing else I 
> guess that means you don't have to determine what architecture you're on.  
> I'm just thinking you could compile it once for each, store those somewhere 
> and download them with that script, then you could avoid installing gcc.

yeah, i know what you mean. at first i was just downloading the binary
versions from mdimension but i thought building it each time will
avoid any issues (or maybe even highlight issues) each time you boot a
new instance, because each time you boot an amazon linux box you get
the very latest version.

i envisaged a situation where a minor upgrade to apache for example
might rock the boat if we were using binaries, whereas building
natively stands more chance of navigating around such issues.

i don't have a lot of experience in this area - maybe someone with
more knowledge of the woadaptor could recommend which is the best
approach ?

ultimately my vision for ec2 automation is that we have some
uber-script that runs first to determine what sub-scripts you need to
run based on the ami you are booting. we're going to publish some more
scripts (hopefully this week) that are examples of how to auto-deploy
your apps right the way from hudson to your freshly created ec2
instances...

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

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